Pre Trained Models

Do you have pre trained models?

Do you have pre trained models?

The ImageAudio model for ActivityNet is shared here: https://utexas.box.com/s/8rxijymjo0kx4e9jk7byobdc8vnf377l
The listen to look model can be trained on the pre-computed features using the command provided.


Update format of README

@cep21 All of your information is still here, just reorganized it a bit.

Can you try installing mdl and running it on the README?
+ mdl --warnings
(stdin):16: MD001 Header levels should only increment by one level at a time
(stdin):64: MD012 Multiple consecutive blank lines
(stdin):87: MD012 Multiple consecutive blank lines
(stdin):4: MD013 Line length
(stdin):7: MD013 Line length
(stdin):18: MD013 Line length
(stdin):67: MD013 Line length
(stdin):78: MD013 Line length
(stdin):708: MD013 Line length
(stdin):1: MD022 Headers should be surrounded by blank lines
(stdin):7: MD025 Multiple top level headers in the same document
(stdin):694: MD026 Trailing punctuation in header

(stdin):698: MD031 Fenced code blocks should be surrounded by blank lines ./circle.sh test > >(tee $CIRCLE_ARTIFACTS/test.stdout.txt) 2> >(tee $CIRCLE_ARTIFACTS/test.stderr.txt >&2) returned exit code 1

@cep21 I'll take a look... I'll ping you once it passes ci tests.

Noob here. I see a couple typos. Like the first sentence isn't a complete sentence. What's the process for either reporting or fixing them?

Go ahead and report errors (raise an issue on github with details and I'll fix them), or do a pull request with them fixed.  Either is fine.


PAT auth suggestions and +1 for BYOS

Agent Version and Platform
2.158.0 - Ubuntu 18.04
Azure DevOps Type and Version
dev.azure.com/CuraDigitalHealth
Issue
I've been working on developing a pipeline to maintain our self hosted agents in AWS using packer+ansible to build machine images and terraform to deploy them. The end goal is to have an entirely gitops based workflow around managing build agents. I have the pipeline working, however I am forced to run the packer builds manually because the agent provisioning process requires a PAT (I know I could make a PAT and save it as a secret in azure devops, but if I ever get hit by a bus / move jobs, someone will be really confused after they disable my user account).
After pouring over the docs I can't seem to find much useful information about alternative authentication methods that would work in this paradigm. The auth information I would prefer to use would either be available to the build agent user at build time or to the AAD/IAM user the agent runs under. Managing via AAD/IAM & fetching creds at startup would be preferable - that would allow us to avoid baking auth information into machine images.
This seems like it would be crucial for the BYOS proposal. What I've done with my workflow is more or less a child's play version of that. From my perspective, this is the only major blocker from making that happen.

Why do you own the Azure Devops account. The account should be owned by an organizational functional ID within your company, that persists beyond you. Then the organization would grant your personal user access to the resources you need as the GitOps leader. The PAT would be generated by the functional ID account.

From my experience that is not how PAT's work. The whole reason that I am worried about the hit by bus / closed user account scenario is because at the last company I worked for the devops team would throw pats around like nobody's business and whenever someone left the company it was always an exciting exercise of cleaning up the mess. The reason is that on the org admin side of things as soon as someones employment was terminated they would go disable all associated user accounts - even when developers would specifically ask them not to. It was outside of our control.
That being said - I've passed the buck on this issue for the time being. For now I'm using the hosted agent everywhere and I have built a decent set of pipeline templates for installing specific dependencies build time. Not ideal but it works.

BYOS handles this by handing out an access token that's good for registering an agent. I'm researching what options you have outside of that specific path.

From talking with our identity/authZ folks, this isn't easy to do. For anyone who wants to push on this, the best path is opening a suggestion ticket on Developer Community.

@pdylanross Can you let us know the name(s) of Azure DevOps org(s) where you would like to preview the BYOS feature, if you are interested in that option?

@vijayma The Hyperledger org would love to test the BYOS functionality if a preview becomes available.


Provide the ability for Team managers to manage (create/delete/modify passwords)  machine accounts via the UI/api

I propose to add an user role MACHINE to signal what accounts can be managed this way.


[Feature] Turn On/Off Button

A button to make the bot pause the operations seems useful. If I want to transfer some funds out of funding wallet I need to login ssh, stop the bot and wait all funds to became available again. Then log ssh, start the bot... etc

Yes, this would be useful. I think it was talked about before.
Really we need a REST or other interface to the bot before adding all this things via the WebUI though. There's currently no easy way to directly influence it.

Yea, though the best way to do that is to move to python 3 so we have async / await.


Custom-gem-generator Interface

When a ruby framework wants to include its own gem generator to usually resort to using a tool like Thor, yet it is best if Bundler become the goto for such usecase as it would provide an interface for other ruby projects to inherit from and customize according to their needs. This would maintain a level consistency among ruby frameworks.
Thoughts?

@zotherstupidguy can you provide more clarity / context on this request?

Potentially related to https://github.com/bundler/bundler/issues/5156 ?

This is something the bundler project is explicitly not interested in providing -- bundle gem is meant to be super-opinionated and easy for us to maintain, anything more should be handled by tooling explicitly about creating new gems.

@lynnco @segiddins bundle gem can remain super-opinionated about the interface it declares, but that interface it should stand in the way of customizing the generated gems, I am sure that some ruby magic can come into play to get this done probably, especially that bundler includes gem generation as a functionality, thus either it is done probably or it should be removed out.
I imagine frameworks like Rails, Padrino, Hanami, etc. make use of a bundler interface(class or module) for gem generation, and add their sauce. As Bundler uses thor under the hood it would be neat to get things started for framework developers and they don't have to struggle making sure that their generated gems are bundler compliant.

This isn't something that bundler wants to be involved in. We'll leave it to projects like ore to support extreme customization, and continue to offer bundle gem as a highly opinionated, bare-bones scaffolding option that no one is forced to use if they disagree with its choices.


⚠ Bofrost.at has degraded performance

In 771f3b2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1401 ms

Resolved: Bofrost.at performance has improved in 2ad0eaa after 30 minutes.


Create DEVELOPERS.md

Issue #57
Created a new file named DEVELOPERS.md
Changes

I created a new file in the root folder and fixes the 404 bug

Created DEVELOPERS.md file

Related Issues

Issue #57

I believe this is already currently being worked on in PR #58. If @vaibhav111tandon closes that PR or doesn't respond in a few days, we can review this PR.

Sure @irmerk

Already being updated in PR #58

Already fixed. I'm closing this PR.


Minor tweaks and managed users

Did some minor renaming, changes to docstrings, and changes to
equality/hash logic.
Streamlined location validation logic into its own function.
Updated README to mention new functionality and updated docs.

Added the ability to create users with a password and have kerberos
keys generated for them simultaneously.
The salt for AD users and AD computers is differently formed, with
users being closer to the traditional MIT Kerberos salt, while
computers are totally different. So updates were made there as well.

fyi @TrinityDevelopers - made a few small tweaks and added managed users
gonna make a release now since I don't think I'll have time to do it tomorrow


Server error on getting direct inbox

Bug Report
Description
i got internal server error when trying to get direct inboxes
This code works fine for a long time, but when today i updated this package it gives me error
Code
ig.feed.directInbox().items()

Error
(node:2342890) UnhandledPromiseRejectionWarning: IgResponseError: GET /api/v1/direct_v2/inbox/?visual_message_return_type=unseen&thread_message_limit=10&persistentBadging=true&limit=20 - 500 Internal Server Error;
    at Request.handleResponseError (/root/app/node_modules/instagram-private-api/dist/core/request.js:125:16)
    at Request.send (/root/app/node_modules/instagram-private-api/dist/core/request.js:53:28)
    at async DirectInboxFeed.request (/root/app/node_modules/instagram-private-api/dist/feeds/direct-inbox.feed.js:21:26)
    at async Object.exports.StartWebhook (/root/app/Instagram/methods.js:253:17)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2342890) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2342890) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

FIXED!!
it was instagram issue...


Add arm64 builds

Untested arm64 build for Node.js 10 and 11:
uws_linux_arm64.zip

Filenames will have to incorporate process.arch; arm64 for arm, x64 for intel:
uws_linux_arm64_67.node
uws_darwin_x64_67.node
etc

I tried scaleway ARMv8 instances, but their web UI just doesn't work. It completely bugs out creating instances and won't work. Intel instances it created with no issues.
Does anyone have ARM instances to test this on? Where can I find a competent ARM supplier?

Try their CLI to make a instance

Hi,
I had tried this build on my Raspberry Pi 3B+ and I got this Error
/home/pi/CCTVRobot/node_modules/uWebSockets.js/uws.js:34
throw new Error('This version of µWS is not compatible with your Node.js build.\n\n' + e.toStri ng());
Error: This version of µWS is not compatible with your Node.js build.
Error: /home/pi/CCTVRobot/node_modules/uWebSockets.js/uws_linux_arm64_64.node: wrong ELF class: ELFCLASS64
          at module.exports (/home/pi/CCTVRobot/node_modules/uWebSockets.js/uws.js:34:9)
          at Object. (/home/pi/CCTVRobot/node_modules/uWebSockets.js/uws.js:36:3)
          at Module._compile (internal/modules/cjs/loader.js:701:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
          at Module.load (internal/modules/cjs/loader.js:600:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
          at Function.Module._load (internal/modules/cjs/loader.js:531:3)
          at Module.require (internal/modules/cjs/loader.js:637:17)
          at require (internal/modules/cjs/helpers.js:22:18)
          at Object. (/home/pi/CCTVRobot/app.js:4:13)

I'm using NodeJS version
v10.15.3
Can you help me with this?

I just tested these binaries on a scaleway arm64 instance and it works right away without issues.
@haluwen9 You probably run 32 bit OS or something, it works for me

These cost efficient ARM instances are a perfect example of why perf. matters.
alexhultman@alexhultman-N56VZ:~/wrk$ ./wrk -c 500 http://<IP_ADDRESS>/
Running 10s test @ http://<IP_ADDRESS>/
2 threads and 500 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency    62.19ms   39.30ms 840.22ms   98.72%
Req/Sec     4.21k   594.70     4.99k    75.76%
83108 requests in 10.03s, 5.63MB read
Requests/sec:   8284.11
Transfer/sec:    574.39KB
alexhultman@alexhultman-N56VZ:~/wrk$ ./wrk -c 500 http://<IP_ADDRESS>/
Running 10s test @ http://<IP_ADDRESS>/
2 threads and 500 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency   461.59ms  155.41ms   1.50s    92.03%
Req/Sec   496.96    151.68   790.00     75.51%
9729 requests in 10.04s, 0.96MB read
Socket errors: connect 0, read 0, write 0, timeout 183
Requests/sec:    969.51
Transfer/sec:     98.47KB
A whopping 9x difference compared to Node.js vanilla, and I'm stressing this Sweden to France.

@alexhultman Thanks for reply.
It's true that my Raspberry Pi is running on 32bit OS. I'm trying to compile 64bit kernel for it and try again.

ARM64 builds are now automatic


Update Google Analytics code

The Google Analytics seem to be off for production.
Take a look at the code snippets in Google Analytics and make sure we are using the most recent.

code is in place on stage and appears to be working properly


Add relevant images from the KFC website in KFC Clone

I want to work on this issue can you assign me


Federated ID creation fails with invalidKey when specifying anything other than email

When performing a create user action...
user_action =<EMAIL_ADDRESS>id_type='federatedID', first_name="Bob", last_name="Smith", country="US")
user_action.create()

The umapi_client module builds a command list and a frame.
user_action.commands
# [{'createFederatedID': {'email'<EMAIL_ADDRESS>'option': 'ignoreIfAlreadyExists'}}]

user_action.frame
# {'country': 'US', 'first_name': 'Bob', 'last_name': 'Smith', 'user'<EMAIL_ADDRESS>
Frame values show up in a 'target' attribute sent to the UMAPI.  It appears that the UMAPI doesn't appreciate those values appearing in the 'target' attribute rather than in the command as it responds with 'Illegal JSON command entry: invalidKey'
The API documentation seems to confirm that these values should appear in the command.
https://adobe-apiplatform.github.io/umapi-documentation/en/api/ActionsCmds.html#createFederatedID
When those attributes are manually removed from user_action.frame and put into user_action[0]['createFederatedID'], the command succeeds.
What the umapi_client builds:
user_action.execution_errors()
[{'command': {'createFederatedID': {'email'<EMAIL_ADDRESS>     'option': 'ignoreIfAlreadyExists'}},
   u'errorCode': u'error.command.malformed',
   u'message': u'Illegal JSON command entry: invalidKey',
   'target': {'country': 'US',
    'first_name': u'Redacted',
    'last_name': u'Jones',
    'user'<EMAIL_ADDRESS>
When manually corrected:
user_action[0]['createFederatedID'].update({
   'firstname': "Redacted",
   'lastname': "Jones",
   'country': "US"
})
del user_action.frame['firstname']
del user_action.frame['lastname']
del user_action.frame['country']

result = conn.execute_single(user_action. immediate=True)
result
# (0, 1, 1)

This issue can be worked around by not specifying country, firstname or lastname.  I also tried with first_name and last_name attributes that include underscores but it doesn't seem to matter.  I haven't tested a subsequent update operation to populate those values.

When constructing a UserAction object, you only need to supply the top-level action attributes e.g. the identity type, user, domain (if applicable) and requestID (if desired).
The new user's attributes e.g. firstname, lastname, email, country and option are supplied to the create() call. (since those are attributes of the createFederatedID directive in the underlying JSON object)
user = umapi_client.UserAction('federatedID', email, username, domain)
user.create(firstname, lastname, country, email)

OK, I will try that and report back.  Thanks.

OK, that worked.  Not sure where I got the idea to push those extra attributes into the UserAction constructor, but I appreciate the assist.


recompute LCA upon updating selected peptidomes

The lowest common ancestor (LCA) should be recomputed each time peptidomes are added to or removed from the list of selected peptidomes. Now, it seems the LCA on gets computed once, and is never updated again.
I agree that for the time being, ony the peptidomes derived from RefSeq genomes are used to compute the LCA, and that user-uploaded peptidomes are not taken into account. Otherwise, the user would also have to specify the taxon_id for his uploaded peptidome.
Original issue by @pdawyndt on Wed May 07 2014 at 06:52.
Closed by @bmesuere on Thu May 15 2014 at 18:57.

@pdawyndt Do you have a reproducible scenario?
This works both on scruffy and unipept:

load Acinetobacter baumanii -> LCA = Acinetobacter baumanii
add Acinetobacter calcoaceticus -> LCA = Acinetobacter calcoaceticus/baumannii complex
add Acinetobacter oleivorans -> LCA = Acinetobacter
You do have to wait until the "unique peptides" are loaded because the LCA calculation happens in the same query.

Original comment by @bmesuere on Wed May 07 2014 at 09:25.

here's a scenario:

start with a new session of the unique peptide filter application; initially the LCA is given as undefined and the correct LCA is shown at the time the green line is drawn (so far so good)
clear all selected peptidomes; now I would already expect that the LCA turns back to undefined, but it remains to be given as Acinetobacter baumanii
add peptidomes derived from all Klebsiella genomes; now the LCA remains undefined until the green line is drawn, after which the LCA is modified into root

Original comment by @pdawyndt on Wed May 07 2014 at 11:37.


Use reactjs offical proptypes lib.

Oooh, it's 1kb instead of 1.6kb too!

Hmm - looks like its a noop in prod but fairly large in dev.
I'm getting an error though when I try to emulate this on jsfiddle: it seems like the new prop-types module doesn't allow manual validation?  They require that you have access to an internal object for some reason:
https://jsfiddle.net/developit/agc04zgv/

@developit have you tried in combination with #350? I've been running this combo locally with success.

@tkh44 Are we good to merge #359 instead of this since it fixes the checkPropTypes strictness issue?

Yes @developit. Ill go ahead and close this PR.


Update ppp : mrweikiat

Added testing component

Codecov Report

Merging #290 (040fc37) into master (bb79e18) will increase coverage by 2.32%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #290      +/-   ##
============================================
+ Coverage     73.93%   76.25%   +2.32%
- Complexity      623      640      +17
============================================
  Files            99       99
  Lines          1884     1887       +3
  Branches        195      195
============================================
+ Hits           1393     1439      +46
+ Misses          419      380      -39
+ Partials         72       68       -4

Impacted Files
Coverage Δ
Complexity Δ

.../java/seedu/address/model/util/SampleDataUtil.java
28.00% <0.00%> (ø)
2.00% <0.00%> (ø%)

...in/java/seedu/address/storage/JsonAdaptedTask.java
86.11% <0.00%> (+2.77%)
12.00% <0.00%> (+1.00%)

...in/java/seedu/address/logic/parser/ParserUtil.java
97.14% <0.00%> (+2.85%)
27.00% <0.00%> (+1.00%)

...n/java/seedu/address/logic/util/OperationFlag.java
85.71% <0.00%> (+7.14%)
10.00% <0.00%> (+1.00%)

src/main/java/seedu/address/model/TaskTracker.java
81.25% <0.00%> (+8.33%)
20.00% <0.00%> (+2.00%)

...rc/main/java/seedu/address/model/ModelManager.java
91.56% <0.00%> (+12.04%)
38.00% <0.00%> (+4.00%)

...main/java/seedu/address/model/tag/PriorityTag.java
69.23% <0.00%> (+15.06%)
11.00% <0.00%> (+3.00%)

...edu/address/logic/parser/DoTodayCommandParser.java
100.00% <0.00%> (+45.45%)
4.00% <0.00%> (+1.00%)

...a/seedu/address/logic/commands/DoTodayCommand.java
82.14% <0.00%> (+59.92%)
7.00% <0.00%> (+4.00%)

Continue to review full report at Codecov.

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


release: v0.0.20

Motivation
This branch won't be merged to main. It serves as intermediary release to deliver support for ckPEPE and ckLINK on mainnet.

Cannot tag on GitHub with a branch using the release tag name.

Replaced by https://github.com/dfinity/oisy-wallet/pull/1605


Angular: Wrong routing with date query parameter in production mode

Hi,
I encountered this strange behavior when I tried to run my application in production (i.e. parameter "optimization": true in angular.json file).
I use command router.navigate with queryParams, within which I use date: momentDate, where the momentDate is a date of type Moment.
In development mode (without the optimization) everything works fine - date, which is put into queryParams in numeric form<PHONE_NUMBER>000) is written in navigation bar like this:
date=Tue%20Jun%2001%202021%2000:00:00%20GMT%2B0200
and in the other component it is taken from queryParams in correct form as well (Sat May 01 2021 00:00:00 GMT+0200).
In production mode the date is put into queryParams in numeric form as well, but in navigation bar it keeps the numeric form (date=1619820000000) and when I try to create a Moment object of it (moment(routeResult.queryParams.date), the result is NaN.
This is the crucial code snippet:
// someComponent.ts
newDate: Moment = moment();

this.router.navigate(['/anotherComponent'],
{ queryParams: { date: newDate } });

// anotherComponent.ts
const urlParametrs$ = combineLatest([
  this.activatedRoute.params,
  this.activatedRoute.queryParams
]);

urlParametrs$.pipe(
  map(result => ({
    params: result[0],
    queryParams: result[1]
  }))
).subscribe(
  routeResult => {

  this.date = moment(routeResult.queryParams.date); //this results to NaN
});

So where is the mistake? What am I doing wrong?
Thanks for any advice in advance.

This seems like a question for Stack Overflow as it doesn't seem to be an issue with moment itself.
If I had to guess though, I would manually serialize / deserialize the moment object to a string so you can guarantee it does so consistently.  E.g.
const dateFormat = 'YYYY-MM-DD';
const newDateStr = moment().format(dateFormat);

this.router.navigate(
    ['/anotherComponent'],
    { queryParams: { date: newDateStr } });

// And then in the subscription:
this.date = moment(routeResult.queryParams.date, dateFormat);  // note second param for parsing format


You mentioned releasing the 768p video checkpoint in a few days. Do you have a specific date or timeline for this release

+1 Thanks you !

What does +1 mean l. Can you clarify it please

+1 Thanks you !

What does +1 mean l. Can you clarify it please

Means he is asking/requesting the same what you are asking/requesting. So it means "count me in too".

Thanks for your attention! Our resources are tied up with other important things, so the 768p model will probably take another day or two. We will try our best to release it.

We have updated the 768p checkpoint. Thanks for your attention again!


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative/operations-wg-leads
/assign knative/operations-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/serving 9df07fc...a1a7287:
  > a1a7287 Drop MaxDurationSeconds from the RevisionSpec (# 12635)
bumping knative.dev/eventing 13c0ce8...7a48f42:
  > 7a48f42 Update actions (# 6150)

/approve
/lgtm


Import with cell rotation angle not drawing correctly

I have a sheet that contains a merged cell rotated 90 degrees.
When I import it is drawn as if no rotation angle is present , even though I can see from internal code breakpoints that your Cell.Style.RotateAngle = 90
Have included my Excel sheet as reference, if you need anything further please feel free to contact me.
BS Main 1.xlsx

@BrianShankland, just opened your Excel with latest ReoGrid, the rotated text looks fine to me. Have you tried the latest source code?

Fixed by #72


Breaks on new Personal Health Dashboard

I have not investigated why yet but role filter by account breaks when accessing the new dashboard: https://phd.aws.amazon.com/phd/home#/dashboard/open-issues

I confirmed it.

Please re-enable this extension.

Thank you for fixing this so quickly!
Eric


Zerolog logger isn't threadsafe

We cannot run our tests with -race since it detects a race inside go-eth2-client. This is due to the use of a global zerolog.Logger that is not threadsafe. This global logger is used concurrently in the http package.
To reproduce, run: go test -race ./... in this repo.

This has been on the TODO list for a while, I'll dig out my old branch with this on and see if I can fix it up.

Thanks! Yeah it is weird that the zerolog logger isn't threadsafe 😞

Please can you take a look at #32 and see if it addresses your issue?

Awesome thanks approved 🙏


pydense source code and DepthmapEstimator reference

Dear OpenSfM creator,
I was wondering the algorithm used in DepthmapEstimator of pydense, but can not find related literature or the source code. (only a .so file about pydense inside OpenSfM folder)
Hope to hear your expertise on that.
Best,
-- Luke

@lukelu0520 , you can find the source code here:
https://github.com/mapillary/OpenSfM/blob/master/opensfm/src/dense/src/depthmap.cc

Thanks @mlopezantequera !
After studying the source code, I believe depth reconstructions used in OpenSfM are based on plane-sweeping and patch-match.
Related literature for people who are academically interested in:
[0] A space-sweep approach to true multi-image matching, R.T. Collins, CVPR 1996
[1] Multi-Resolution Real-Time Stereo on Commodity Graphics Hardware, R. Yang, CVPR 2003
[2] Real-time Plane-sweeping Stereo with Multiple Sweeping Directions, David Gallup, CVPR 2007
[3] PatchMatch Stereo - Stereo Matching with Slanted Support Windows, M Bleyer, BMVC 2011
[4] Accurate Multiple View 3D Reconstruction Using Patch-Based Stereo for Large-Scale Scenes, S Shen, IEEE Transactions on Image Processing, 2013

good collection, @luciplugaru. [4] is the most similar to the implemented algorithm.

The code didn't make much sense to me as I'm not proficient in C. Thanks for sharing the resources @lukelu0520 :clap:


bad handling sign error

letsencrypt.sh is not handling correctly error such as "Too many certificates already issued" on Requesting certificate block : if an error occur on signed_request then there is no reason to try to check the certificate and the program should report the error and try following certificates.
Output of letsencrypt.sh showing the error:
Using config file /Users/test/GIT/letsencrypt.sh/config.sh
Processing test.example.com
 + Checking domain name(s) of existing cert... unchanged.
 + Checking expire date of existing cert...
 + Valid till Apr  9 15:50:00 2016 GMT (Longer than 14 days). Ignoring because renew was forced!
 + Signing domains...
 + Generating signing request...
 + Requesting challenge for test.example.com...
 + Responding to challenge for test.example.com...
 + Challenge is valid!
 + Requesting certificate...
  + ERROR: An error occurred while sending post-request to https://acme-v01.api.letsencrypt.org/acme/new-cert (Status 429)

Details:
{"type":"urn:acme:error:rateLimited","detail":"Error creating new cert :: Too many certificates already issued for: example.com","status":429}
 + Checking certificate...
  + ERROR: failed to run x509 -text (Exitcode: 1)

Details:
unable to load certificate
140735245852752:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1198:
140735245852752:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:372:Type=X509
140735245852752:error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1 lib:pem_oth.c:83:

Too many certificates bit me, too.
Related to this, creation or renewal attempts that fail end up leaving orphaned .csr files.  On failures, those should be removed as they just accumulate with each new attempt.  I haven't yet seen any value to keeping unusable .csr files around.
Semi-related to the general concept of cleanup, renewal or changed certs (e.g., those that had a SAN added or removed) that succeed will leave the old .pem and .csr files.  On success, there should be some kind of cleanup function to keep the directory tidy. If removal is undesirable, then  moving those older files into an archival subdirectory would be a reasonable alternative.  That would make it easier for admins to script a backup/cleanup pass, too.

This seems to be fixed by now, script now exits after printing the error message.

I got here because I too am getting the "failed to run X509" error, but I am not getting the rate limit error.  Can anyone tell me why I'm getting this error message?  I'm using letsencrypt with the le-godaddy-dns module:

Signing domains...
Generating private key...
Generating signing request...
Requesting challenge for gotchatbot.com...
Already validated!
Requesting certificate...
Checking certificate...
ERROR: failed to run x509 -text (Exitcode: 1)

Details:
unable to load certificate
140583927391904:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1338:
140583927391904:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:390:Type=X509
140583927391904:error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1 lib:pem_oth.c:83:


Support for Synapse Spark workloads?

Hello! Does this adapter work with only the Fabric Livy endpoints or would it also work with Spark Livy endpoints?

hi @ernestoongaro ,
Did you have success with this? Im looking for the same.., I would like use DBT on Synapse Spark Pools (Not Fabric)...

I recently prototyped a DBT adapter for Synapse Spark pool. It is a fork of dbt-spark, but the extended part is written from scratch without reusing Cloudera's code. It currently works with the OSS Apache Livy (convenient for local tests) and the Synapse Spark pool (and I think it won't be challenging to adapt to Fabric as well).
Unfortunately, I cannot share the source code for now as this is an internal POC in our company. However, I can share some ideas based on this experience. My short answer is "not so easy".
The main challenge was the slowness of session creation in the Synapse Spark pool. As you also experienced, it is really slow. On the other hand, DBT opens and closes a DB connection for every task. Therefore, we had to find a way to (1) reuse the same Spark session across all tasks in a DBT run and (2) prevent zombie sessions that are not appropriately closed after the DBT run.
My current strategy is "don't create (if it exists), don't stop." When establishing a DB connection, my prototype lists available sessions in a specified Spark pool and tries to find an available session with a name defined in profiles.yml. If such a session exists, the adapter uses it. Otherwise, it creates a new one with the name.
My prototype intentionally does not stop sessions after a DBT run. The remaining session will be reused by the next run or will automatically stop by idle timeout.
Another challenge is the latency of Livy API. Synapse's Livy endpoint imposes several seconds of latency between executing each Livy statement. Due to this latency, the current version takes more than 60 seconds (with 4 threads, not including time for session spin-up) to build the Jaffle Shop example compared to 20 seconds with local Spark+Livy.
I do not know how to reduce this latency (multithreading helped, but not enough). I will test the prototype with bigger use cases and hopefully share more insight.


getstuff.bat doesn't work anymore

ethdev.com looks down or gone

i still have all the stuff locally, but github won't let me add it because of size restrictions. will have to look for an alternative. open to suggestions.

btw when you download the files manually you need to change set eth_server to localhost

I've changed eth_server to localhost, run getstuff.bat OK. But run "cmake -DBUNDLE=cudaminer -G "Visual Studio 12 2013 Win64" .." failed.
Some error messages as following:
-- Could NOT find readline (missing:  READLINE_INCLUDE_DIR READLINE_LIBRARY)
-- Could NOT find miniupnpc (missing:  MINIUPNPC_INCLUDE_DIR MINIUPNPC_LIBRARY)
-- Could NOT find gmp (missing:  GMP_INCLUDE_DIR GMP_LIBRARY)

@zhou304 MinGW-w64 might give you what you need though that's total speculation. I'm downloading it now to give it a whirl. It has a lot of the core stuff needed for cross-compiling. And it's the only one with a 64 bit option that seems to be actively maintained.

@mascondante I'm trying to build it with MinGW now.

@zhou304 it was a no-go for me. I'm not even remotely an expert at compiling and troubleshooting. Just a passing hobby. If you figure it out please let me know. I see that readline and GMP do exist for Windows in some form googling around but I'm not sure why miniupnpc would be not found considering it's in the packages referenced by @Genoil earlier. I had an error compiling in the Visual Studio phase my first go-round. I noticed I overlooked one of the packages I was supposed to copy over. I've done that and now I'm getting ready to try again. I'll let you know how it goes. Sorry for the disconnected thinking. It's been a while chipping away at this and I've got some burnout going on in my head.

@mascondante ok

Hey where are we supposed to move the files we downloaded from that link to?

@Phaceial in a folder named Download under extdep. If this folder does not yet exist go ahead and create it. If this is a fresh clone off Github there is no need to edit the getstuff.bat file. Just create the subdirectory Download and place your items there. It will see they already exist and continue to the next step.
@zhou304 after the MinGW step and making sure everything was up to date in VS I tried compiling again. It freezes at the first step and refuses to stop or provide any details as to what is wrong.
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------ 1>  Checking Build System 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): warning MSB4220: Waiting for the currently executing task "CustomBuild" to cancel.
That is all I get. Perhaps I should not have tried two separate potential solutions at once before testing as I'm not sure what caused the issue but I will say since my very first attempt was with VS 2015 and the same behavior occured I am leaning towards the updates I downloaded from Tools/Extensions and Updates to be the cause in some way. I got further without taking any updates besides the core Update 5. I would advise against optional updates as a potential resolution.

@mascondante I've found a branch of this one, you can access "https://github.com/wtfuzz/ethminer". I can build it on win7 and win10.

@zhou304 that is very kind of you to find a working fork. Perhaps the owner here can create some diff files and commit an update. That would be swell. Thank you for your efforts.


🚀 | Audiobookshelf support

Feature Description
What functionality would you like to see in your Phoniebox?
The option to connect the Phoniebox to a local Audiobookshelf instance.
How do you envision the feature to work from a user's perspective?
If you have an Audiobookshelf instance already running, you could add that to your Phoniebox during the setup process. After that, it could work similarly to Spotify, but locally and without the need for a third-party API or even internet access.
Further information that might help
https://github.com/advplyr/audiobookshelf
https://api.audiobookshelf.org/#introduction

Now I've seen #2116, so just ignore this unnecessary issue.
Sorry.


Add Collection.plot() function

As a first pass, I allow Collections to contain matplotlib.figure.Figure
objects. Collection.plot() requires a variable argument (for now a string, but
perhaps a list of variables to plot would be better?) and also allows the user
to pass isel_dict to help reduce dimensions. There is a trello card about
introducing sel / isel functionality, and once that's done the isel_dict
argument can be removed.
I like the idea of being able to super-impose line plots (time series of scalar
quantities, or vertical profiles) in a single figure, but I have not made any
progress on that front yet.
I also should add a test for this function.
Fixes #13

I was on the fence about what Collection.plot() should return; maybe instead of an Collection, a regular old dictionary would suffice? Letting a Collection contain figure.Figure objects is likely going to complicate a lot of the other functions provided by the class, and really all I want is a way to access the figures later. For example,
ds = xr.tutorial.open_dataset('rasm')
dsa = xr.tutorial.open_dataset('air_temperature')
collection = xc.Collection({'rasm': ds, 'air_temp': dsa, 'air_temp_to_Tair': dsa.rename({'air': 'Tair'})})
plot_col = collection.plot('Tair', {'time': 0})

plot_col['rasm'].savefig('Tair.png')


Add Harsh

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

thanks For support


Swift Templates appear to cause intermittent build errors

We have Sourcery integrated as a build step in our projects, running it before compiling sources. Up until now, we've been using Stencil templates and things have been working pretty well for the most part. However, we added a Swift Template to do some validation since the features in the version of Stencil used by the latest Sourcery release made it impossible to accomplish this in Stencil templates.
However, since we added those we started getting intermittent failures, mostly on our CI, that look like this:
accessing build database
"/private/var/folders/81/zmkrbmcj2s544mvmbf8t7yhm0000gp/T/SwiftTemplate/1.8.2/.build/x86_64-apple-
macosx/build.db": database is locked Possibly there are two concurrent builds running in the same filesystem location.

Currently, I have two theories:

The swift build to compile the templates is conflicting with our main Xcode build
Because we have multiple projects in our workspace, all of which use Sourcery, Xcode will sometimes schedule those code generation steps at the same time and multiple instances of Sourcery will attempt to build the same template simultaneously

Does anyone have any suggestions for how we might address this? We'd really like to continue using Swift Templates if possible.

Thank you, this worked for us! We ended up keeping it as part of our builds phases when building locally, and added it as an explicit operation on CI.
One thing that wasn't great about doing it as part of the Schema was that Xcode doesn't seem to notify you when it's pre-building, so there was a 20 second delay before we saw it doing anything, which was an odd experience.


AddressableInfo and AddressableUtility does not exists in the current context

Describe the bug
Errors on updating to UMA v2.10.1.RC1:
Assets\UMA\Core\Scripts\UMAAssetIndexer.cs(1264,5): error CS0246: The type or namespace name 'AddressableInfo' could not be found (are you missing a using directive or an assembly reference?)

Assets\UMA\Core\Scripts\UMAAssetIndexer.cs(1264,29): error CS0103: The name 'AddressableUtility' does not exist in the current context

Assets\UMA\Core\Scripts\UMAAssetIndexer.cs(1719,17): error CS0246: The type or namespace name 'AddressableInfo' could not be found (are you missing a using directive or an assembly reference?)

Assets\UMA\Core\Scripts\UMAAssetIndexer.cs(1719,41): error CS0103: The name 'AddressableUtility' does not exist in the current context

Environment

Unity Version: 2019.4.1f1
UMA Version: 2.10.1.RC1

Were you were previously using the asmdef? If so, there are new ones for this release, youll need to remove the old ones, and use the menu item to rename the new ones.

No I don't have any asmdef in my project. Is one needed for UMA to work?

The errors disappear as soon as I use the asmdef for UMA.

hmm - it should work either way. I'll try to duplicate this.

Followup: I am able to duplicate this if I turn OFF asmdef, and I turn ON addressables.  I'm currently considering shipping with asmdef files on by default, since I can't really figure a way to make it work otherwise (without some hackish #if in the code, and duplicating the classes!)

This is now fixed and will be in the next update.


19042.804

It's work for 19042.804
rdpwrap.zip

Does this only need to go in the "C:\Program Files\RDP Wrapper" folder?  I updated it there and rebooted and still not working for me

Thank's @Melnick704 !
It's working like a charm.

Change C:\Program Files\RDP Wrapper
Ithanks OK  Thanks

what u mean 19042.804? we have 19041.804 and this .ini dont work for us

what u mean 19042.804? we have 19041.804 and this .ini dont work for us

I have 19042, no 19041

My PC is 19042. user Melnick704's file it is OK.
Change C:\Program Files\RDP Wrapper
Thanks for  Melnick704

Hi,
No "19042.804" entry in your file @Melnick704 , normal ?
If it doesn't work, I lose accces to the remote machine.

Works for 19042.804

But it work 🤷♂

But it work 🤷♂> Hi,

No "19042.804" entry in your file @Melnick704 , normal ?
If it doesn't work, I lose accces to the remote machine.

Thank's @Melnick704 worked for me too. 19042.804 (20H2)

It works for me. thank you!

It works for me. thank you!

it doesn't work for me :( ...  winver - 19042.804 , i loose access to remote machine

It's work for 19042.804
rdpwrap.zip

can you upload your termsrv.dll file?
thx

PFA
termsrv.zip

what u mean 19042.804? we have 19041.804 and this .ini dont work for us

all good, need to be copied with administrator rights

I replaced the file, and status went to fully supported but i can't connect to computer! what should i do???

I am sorry, everything is working, i forget to set number of users... :)

@BALAHLOP where do you set the number of connections ?

@regissg run gpedit.msc, then choose Computer Configuration -> Administrative Templates -> Windows Components ->Remote Desktop Services ->Remote Desktop Session Host -> Connections-> Limit number of connections, set conecctions to 999999, restart computer....

@BALAHLOP thanks, it works. That was a rather hidden feature...

Help me plz! This is my first attempt at using the program. Windows version Windows 10 Pro 20H2 19042.804. Install RDP Wrapper. Use ini file from Melnick704, all os status green color, but work only one connection. What am I doing wrong?

@IcemanEA  run gpedit.msc, then choose Computer Configuration -> Administrative Templates -> Windows Components ->Remote Desktop Services ->Remote Desktop Session Host -> Connections-> Limit number of connections, set conecctions to 999999, restart computer....

@IcemanEA run gpedit.msc, then choose Computer Configuration -> Administrative Templates -> Windows Components ->Remote Desktop Services ->Remote Desktop Session Host -> Connections-> Limit number of connections, set conecctions to 999999, restart computer....

Yes, I did it, but it doesn't help

Thanks a lot, worked for me too OS Build 10.0.19042.867 (20H2)

termsrv.zip

Thx! I replaced this one .dll and everything worked

It's work for 19042.804
rdpwrap.zip

It's work for 19041.789

Duplicate of https://github.com/stascorp/rdpwrap/issues/1317


Incompatible with Forgeshot.

When using ForgeShot, ~your mod attempts to copy it to the clipboard which you can see if you do win+v, but it shows little image icon and says "No preview available" and~ (nvm apparently that was something else, nothing appears in the clipboard) upon attempting to paste the screenshot anywhere nothing happens, as the screenshot isn't copied correctly. If I disable forgeshot, your mod works perfectly, but at the cost of not having the high quality screenshots Forgeshot provides.

oh, thanks for reporting this. I kinda started updating my mods again, seems like forgeshot is a new mod

will fix this this week and release a new version

i just checked and the mod is not open-source, i would have to patch the mod from my side to add clipboard support myself :sweat:


Create Package repositories

Create a Package repository so instead of writing the current profiledef.sh with a lot of repositories just make it to one

could not


How to feed input of previous time_step to the “Decoder” of “Sequence-to-Sequence” model?

I am developing a sequence-to-sequence model for text generation. I am not using 'teacher-forcing" at the decoder side, i.e. output of decoder at t0 is fed to input of decoder at time t1.
Now, in reality, output of a decoder (LSTM/GRU) is passed through a Dense layer, which in tern generates the index of the word, which is considered as the output of the decoder.
But, for feeding the output to next layer, I had to apply arg_max() to find the index of the "word", but, while I am trying to feed to next time_step, it says
ValueError: An operation has None for gradient. Please make sure that all of your ops have a gradient defined (i.e. are differentiable). Common ops without gradient: K.argmax, K.round, K.eval.
I understand that, since I am applying this function, it is not differentiable, , So, Is there any way to do it ??
I am following this tutorial for encoder-decoder model.
here is what I have written:
o_t= output_layer(o_t) # output of  Dense Layer ()
converter_o_t=lookup(o_t) # lookup is Lambda Layer, written for conversion
input_=converter_o_t # assign to next input

Is it possible for you to skip the argmax step until you need to make predictions? I imagine that the network will be able to train without the argmax just fine. This way, your model will make predictions with some dimension. Then, create a decoding function which takes the sequence of vectors and returns a sequence of their argmaxes.


Logged in business can apply

1. Severity:
medium
2. Reported by:
Muhammad Khattab
3. Description:
Logged in business can apply as a business
4. Steps to reproduce the issue:
log in as a business
then use this route: https://git-rekt.me/#/business/apply
5. Expected result:
redirect to home page or something

Duplicate #228 and already not a bug.

@melzareix You identified this as a bug in our code?

this is not a duplicate #228 is for clients

@msskzx Please reopen it

Sorry, Reopened.


API - json body with nested nodes

Hi all,
I tried to create a web API extension in Dynamic 365 BC (Spring 2019 version) that accept a json body with nested nodes. To do this I created three API pages with this structure:

The "page 2" as part of "page 1"

The "page 3" as part of the "page 2"

During the test with Postman I had the follow results:

I don’t have problem with the GET method, in fact the all json is displayed correctly (with data and the nested nodes)

When I try to send a POST I don't have error but only the sourcetables of the "page 1" and "page 2" are written. It is like that the last node array is ignored. This is the problem that I have.

Is it possible to create API that accept a json body with more nested nodes (3,4 o more)? Someone have some idea about my issue?
Thanks!
PS: This is the body that my "mock" API should accept:
{     "no": "TEST001",     "description": "this is test 001",     "lines": [         {             "lineNo": 10000,             "lineDescription": "this is test 001 line",             "sublines": [                 {                     "sublineNo": 10000,                     "subLineDescription": "this is test 001 subline"                 }             ]         }     ] }

for "page 2"  & "page 3", probably you defined as part page on "page 1" and "page 2" respectively. on definition of that, the id or name of the part page must be same with the "entitySetName" property  value.
see the screen shot:

try this and then it will work fine and then let me know

Thank you. We're aware of this and is actively working on enabling deeper level nesting. Same issue is reported on aka.ms/bcideas.


Supported device？

As shown in the config file config_nas.py, is it only the V100 or t40 are supported here?
If i want to use 2 * 2080Ti, how can i change that?

By the way, the custom configuration is high complexity, which is not user friendly.

You can use cloud GPU.
By the way, how to set the code environment correctly? I have trouble about the environment setting which bothering me a lot.

hi，me too，can we help each others？


[Website] Update Best Practices content

Description

Remove/merge Best Practice title into description
Re-order some Best Practices
Flip variant examples so that success goes with "do" and danger goes with "don't"
Remove margins on pre inside Best Practice examples
Update secondary text examples to match OS X standard

Note for reviewers: The first commit simply re-orders the object properties for an easier-to-read diff in the second commit. They will be merged, post-review.

Motivation and context

Closes #473; closes #440
Screenshots, videos, or demo, if appropriate

https://473-best-practices--mineral-ui.netlify.com/
How to test

cd mineral-ui && npm start
Navigate to each component and ensure their Best Practices section has correct content and examples, free of errors

Types of changes

Other (provide details below)

Website docs
Checklist

[x] Renders and functions properly in all supported browsers
[x] Automated tests written and passing [n/a]
[x] Accessibility and inclusivity considered
[x] Rendering performance (initial load time & 60fps) and perceived performance considered [n/a]
[x] Documentation created or updated
[x] Tested in sandbox if new component or breaking change [n/a]

@coldpour — Pushed another commit that addresses latest round of comments.

@coldpour — Addressed your final comments and squashed.