Replace Datasketch HLL with newer Datasketch CPC sketch

Motivation
the datasketches library has a new  Unique Counting Sketch called CPC sketch that has  better accuracy per size than HLL.
https://github.com/DataSketches/sketches-core/releases
Proposed changes
replace  Datasketch HLL sketch with CPC or offer it alongside as a higher accuracy sketch
Rationale
Better accuracy
Operational impact
The docs of datasketches don't describe the whether CPC algorithm is more CPU intensive or not. This will determine whether we want to completely deprecate DataSketches HLL sketch and replace it with CPC or keep CPC as an additional option.

We would need to look into whether CPC has an offheap implementation yet. And I think we'd rather add than replace. And I don't want to say anything further until someone expert in datasketches chimes in :)

There is no off-heap mode in CPC, and we doubt it would even make sense for this algorithm. Is it possible to not requite having a buffer aggregator?

@AlexanderSaydakov is there any documentation on the algorithm? i couldnt find it on the datasketch website.
is it more cpu intensive than HLL?

We are working on the documentation. It is a new algorithm that beats HLL in terms of accuracy per byte (more compact (when serialized) with the same accuracy or more accurate with the same size or both). It might be a bit slower, especially merging. So it is not automatically better for all use cases. In particular, there is no fixed-size mode at all like HLL_6 and HLL_8 (HLL_4 has no hard limit).

Any progress on this front?

If by "this front" you mean CPC sketch aggregator in Druid, then a simple answer is "no".
The requirement of operating in a fixed chunk of memory that is preallocated by a BufferAggregator is quite limiting. Some sketch algorithms are more friendly to this mode of operation, some other algorithms have to be coerced quite a bit, and can sometimes exceed a given limit, which leads to moving a particular sketch out of a given off-heap slot. This happens with quantiles sketch, for example. This mode of operation can change all sorts of trade-offs in an algorithm and make it essentially a different algorithm. We are not sure how to approach this with CPC sketch. There is still no off-heap implementation of it.

@AlexanderSaydakov If we had a mechanism in Druid for allocating additional memory at runtime, would there be anything else standing in the way of doing a CPC sketch in Druid? It's something that I think we'll be adding at some point. I can't predict exactly when, but, there's a variety of reasons why we'd want to do so, and they seem compelling enough that it's likely to happen.

I am not sure about additional memory. Perhaps it would make sense to to let aggregators to allocate their own memory to begin with, and not necessarily single contiguous chunks per aggregation.


Tmpfs volumes in CRI job environment

For now I see several solutions. In order from likely to be easy to hard:

privileged exec-node - mounts/unmounts tmpfs all by itself
use suid helper or sudo to mount/umount tmpfs
call mount/umount as CRI containers - use containerd as sudo
single tmpfs volume - need to create/cleanup subtrees (lack of size limit per mount)
CSI provisioner for maintaining tmpfs volumes - cool, but over-engineered

I'd say privileged exec node is just fine. It even looks quite safe as we do not run untrusted code in exec node container, but rather in its containerd sibling.

Required change in operator: https://github.com/ytsaurus/yt-k8s-operator/pull/77

Can we close this?


Nan in loss

Hi, many thanks for the great work.
But when I was training this model, the training log showed Nan in loss, and this happened even in your uploaded exp folder. I guess maybe it is caused by the smooth loss calculation (pred_distance).
      pred_distance = pred_distance[:args.N_rgb],         pred_distance_coarse = pred_distance_coarse[:args.N_rgb],         pred_distance_smooth = pred_distance[args.N_rgb:]
Do you have any suggestion for this problem? Thank you!

I also encountered the same problem, args.N_rgb = 4096, and len(pred_distance) = 4096, hence pred_distance_smooth = [], and ultimately caused NAN loss.

I don't know how to solve it, Do you have any advice?


Is this project still maintained?

I am having an issue with factory.create not actually creating documents in Mongo, and the .then() call is not executing.
If I change to factory.build then it does generate a new factory object, but I am still not able to create.
Should I expect a response, or should I look for an alternative project (any suggestions)

+1

Same issue here.

Guessing by lack of response, this is a dead project.  Maybe I should just fork and fix huh 🤓

@mikeerickson might be a good idea. Count me as a contributor to resolve this issue

For those interested may take a look at my fork, https://github.com/ratson/factory-bot/commits/master
PR to help update the documentation is welcome.

Factory girl doesn't throw error when build schema doesnt' match with DB schema.
So make sure your FG-build-schema fits to DB schema. That helped me.

What worked for me was adding a catch to the end of the promise and logging the error I get there.


Add base image to dependabot configuration

Recude toil and time to update the base image
I excluded the builder image due to the golang version being pinned.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 38.29%. Comparing base (6b9dd8e) to head (f54a4d5).
Report is 2 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #260   +/-   ##
=======================================
  Coverage   38.29%   38.29%
=======================================
  Files          16       16
  Lines        1465     1465
=======================================
  Hits          561      561
  Misses        866      866
  Partials       38       38


Asset destruction not supported in dApp

Currently you cannot send an asset destruction transaction to be signed - it will error.
Support is planned for October's release.

Resolved in https://github.com/PureStake/algosigner/releases/tag/v1.1.0


Dvds4e5

new episode

:+1:

👨🎨⚔👩💻

:tada: This has been pushed live to https://developers.google.com/web/


Added support for dark theme

I have never done a pull request before, so let me know if I'm doing something wrong here. This calendar is working great for me, but I needed it with a dark theme.

I needed this too!

Does your pull request support dark and black?

Fixes: https://github.com/apptreesoftware/flutter_calendar/issues/41

Here's how it looks for me after my change. I also had to set theme primaryColor: Colors.purple, instead of primaryColorSwatch: Colors.purple, in order to get the selector to change color. Otherwise it always looked black.
with primaryColor: Colors.purple

with primaryColorSwatch: Colors.purple

Looks great!! Thanks for the work

The theme is broken again on dark mode? Was this overwritten?


Handle dividends

[ ] parse csv
[ ] generate sru

Withholding Tax,Header,Account,Currency,Date,Description,Amount,Code
Withholding Tax,Data,Uxxxxxxx,USD,2021-07-09,MO(US02209S1033) Cash Dividend USD 0.86 per Share - US Tax,-24.9,
Withholding Tax,Data,Uxxxxxxx,USD,2021-07-09,MO(US02209S1033) Payment in Lieu of Dividend - US Tax,-0.9,
Withholding Tax,Data,Uxxxxxxx,USD,2021-07-27,IVR(US46131B1008) Payment in Lieu of Dividend - US Tax,-14.67,
Withholding Tax,Data,Uxxxxxxx,USD,2021-07-27,IVR(US46131B1008) Cash Dividend USD 0.09 per Share - US Tax,-4.23,
Withholding Tax,Data,Total,,,,-44.7,

Change in Dividend Accruals,Header,Asset Category,Currency,Account,Symbol,Date,Ex Date,Pay Date,Quantity,Tax,Fee,Gross Rate,Gross Amount,Net Amount,Code
Change in Dividend Accruals,Data,Starting Dividend Accruals in USD,,,,,,,,,,,,0,
Change in Dividend Accruals,Data,Stocks - Held with Interactive Brokers (U.K.) Limited carried by Interactive Brokers LLC,USD,Uxxxxxxx,IVR,2021-07-01,2021-07-02,2021-07-27,1400,18.9,0,0.09,126,107.1,Po
Change in Dividend Accruals,Data,Stocks - Held with Interactive Brokers (U.K.) Limited carried by Interactive Brokers LLC,USD,Uxxxxxxx,IVR,2021-07-27,2021-07-02,2021-07-27,1400,-18.9,0,0.09,-126,-107.1,Re
Change in Dividend Accruals,Data,Stocks - Held with Interactive Brokers (U.K.) Limited carried by Interactive Brokers LLC,USD,Uxxxxxxx,MO,2021-06-11,2021-06-14,2021-07-09,200,25.8,0,0.86,172,146.2,Po
Change in Dividend Accruals,Data,Stocks - Held with Interactive Brokers (U.K.) Limited carried by Interactive Brokers LLC,USD,Uxxxxxxx,MO,2021-07-09,2021-06-14,2021-07-09,200,-25.8,0,0.86,-172,-146.2,Re
Change in Dividend Accruals,Data,Total,,,,,,,,0,0,,0,0,
Change in Dividend Accruals,Data,Ending Dividend Accruals in USD,,,,,,,,,,,,0,

Cash Report,Data,Dividends,Base Currency Summary,194.15,194.15,0,0,0,194.15,


Could I install pinpoint in K8S

Hello, @Rookie-Shy
of course, K8S can be set up with provided docker images.


provision: Binary-patch OpenSSL ARM64 assembly bug

Fixes #20910.
This is dev-only because binary-patching in production with sed is ludicrous, and production systems can just use Debian 11.
Testing plan: Provisioned a new dev environment on M1 Mac.

Merged, thanks @andersk!  I look forward to getting to delete this down the line :)


How to trigger the pause?

I'd like to pause the chart on certain input bindings. How do I trigger the pause?

Version 1.5 introduced the pause feature. Set chart.options.plugins.streaming.pause to a Boolean value to pause/resume scrolling. See also an example
chart.options.plugins.streaming.pause = true;
chart.update({
  duration: 0
});


Add custom file handler

The handler allows us to process files as soon as they are processed by gotemplate.
Without it, I would have to run gotemplate on all files and then reload all files to parse their content. Supplying an handler allows me to get access to both the rendered and the original contents (and do appropriate processing on them).
I also refactored some classes to better organize the code and split up some big functions.

Pull Request Test Coverage Report for Build 572

256 of 347 (73.78%)  changed or added relevant lines in 10 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.07%) to 66.808%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

template/template_process.go
3
4
75.0%

utils/terraform.go
0
2
0.0%

template/template_error_handler.go
97
136
71.32%

template/template_handler.go
141
190
74.21%

Files with Coverage Reduction
New Missed Lines
%

template/template_process.go
2
20.0%

Totals

Change from base Build 569:
0.07%

Covered Lines:
3788

Relevant Lines:
5670

💛  - Coveralls


Move deleted photos to trash

Currently, deleted photos are removed from library permanently. It would be great if they were moved to librephotos trash instead.

Need to migrate to these calls:
api/photosedit/setdeleted/
api/photosedit/delete/


Initial window.location.hash setting

Hi Larry,
I didn't solve my multiple route rendering problem yet, but I did run into another problem. In the componentWillMount() method of my main component, I check a user's authentication state and adjust the route accordingly. If the route needs to be changed, I use react-mini-router's navigate() to make it happen. This seems to work as expected, except for the very first page when useHistory is set to false and the url does not contain a #! yet (server default page). In that case detect.hasHashBang() returns false.
I solved this behavior by moving the window.location.hash setting from react-min-router's componentDidMount() to it's componentWillMount(). Do you thank that's an appropriate solution?
Regards,
Pieter-Jan

Thanks for closing and not replying.


Wrote "npm link" how-to

SDK needs to have the package "built" to properly work with
a project. This documents the steps to creating the package
and then linking to it for local use.

Coverage remained the same at 98.258% when pulling 74713404cf475d3f46fa12aaadce5925ff9495e6 on theduckylittle:docs/npm-link into 673b95a2db867606bffd32c1e6d99eb2f7f3f27c on boundlessgeo:master.

Should the gitignore contain package-lock.json or are you all going to be sporadically updating and locking the dependencies?

@walker I think we can add the lock file to gitignore for now, will make that change


Impossible to use Qdrant cloud with nodejs

I am trying to setup vector store creation with node and Qdrant.
But there is no place for Qdrant api key.
Maybe there is some way to use it?

I found a way to solve my problem.
You can pass Qdrant client instanse as argument to vectore store create function:
`
const client = new QdrantClient({
url: process.env.QDRANT_URL,
apiKey: process.env.QDRANT_API_KEY,
})
return  await QdrantVectorStore.fromDocuments(
docs,
new OpenAIEmbeddings({ openAIApiKey: process.env.OPEN_AI_KEY }),
{
client,
collectionName: storeName,
},
)
`


Serve UI from S3/CloudFront

Feature Request
Currently the dockstore.model.ts has to be changed for each environment that the UI is run on. If instead the information were retrieved via an API:

The same UI build would be running in staging and production
The UI could be built in advance. Today it is part of the deploy process, and sometimes fails.
The UI build could be copied to and served from s3 (or from a CDN -- see #2242 ).
The UI could be deployed separately from the webservice.
Doing a UI release would be as simple as having nginx/router point to an s3 URI.

┆Issue is synchronized with this Jira Epic
┆Issue Type: Epic
┆Fix Versions: Dockstore 1.7
┆Issue Number: DOCK-596

Likely going to have to use CloudFront to deal with all the routing problems for s3

Make it so (in like a month)

May also have to find and replace src="../assets with src="/assets

Speak of the devil: https://firstclassjs.com/deploy-angular-application-to-aws-s3-and-cloudfront/

This was a poor title for an epic: Don't have hard-coded dockstore.model.ts


Use argparse instead of raw sys.argv

Switch from manual sys.argv handling to the built-in arguments parser. This will be beneficial when we'll add more arguments -using a parser will make its behavior more predictable.

Nice. I attempted this in #895 but yours is much cleaner. Will test soon.

Nice. I attempted this in #895 but yours is much cleaner. Will test soon.

I'll be a little busy this week so probably cant review.

I'll be a little busy this week so probably cant review.


Using ffmpeg instead of dcadec

Hi,
for me, dcadec fails on large files. It floods the terminal with "skip", and the ac3 file increases by 1MB in size every five minutes or so.
However, ffmpeg works as expected. Could you add a switch that uses ffmpeg instead of dcadec? The syntax would be:
ffmpeg -i FILE.dts -acodec ac3 -ac 6 -ab 640k FILE.ac3
Kind regards

http://pastebin.ca/2090283
There's obviously a patch for that :)

It serves another purpose, too:
dcadec+aften:
$ time dcadec -o wavall "some.dts" | aften - "some.ac3"

Aften: A/52 audio encoder
Version 0.0.8
(c) 2006-2007 Justin Ruggles, Prakash Punnoor, et al.

libdca-0.0.5 - by Gildas Bazin<EMAIL_ADDRESS>  based on the a52dec code from Michel Lespinasse<EMAIL_ADDRESS>and Aaron Holtzman
Stream with high frequencies VQ coding
input format: WAVE Floating-point 32-bit little-endian 48000 Hz 5.1-channel
output format: 48000 Hz 3/2 + LFE

SIMD usage: MMX SSE SSE2 SSE3
Threads: 2

progress:   0% | q: 301.0 | bw: 33.9 | bitrate: 448.0 kbps 1593 frames in 1.00 s
(...)
701694 frames decoded in 395.73 seconds (1773.16 fps)
progress:   0% | q: 270.0 | bw: 34.0 | bitrate: 448.0 kbps

real	6m35.948s
user	7m4.107s
sys	0m35.271s

ffmpeg:
$ time ffmpeg -i "some.dts" -acodec ac3 -ac 6 -ab 448k "some.ac3"
ffmpeg version 0.8.2, Copyright (c) 2000-2011 the FFmpeg developers
  built on Aug 15 2011 17:32:58 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
    [dts @ 0x101807c00] max_analyze_duration 5000000 reached at 5008378
    [dts @ 0x101807c00] Estimating duration from bitrate, this may be inaccurate
    Input #0, dts, from 'some.dts':
      Duration: 02:02:33.16, start: 0.000000, bitrate: 1535 kb/s
    Stream #0.0: Audio: dca (DTS-ES), 48000 Hz, 7 channels (FL|FR|FC|LFE|BC|SL|SR), s16, 1536 kb/s
[ac3 @ 0x101801800] channel_layout not specified
[ac3 @ 0x101801800] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
Output #0, ac3, to 'some.ac3':
  Metadata:
    encoder         : Lavf53.4.0
    Stream #0.0: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
Input stream #0.0 frame changed from rate:48000 fmt:s16 ch:7 to rate:48000 fmt:s16 ch:6
size=  409322kB time=02:04:44.73 bitrate= 448.0kbits/s
video:0kB audio:409322kB global headers:0kB muxing overhead 0.000000%

real	6m26.944s
user	4m4.838s
sys	0m33.878s

Might be insignificant, though. However, it saves you at least from building aften (and possibly even libdca). On a Mac, MKVToolNIX can be grabbed precompiled (Mkvtoolnix -> Show Package Content -> Contents/MacOS, copy binaries to /usb/local/bin or whatever), so can ffmpeg (http://ffmpegmac.net/). rsync is AFAIR already shipped with Mac OS X. This is much more convenient and does not require Xcode at all.
I made some minor improvements to the original patch, btw (FFMPEG=0 as default, check for aften only when --ffmpeg is not specified): http://pastebin.ca/2092535

Hi,
There is another issue which could encourage the maintainer to adopt this patch in the mainstream; see here:
http://www.legendiary.at/2011/10/01/dts2ac3-revisited/

Thanks for your work on this. I will try to take a look at getting this implemented in the next few weeks as I agree that it offers many improvements.

I did some testing and this seems to work quite well.  If my testing is correct, we would just need to replace:
nice -n $PRIORITY dcadec -o $AUDIOMODE "$DTSFILE" 2>&1 /dev/null| nice -n $PRIORITY aften -v 0 - "$AC3FILE"
with
nice -n $PRIORITY ffmpeg -i "$DTSFILE" -acodec ac3 -ac 6 -ab 448k "$AC3FILE"
and change the checkdep from dcadec and aften to ffmpeg:
checkdep ffmpeg

Done in dev branch. Would appreciate if some people would test. I won't be able to until this weekend-ish.

Seems to work on the few files I tested but the output is so darn verbose.  And of course insert appropriate bitching about how ffmpeg doesn't follow normal conventions (no quiet mode, no progress, all output is STDERR for some reason, -vstats doesn't work for audio, etc) I had to do some extra work to get the output into a sane format.
'-v 0' is supposed to quiet the output.  It doesn't.
'- loglevel quiet' helps some but not enough.
Here is what we could use for the line to provide just a bit of feedback but strip out all the crap it insists on displaying:
    nice -n $PRIORITY ffmpeg -loglevel quiet -i "$DTSFILE" -acodec ac3 -ac 6 -ab 448k "$AC3FILE" 2>&1 |grep -vE "lib|Stream"

This loses the progress bar but gets rid of all the ffmpeg default crud.  I am working on a slick way of getting a progress bar without any of the ffmpeg output.  It is looking promising...

The only hypothetical issue which could arise is whether ffmpeg can process DTS without prior installation of libdca, I was too lazy to test that and we all have it installed already.

ooh, good thought process.  I just removed libdca-utils and libdca0 and aften from my system and I couldn't see anything wrong and it created a valid file that checks out on my normal set of sanity checks.
I don't see any issues but then again those wacky OSX guys always come back with something we never think of. ;)

This has to be just me, but when I attempt to run the updated script ffmpeg throws an error when trying to convert dts to ac3.  Says the fps of stream 0 does not match, 47.95 >- 23.9.  If I run mkvextract and have it pull out both the h.264 video and dts and then run the dts through ffmpeg it works just fine.

Seems with the recent commit I no longer have this issue.  Please disregard. Thanks!

I will work on getting 5.2 installed and seeing if we can use a single cmdline for the old and new versions.  I would hate to have to put version checking into the script and run different cmdlines based on which version is installed.
I know on my 10.04 LTS Ubuntu I am stuck at 5.0.1 for automatic updating.  I would imagine for quite some time we will have people with varying versions of mkvtoolnix suite and can't really mandate a particular version unless there is no other way.  I will try to find another way...
In the meantime everyone should use <5.1 or older mkvtoolnix

Ok, setup an ubuntu 11.10 install so I could use mkvtoolnix 5.2 and sure enough, they have switched the numbering scheme from 0-n to 1-n in mkvextract BUT NOT IN mkvmerge.  WTF?!?
So an example is:

File 'test.mkv': container: Matroska
Track ID 0: video (V_MPEG4/ISO/AVC)
Track ID 1: audio (A_DTS)

$ mkvextract tracks test.mkv 0:video.mpeg4
Error: No track with the ID 0 was found in the source file.
Off to see if there is a bug filed for this and if not file one.  This isn't the correct behavior.

There IS a bug filed for this and it has already been fixed in the code and will be pushed out in 5.3 version.
So the short answer is: Don't use mkvtoolnix 5.2 as it has a serious bug that breaks mkvdts2ac3.sh
If you want you can compile the committed git version of mkvtoolnix or go back to 5.1 or 5.0.1.

mkvtoolnix 5.2.1 is out and tested to work correctly in Ubuntu 11.10.  If you are having errors with mkvextract then update to the latest version.
I will leave this issue open for a while to ensure mkvextract plus the new ffmpeg method works for everyone and there are no more issues uncovered.

Released as 1.6.0


Add support for optional authentication token

This is need while the raw API is marked unstable, and also a good idea anyways because of rate limiting.

Marked draft until QA'd.

Tested it, it worked the first time!


fix(costmodels): create cost model review step fit and finish

closes #1045

[x] Spacing
[x] the gap between the columns is too big
[x] Change button text to "Create" instead of "Finish"

Codecov Report

Merging #1050 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1050   +/-   ##
=======================================
  Coverage   75.63%   75.63%
=======================================
  Files         227      227
  Lines        4362     4362
  Branches      812      812
=======================================
  Hits         3299     3299
  Misses        950      950
  Partials      113      113

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 8163517...299698e. Read the comment docs.

Thanks @dlabrecq I updated to text list as you suggested.

Looks very nice!


PathWhiz?

We are getting a bunch of PathWhiz reactions I think from KG2. e.g. PathWhiz.Reaction:108552.  I can't seem to find anything about them though - not a name, or anything else about them.  The Pathwhiz site doesn't seem actively maintained and frequently crashes when I go to try to look these up, but even when it is working I can't seem to find them.
(Maybe I'm looking in the wrong place?)
Anyway, without any ability to know what this thing is, do they provide any value?  I can filter them out in ARAGORN but are they useful to anybody?

For that reaction, there is an info page on it here: https://pathbank.org/lims#/reactions/108552 (you have to create an account or login as a guest to view it). It seems to have a name of "Fructose 6-phosphate + L-Glutamine → Glucosamine 6-phosphate + L-Glutamic acid" on that site. You are correct that they do not seem to have names in RTX-KG2. We included them in our ETL of SMPDB and PathWhiz because they connect many of the compounds and pathways in those databases. We may need to consider a way to make them more effective to users.

Thanks @ecwood !  FWIW, I do think it would be very helpful to at least get the name and/or some kind of linkout on these reactions.

You don't happen to have a list of those reactions do you?  That site is insanely slow for me...


Is this also available for Dynamics 365 on-prem 9.1?

Dear Community,
is this feature also available for Dynamics 365 on-prem 9.1?
If not yet, do we know if it's in a future roadmap?`
Regards, Thomas
[Enter feedback here]

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

ID: fc66531e-53ea-bcdf-1bb3-3ae2e2617a8e
Version Independent ID: 0659f974-8190-0cb9-e12e-2640fb30b114
Content: Exchange Online cross-tenant authentication - Power Platform
Content Source: power-platform/admin/connect-exchange-online-server-profile-oauth.md
Service: power-platform
Sub-service: admin
GitHub Login: @gattimassimo
Microsoft Alias: magatti

Thanks for your comment, @tkammerlander. This issue has been assigned to the doc author for review.


Optimises calendar width for any number of room columns

Fixes #1233
Changes: Makes the width of the calendar adaptable. The calendar takes up 100% width of its container irrespective of the number of columns.
Screenshots for the change:
BEFORE

AFTER

Demo server : https://open-event-web-appp.herokuapp.com
Gh-pages : https://geekyd.github.io/eventApplication
@mariobehling @aayusharora @Princu7 Please review. Thanks

Codecov Report

Merging #1246 into development will not change coverage.
The diff coverage is 100%.

@@             Coverage Diff              @@
##           development    #1246   +/-   ##
============================================
  Coverage        65.28%   65.28%
============================================
  Files                9        9
  Lines             1515     1515
  Branches           224      224
============================================
  Hits               989      989
  Misses             526      526

Impacted Files
Coverage Δ

src/backend/fold.js
84.92% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

We need to iterate more to ensure consistency across pages. Location of list/calendar view date heading is different to tracks/rooms page. Areas are not aligned in one left line. Indent is varying.


Implementiing Tag Immutable return

This allows manifests to return a tag immutable error. I used the ErrorCodeNameInvalid.WithMessage but I am not sure if there is a better error message in return or if a new error needs to be created.

Please sign your commit.

Can you explain in which situations the "immutable error" might occur and how it should be handled?


Consistent file hierarchy organization needed

We need a way of organizing this repo that is robust to changes in how meetings are organized. We should probably do this by organizing materials chronologically, rather than topically.
Here's a suggestion:
At the top level we have school year terms 2015-2016, 2016-2017, etc.
Within each of these we have either standalone files, or self-contained directories.
Naming convention can be [two-digit number][dot][lowercase-name-with-hyphens]([dot][extension])
So a Jupyter notebook presented at the first meeting of the 2016-2017 school year could be at /2016-2017/01.pca-mnist.ipynb. A directory containing material given at the second meeting of the 2016-2017 school year could be at /2016-2017/02.miniconda-setup/.
The older meeting materials like Lecture 1 | Hello, Machine! could be moved to /2015-2016/01.hello-machine/ (so we remove non [a-z] characters) in directory names, to keep things clean, but we can still retain them within the documents themselves. e.g, in the first cell of a .ipynb.
Feel free to comment below on suggestions. Otherwise this will be implemented within the next few days.

I have one thing to consider: should we allow standalone files within the top level folders like 2015-2016? Or, even if there was only a single .ipynb presented at that meeting, should it be nested in a folder named like [two-digit-number][dot][topic-with-hyphens], and then the file itself can be named [name-with-hyphens][dot][extension] within that folder?


Relative img path

in css
background: url(../img/pattern/boxed-pattern1.gif);

will generate:
background: url(../img/pattern/boxed-pattern1.gif);

will compress and saves compressed css inside folder, but path to the images was not corrected.
Here is the config:
'css_build_path' => '/css/builds/',

I think that generated css paths to the static images must be generated as:
background: url(../../img/pattern/boxed-pattern1.gif);

The generator don't update the path, I recommand you to put, the builds directory a the same level as css.
Like that
./css
./img
./builds

This functionality must be.
Vytenis Kučiauskas
On Mar 27, 2015 5:36 PM, "Alcindo"<EMAIL_ADDRESS>wrote:

Closed #64 https://github.com/ceesvanegmond/minify/issues/64.
—
Reply to this email directly or view it on GitHub
https://github.com/ceesvanegmond/minify/issues/64#event-266985919.


Program crashes while writing data to disconnected socket

My Client application is getting crashed when i write data to invalid Socket, i.,e, disconnected socket.
Is there a way to verify whether socket is valid or not(i.e., connected or disconnected) before writing or reading to/from mbedTls socket?
Which data member in 'mbedtls_ssl_context' structure can be used to know whether socket is connected or disconnected?
Or is there any API which gives state of mbedtls Socket?

Hi @PravallikaKG these checks should be done in the bio callback that you are supplying in the mbedtls_ssl_set_bio API. These callbacks should receive the socket descriptor, and either check the socket before you try to read\write to it, if possible on your system, or check the error code of the system's end\recv functions.

Thank you RonEld

I believe this question was answered, therefore closing it
If you are not happy with the answer, please reopen


Curved stairs / walls not resizing

I'm not sure if this is meant to be a bug or a feature, but when resizing the curved stair / wall on the x and z axis, it doesn't do anything, but when you resize on the y axis it adds more faces to the brush, it also resizes on the y axis.
Example - https://youtu.be/GEpLqSwHbwg

Yeah it's a "feature", a deliberate design choice. In the beginning it was impossible to resize any axis and then the Sabresaurus insisted that I at least make it possible to add steps by resizing. The problem is the bounding box changes rapidly depending on your configuration and for some changes it may not change at all because it fits in the same bounding box: https://twitter.com/twitter/statuses/955874461240250369
So it's really difficult if not impossible to use the ordinary bounds tools. I generate the bounding box every time you change the configuration of the stairs. The same thing happens with all 2DSE brushes, you can't change the bounding box at all there for similar reasons.

I'm closing this issue for now. Perhaps one day we will have actual interactive tools for this sort of thing. But thank you for taking the time to open an issue. It's nice to see someone using SabreCSG, especially when it's one of the things I made. 😁


[Question] [Worker] Start too many tasks that consume memory will cause the Worker to crash

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
If too many tasks are started at once, and any one of task consume too much memory,  Worker will crash.
Worker will report maxCpuloadAvg and reservedMemory to Master though heartbeat. Master will check Worker status when dispatch task, if Worker has not enough memory, Master will put task back to taskPriorityQueue. But heartbeat has 10 seconds interval. Once the Worker status change to available, Master will dispatch all task in queue to Worker. Then Worker will crash.
What you expected to happen
Worker also check loadAverage and reservedMemory before run task.
How to reproduce
Set worker.reserved.memory = 1.5
Create a workflow contains several task, every task consume a lot memory and run a long time, eg: 1G memory and 200 secons.
Schedule run workflow with a few seconds.
Anything else
No response
Version
3.0.x
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

This problem can be solved by limiting the maximum execution resources of a single task. And it have been implemented in #10373. Will be release in the 3.1.0-release.

@SbloodyS  It's nothing to do with the memory of a single task.
The following picture is the master log:

At time 1, worker has not enough memory, and Master failed to dispatch task to worker.

At time 2, worker finish some tasks, master know worker has enough memory by heartbeat. Then master will dispatch all tasks in queue to worker, worker will run those tasks without other check.


Fix build

Fixes #828

Codecov Report

Merging #829 into master will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #829      +/-   ##
==========================================
- Coverage   98.44%   98.41%   -0.04%
==========================================
  Files         128      128
  Lines       21600    21089     -511
==========================================
- Hits        21265    20755     -510
+ Misses        335      334       -1

Impacted Files
Coverage Δ

tensornetwork/backends/jax/jitted_functions.py
98.14% <100.00%> (-0.05%)
:arrow_down:

...ornetwork/matrixproductstates/infinite_mps_test.py
84.78% <0.00%> (-1.50%)
:arrow_down:

...ckends/tensorflow/tensorflow_tensornetwork_test.py
59.75% <0.00%> (-1.17%)
:arrow_down:

tensornetwork/backends/decorators_test.py
92.64% <0.00%> (-0.51%)
:arrow_down:

...ensornetwork/tests/tensornetwork_symmetric_test.py
92.70% <0.00%> (-0.37%)
:arrow_down:

tensornetwork/linalg/tests/test_linalg.py
94.95% <0.00%> (-0.36%)
:arrow_down:

tensornetwork/backends/decorators.py
96.77% <0.00%> (-0.20%)
:arrow_down:

tensornetwork/tests/tensor_test.py
98.44% <0.00%> (-0.16%)
:arrow_down:

examples/simple_mera/simple_mera.py
95.49% <0.00%> (-0.12%)
:arrow_down:

...tractors/opt_einsum_paths/path_calculation_test.py
95.74% <0.00%> (-0.09%)
:arrow_down:

... and 44 more

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 5f57d1a...c284bc0. Read the comment docs.


Unable to marshal and unmarshal float and double values

The marshalling logic creates a union, while the unmarshalling assumes there is no union and a simple double or float value.
The PR #175 resolves this.
Thanks

Solved by #175


Multivariable Taylor Polynomials

Adds https://github.com/asc-community/AngouriMath/issues/436

Codecov Report

Merging #448 (9b3d4b7) into master (029c387) will increase coverage by 0.08%.
The diff coverage is 92.53%.

@@            Coverage Diff             @@
##           master     #448      +/-   ##
==========================================
+ Coverage   80.65%   80.74%   +0.08%
==========================================
  Files         145      145
  Lines       12455    12522      +67
  Branches     1681     1694      +13
==========================================
+ Hits        10046    10111      +65
  Misses       1895     1895
- Partials      514      516       +2

Impacted Files
Coverage Δ

Sources/AngouriMath/Convenience/MathS.cs
68.06% <50.00%> (-0.14%)
:arrow_down:

Sources/AngouriMath/Functions/Series.cs
91.20% <93.84%> (+6.59%)
:arrow_up:

...ngouriMath/Functions/Continuous/Differentiation.cs
76.00% <0.00%> (+6.00%)
:arrow_up:

Continue to review full report at Codecov.

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

Thank you so much for the feedback! Sorry about how much code was needed for this task, I'm sure there's a more readable way of doing it, but I'm not well-versed in the tools the library provides yet. I think I fixed up everything you mentioned though.

It looks like there was an issue in the 'CheckTheCorrectness' unit tests, where an int was being fed in as the point to check instead of a double, so I've fixed that too.

@ryyanmapes thank you for your contribution 🎉! You did a great job.


Autocomplete

Implements  #657
on bash run
eval "$(register-python-argcomplete b)"

on zsh run
autoload -U bashcompinit
bashcompinit
eval "$(register-python-argcomplete b)"

https://github.com/NUbots/NUbook/pull/161

Where are you going to document this feature? I don't want to approve this until you have made a NUbook PR, if that's what's appropriate

We're going to need to add the new python package to the build machines

Now that we have github actions, is there anything which needs to be done for this PR @CMurtagh-LGTM?

This needs argcomplete to be installed on the runner.

Well, there are three solutions which come to my mind:

try: import module; do_module_thing(); except ImportError: pass (My preferred solution I think, because then people aren't forced to get autocomplete package if they don't want it as well
pip install <module> as part of the pipeline
pip install -r requirements.txt as part of the pipeline.

This appears to work well for me on zsh. I already had argcomplete installed globally though and cannot see where we install nuclear/requirements.txt. Should we update the docs to install the nuclear requirements as well @CMurtagh-LGTM? or possibly move argcomplete into the root level requirements


Improve the "Extending" docs

Hey guys,
Great library! This has made bootstrapping a dialogue system for my game much easier! Awesome.
Wanted to call this out because it took me some trial and error to figure out:
https://github.com/thesecretlab/YarnSpinner/blob/master/Documentation/Extending.md  is sneaky!
That's like, the best feature of the whole library and it's sort of tucked away.
The only reference I found to it was here:
https://github.com/thesecretlab/YarnSpinner/blob/master/Documentation/Usage.md#functions
but that suggests you can only run function in "if" statements, which seems to not be the case.
This becomes a super great DSL very fast. For me I now have just:
<<AcceptQuest()>> and that's awesome (much more powerful than the commands because you don't have to rely on global game objects).
Anyway, wanted to call out that the docs could use a quick addition or two to call attention to how good this bit is. : )

This is something @PeteLawler is working on, I think! :) I'll assign this issue to him, and he can close it when he feels the documentation is looking better.

A new parser is being implemented that'll make extending Yarn Spnner easier. It's hoped that this new parser will appear in the development branch by the end of June 2017. Once it's there, the Extending documentation will be updated to match the new parser.

There hasn’t been any activity on this in a while so I am closing this issue.
We still have a lot of docs work to go, but for now this is closed.
Please open a new issue for anything other docs issues.