Providing static linked binaries

Hey @breard-r
Thank you for your effor in acmed. It's a nice peace of software. However, can you please consider providing static linked binaries (including libc and openssl)? I would like to use acmed on CentOS6 and there is some problem in OpenSSL version (since i'm a total rust noob i can't even install rust tools env).

Hello!
Uploading statically linked binaries would mean that I have to maintain them and upload new ones each time OpenSSL has a vulnerability, which is several times a year. I don't think I should/can have this kind of responsibility. Furthermore, if I was to do so, I would limit it to stable releases; and currently there is none of those.
In a more technical point of view, it may be possible to create such binaries since, in one hand, the openssl crate has a "vendored" feature that statically links OpenSSL and, in the other hand, Rust has targets which uses a statically linked musl. Unfortunately, even if it does work on small test projects, I couldn't reproduce it with ACMEd. I think it's due to a specific dependency which prevent the "vendored" feature to propagate to its own dependencies. Anyway, I think I should spend time on cleaning and improving the code first (seriously, at some point I went sloppy and created a mess…), and only then solve this compilation mystery.
As for this issue, I think it should be keep opened so I remember to fix the static compilation some day.

By the way, if I was you I would create a CentOS6 virtual machine and install rustup on it. Rustup will take care of installing one (or several) versions of rust for one (or multiple) targets. Very useful for cross-compilation and tests on different rust version, but in your case you can keep the defaults and simply use it as a basic Rust installer.

Thanks, i will try to build it with this: https://github.com/emk/rust-musl-builder

I updated the build system and was able to generate statically linked binaries. Here is how I processed on my system :

Install musl
Use rustup
Add the target: rustup target add "x86_64-unknown-linux-musl"
Compile ACMEd: make FEATURES="openssl_vendored" TARGET="x86_64-unknown-linux-musl"
Install into a directory (useful for packaging): make DESTDIR="my_package_directory" TARGET="x86_64-unknown-linux-musl" install

Since building such binaries is now an easy task, I'm closing this issue. Feel free to reopen it if you have any question regarding this matter.


Open issues on Node.js

Some ideas:

[ ] Improved errors

Include command

[ ] Buffer a Node.js stream to a string: https://github.com/sindresorhus/nano-spawn/blob/8bdc484db99004bdf92addd513612a91ee90eccf/index.js#L86-L97
[ ] inheritEnv option
[ ] Duration on the ChildProcess and errors
[ ] Windows stuff: #12

Thoughts? Anything missing?

Buffer a Node.js stream to a string

They might argue that this is available with execFile(). The thing with it though is that it does not give you access to the subprocess instance.

Buffer a Node.js stream to a string

I meant a general Node.js stream utility like Readable#toArray().

The thing with it though is that it does not give you access to the subprocess instance.

It's returned in the callback version and available as a properly in the promise version.

I meant a general Node.js stream utility like Readable#toArray().

There is node:stream/consumers text().

It's returned in the callback version and available as a properly in the promise version.

execFile() has a special promisified version when using util.promisify(execFile). They probably should expose it under some node:child_process/promises module though.

There is node:stream/consumers text(). We can't use it in nano-spawn though because it uses stream.read() under-the-hood, which prevents promise.stdout iteration (since it uses stream.read() too under-the-hood, and that cannot have multiple consumers at once, unlike stream.on('data')).

Maybe we could propose some kind of multicast() utility, which would make a stream multi-consumable even when stream.read() is used? Basically, a JS version of https://developer.apple.com/documentation/combine/publishers/multicast
I tried my hand and making something for this: https://github.com/sindresorhus/multicast-stream

I think a 'child_process/promises'#.execFile proposal would be really useful. Let me know if you're interested in collaborating on that.


Snapping: Letting go (mouseup) after snapping sometimes "jumps"

Bug Description
Sometimes when snapping, the element jumps a little bit.

Expected Behaviour
When snapping, the element should stay in the final position as it was.

Steps to Reproduce

Add an image
Move it near the bottom center of the Page
Try snapping to the center and letting the element go (see the video below)
See the element jumping after letting go.

Screenshots

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
QA Instructions

@wassgha to confirm if this is still occurring.

Does not look like this is happening anymore, possibly fixed by react-moveable. Closing for now, @miina feel free to reopen if it's still occurring on your end.


Updated GitHub URL to Dashboard YAML

Issue #, if available:
N/A
Description of changes:
Updating Dashboard URL to pull from a tag as Master branch is undergoing folder structure changes.
When you run (as instructed)
kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
you receive the following output
error: unable to read URL "https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml", server reported 404 Not Found, status code=404
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is a duplicate of PR234


Credential Hub

Description
The credential hub is a new component which is supposed to get provided inside the dataspace to easily get an overview of

available credentials of catena-x
credential namespace
authorities per credential

DB Schema:

API Endpoints:

GET all

Credential Name
Credential
Authority

Business Partner Number
BPNL
BPNL00000003CRHK

Membership
CX Membership
BPNL00000003CRHK

Framework
Framework Traceability
BPNL00000003CRHK

Framework
Framework Sustainability
BPNL00000003CRHK

Framework
Framework Quality
BPNL00000003CRHK

Framework
Framework ....
BPNL00000003CRHK

CompanyRole
Dismantler
BPNL00000003CRHK, BPNL00000003CRHL

Response Body
[
{
"credentialName": "string",
"credential": "string",
"authorities": [
"BPNL00000003CRHK"
]
}
]

GET per authority BPNL

use the same endpoint as above; but add a optional parameter for search by "BPNL"
In case the BPNL shared is not available in any data record, response is supposed to be empty.

GET per credential

use the same endpoint as above; but add a optional parameter for search by "Credential"
In case the credential shared is not available in any data record, response is supposed to be empty.
Important: new component. Eclipse repo is needed as well as the implementation of

swagger
idp
security validations
gitHub Actions
seeding data file

Impact
n/a
Additional information

[x] I'm willing to contribute to this feature

Correct Image about db connection regarding authorities


unable to download models from s3 storage in triton runtime

the model files are not getting downloaded from s3 storage. it is working fine in case of ML server runtime but in triton runtime it shows it downloaded but the file is not present in the local of triton runtime. This seems to be the bug
1.6599521504706118e+09	INFO	Triton Adapter.Triton Adapter Server.Load Model	Using model type	{"model_id": "y-tensorflow-predictor__isvc-8782507a8a", "model_type": "tensorflow"}
1.6599521504706783e+09	DEBUG	Triton Adapter.Triton Adapter Server	Reading storage credentials
1.6599521504707386e+09	DEBUG	Triton Adapter.Triton Adapter Server	found existing client in cache	{"type": "s3", "cacheKey": "s3|0xc55f1a452e8cdd43"}
1.659952150528327e+09	DEBUG	Triton Adapter.Triton Adapter Server	found objects to download	{"type": "s3", "cacheKey": "s3|0xc55f1a452e8cdd43", "path": "tf_format_latestYOLO", "count": 5}
1.6599521505285022e+09	DEBUG	Triton Adapter.Triton Adapter Server	downloading object	{"type": "s3", "cacheKey": "s3|0xc55f1a452e8cdd43", "path": "tf_format_latestYOLO/checkpoint", "filename": "/models/y-tensorflow-predictor__isvc-8782507a8a/tf_format_latestYOLO/checkpoint"}
1.6599521505285268e+09	DEBUG	Triton Adapter.Triton Adapter Server	downloading object	{"type": "s3", "cacheKey": "s3|0xc55f1a452e8cdd43", "path": "tf_format_latestYOLO/model.ckpt.meta", "filename": "/models/y-tensorflow-predictor__isvc-8782507a8a/tf_format_latestYOLO/model.ckpt.meta"}
1.6599521505285459e+09	DEBUG	Triton Adapter.Triton Adapter Server	downloading object	{"type": "s3", "cacheKey": "s3|0xc55f1a452e8cdd43", "path": "tf_format_latestYOLO/model.pb", "filename": "/models/y-tensorflow-predictor__isvc-8782507a8a/tf_format_latestYOLO/model.pb"}
1.6599521505285783e+09	DEBUG	Triton Adapter.Triton Adapter Server	downloading object	{"type": "s3", "cacheKey": "s3|0xc55f1a452e8cdd43", "path": "tf_format_latestYOLO/variables/model.ckpt.data-00000-of-00001", "filename": "/models/y-tensorflow-predictor__isvc-8782507a8a/tf_format_latestYOLO/variables/model.ckpt.data-00000-of-00001"}
1.6599521505285978e+09	DEBUG	Triton Adapter.Triton Adapter Server	downloading object	{"type": "s3", "cacheKey": "s3|0xc55f1a452e8cdd43", "path": "tf_format_latestYOLO/variables/model.ckpt.index", "filename": "/models/y-tensorflow-predictor__isvc-8782507a8a/tf_format_latestYOLO/variables/model.ckpt.index"}
1.6599521528409388e+09	ERROR	Triton Adapter.Triton Adapter Server.Load Model	Triton failed to load model	{"model_id": "y-tensorflow-predictor__isvc-8782507a8a", "error": "rpc error: code = InvalidArgument desc = load failed for model 'y-tensorflow-predictor__isvc-8782507a8a': version 1: Internal: unable to auto-complete model configuration for 'y-tensorflow-predictor__isvc-8782507a8a', failed to load model: Could not find SavedModel .pb or .pbtxt at supplied export directory path: /models/_triton_models/y-tensorflow-predictor__isvc-8782507a8a/1/model.savedmodel;\n``

I am using model mesh release-0.9 @njhill with triton runtime of modelmesh-serving-triton-2.x-SR

@Agarwal-Saurabh try renaming the .pb file to saved_model.pb.

@Agarwal-Saurabh could you confirm that solved your problem?

Yes, this resolves the issue.
On Tue, 16 Aug 2022, 9:43 pm Nick Hill, @.***> wrote:

@Agarwal-Saurabh https://github.com/Agarwal-Saurabh could you confirm
that solved your problem?
—
Reply to this email directly, view it on GitHub
https://github.com/kserve/modelmesh-serving/issues/209#issuecomment-1216853551,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFSMGBCPFQWF36NFHVTBMK3VZO4ZTANCNFSM56CRWU4A
.
You are receiving this because you were mentioned.Message ID:
@.***>


feat: include image digest to prevent supply chain issues

fixes #214

Opted to include it in the tag over making a separate digest to keep the image tag configuration in one spot and preserve backward compatibility with anyone already explicitly overriding the image tag.


ArangoError 1202: AQL: NotFound:  (while executing) when updating collection

my environment running ArangoDB

[x] 3.2 (3.2.4)
[x] Single-Server
[x] rocksdb
[x] Linux

[x] Debian .deb

this is an AQL-related issue:
I'm issuing AQL via:

[x] arangosh

The AQL query in question is an UPDATE on some documents in a collection. The same error happened many times on different queries, below is just one of them. Last time (with another query), unloading / reloading the collection fixed the issue; this time it doesn't. Restarting arangod changes nothing.
Is there any way to debug / get more information about the error ? Like knowing which document triggers the error ?
Collection obs size is ~ 2 M docs.
There is an index on projects[*] (among many others).
9000 docs are candidates for update
<IP_ADDRESS>:8529@mydb> db._query('FOR o IN obs FILTER "stuff" IN o.projects COLLECT WITH COUNT INTO nb RETURN nb');
[  9129  ]

UPDATE fails with "1202: AQL: NotFound" (ran it many times with same result)
<IP_ADDRESS>:8529@mydb> res = db._query('FOR o IN obs FILTER "stuff" IN o.projects UPDATE o WITH { projects: REMOVE_VALUE(o.projects, "stuff") } IN obs');
JavaScript exception in file<EMAIL_ADDRESS>at 98,7: ArangoError 1202: AQL: NotFound:  (while executing)
!      throw error;
!      ^
stacktrace: ArangoError: AQL: NotFound:  (while executing)
    at Object.exports.checkRequestResult (/usr/share/arangodb3/js/client/modules/@arangodb/arangosh.js:96:21)
    at ArangoStatement.execute (/usr/share/arangodb3/js/client/modules/@arangodb/arango-statement.js:174:12)
    at ArangoDatabase._query (/usr/share/arangodb3/js/client/modules/@arangodb/arango-database.js:933:42)
    at <shell command>:1:11

<IP_ADDRESS>:8529@mydb> res.getExtra();
{
  "stats" : {
    "writesExecuted" : 0,
    "writesIgnored" : 0,
    "scannedFull" : 50,
    "scannedIndex" : 12892,
    "filtered" : 32,
    "httpRequests" : 0,
    "executionTime" : 0.17372798919677734
  },
  "warnings" : [ ]
}

Here's the EXPLAIN
<IP_ADDRESS>:8529@mydb> db._explain('FOR o IN obs FILTER "stuff" IN o.projects UPDATE o WITH { projects: REMOVE_VALUE(o.projects, "stuff") } IN obs');
Query string:
 FOR o IN obs FILTER "stuff" IN o.projects UPDATE o WITH { projects: REMOVE_VALUE(o.projects,
 "stuff") } IN obs

Execution plan:
 Id   NodeType            Est.   Comment
  1   SingletonNode          1   * ROOT
  7   IndexNode         270889     - FOR o IN obs   /* hash index scan */
  5   CalculationNode   270889       - LET #5 = { "projects" : REMOVE_VALUE(o.`projects`, "stuff") }   /* simple expression */   /* collections used: o : obs */
  6   UpdateNode             0       - UPDATE o WITH #5 IN obs

Indexes used:
 By   Type   Collection   Unique   Sparse   Selectivity   Fields              Ranges
  7   hash   obs          false    false         0.00 %   [ `projects[*]` ]   ("stuff" in o.`projects`)

Optimization rules applied:
 Id   RuleName
  1   move-calculations-up
  2   move-filters-up
  3   move-calculations-up-2
  4   move-filters-up-2
  5   remove-data-modification-out-variables
  6   use-indexes
  7   remove-filter-covered-by-index
  8   remove-unnecessary-calculations-2

Write query options:
 Option                   Value
 ignoreErrors             false
 waitForSync              false
 nullMeansRemove          false
 mergeObjects             true
 ignoreDocumentNotFound   false
 readCompleteInput        true
 useIsRestore             false
 consultAqlWriteFilter    false

At the moment the error occurs, a line appears in syslog
Oct 17 14:01:08 myhost arangod[13582]: 2017-10-17T14:01:08 [13582] WARNING {queries} slow query: 'FOR o IN obs FILTER "stuff" IN o.projects UPDATE o WITH { projects: REMOVE_VALUE(o.projects, "stuff") } IN obs', bind vars: {}, took: 15.005637

Is there a maximum query execution time ? I've been able to execute UPDATE queries that took more than 20 mn and worked...
The issue can be reproduced using this dataset:
I'm trying to build a confidential-data-free dataset to reproduce the error, but until now every attempt led to a state where the UPDATE query works...
Thanks a lot for any advice.
Mathias

There is no hard-coded maximum query execution time. By default, a "slow query" warning will be logged for all AQL queries that take longer than 10 seconds. This can be configured however using startup parameters, e.g. --query.slow-threshold 60 (for 60 seconds), or using runtime configuration.

Having trouble to reproduce this issue.
What other indexes are present in collection obs?

The "NotFound" error message seems to be from RocksDB (rocksdb::Status::kNotFound).

Hello,
Thanks for your quick answer.
Here is the list of indexes
<IP_ADDRESS>:8529@mydb> db.obs.getIndexes();
[
  {
    "fields" : [
      "_key"
    ],
    "id" : "obs/0",
    "selectivityEstimate" : 1,
    "sparse" : false,
    "type" : "primary",
    "unique" : true
  },
  {
    "deduplicate" : true,
    "fields" : [
      "taxa"
    ],
    "id" : "obs/3884673",
    "selectivityEstimate" : 1,
    "sparse" : false,
    "type" : "hash",
    "unique" : false
  },
  {
    "deduplicate" : true,
    "fields" : [
      "author_obs_email"
    ],
    "id" : "obs/5105471",
    "selectivityEstimate" : 1,
    "sparse" : false,
    "type" : "hash",
    "unique" : false
  },
  {
    "deduplicate" : false,
    "fields" : [
      "taxa_data.original_name"
    ],
    "id" : "obs/5123327",
    "selectivityEstimate" : 1,
    "sparse" : false,
    "type" : "hash",
    "unique" : false
  },
  {
    "deduplicate" : true,
    "fields" : [
      "date_created"
    ],
    "id" : "obs/5280072",
    "selectivityEstimate" : 1,
    "sparse" : false,
    "type" : "skiplist",
    "unique" : false
  },
  {
    "deduplicate" : false,
    "fields" : [
      "session"
    ],
    "id" : "obs/5610871",
    "selectivityEstimate" : 1,
    "sparse" : false,
    "type" : "hash",
    "unique" : false
  },
  {
    "deduplicate" : false,
    "fields" : [
      "author_doc"
    ],
    "id" : "obs/5618291",
    "selectivityEstimate" : 1,
    "sparse" : false,
    "type" : "hash",
    "unique" : false
  },
  {
    "constraint" : false,
    "fields" : [
      "geoloc.lat",
      "geoloc.lon"
    ],
    "id" : "obs/5730297",
    "ignoreNull" : true,
    "sparse" : true,
    "type" : "geo2",
    "unique" : false
  },
  {
    "deduplicate" : false,
    "fields" : [
      "ts_created"
    ],
    "id" : "obs/5977269",
    "selectivityEstimate" : 1,
    "sparse" : false,
    "type" : "skiplist",
    "unique" : false
  },
  {
    "deduplicate" : false,
    "fields" : [
      "_key"
    ],
    "id" : "obs/6499992",
    "selectivityEstimate" : 1,
    "sparse" : false,
    "type" : "skiplist",
    "unique" : false
  },
  {
    "deduplicate" : true,
    "fields" : [
      "projects[*]"
    ],
    "id" : "obs/6502625",
    "selectivityEstimate" : 0.000003691543486013111,
    "sparse" : false,
    "type" : "hash",
    "unique" : false
  }
]

I'm still trying to build a simple dataset to reproduce the issue but with no success until now.
By the way, here is arangosh startup info (but issuing the query via aardvark still fails)
arangosh (ArangoDB 3.2.4 [linux] 64bit, using jemalloc, VPack 0.1.30, RocksDB 5.6.0, ICU 58.1, V8 <IP_ADDRESS>, OpenSSL 1.1.0f  25 May 2017)

Thanks a lot for working on this issue !

Hi @matcho,
do you work with big documents so that intermediate commits are triggered? And do you know if there happen any deletes during the update?

Hi @ObiWahn
The average document in this collection is 100 lines long (100 key/value pairs, nested or not) and weighs less than 4Ko.
No deletes are known to happen during the update : queries.current() only shows the UPDATE query. No index is being created during the update. No replication is set up (although there will be some, one day). Restarting arangod and issuing the query again immediately after still fails.

testcase: http://paste.debian.net/991819/

The error is triggerd in this code:
arangod/RocksDBEngine/RocksDBGeoIndexImpl.cpp
354     inline void RocksRead(GeoIx* gix, RocksDBKey const& key, std::string* val) {
355       arangodb::Result r =
356           gix->rocksMethods->Get(RocksDBColumnFamily::geo(), key, val);
357       if (!r.ok()) {
358         LOG_TOPIC(ERR, Logger::FIXME) << r.errorMessage();
359         THROW_ARANGO_EXCEPTION_MESSAGE(r.errorNumber(), r.errorMessage());
360       }
361     }

Another failure triggered by the test in the rocksdb geoindex
(gdb) bt
#0  0x00007ffff62a9428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff62ab02a in __GI_abort () at abort.c:89
#2  0x00007ffff62eb7ea in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ffff640345f "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007ffff638d11c in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7ffff6403441 "stack smashing detected") at fortify_fail.c:37
#4  0x00007ffff638d0c0 in __stack_chk_fail () at stack_chk_fail.c:28
#5  0x00000000023ad953 in arangodb::rocksdbengine::GeoIndex_insert (gi=0x7fffe5161500, c=0x7fffd02471f0) at /mnt/c9/jan/arangodb4/arangod/RocksDBEngine/RocksDBGeoIndexImpl.cpp:1845

@ObiWahn
Wow great.
But... tried it on my machine, and the query completes succesfully :-/
I just don't understand.
Anyway, glad you could reproduce the bug and hope you'll find the reason.
All the best,
Mathias

» grep AE8A0000000000000000000062020300 geo_insert_log
2017-10-24T14:15:04Z [11209-30] ERROR  ##geo write  ## AE8A0000000000000000000062020300
2017-10-24T14:16:20Z [11209-30] ERROR  ##geo write  ## AE8A0000000000000000000062020300
2017-10-24T14:16:32Z [11209-25] ERROR  ##geo write  ## AE8A0000000000000000000062020300
2017-10-24T14:16:41Z [11209-32] ERROR  ##geo write  ## AE8A0000000000000000000062020300
2017-10-24T14:17:57Z [11209-25] ERROR  ##geo write  ## AE8A0000000000000000000062020300
2017-10-24T14:22:03Z [11209-25] ERROR  ##geo write  ## AE8A0000000000000000000062020300
2017-10-24T14:22:03Z [11209-25] ERROR  ##geo write  ## AE8A0000000000000000000062020300
2017-10-24T14:47:36Z [17250-3] ERROR  ##geo write  ## AE8A0000000000000000000062020300
2017-10-24T14:47:47Z [17250-3] ERROR  ##geo write  ## AE8A0000000000000000000062020300
2017-10-24T14:47:47Z [17250-3] ERROR  ##geo delete ## AE8A0000000000000000000062020300
2017-10-24T14:47:54Z [17250-3] ERROR  ##geo get    ## AE8A0000000000000000000062020300

I have traced the access of GeoIndex documents. We actually delete the key before we try to receive it a bit later.

1874   int i, pot, potix, slot, pathix;
1875   GeoIx* gix;
1876   if (c->longitude < -180.0) return -3;
1877   if (c->longitude > 180.0) return -3;
1878   if (c->latitude < -90.0) return -3;
1879   if (c->latitude > 90.0) return -3;
1880   gix = (GeoIx*)gi;
1881   GeoMkDetail(gix, &gd, c);
1882   i = GeoFind(&gt, rocksMethods, &gd);
1883   if (i != 1) return -1;

The code throws in findGeo. I wonder if returning -1 here would be ok, because the point is already deleted and nothing needs to be done. Or if a failed removal tells us that that index is seriously broken.

It looks like we have a problem with RocksDB Keybouds for the GeoIndex. This results in reinserting with already used slot ids.

Quick update: the fix for this will need some further time. I expect it to be available for 3.2.7.

The root cause for the problem has been identified (RocksDB-based geo index after server restart) and a fix for this is in progress.

Hello,
Was the fixed released in 3.2.9 ? Changelog makes me think so but I'm not sure.
Can we close this issue ?
Thanks,
Mathias

Hi,
sorry yes it seems this one slipped through during the merge and release process.
Confirmed - the fix for this bug is available with ArangoDB 3.2.9


Removal of sync functions

In the currently published package, there is the option to do synchronous calls to the various functions in the iDataQueue, iNetwork, iObj, iProd, iUserSpace, and iWork.
As currently implemented, calling synchronously is a mess. It looks like the code creates a timeout to check if the result has been returned. If not, it creates ANOTHER timeout to check if the result is returned, spinning more and more timeouts until it either returns or timesout. Just doing static analysis of the code, I'm not even convinced it returns correctly, and I believe there has been customer confusion in the past when trying to use this package synchronously.
Because no one should be using this package synchronously anyway, @abmusse  and I believe that we should remove all that logic and, for now, assume that the user is passing a callback function. Once we get that baked in, we can look at using more modern asynchronous methods like Promises.

Resolved by 7fdf0fd


Logging of Embedding Creation Time

Is your feature request related to a problem? Please describe.
When using the embed functionality in Vespa to calculate embeddings at index time and query time, there is no information logged on how long the embedding creation process takes for each embedding field/document. This information is critical to benchmark the performance at ingest time and query time and to identify the parameters that influence the performance.
Describe the solution you'd like
I would like Vespa to log this information about the time taken by Vespa to calculate embeddings per field and query and make it accessible to the user. Additionally, Vespa could define a metric that best captures this information and expose it via Vespa metrics API.
Describe alternatives you've considered
The alternative is to manually measure the performance times at ingest time: with and without HSNW indexing and at query time.
Additional context
This feature is requested on the Vespa repo, with the understanding that it will also be released for Vespa Cloud when it is ready.

Yes, we should add inference time per configured embedder and with an extra dimension if it's used during a query or document serving. Also, the sequence length could also be interesting.

Introduced embedder.latency and embedder.sequence_length in https://github.com/vespa-engine/vespa/pull/27969. They will soon arrive at Container Metrics documentation.


Change to Lanczos resample filter for blog images

As discussed in #43

@cdeleeuwe is the error due to a build timeout because there is not output during 2 minutes on netlify or something else? because if it's just a "no print during 2 minutes timeout", I can try to hack the script to regularly print "dots" in the logs while the long tasks are running silently

Hmm, not sure why it throws the error. I can't reproduce this locally. Will try out a few things.

@moul increasing the timeout seems to solve the issue :)

@pierreboc you will be able to announce the UI/UX article on twitter in approx 10 minutes :+1:

Alright

Le 6 mai 2020 à 15:54, Manfred Touron<EMAIL_ADDRESS>a écrit :
@pierreboc https://github.com/pierreboc you will be able to announce the UI/UX article on twitter in approx 10 minutes 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/berty/www.berty.tech/pull/45#issuecomment-624663436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSGMNCZ6FYZFSFEENWHQITRQFTYBANCNFSM4MZH4DNQ.


Request for permissions

Hi @hsiehjackson,
Could you please grant me the necessary access to open PRs?
I would like to contribute AI21 Jamba model results to the leaderboard and add it as one of the supported models.
Thanks!

Hi @ChenAlmagor I am not sure what permission you need. You are welcome to open any PRs! BTW, I update our main table to show AI21 Jamba-1.5-mini results. It is a pretty strong model!!

Hey @hsiehjackson ,
Thanks for addingJamba-1.5-Mini!
Can you also add Jamba-1.5-Large? The results are also pretty strong (see section 6.3.1 in our whitepaper).

Sure! Sorry I don't have enough compute to run on my side, so I directly copy numbers from your report!

Thank you!


ReferenceError: Buffer is not defined

I am trying to use useWallet in default React app:
import logo from './logo.svg';
import './App.css';

import {
  CasperDashConnector,
  CasperSignerConnector,
  CasperProvider,
  createClient
} from '@casperdash/usewallet';

const client = createClient({
  connectors: [new CasperSignerConnector(), new CasperDashConnector()],
  autoConnect: true,
});

function App() {
  return (
    <CasperProvider client={client}>

            Edit src/App.js and save to reload.

            Learn React

    </CasperProvider>
  );
}

export default App;

I am getting the following error:
Buffer is not defined
ReferenceError: Buffer is not defined
    at<EMAIL_ADDRESS>(http://localhost:3000/static/js/bundle.js:325:9)
    at options.factory (http://localhost:3000/static/js/bundle.js:76988:31)
    at __webpack_require__ (http://localhost:3000/static/js/bundle.js:76381:33)
    at fn (http://localhost:3000/static/js/bundle.js:76645:21)
    at<EMAIL_ADDRESS>(http://localhost:3000/static/js/bundle.js:3381:87)
    at options.factory (http://localhost:3000/static/js/bundle.js:76988:31)
    at __webpack_require__ (http://localhost:3000/static/js/bundle.js:76381:33)
    at fn (http://localhost:3000/static/js/bundle.js:76645:21)
    at<EMAIL_ADDRESS>(http://localhost:3000/static/js/bundle.js:70409:87)
    at options.factory (http://localhost:3000/static/js/bundle.js:76988:31)

It seems that @ledgerhq/hw-transport-webusb package should not be used in the frontend. See https://github.com/LedgerHQ/ledgerjs/issues/734.

Even when I fixed it manually, I started getting some BigInt errors. This package is also not compatible with CommonJS, so it is a bit problematic to use. Does it even work?

Hi @andrzej-casper,
If you use vitejs for building you can ref my config to load buffer from node-polyfills
import path from 'path';

import react from '@vitejs/plugin-react-swc';
import { defineConfig } from 'vite';
import { nodePolyfills } from 'vite-plugin-node-polyfills';

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    react(),
    nodePolyfills({
      // Whether to polyfill `node:` protocol imports.
      protocolImports: true,
    }),
  ],
  resolve: {
    alias: {
      '@': path.resolve(__dirname, './src'),
    },
  },
});

I started getting some BigInt errors.

Could you please provide me with more details about this point?

This package is also not compatible with CommonJS, so it is a bit problematic to use. Does it even work?

I will need to check on it and revert soon

@hoailinh1210 I am using the default CRA bundler - Webpack - however, this library should not require additional setup. I think you could include Buffer polyfill when building it, so NPM package will work out of the box.
I was getting some BigInt errors after I got rid of ledger code; I immediately gave up on useWallet and removed everything :sweat:.

Hey @andrzej-casper,
You're correct that it "should not require additional setup". We'll be polyfilling the buffer in the next release.
Thanks for your feedback.

Hey @andrzej-casper,
I want to let you know that I have separated the ledger connector into a single package and poly-filled buffer. This means that if you use useWallet it will work correctly.
With the ledger, you will need to install other packages (@casperdash/usewallet-ledger) and use the ledger connector to inject.
I will close this topic after

Resolved buffer on<EMAIL_ADDRESS>

@hoailinh1210 Awesome, I just tried new version and integration with plain CRA worked out of the box :tada:


Test if it is necessary to initialise the CommandProcessor at programm start

The CommandProcessor Ulity class is intialised at programm start in he Main function.
It should be tested if this is really nessesary

closed with #34


Ada2FHIR issues zib NutritionAdvice

Currently there are two issues that make it difficult to properly convert a zib/ada instance to a FHIR instance:

Based on the type of food the concept Consistency is mapped to either .oralDiet.texture.modifier.text (solid food) or .oralDiet.fluidConsistencyType.text (fluids). There is however no indicator for the type of food present in the zib, making it impossible to determine to which element the Consistency should be mapped. For now it seems best to use .oralDiet.texture.modifier.text in the Ada2FHIR mapping in all cases.
The NutritionOrder resource contains a mandatory element .dateTime; however no equivalent is present in the zib. For now the current date/time is used in the Ada2FHIR mapping to populate this element.

The first bullet poses quite a problem. Perhaps this kind of information is known in the health process? This is definitely something to discuss with the zib-centre/
The second bullet should perhaps not be a real problem for implementers. Tracking DateTimes would be pretty common.

I've created a zib ticket, see https://bits.nictiz.nl/browse/ZIB-1617.

Currently the zib doesn't provide enough information to determine the right mapping of consistency. Hence, based on ZIB-1617, we map the consistency to .oralDiet.fluidConsistencyType.text in Ada2FHIR (for now), and moreover add a warning message to the stylesheet indicating this issue.

@LuudSlagter , I think this issue can be closed now, correct?

In the meantime, the default mapping has been changed to .oralDiet.texture.modifier.text, and the warning has been updated accordingly. Since there is no satisfying answer given in ZIB-1617, we can close this issue!


ng-submit doesn't work with ng-form

Here's a plunkr to ilustrate the behaviour....
http://plnkr.co/edit/gist:3510140?p=preview

A case where it would be nice to have ng-submit working with ng-form is when you have the following multiple forms structure:
<!-- used to group and check the validity of all the forms with global.$valid -->
<form name="global">
    <!-- the actual, usable forms -->
    <ng-form name="form" ng-repeat="..." ng-submit="handle()">
        <!-- used for controls grouping -->
        <ng-form name="group" ng-repeat="..."></ng-form>
        <button type="submit">Submit</button>
    </ng-form>
</form>

... and want to be able to check the validity of all the forms.

Why would want to check the validity of all forms, if you can submit them separately ?

In this specific case, the user can save each model separately, or save all the models. Therefore, I need to know if each model's form is valid to wether enable the "Save All" button or not.
I edited the previous post with this Plunker (see the comment in the HTML).

A client has a wizard like form with several input fields plus some nested forms for grouping (steps). We need to validate each step with a "submit"-like trigger and maybe also firing some backend calls. We tried using plain form elements and this does work in some browsers. However, since this is basically invalid HTML, we wanted to switch to ngForm and noticed that it is not a replacement for form tags as stated in the docs. After looking at this issue here I saw that it is mentioned in the docs about the ngForm directive but at https://docs.angularjs.org/api/ng/directive/form it says that "Angular provides the ngForm directive which behaves identically to <form>".
I think it is a valid use case to handle a submit of nested forms, also firing backend calls or whatever, so this should be at least a feature request.

I have the following use case:
A user can edit a list (edit entries, add new entries, delete entries) and then either cancel his changes (which resets the list to what it was before) or save all changes. The whole cancel or save action happens within a form, so all fields are being checked and validated on submit.
But when the user tries to add a new entry, this entry should also be checked and validated before being added to the list.
Of course the complete list is being validated in the most outer form, but it would be nice to validate this 'new entry' sub-form - primary because of disabling some buttons and using the automatic 'submit via enter' functionality, so basically because of UI and UX awesomeness ;)
So in my optinion this feature would really be nice to have.

+1

+1

+1

+1

Also having this issue.

Also having this issue.

ng-submit still doesn't work with ng-form (so ng-form is not just alias of form).

+1

Here's an update for everyone, since I ran into this issue myself.
Here's the directive code on github (no jQuery depedencies or anything)
DEMO here
Directive fix:
With this directive, any ngForm will automatically call any input | button with type="submit".
It also fixes ngSubmit to work with ngForm (same functionality, you can even omit ng-click on your button)
ngForm directive useage: (Automatically calls any input/button with type="submit")
<ng-form>
    <!-- some inputs -->
    <button type="submit"
        ng-click="vmDemo.submitThisForm()">
        Submit Button
    </button>
</ng-form>

ngSubmit functionality fix for ngForm:
<ng-form ng-submit="vmDemo.submitThisForm()">
    <!-- some inputs -->
    <button type="submit">
        Submit Button
    </button>
</ng-form>

This would be nice to have built-in to Angular, since like most of you are saying, ngForm without ngSubmit or even the Enter key working (and hitting a submit) is kind of pointless.
I'm going to see if I can potentially make a Pull-Request for this issue.

@mcpDESIGNS you can make pull request and team will consider if they can make it built-in. But before it, please consider to add tests and please don't use "ng" prefix for custom directives, it's kind of "reserved" :)

@e-oz I'll take a look, doesn't seem like it'd be too bad to tackle natively.
Oh of course! I never use ng, I simply wanted to add it on-top of the original ngForm directive, without having to add another. I probably should of just extended it now that I think about it :)

The demo link is not working so I made a new one on bin

@moshfeu Sorry about that, just fixed the link to it, the Demo should work now!
ngForm fix demo

A. The problem is if there are multiple buttons, the first will be the submit button, even it has no type=submit attribute. You can see it here. So I replaced the if ($current.type.toLowerCase() === 'submit') { width if ($current.getAttribute('type') && $current.getAttribute('type').toLowerCase() === 'submit') {.
Another problem that there is no $submitted property and no ng-submitted class to the ng-form. The class issue I solve with adding $element.addClass('ng-submitted'); after the line $parse($attrs.ngSubmit)($scope);. But I couldn't solve the $submitted issue.
This is very strange based on the fact that the ng-form object has property $submitted which is false all the time and I couldn't set it to true.
I tried:

$element.$submitted = true; - no effect.
$setSubmitted(); - error $element.$setSubmitted is not a function

Any suggestions?
Thanks

Very nice, you're totally right button by default has type="submit" so we definitely need to be using .getAttribute('type') I'll have to update the Repo.
I'll have to look into the other issue, you might just need to set some other type of variable to temporarily let everything know it was "submitted".
It might have something to do with the fact that there's a ng-repeat creating all these ng-forms in your example too. I'm playing with it now.

Finally I got this!
I added $scope[$attrs.ngForm].$submitted = true; in the submit function and it's works.
I sent a Pull Request. Tell me if it's OK.
Thanks!

We are all set :) @moshfeu  Thanks for the PR.
Updated the repo : https://github.com/MarkPieszak/ngForm-handle-Enter-Keypress

Thank you. The PR works for me.


Loading a checkpoint that was saved in PL < 1.2 still breaks

🐛 Bug

Related Issue/PRs.

#6549
#6898
#7031
#7043

A checkpoint that was saved in PL < 1.2 with Trainer.add_argparse_args still breaks, when loaded in PL >= 1.2
AttributeError: Can't get attribute '_gpus_arg_default' on <module 'pytorch_lightning.utilities.argparse_utils' from

Please reproduce using the BoringModel

To Reproduce
Use following BoringModel and post here
import argparse

import torch
from torch.utils.data import DataLoader, Dataset

from pytorch_lightning import Trainer, LightningModule

class RandomDataset(Dataset):

    def __init__(self, size, length):
        self.len = length
        self.data = torch.randn(length, size)

    def __getitem__(self, index):
        return self.data[index]

    def __len__(self):
        return self.len

class BoringModel(LightningModule):

    def __init__(self, **kwargs):
        super().__init__()
        self.save_hyperparameters()
        self.layer = torch.nn.Linear(32, 2)

    def forward(self, x):
        return self.layer(x)

    def loss(self, batch, prediction):
        # An arbitrary loss to have a loss that updates the model weights during `Trainer.fit` calls
        return torch.nn.functional.mse_loss(prediction, torch.ones_like(prediction))

    def step(self, x):
        x = self(x)
        out = torch.nn.functional.mse_loss(x, torch.ones_like(x))
        return out

    def training_step(self, batch, batch_idx):
        output = self(batch)
        loss = self.loss(batch, output)
        return {"loss": loss}

    def validation_step(self, batch, batch_idx):
        output = self(batch)
        loss = self.loss(batch, output)
        return {"x": loss}

    def test_step(self, batch, batch_idx):
        output = self(batch)
        loss = self.loss(batch, output)
        return {"y": loss}

    def configure_optimizers(self):
        optimizer = torch.optim.SGD(self.layer.parameters(), lr=0.1)
        lr_scheduler = torch.optim.lr_scheduler.StepLR(optimizer, step_size=1)
        return [optimizer], [lr_scheduler]

    def train_dataloader(self):
        return DataLoader(RandomDataset(32, 64))

    def val_dataloader(self):
        return DataLoader(RandomDataset(32, 64))

    def test_dataloader(self):
        return DataLoader(RandomDataset(32, 64))

if __name__ == '__main__':
    parser = argparse.ArgumentParser()
    parser = Trainer.add_argparse_args(parser)
    args = parser.parse_args()
    model = BoringModel(**vars(args))
    trainer = Trainer.from_argparse_args(args, fast_dev_run=True)
    trainer.fit(model)

    # comment the line on >= 1.2.0
    trainer.save_checkpoint('model.pt')

    # comment the line below on < 1.2.0
    BoringModel.load_from_checkpoint('model.pt')

Expected behavior

The model should load without any error.
Environment
Note: Bugs with code are solved faster ! Colab Notebook should be made public !

IDE: Please, use our python bug_report_model.py template.

Colab Notebook: Please copy and paste the output from our environment collection script (or fill out the checklist below manually).

You can get the script and run it with:
wget https://raw.githubusercontent.com/PyTorchLightning/pytorch-lightning/master/tests/collect_env_details.py
# For security purposes, please check the contents of collect_env_details.py before running it.
python collect_env_details.py

PyTorch Version (e.g., 1.0): 1.8.1
OS (e.g., Linux): Windows10
How you installed PyTorch (conda, pip, source): pip
Build command you used (if compiling from source):
Python version: 3.8.6
CUDA/cuDNN version: 11.0 / 8.0.2
GPU models and configuration: RTX 3070
Any other relevant information:

Additional context

Which PL version did you load with here?

I saved a checkpoint with pytorch-lighting==1.1.8, and tried to load with pytorch-lighting==1.2.10

yes, the fix didn't make it into 1.2.10. You need to use 1.3.0rc2 last time I checked. Can you try?
If it still breaks I'm out of words

Yes, it is a different issue which only happens where checkpoints were saved BEFORE 1.2.0. Sorry for the confusion.


[update-checkout] Replace 17 with errno.EEXIST

Follow-up to apple/swift#27791

Cc: @ahoppen @shahmishal

Ah, that’s definitely better. 👍🏽 I didn't know of the errno module.
@swift-ci Please smoke test


Support resources that require claim challenge

As a developer, I can use MS Graph Explorer to access resources that require a claims challenge

Hey @RabebOthmani, could I have more information on this issue?

Currently confirming if during claims challenge, the current access token is invalidated: https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/5747

Currently under review

This work unblocked users and educated them about handling claim challenges because previously they were not getting the response they should be getting.
They would get 401s but could not trigger a new authentication process to get the elevated access they needed to access these resources.


Leap Day Theme: title issue

I already set my "title" in _config.yml but the theme shows my first Header

Hi man @Sarctiann
I looked into the issue and the only correct solution currently is to "create a custom layout", this is ultra easy and can be done in 1min.
The steps are:

On your repo where you have the _config.yml file you need to create a folder named "_layouts/" and in that new folder create a file named "default.html"
In that "default.html" past the content of this page.
Replace this line
{{ page.title | default: site.title | default: site.github.repository_name }}
 with this line
{{ site.title | default: site.github.repository_name }}

And replace this line
{{ page.description | default: site.description | default: site.github.project_tagline }}
 with
{{ site.description | default: site.github.project_tagline }}

Save the file ("default.html")
Wait approx 2mins for the build of your page to be fully done
Voilà

In you want to remove these changes to get back the original behaviour, simply delete the "_layout/" folder (that normally contains the "default.html" file we created.
For advanced users
If you want to understand the issue, this is due to the parsing of the "index.md" file, when parsed the first header title is use to set the page.title variable. In the lines I highlighted in the steps below the behaviour is first to check if the markdown as a title then only if not use the title set by the user (and if there isn't use the repository name).
Why not creating a merge request to fix this issue ?
Currently pages aren't Github priority so current merge request seems to be not checked and merged by maintainers.
Secondly I don't know if it's a bug or not, some theme as this "issue" in the HTML code, some don't have this syntax.
Conclusion
Yes there is something weird in the way the HTML of the page template is done, the documentation here is not correct, the theme don't respect the following variables by default.
But there is a solution, not ideal but still.

Second / altermative solution
There is an other solution, maybe simpler. You can use front matter YAML syntax to "force" the title you want by editing your "index.md".
Find more details on the comment I made here.
@Sarctiann


Fix detach&attach not to create new COSEMessage instance

I noticed that dumps() method include the payload even after detach_payload() is done.
Let me give some time and fix it.

@dajiaji
Thank you for your review, now it works.
I have to note that
COSEMessage.loads() on detached content message works fine
This code below prints like this, and it outputs what I expected.

18([<< {1: -7, 3: 0} >>, {4: << -18, -18 >>}, null, h'6520BBAF2081D7E0ED0F95F76EB0733D667005F7467CEC4B87B9381A6BA1EDE8E00DF29F32A37230F39A842A54821FDD223092819D7728EFB9D3A0080B75380B'])

"""
import sys
import subprocess
from cwt import COSEMessage
18([
  / protected: / h'A201260300',
  / unprotected: / {4: h'3131'},
  / payload: / null / detached /,
  / signature: / h'6520BBAF2081D7E0ED0F95F76EB0733D667005F7467CEC4B87B9381A6BA1EDE8E00DF29F32A37230F39A842A54821FDD223092819D7728EFB9D3A0080B75380B'
])
"""
expected_detached_cose_message = COSEMessage.loads(
    bytes.fromhex(
        "D28445A201260300A104423131F658406520BBAF2081D7E0ED0F95F76EB0733D667005F7467CEC4B87B9381A6BA1EDE8E00DF29F32A37230F39A842A54821FDD223092819D7728EFB9D3A0080B75380B"
    )
)
output = subprocess.check_output(f"echo {expected_detached_cose_message.dumps().hex().upper()} | pretty2diag.rb -e", shell=True).decode(sys.stdout.encoding).rstrip("\n")
print(output)

on the other hand,
I expect that countersign on this instance would produce we don't expect
because both self._payload and self._msg[2] is None .

Could you fix it in the future?

Yes, I understand this negative side-effect. I can fix it on my next PR.


Failed to setup mock

xgo version: v1.0.42

mock.Patch((*net.Dialer).Dial, func(_ *net.Dialer, network, address string) (net.Conn, error) {
					return nil, errors.New("dial error")
				})

    --- FAIL: TestDialRequest_Do/1:_error_while_dialing_request (0.00s)
panic: failed to setup mock for: net.(*Dialer).Dial [recovered]
        panic: failed to setup mock for: net.(*Dialer).Dial

Are you using xgo test or xgo run?

You can try to add --trap-stdlib to force stdlib mock

using xgo test, tried with --trap-stdlib same error

Hi @shubham-dogra-s1  thanks for your feedback.
It is confirmed that this is a bug due to this line: https://github.com/xhd2015/xgo/blob/e64e4df234291f76735d1d3a086d40862e6e2264/patch/ctxt/stdlib.go#L100-L103
The funcName is (*net.Dialer).Dial, which is not in upper case, so types.IsExported("(*net.Dialer).Dial") returns false.
However, it is obvious that (*net.Dialer).Dial is an exported method.
I have issued a fix: https://github.com/xhd2015/xgo/pull/226

@shubham-dogra-s1 fixed in https://github.com/xhd2015/xgo/releases/tag/v1.0.43
upgrade:
# update xgo
go install<EMAIL_ADDRESS>
# update dependency
go get<EMAIL_ADDRESS>

@xhd2015 Thanks for the quick fix! Its working fine with xgo test, but when i run in debug mode with xgo e, failing with the same error

@xhd2015 Thanks for the quick fix! Its working fine with xgo test, but when i run in debug mode with xgo e, failing with the same error

@shubham-dogra-s1 Do you have a screenshot? And some logs can also help.

Here are the logs @xhd2015
--- FAIL: TestDialRequest_Do (13.78s)
    --- FAIL: TestDialRequest_Do/1:_error_while_dialing_request (13.78s)
panic: failed to setup mock for: net.(*Dialer).Dial [recovered]
        panic: failed to setup mock for: net.(*Dialer).Dial

goroutine 6 [running]:
testing.tRunner.func1.2({0x10a40f8c0, 0x1400024b5d0})
        /Users/shubham/.xgo/go-instrument/go1.22.0_us_lo_go_fa839386/go1.22.0/src/testing/testing.go:1642 +0x3c8
testing.tRunner.func1()
        /Users/shubham/.xgo/go-instrument/go1.22.0_us_lo_go_fa839386/go1.22.0/src/testing/testing.go:1645 +0x56c
panic({0x10a40f8c0?, 0x1400024b5d0?})
        /Users/shubham/.xgo/go-instrument/go1.22.0_us_lo_go_fa839386/go1.22.0/src/runtime/panic.go:770 +0xf0
github.com/xhd2015/xgo/runtime/mock.getFunc({0x10a4aeb60, 0x10a8bf7c8})
        /Users/shubham/go/pkg/mod/github.com/xhd2015/xgo/runtime@v1.0.43/mock/mock.go:54 +0x1c0
github.com/xhd2015/xgo/runtime/mock.Patch({0x10a4aeb60, 0x10a8bf7c8}, {0x10a4aeb60, 0x10a8bf398})
        /Users/shubham/go/pkg/mod/github.com/xhd2015/xgo/runtime@v1.0.43/mock/patch.go:53 +0x2b8
project/internal/clients.TestDialRequest_Do.func1()
        /Users/shubham/GolandProjects/project/internal/clients/network_test.go:87 +0xfc
project/internal/clients.TestDialRequest_Do.func2(0x14001dff860)
        /Users/shubham/GolandProjects/project/internal/clients/network_test.go:96 +0x1a8
testing.tRunner(0x14001dff860, 0x1400024a3e0)
        /Users/shubham/.xgo/go-instrument/go1.22.0_us_lo_go_fa839386/go1.22.0/src/testing/testing.go:1709 +0x400
created by testing.(*T).Run in goroutine 5
        /Users/shubham/.xgo/go-instrument/go1.22.0_us_lo_go_fa839386/go1.22.0/src/testing/testing.go:1762 +0x66c
test end

How to reproduce?

Start xgo explorer
Start debugger
Add debug point at tt.mock

func DialRequestFunc() (net.Conn, error) {
	dialer := &net.Dialer{Timeout: 10}
	return dialer.Dial("tcp", fmt.Sprintf("%s:%s", "example.com", "80"))
}

func TestDialRequestFunc(t *testing.T) {
	tests := []struct {
		name    string
		want    net.Conn
		wantErr assert.ErrorAssertionFunc
		mock    func()
	}{
		{
			name: "1: error ",
			mock: func() {
				mock.Patch((*net.Dialer).Dial, func(_ *net.Dialer, network, address string) (net.Conn, error) {
					fmt.Println("here")
					return nil, errors.New("dial error")
				})
			},
			wantErr: assert.Error,
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			tt.mock()
			got, err := DialRequestFunc()
			fmt.Println(err)
			if !tt.wantErr(t, err, fmt.Sprintf("TestDialRequest()")) {
				return
			}
			assert.Equalf(t, tt.want, got, "TestDialRequest()")
		})
	}
}

@shubham-dogra-s1 This may be caused by build cache. You can run xgo exec --reset-instrument go version and try again to see if the problem still happens

@xhd2015 It was cache issue working fine xgo exec --reset-instrument go version. We can close the issue :)


Requiring base < 4.9

Hello,
I've found this on hackage and have tried to use it.
I'm learning Haskell at the minute and have just handwritten my first Monad.  I was looking to add some tests that it adheres to the Monad, Functor, & Applicative laws.
I rolled back the stack resolver to lts-5.18, to get ghc 7.10.3 with base <IP_ADDRESS>.  But my code uses MonadFail from Control.Monad.Fail, which came along in base <IP_ADDRESS>.  So I got a bit stuck.
What would you recommend?

I've just tried updating base in smallchack-laws and it's built OK.
I'll try upgrading the other dependencies and see if that works for my testing

I've tried forking this repo and its dependencies and changing the base version to be <5 and things seem to be working.


Logging in with Auth0 will fill email in for the universal name question

Describe the bug
When creating an account through auth0, the universal name question gets filled in with email. This is when the user creates an account with a username and password specifically because when signing in with google, a name is provided.
To Reproduce
Steps to reproduce the behavior:

Go to staging or another environment with auth0
Click on log in and log in or create an account
When redirected back to civiform, click on the PAI proram (or another program with a universal name question)
See email in name field

Expected behavior
Name doesn't get filled in since there is no name coming from auth provider. Or if the email matches the name when it comes from auth provider, don't set it
Screenshots
See name filled in with email

Additional context
This was reported by charlotte as something that came up in their user studies. We'd like to fix it before launch.

Some related context / code:
https://github.com/civiform/civiform/blob/9a8f21925234632573ec03ffcc386f5bad7dcbcd/server/app/services/applicant/ApplicantData.java#L96
Set username from the OIDC profile here: https://github.com/civiform/civiform/blob/main/server/app/auth/oidc/applicant/ApplicantProfileCreator.java#L112
It gets set as first name here: https://github.com/civiform/civiform/blob/main/server/app/services/applicant/ApplicantData.java#L228-L232

It's probably specific to certain OIDC types. Seattle's works fine.


Enhance Blob Test Reliability

This PR enhances Azure Storage Blob test reliability through a couple techniques.

Certain tests which generate large streams perform generation in chunks, this reduces peak memory consumption.
Tests which perform an initializer operation then sleep were updated to use Reactor hooks.
 It failed when I triggered from comments.

/azp run java - storage - tests

/azp run java - storage - tests

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=206914&view=logs&j=3f0b3bd8-2d88-59b8-ec21-d9a54670d8fb

/azp run java - storage - tests

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=207285&view=logs&j=3f0b3bd8-2d88-59b8-ec21-d9a54670d8fb&t=d461725e-ef03-51a5-7040-91cc48a61aa8

/azp run java - storage - tests

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=207393&view=logs&j=3f0b3bd8-2d88-59b8-ec21-d9a54670d8fb&t=d461725e-ef03-51a5-7040-91cc48a61aa8

/azp run java - storage - tests


fix: webpack dev server

Description
I updated webpack-cli as there was issue with trivy on google cloud build. But webpack-cli no longer supports webpack-dev-server v3, the minimum supported version is webpack-dev-server v4.0.0.
So I updated webpack-dev-server and config according migration guide
Checklist

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own changes
[X] I have run yarn lint to make sure my changes pass all tests
[X] I have run yarn test to make sure my changes pass all linters
[X] I have pulled the latest changes from the upstream main branch
[X] I have tested both the react and the CDN versions on local and integration environments
[X] I have added the necessary labels to this PR in case a new release needs to be published after merging into main (e.g. release and patch)

Contribution guidelines
For contribution guidelines, styleguide, and other helpful information please
see the CONTRIBUTING.md file in the root of this project.

:rocket: PR was released in v2.22.2 :rocket:


Readme not in reStructuredText format

The info in PyPI looks bad
From python docs:
To prevent registering broken reStructuredText content, you can use the rst2html program that is provided by the docutils package and check the long_description from the command line:

$ python setup.py --long-description | rst2html.py > output.html

It is structured in rst now, but looks like crap on PyPI for some reason

0.0.4 upload seemed to fix this


Update ug final submission

Codecov Report
Base: 70.44% // Head: 70.44% // No change to project coverage :thumbsup:

Coverage data is based on head (8c616d9) compared to base (22b2d73).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #265   +/-   ##
=========================================
  Coverage     70.44%   70.44%
  Complexity      610      610
=========================================
  Files            97       97
  Lines          2003     2003
  Branches        236      236
=========================================
  Hits           1411     1411
  Misses          496      496
  Partials         96       96

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

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


Update web app scroll animations to only happen with anchor links

Browser
No response
Description
In the future, we'll also likely want the full page scroll animation to happen with a back to top component, and possibly when navigating to a new page at the bottom of catalogs.
Reference: https://ibm-studios.slack.com/archives/C022V4871K2/p1650039847496079
Steps to reproduce
Scroll to the bottom of a page. Navigate to a new page. You'll notice the new page loads, then it scrolls to the top.

Hey team! Please add your planning poker estimate with ZenHub @alisonjoseph @andreancardona @francinelucca

In _app.js
function useNormalScrollRoutes() {
  const router = useRouter()

  useEffect(() => {
    router.events.on('routeChangeStart', () => {
      document.documentElement.classList.add('normal-scroll')
    })
    router.events.on('routeChangeComplete', () => {
      document.documentElement.classList.remove('normal-scroll')
    })
  }, [router.events])
}

And:
function App({ Component, pageProps }) {
  useNormalScrollRoutes()

  return (
    <AuthProvider>

And then add this to _base.scss:
.normal-scroll {
  scroll-behavior: auto;
}


Fix Issue 17314 - BinaryHeap crashes upon insertion if heapified with an array of length 1

When length is 1, length * 3 / 2 is still 1, so insert didn't make room for the new item.
https://issues.dlang.org/show_bug.cgi?id=17314

With such small lengths, I don't mind being too generous. I see why 6 may be better than 5, but I don't think the usual formula needs to be made more computationally expensive.

Any idea about the auto tester failures?

This is pretty trivial, LGTM.


libbsd: fix build on darwin

Description of changes

Add libbsd_symver_weak macro
Detect and skip group_from_gid & user_from_uid when provided by macOS.
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 181353 run on aarch64-darwin 1

8 packages marked as broken and skipped:

enum4linux
enum4linux-ng
php80Extensions.smbclient
php81Extensions.smbclient
python310Packages.pysmbc
python39Packages.pysmbc
samba
samba4Full

5 packages failed to build:

acme-client
inputplug
kamid
netcat-openbsd
rosie

6 packages built:

csmith
libbsd
opendkim
rcon
rs
stress-ng


update REST API

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Missing toString on types in VS builds

I'm compiling a project created in CLion using CMake.  When compiling  under Linux/gcc everything works fine, but when compiling under Windows/VC I get the following error:
C:\...\build>cmake --build . --config release
Microsoft (R) Build Engine version 16.9.0+5e4b48a27 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

CpuTestCaseBuilder.obj : error LNK2019: unresolved external symbol "class doctest::String __cdecl doctest::toString(unsigned __int64)" (?toString@doctest@@YA?AVString@1@_K@Z) referenced in function "public: struct doctest::detail::Result __cdecl doctest::detail::Expression_lhs<unsigned __int64>::operator==<int>(int &&)" (??$?8H@?$Expression_lhs@_K@detail@doctest@@QEAA?AUResult@12@$$QEAH@Z) [C:\...\Doctest_tests\Doctest_tests_run.vcxproj]
C:\...\Release\Doctest_tests_run.exe : fatal error LNK1120: 1 unresolved externals [C:\...\Doctest_tests\Doctest_tests_run.vcxproj]

A representative of the offending tests (some names shortened for confidentiality) looks like this:
TEST_CASE ("Check blank arguments are correct") {
    CaseBuilder builder();
    auto tests = builder.buildCases (); // returns optional <vector <const Case*>>
    CHECK (tests->size() == 3);
}

A fix is:
TEST_CASE ("Check blank arguments are correct") {
    CaseBuilder builder ();
    auto tests = builder.buildCases ();
    CHECK ((unsigned long)tests->size() == 3);
}

My question is: why is toString (unsigned __int64) not defined, whose responsibility should it be to define it, and (rather than casting the type to something smaller) what should be the prefered solution?
Thanks.

Hi @julescmay . Can you please provide a minimal reproducible example (MRE) to debug this issue? It's impossible to know what is going on otherwise. I am pretty sure you employer allows you to share an MRE to solve their issues.
You can of course replace sensitive names and constructs with fictional variants, as long as the code compiles, under a known system with a known compiler, and reproduce your issue. Thanks!


The SF.net link is stale by now, point to the successor project

This simply changes the URL to the osslsigncode project as the old SourceForge URL was stale at the time of writing.

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

Thanks!


Fix javadoc detection

Fixes #291
Please make sure the below checklist is followed for Pull Requests.

[x] Travis tests are green
[x] Tests are added where necessary
[x] Documentation is added/updated where necessary
[x] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

This is a naive fix, feel free to correct me if I'm wrong.
I've renamed the lexer token, and I think more renaming should be done (e.g. JDLEntity.comment -> JDLEntity.javadoc), but I guess it will break external API.

Thanks I'll review this first thing tomorrow!

I don't understand why you've renamed the token. What was the issue with COMMENT?

@murdos This PR is good to be merged, thanks! I'll let you merge it whenever you want. Can you please do a npm run bundle before and commit the change? It updates the parsing system with the latest changes.
Thanks :)

@MathieuAA I've also run npm run prepare so diagrams have been updated too


Version 1.3.9 won't work on 4.4.2

I already installed the YouTube latest version. I Have GT-N7100 running with 4.4.2.
Tried to Unistall reinstall..

Reinstallation wont work. Method/field/class name was again changed.

I see..If I will install the older version of YouTube. .will it work? By the way thank you for the reply :)

Recent build of the module supports the newest yt. Update the module, reboot, everything should work good.

Just updated the module to 1.4 today but still doesn't work. When my screen is off YouTube stops.  :)

Does notification show just after you start the movie? It should.
Are you sure you have enabled the module in xposed settings and rebooted?

No notification. I have enabled the module in xposed then rebooted my phone.

Maybe this could help https://www.dropbox.com/s/u4ddd2lwextx1j6/ytube.txt?dl=0
I tried to save cat log to save this file

What I have found in log is that:
"This YouTube version is not supported yet."
Please install this apk:
http://www.apkmirror.com/apk/google-inc/youtube/youtube-10-13-54-android-apk-download/
Reboot and test.

Wow... it's now working thank you so much. I just wonder about the  YouTube app that was previously installed is the latest from Google play..

Me too.
Maybe there are some parallel builds for different dpi sizes (as in Google Drive or Google Play Services app) so the module need to be modified to support a whole range of build numbers and not only hardcoded, exact ones?
Can you uninstall the youtube which you have recently installed, reinstall an update from the store and upload the apk file somewhere? Or at least check the exact build number (you can do it via i.e. Titanium Backup by clicking the Youtube on app list, it should be something like 101354134)?

I already reinstall the update from the store
Here is the screen shot..
https://www.dropbox.com/s/ehxrh07xyzqsqoe/Screenshot_2015-04-09-21-36-21.png?dl=0

both version:10.13.54
build#:101354134
from playstore
build#:101354132

Yeah so they DO make various builds for various devices. Gosh.
http://www66.zippyshare.com/v/K6nqaBHP/file.html
I have compiled a test build that checks only first few digits of the version (i.e. 1013).
This approach may be also better for minor updates (for example from 10.11.53 to 10.11.54) as the obfuscation usually do not change between them so there will be no need of updating the module if so).
Please test it with both youtube versions. Thank you.
If everything is ok i will pull a request to the dev.

Hi sorry for the late reply.
both YouTube version works on your moded Module. :)

thanks for feedback, I have sent a commit proposal to pyler.

No problem. . Thank you too


Audio for 'Internal Bug Bounty Programs'

http://owaspsummit.org/Working-Sessions/Security-Crowdsourcing/Internal-Bug-Bounties-Programmes.html
Internal Bug bounty programs.mp3.zip
@Ambg05 here is another one

Done.

@DinisCruz  I don't seem to be authorised to close these issues! Or am I missing something . . .

ahh maybe you can't with your current level of access


Missing Hyperparameters in config files

I noticed that a few config files are missing some hyperparameters, so I wanted to clarify the correct values:

Should config/WiC.json set mask_alpha: 0.105? By default, the value is set to 0.5, which I don't think matches the description in the paper (though I could be mistaken). What value was used to train the reported model in the paper?
Should config/BoolQ.json and config/WSC.json set dropout_rate: 0.1 as in the other config files? I can't find where this hyperparameter is used, so maybe it doesn't matter that the value is missing from these configs.

Thanks for your help clarifying!

Hi,
Thanks for your interest.

Yes, all datasets use mask_alpha=.105, including config/WiC.json. Sorry we cleaned up our code and copied some stuff incorrectly.
Yes, dropout_rate is not used for anything. We had it for some other stuff that we removed.

Good to know, thanks!


Uncaught Error: ENOENT: no such file or directory, open '$ATOM_HOME/packages/Remote-FTP/node_modu...

[Enter steps to reproduce below:]

...
...

Atom Version: 1.11.2
Electron Version: 0.37.8
System: Mac OS X 10.12
Thrown From: Remote-FTP package, v0.9.4
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open '/Users/Mik/.atom/packages/Remote-FTP/node_modules/jslint/lib/jslint.js'
At fs.js:584

Error: ENOENT: no such file or directory, open '/Users/Mik/.atom/packages/Remote-FTP/node_modules/jslint/lib/jslint.js'
    at Error (native)
    at Object.fs.openSync (fs.js:584:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:158:20)
    at Object.fs.readFileSync (fs.js:431:33)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:426:29)
    at read (/Users/Mik/.atom/packages/Remote-FTP/node_modules/jslint/lib/nodelint.js:44:19)
    at Object.exports.load (/Users/Mik/.atom/packages/Remote-FTP/node_modules/jslint/lib/nodelint.js:63:24)
    at new LintStream_constructor (/Users/Mik/.atom/packages/Remote-FTP/node_modules/jslint/lib/lintstream.js:27:32)
    at Client.module.exports.Client.validateConfig (/Users/Mik/.atom/packages/Remote-FTP/lib/client.js:141:20)
    at /Users/Mik/.atom/packages/Remote-FTP/lib/client.js:99:13
    at tryToString (fs.js:414:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:401:12)

Commands
     -5:59.4.0 application:open (atom-text-editor.editor.is-focused)
     -5:22.5.0 remote-ftp:connect (atom-text-editor.editor.is-focused)
     -3:22.3.0 remote-ftp:disconnect (span.name.icon.icon-file-directory)
     -2:26.7.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-monokai-seti.theme-atom-dark-ui)

Config
{
  "core": {
    "disabledPackages": [
      "spell-check"
    ],
    "telemetryConsent": "no",
    "themes": [
      "atom-dark-ui",
      "monokai-seti"
    ]
  },
  "Remote-FTP": {
    "hideLocalWhenDisplayed": true
  }
}

Installed Packages
# User
atom-beautify, v0.29.13 (inactive)
auto-detect-indentation, v1.3.0 (active)
autoclose-html, v0.23.0 (active)
highlight-selected, v0.11.2 (active)
linter, v1.11.18 (active)
linter-csslint, v1.3.3 (active)
linter-htmlhint, vundefined (active)
linter-jshint, v3.0.1 (active)
minimap, v4.25.6 (active)
minimap-highlight-selected, v4.4.0 (active)
monokai-seti, v0.7.0 (active)
open-recent, v5.0.0 (active)
project-manager, v3.3.3 (active)
Remote-FTP, v0.9.4 (active)
todo-show, v1.8.0 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (active)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.2.0 (inactive)
base16-tomorrow-light-theme, v1.2.0 (inactive)
one-dark-ui, v1.6.0 (inactive)
one-light-ui, v1.6.0 (inactive)
one-dark-syntax, v1.3.0 (inactive)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.7.0 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.201.1 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.59.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v1.0.0 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2-hotfix1 (active)
snippets, v1.0.2 (active)
spell-check, v0.68.2 (inactive)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.101.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.209.3 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

Could you try reinstalling the plugin?

[Enter steps to reproduce below:]

...
...

Atom Version: 1.13.1
Electron Version: 1.3.13
System: Ubuntu 16.04.1
Thrown From: Remote-FTP package, v0.10.4
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open '/home/cplaiasu/.atom/packages/Remote-FTP/node_modules/jslint/lib/jslint.js'
At fs.js:640

Error: ENOENT: no such file or directory, open '/home/cplaiasu/.atom/packages/Remote-FTP/node_modules/jslint/lib/jslint.js'
    at Error (native)
    at Object.fs.openSync (fs.js:640:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:168:20)
    at Object.fs.readFileSync (fs.js:508:33)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:501:29)
    at read (/home/cplaiasu/.atom/packages/Remote-FTP/node_modules/jslint/lib/nodelint.js:44:19)
    at Object.exports.load (/home/cplaiasu/.atom/packages/Remote-FTP/node_modules/jslint/lib/nodelint.js:63:24)
    at new LintStream_constructor (/home/cplaiasu/.atom/packages/Remote-FTP/node_modules/jslint/lib/lintstream.js:27:32)
    at Client.validateConfig (/home/cplaiasu/.atom/packages/Remote-FTP/lib/client.js:236:26)
    at /home/cplaiasu/.atom/packages/Remote-FTP/lib/client.js:173:20
    at tryToString (fs.js:455:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)

Commands
     -2:45.1.0 remote-ftp:disconnect (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -2:45.1.0 remote-ftp:connect (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -2:45 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  2x -0:44.6.0 core:confirm (input.hidden-input)

Config
{
  "core": {
    "disabledPackages": [
      "terminal-plus",
      "atom-terminal-panel",
      "terminal-panel",
      "language-smarty"
    ],
    "telemetryConsent": "limited"
  }
}

Installed Packages
# User
atom-autocomplete-php, v0.21.0 (active)
atom-beautify, v0.29.16 (active)
atom-fis3-smarty, v0.1.1 (inactive)
atom-html-preview, v0.1.22 (active)
atom-less, v0.1.10 (active)
atom-minify, v0.8.0 (active)
atom-terminal-panel, v4.4.4 (inactive)
atom-typescript, v10.1.13 (active)
git-control, v0.8.2 (inactive)
language-blade, v0.26.3 (active)
language-nginx, v0.6.2 (active)
language-smarty, v1.7.0 (inactive)
linter, v1.11.21 (active)
linter-less, v2.6.0 (active)
linter-php, v1.3.1 (active)
linter-sass-lint, v1.7.4 (active)
linter-tslint, v0.13.0 (active)
open-terminal-here, v2.1.4 (inactive)
pigments, v0.38.0 (active)
project-manager, v3.3.3 (active)
recent-projects, v0.13.1 (active)
Remote-FTP, v0.10.4 (active)
sass-autocompile, v0.13.2 (active)
terminal-panel, v1.14.1 (inactive)
terminal-plus, v0.14.5 (inactive)
Termrk, v0.3.1 (inactive)
typescript-modules-helper, v0.7.0 (active)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (active)
one-light-ui, v1.8.2 (inactive)
one-dark-syntax, v1.6.0 (active)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (inactive)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
find-and-replace, v0.204.5 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.3 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (active)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

Something wrong with jslint version,
a quick fix that worked for me is to run
npm install jslint@latest in ~/.atom/packages/Remote-FTP/

I solved this issue below..
$ cd ~/.atom/packages/RemoteFTP
$ npm install<EMAIL_ADDRESS>
Thanks for @cplaiasu

This obviously fixes it, but something other than a missing jslint is wrong at your end. The jslint dependency has been removed from the code several versions ago. Your Remote-FTP version is just not up to date. Try to remove and re-install the plugin.


module 'imgaug.augmenters' has no attribute 'collections'

import imgaug.augmenters as iaa
aug_linear = iaa.RandAugmen(m=(0, 9))

it gives me Error (no attribute).
try to import that
import imgaug.augmenters.collections as iaa

also gives me error

import imgaug.augmenters as iaa
aug_linear = iaa.RandAugmen(m=(0, 9))

that should fail as the class is called RandAugment, not RandAugmen.
import imgaug.augmenters.collections as iaa

that should work in 0.4.0. You might want to print the imgaug version: import imgaug; print imgaug.__version__ to make sure that the right one is installed.


Update site-recovery-vmware-register-process-server.md

Fixing incorrect command syntax: "Run this command: genpassphrase.exe.n"
Adding specific commands required to navigate to the correct ASR installation folder and print out passphrase.

@maorteg : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks for your update! #sign-off


URLs in "links" section ignore route prefix.

The links section for some reason ignores the route prefix in the route group.

This applies to links that you tell it to return in the getUrls method of the JsonApiMapping subclass.


Maintenance of UndampedVehicleSuspension class which is dynamic system representation

The following problems have to be checked or fixed, in order to ensure the correctness of implemented system:

[x] checking if a class is executable,

[x] validation of figures for schemes and real examples,

[x] validation of reference parameters,

[x] validation of random parameters,

[x] validation of  description of parameters,

[x] validation of units.

The code was checked with the following code:
from dynpy.models.mechanics import UndampedVehicleSuspension
from dynpy.utilities.documents.document import DynSysOverviewReport
DynSysOverviewReport(reported_object=UndampedVehicleSuspension())


Footer cut off on SinglePickerMaterialDialog

Hey this package is awesome! Thanks for the hard work.
I ran into an issue when the scrolled attribute is added to SinglePickerMaterialDialog, and there are enough items to scroll, then the footer is slightly cut off. I can't imagine this is every device, but I tested both on the Galaxy 6S and the Nexus 5X.

OK - Not Enough Items to Scroll
Bug - Enough Items to Scroll

Please let me know if I can provide more details. Thanks again.
Edit: I was also able to reproduce on both devices with the code provided in the example.
Edit: Does work on iOS.

Hi @nickbreaton ! thanks for the report :)
It should be fixed now, let me know if it's still reproducible in 0.4.3.

Looks good to me! Thanks for the fix. 👍

Still, I have same problem, and it doesn't fixed.
Can anyone tell me how to fix it?

@dlehdanakf  try to set scrolled={true}

Still, I have same problem.
Material dialog version: 0.7.6
<SinglePickerMaterialDialog             title={'My title'}             okLabel={'Ok'}             cancelLabel={'Cancel'}             scrolled={true}             colorAccent='#12A7BB'             items={               this.state.multipleMeetingRoomList.map((multipleMeetingRoom) =>                ({ value: multipleMeetingRoom.uniqueId, label: multipleMeetingRoom.displayName }))}             visible={this.state.singlePickerVisible}             onCancel={() => this.setState({ singlePickerVisible: false })}             onOk={result => {               this.setState({ singlePickerVisible: false });               console.warn('result.selectedItem'+JSON.stringify(result));             }}           />
I have taken a screenshot in landscape mode, can anyone help me to solve this.


How can I remove the option for showing the course name and the Level?

Hi. Firstly I wanna thank you for making such a nice script. I want to use your script to import words from Memrise courses to Quizlet but the problem is that there is the course name and the level name next to the  word and its translation. How can I remove it? Can you give me an edited version of the script that does not include the course name and the level after the translations. Thank you!

I just updated the script. It will now create a second text box under the first that contains only the word and its translation. If that provides what you need, please then close this issue.

Thank you very very very much!!!!


Future of this project

@willdurand:
I just installed dev-master (laravel 5.8|php 7.3) and it works. However I get these 2 warnings below.

PHP Deprecated:  Passing a command as string when creating a "Symfony/Component/Process/Process" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell. in ...vendor/symfony/process/Process.php on line 147
PHP Deprecated:  Passing a command as string when creating a "Symfony/Component/Process/Process" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell. in ...vendor/symfony/process/Process.php on line 147

I'm not sure if you want to drop support for older symfony/process or you want to somehow figure out the symfony/process version? I wasn't aware that I have write access to this repo, I made my own little fork over at github.com/repat/nmap but would be willing to maintain this instead if that's ok? (Also accidentally clicked a merge button the wrong way, but it's cleaned up ;-) - that's how I found out)
So for symfony/process ^4.0 to work without warnings, we have to pass the arguments as an array as you can see here:
https://github.com/repat/nmap/blob/master/src/Nmap/Nmap.php#L104
I would now:

Create version 0.6.0 with the warnings
Drop support for symfony/process 2.X, only support ^3.4 (see below, 2.X is not supported anyway)
Pass arguments as array because that's how it's done in ^3.4 and ^4.0
Port over some of the changes I made (PSR4/PHPunit)
Create version 0.7.0
Delete my repo and maintain this (we actively use it)

Let me know what you think :-)

Yeah, you can drop support for very old symfony/process versions.

@repat This fork is maintained https://github.com/DavidGoodwin/nmap/


Update VS Code version to match latest merge sync point

Pull Request Test Coverage Report for Build 951899200

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.009%) to 42.974%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/common/ports.ts
4
74.14%

Totals

Change from base Build 951553903:
-0.009%

Covered Lines:
26329

Relevant Lines:
55635

💛  - Coveralls


Refuse AddToWatchList with sendID (chain/nonce) not matching any sendPending

Closing as it seems no longer relevant with the current state of the project. Feel free to reopen it.


Design a logo for Blogger

Task
You are supposed to design a logo for blogger . Look for designs which are already present for currently running blogging websites .
Implementation
Tools used : Adobe photoshop , Adobe illustrator or any other tool convenient to you.
Create designs and share screenshots in comment section
Once finalized create PR
Procedure
Claim this issue: Comment below that you want to work on this issue
Write relevant commit message while making a PR
Create a PR with self closing tags

Hi, I would like to work on this issue. Plz assign this to me.

@raksha009  can we Do it together!  If it is possible???

i also want to work on this.

What about this

What about this ?

Png format.

I hope this will like it.

@Swarnimashukla ma'am please let me know how is it ?

@ritiksoni00  good work you can make pr with second design , Create a separate branch name it resources and make pr in that .
@itsarjun12 I liked your concept my suggestion would be to use complete B letter and can add a pencil with white color and shades like you already provided in design pencil or pen might look more relatable to blogging .

Here Is Another One :-

i think it is better!!??

I tried to add a pencil but I didn't get proper color what kind of I want to specially black and it will be very tough to add a logo because it will be draw and I don't know drawing in photoshop because I can mold designs like paper cut so I tried to give a look like pen or pencil through my paper cut design.

I would like to work upon this issue

Please assign me

It's pointed shade is indicating a pen point so we can consider as pen and I also added a full "B" what you had said ma'am.

Try this.

Please @Swarnimashukla,  @itsarjun12 is showing their work please Merge His Pr First!

@itsarjun12  I find previous one better , @ritiksoni00, @itsarjun12   we also need to look for size of logo and how it looks on a website , as you can see github logo it takes a small portion of website so need to take care of that as well with very broad logo designs when minimized it doesn't look good . Check for logo design on dribbble and behance .
Also it isn't necessary to use complete name of website we can see examples like swiggy (just uses a symbol to convey brand)

All my experiments with this logo.

One more left.

After applying all grey shades and strokes. It looks like this.

Plan grey shade.

Check every logo in desktop screen then you will see proper clarify and difference.

I will try tommorow with new start if I get something creative then I will share it with you because I haven't before use Photoshop and this is my first time so I don't know much idea but atleast we can try some browsing and youtube video can help.

I will try tommorow with new start if I get something creative then I will share it with you because I haven't before use Photoshop and this is my first time so I don't know much idea but atleast we can try some browsing and youtube video can help.

@itsarjun12  sure take some time look for inspirations and then come up with design .
Happy learning 🙌

I have created these. Please have a look @Swarnimashukla

@raksha009 great, you have made very creative designs, I inspired you from.  all the best.

@raksha009  well done ✨🙌 I love all of your designs, just with the first design having a book can you change color of text as with book it looks little dull can we have a little bright color in that particular design  . rest all designs are perfect 🌟

@itsarjun12  awesome , make a folder with this last design and very first design you shared , folder name  -  logo_yourname make a pr with same  🌟

Yeah @Swarnimashukla , I tried changing the font and color of first one ... but it wasn't giving that cool aesthetics.. so lets ignore that one.😅

@raksha009  all right then we are good to go, make a folder with all designs,   keep everything in a folder name - logo_yourname make a pr with same 🌟

@Swarnimashukla ma'am, I have done it. sorry, for the late response ma'am, I am not much aware of git commands so understanding of git takes my time but don't worry, I will be good in this soon but thank you for your patience.

No Issues @itsarjun12  , and great work guys keep going .. lets see  what @neha07kumari  comes up with, Bar has been raise quite high now 🙌

@Swarnimashukla  maam how is this looking . This was my first time i tried a bit ,changes are welcomed from anyone .

@neha07kumari  Hey it looks good , but maybe because of gradient you used your text styling is merging with background , try using contrast colors or use a different gradient style

When will our PRs get reviewed !? @Swarnimashukla

@Swarnimashukla  Please have a look to the above logo.

@neha07kumari  this looks nice 🙌

@Swarnimashukla  maam now can i go for the pull request?

sure @neha07kumari

want to work on issue

this the logo

please do let me know how it is @Swarnimashukla  mam

@shraddhavp its nice 👍 can you write blogger in circular form around image and keep "write your way" little closer with smaller font

yes mam @Swarnimashukla  tried to do but I think not like the way you told but something bit different

@shraddhavp  this looks cool 👍 good work , please make a pr for the same

yes mam @Swarnimashukla  created PR

@Swarnimashukla maam created PR.


Fix parameter initializing logic in MH

We draw parameters to initialize chain. But if the initial draw is "bad" (and posterior is -Inf), then we get stuck in while loop forever. To fix, we now draw parameters within the while loop instead of one-time, outside the while loop.
Please make sure that my Julia code is correct, I haven't written in a while :)
I think that maybe the scoping requires that para_old and post_old be initialized outside of the while loop? In which case changes would be required.

Oops sorry, just addressed this in 1e8f88f0c1cd49de4cab06ccede1c42f968f49d6. Thanks for pointing this out!


SSH Certificate

It will be very convenient to have a way to instantiate a new VM with a SSH certificate instead of a key.

Definitely a good idea that awless could help with and enforce.
Since the authentication goes both ways, I am guessing we would start by authenticate the clients (users) to cloud VMs (servers).
I imagine in this case, roughly the steps could be:

An authority (company's server or else) generates an CA
On each new created VM via awless:

check the VM has a running SSH daemon.
with the given public CA, upload it to the VM ssh server config under TrustedUserCAKeys
restart the SSH daemon

Independently have the authority (company's server or else) generate a client CA by signing the each client public key
Make sure each client wanting to connect to VM via awless have the client certificate in their local SSH config.

In term of features, this is a combination of awless doing small control and provisioning. A good start could be to use the provided AWS UserData field which is a field for scripts you want to run on the creation of an instance.


docker registry api In the registry 2.3 version of the problem

In the registry2.3 version of docker push  returns digest and registry API docker return digest different, this is what the situation?This is not the case in the registry2.3.0 version.
root@VM-60-189-ubuntu:/home/ubuntu/registry_config# docker push <IP_ADDRESS>:5000/busybox
The push refers to a repository [<IP_ADDRESS>:5000/busybox]
5f70bf18a086: Pushed
1834950e52ce: Pushed
latest: digest: sha256:6757d4b17cd75742fc3b1fc1a8d02b45b637f2ac913ee9669f5c2aed0c9b26ba size: 711
=============================================================================
root@VM-60-189-ubuntu:/home/ubuntu/registry_config# curl -i http://<IP_ADDRESS>:5000/v2/busybox/manifests/latest
HTTP/1.1 200 OK
Content-Length: 2561
Content-Type: application/vnd.docker.distribution.manifest.v1+prettyjws
Docker-Content-Digest: sha256:e45f25b1760f616e65f106b424f4ef29185fbd80822255d79dabc73b8eb715ad
Docker-Distribution-Api-Version: registry/2.0
Etag: "sha256:e45f25b1760f616e65f106b424f4ef29185fbd80822255d79dabc73b8eb715ad"
X-Content-Type-Options: nosniff
Date: Sat, 26 Mar 2016 15:48:36 GMT

This is causing issues for me as well, when I try to delete like @7AC is running into over in #1565

Just figured this out... it appears you have to include an "accept" header for the newer version of the manifest schema... (probably if we have the newer client side that did the push), so that the repo calculates the proper digest.
I was able to get a Digest that matches my push (and which I can use for the Delete) like so:
curl -H "Accept: application/vnd.docker.distribution.manifest.v2+json" -k -v -X GET https://dns-name-of-repo/v2/image-name/manifests/latest

closing as duplicate of #1565


dev: improve logging using json formatting

Describe the enhancement request
In order to make logs processing easier, update the current tracing implementation to use JSON formatting.
See below tracing from DNA:

This can be achieved using RUST_LOG_FORMAT: json in the environment for DNA.

Checked out how they are doing it for DNA. Can you consider assigning it to me?

hey @bhavyagosai yeah sorry, little involved with multiple blocks in our infra, will be easier if I take this


Dashboard lab: old file paths

There are references in this lab to file paths that no longer exist. Example:

In the Open window, navigate to the D:\PL300\Labs*08*-create-power-bi-dashboard\Starter folder.

This issue was introduced when the lab numbers were updated. Please fix this and check other labs for similar issues.

File paths have been updated.


Suspected memory leak during zero3 training. oom eventually after several checkpoint

Hi,
I am using zero3 with latest 0.9.2 to train 8gpus in one node, and from the stat, I see memory grow a lot after each checkpoint saving.
With checking the code, I find one suspected memory leak place,
https://github.com/microsoft/DeepSpeed/blob/master/deepspeed/runtime/engine.py#L3257
In _zero3_consolidated_16bit_state_dict, it would alloc [state_dict] local variable to collect params in rank0, and return it to parent function save_16bit_model, where it use self.checkpoint_engine.save to save it to disk.
So [state_dict] is a local variable, is it suitable to pass the param out to the parent function? would it cause some memory leak in this way?
Thx,
Lei

same problem

Hi @leiwen83, @lw3259111, thank you for report this issue. Do you have a small example to reproduce this?

 I came across the same issue.


[TACHYON-311] TFS Rename improvements

This patch adds unit tests for the rename operation in TFS and attempts to make it comply with Hadoop FileSystem's behaviors. In particular, exceptions are caught instead of propagated and renaming to an existing directory attempts to move the source into the directory.
The current implementation changes the logic only in the TFS interface, if the behavior makes sense for Tachyon, we should change it in the core code (since TFS defers to TachyonFS here).

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2825/
Test PASSed.