Generalize and add disclaimers.

I think this list could seriously benefit from broadening its scope to Mental Health in general and not just the software industry. For this purpose, I propose that industry-specific resources be moved to their own heading.
On the other hand, I think we could add a small disclaimer regarding evidence-based resources on CONTRIBUTING.md, I think it's important to make clear that resources should have a background in evidence-based psychotherapy (and not just pop psychology).
Finally, the list could take a broader scope in self-help tools. I'm not sure if the awesome manifesto puts any restriction on introductions, but the list could include a short disclaimer on how (and how not) to use the resources, and getting  professional help if necessary.

I'm thinking of something in the lines of:

This list compiles several self-help resources we've personally found useful for a range of mental health problems, but in no way are they a replacement of professional help, psychotherapy or pharmacotherapy. We're not experts and even if we were, most of these tools are meant as an aid to therapy.
If you're in a crisis, please see here for resources in your country.

As for CONTRIBUTING.md:

When adding a resource, please keep in mind the evidence backing up its use. Especially when talking about therapy, it's important that there is high-quality clinical evidence for it. Small tools or apps, and articles of personal experience are exempt from this.

Hi @agucova!
This looks like an awesome idea to add to the project! Do you want to create a PR to add the information? If not, I can work on it :smile:
Thank you very much! :hugs:

Sorry for the late reply, I'll be making a pull request soon with a first pass on the updates.

That's the first step, I added the disclaimers and made several small changes to the README and CONTRIBUTING.
What's more involved is organizing the resources themselves, I'll be working on that on another pull request.

I'm disagreed with the OP. My considirations:

First of all, the awesome <name> initiative came from IT-society where is its goal to gather and group useful sources in specific themes. Like awesome python, awesome javascript and so on.

Broadering the theme of this repo to "Mental Health in general" will eventually turn it into a list of study literature of a psychologist/psychiatrist. The narrow of the topic allows to keep it relativly small. Or at least not to grow exponentially.

IT-professionals have their specific problems and nuances. For me as for a programmer it is for example "burningout"-s which I faced my self. Or for example remote work which also can give you more stress than fun if you can't adapt to it. And solutions for this problems for me as for an IT-specialist could be different that for other people.

I think the better way, which would be more in awesome project spirit, is to make vice versa - add a small "general mental health" section. By analogy with other awesome projects - you have python awesome list wich has a few django links, but if you need more django stuff you go in a dedicated awesome django.

@Alkalit As for your first consideration, the awesome project has emphatically tried to promote non-tech lists for a long time now (see this issue), with lists such as Awesome Economics, Awesome Music, Awesome Agriculture and so on. Although the project did start as IT-specific, it has gone a lot further since then.
As for the second consideration, there are countless lists with very broad topics, what's important is to clarify its scope and only add "awesome" stuff, not just a compilation of every resource in the field. If we keep it narrowed to self help (for which awesome content is really not that abundant), there is no reason as to why it should grow exponentially. The scope could also be narrowed even further to just digital tools for self-help, I'm thinking of CBT chatbots, open source apps, open books, and things like that.
Finally, I completely agree that there are a lot of nuances that are industry-specific to IT and programmers, but as I suggested initially, we could simply move it to its own category (with the caveat being that it'll require a big overhaul of the list).

I'm going to close this issue because it has been tackled on https://github.com/dreamingechoes/awesome-mental-health/pull/18 PR already. Thank you @agucova and @Alkalit! 😄


Namespaced variable names

Using common words can cause conflicts with CSS properties defined in other projects at the same level. small for example, refers to slightly smaller text in your CSS, but in my project I might be using small as a screen size or max width.
I'd suggest coming up with a short prefix to use on your variables to prevent issues like this; --surc-small for example.

This has been fixed in pull request #4


[FLINK-17700][python] The callback client of JavaGatewayServer should…

What is the purpose of the change
When starting the JavaGatewayServer, a callback client would also be created and run in a ScheduleExecutorService's thread which is non-daemon by default. Thus, we need to shut down the non-daemon thread and reset a daemon thread back to the call back client.
Brief change log

shut down the non-daemon thread and reset a daemon thread back to the call back client in startGatewayServer() in PythonDriver.py.

Verifying this change
This pull request can be verified by all pyflink table API tests which need to start the communication between python process and java process.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): ( no)
The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
The serializers: (no )
The runtime per-record code paths (performance sensitive): ( no )
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: ( no )
The S3 file system connector: ( no )

Documentation

Does this pull request introduce a new feature? ( no)

Merged via 2bc4628876715698c9bae542e36014344a93c42b


How to mitigate brute force attacks?

Do you have a document on how to mitigate the brute force login attacks?

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

ID: b59d5bc1-0e5e-4183-58e3-da7b20a450c6
Version Independent ID: 1c8c8961-2caa-b3ae-7bb2-9ca61a3fdf5b
Content: Monitor identity and access in Azure Security Center
Content Source: articles/security-center/security-center-identity-access.md
Service: security-center
GitHub Login: @YuriDio
Microsoft Alias: yurid

@aaronralls Thanks for the feedback. We are actively investigating and will get back to you soon.

@aaronralls Please refer to below article and scroll to Recommended remediation and mitigation steps section.
https://azure.microsoft.com/en-us/blog/how-azure-security-center-detects-ddos-attack-using-cyber-threat-intelligence/
Another , good reference is this external blog  - Brute-force attack mitigation on Microsoft Azure
@YuriDio This seems to be an document enhancement opportunity. Please review.

@aaronralls - I hope the links provided in this PR assisted you.
@MohitGargMSFT - Thank you for suggesting a document enhancement and I've shared that suggestion with the current author for Azure Security Center. This article is specific to how Security Center monitors identity and access activity so the update, if made, will be to a different article or the update will be a new article.
#please-close

@aaronralls Hi Aaron, thanks for letting us know that this is something that would be helpful to you. We are in the process of improving the remediation steps for all the Alerts in Security Center. It will take some time until you see an impact in the product, but your input helps the development team prioritize this project. Thanks again for the feedback.


Add: RedHat-Middleware-Workshops/spring-to-quarkus-todo (Spring Boot -> Quarkus)

https://github.com/RedHat-Middleware-Workshops/spring-to-quarkus-todo
This tutorial takes a Spring Boot application using Spring MVC, Spring Data JPA, and a PostgreSQL database and converts it to Quarkus with little-to-no source code changes. It uses the [Red Hat Migration Toolkit for Applications](https://developers.redhat.com/products/mta/overview) to analyze the Spring Boot application and offer suggestions for how to migrate it to Quarkus

This has been used in past by WindUp team with migration target 'quarkus' for testing rules


Syntax error

With this config in my ghaction:
      - name: Cache Docker images.
        uses<EMAIL_ADDRESS>        with:
          key: docker-${{ runner.os }}-${{ hashFiles('Makefile', 'docker/**', '.dockerignore') }}

I get this error:
Post job cleanup.
Listing Docker images.
docker image list --format "{{ .Repository }}:{{ .Tag }}"
app-api-tools:elastic-clusters-9736687
<none>:<none>
<none>:<none>
860771757009.dkr.ecr.us-east-1.amazonaws.com/api-server:elastic-clusters-9736687
api:elastic-clusters-9736687
node:16-alpine
node:18-alpine
alpine:3.15
alpine:3.16
alpine:3.17
python:3.9-slim
node:16
node:18
buildpack-deps:buster
buildpack-deps:bullseye
debian:10
debian:11
ubuntu:[2](https://github.com/appSolutionsInc/app-api-server/actions/runs/5347477564/jobs/9696014201#step:19:2)0.04
ubuntu:22.04
ubuntu:18.04
moby/buildkit:latest
node:14
node:14-alpine
alpine:[3](https://github.com/appSolutionsInc/app-api-server/actions/runs/5347477564/jobs/9696014201#step:19:3).1[4](https://github.com/appSolutionsInc/app-api-server/actions/runs/5347477564/jobs/9696014201#step:19:4)
mysql:[5](https://github.com/appSolutionsInc/app-api-server/actions/runs/5347477564/jobs/9696014201#step:19:5).7.38
localstack/localstack:0.14.0

Images present before restore step will be skipped; only new images will be saved.
docker save --output ~/.docker-images.tar app-api-tools:elastic-clusters-973[6](https://github.com/appSolutionsInc/app-api-server/actions/runs/5347477564/jobs/9696014201#step:19:6)68[7](https://github.com/appSolutionsInc/app-api-server/actions/runs/5347477564/jobs/9696014201#step:19:7) <none>:<none> <none>:<none> [8](https://github.com/appSolutionsInc/app-api-server/actions/runs/5347477564/jobs/9696014201#step:19:8)6077175700[9](https://github.com/appSolutionsInc/app-api-server/actions/runs/5347477564/jobs/9696014201#step:19:9).dkr.ecr.us-east-1.amazonaws.com/api-server:elastic-clusters-9736687 api:elastic-clusters-9736687 python:3.9-slim mysql:5.7.38 localstack/localstack:0.[14](https://github.com/appSolutionsInc/app-api-server/actions/runs/5347477564/jobs/9696014201#step:19:14).0
Error: Error: Command failed: docker save --output ~/.docker-images.tar app-api-tools:elastic-clusters-9736687 <none>:<none> <none>:<none> 86077[17](https://github.com/appSolutionsInc/app-api-server/actions/runs/5347477564/jobs/9696014201#step:19:17)57009.dkr.ecr.us-east-1.amazonaws.com/api-server:elastic-clusters-9736687 api:elastic-clusters-9736687 python:3.9-slim mysql:5.7.38 localstack/localstack:0.14.0
/usr/bin/bash: -c: line 1: syntax error near unexpected token `<'
/usr/bin/bash: -c: line 1: `docker save --output ~/.docker-images.tar app-api-tools:elastic-clusters-9736687 <none>:<none> <none>:<none><PHONE_NUMBER>09.dkr.ecr.us-east-1.amazonaws.com/api-server:elastic-clusters-9736687 api:elastic-clusters-9736687 python:3.9-slim mysql:5.7.38 localstack/localstack:0.14.0'

It looks like some of your Docker images don't have names, which is not a case we handle right now. Are you able to tag them? Alternatively, we would be open to a pull request to use {{ .ID }} rather than {{ .Repository }}:{{ .Tag }} as the format for the docker image list and docker save commands. It would be slightly complicated by the fact that we would want to continue showing the output of docker image list --format {{ .Repository }}:{{ .Tag }} in the logs since it's more readable than raw hexadecimal image IDs.

@threewordphrase, do you have any thoughts on the linked PR? As a user, I would personally prefer that the action fail so that I realize I have forgotten to name and tag some Docker images. I would love input from others on this though since I have never actually used an anonymous Docker image before, and I don't know what purpose they serve.

Instead of tags we are using sha256 to pull the correct image (see https://rockbag.medium.com/why-you-should-pin-your-docker-images-with-sha-instead-of-tags-fd132443b8a6 for the reasoning).
So we use this in our docker-compose.yml:
redis:
    image: cgr.dev/chainguard/redis@sha256:cd0eb6030e86577bbf24c18e7d6ff1f84b2bce4b9f1d74f2bd0fba170e728165

This also then turns into <none> for the tag, which obviously fails the same way you already described. Would it be possible to support using sha256? Or how would we go about this?

Thank you for reaching out, @ChaosCoder. I appreciate you raising this use case. As a temporary workaround, you could manually tag the image, but I recently realized a simple way for us to support images that are missing either a name or a tag. I have linked my pull request in case you have any feedback. I added a test case for an image without a name, but I wonder if you might know how to create an image without a tag using the docker CLI short of pushing it and then pulling it by its digest?


where is the implements of focal loss for multi-label classification

Thank you very much for your insights!
I have a few question, where is the implements of focal loss for multi-label classification?
best regard!
dongliang

Hi dongliang
currently, we do not provide multi-label classification implementation, but it will be available
in 1-2 months

OK, I'm looking forward to your implements, Thanks!

see
https://github.com/Alibaba-MIIL/ASL


Display transferred data amounts and rate in live stats

As mentioned at https://github.com/restic/restic/commit/ff785924de95a07c800180f692c9e5d948431935#commitcomment-29388450, it would be nice if the live stats displayed the amount of actually transferred data and the rate at which it is sent.
It would also be nice if it could display the "overhead," i.e. how much data is sent and received from the remote backend that is not actual backed-up data (e.g. Obnam has a nice summary of overhead at the end of a backup run).  It might not be useful to do show the overhead for local repositories.

Closing this as it's a duplicate of #1581.

@MichaelEischer Since that issue does not mention overhead, it would be appreciated if you would copy that part of my request to that issue.  Otherwise, by closing this issue as a duplicate, that part of my request is effectively lost.

@alphapapa I've copied the overhead part over to #1581, sorry I've somehow missed that part. This issue is clearly related to #1581, so I would have expected at least a corresponding comment. So I guess the duplication just got missed.

Thanks!


List of board members

Are we going to elect officers first before publishing who are board members or are we first publishing board member names in alphabetical order or any other more preferable order?
Also do we all agree on publishing our name? I agree.

I also agree. I'd say we can puvblish the names now and add the "offices" to the list later.

I also agree

I agree. We can publish the officer roles once we have decided who wants to do what. :)

I agree on my name being mentioned and publishing names before roles are decided. Please also ask the interring board whether they are OK to be named (for posterity).

I agree, and I am fine with names being published.

Updated and merged!


Optimize forwarded calls

Fixes [#312]
@Earlopain do you have a minute to review the PR? 🙏

Did you manage to get the same 3% speedup?

This looks fine to me, benchmarking confirms:
Current:
$ hyperfine -w 3 -r 20 "bundle exec rubocop Rakefile"
Benchmark 1: bundle exec rubocop Rakefile
  Time (mean ± σ):      2.907 s ±  0.133 s    [User: 2.458 s, System: 0.242 s]
  Range (min … max):    2.802 s …  3.408 s    20 runs

PR:
$ hyperfine -w 3 -r 20 "bundle exec rubocop Rakefile"
Benchmark 1: bundle exec rubocop Rakefile
  Time (mean ± σ):      2.695 s ±  0.084 s    [User: 2.297 s, System: 0.229 s]
  Range (min … max):    2.596 s …  2.918 s    20 runs

This is with the changes from rubocop itself already applied. It's a weaker machine than the other benchmark so numbers are different and apparently matter even more since it's about 7% just with this change. I haven't tested but it's probably that file system operations are similarly fast while the CPU is not (or something similar to that effect).
Either way, still achives the original goal. Thanks!

Thanks!
Released as 1.32.2
I'd recommend using that in rubocop too.


How to write a dataset of serialized examples directly to a tfrecords file?

I tried asking the broader community for this, but nothing came back, so I'm asking it here.
I have a tf.data.Dataset that contains serialized tfrecord/protobuf examples:
>>> example = ds.make_one_shot_iterator().get_next()
>>> example
<tf.Tensor: id=42, shape=(), dtype=string, numpy=b'\n\xdd:\n\r\n\x01y\x12\x08\x12\x06\n\x...'>

So each example in the dataset ds is just a flat byte string.
What I'd like to do is to write these byte strings to disk (tfrecords file). The way I know to do this is to go through python land. For instance, using a tf1 session, this would look like:
example = ds.make_one_shot_iterator().get_next()

with tf.io.TFRecordWriter("/path/to/output/data.tfrecords") as w:
    with tf.Session() as sess:
        w.write(sess.run(example))

This doesn't feel very efficient to me. So my question is:

Is there a way that I can write this to a file without having to go through the python layer?

Does the following guide address your question?
cc @MarkDaoust

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


Check out Sneaker

Here is a go implementation of something similar to credstash : sneaker
It may make sense to take a look at it and see if there are any ideas that we should use from it.

I've been meaning to look into KMS master key rotation, but I really like the key rotation command that's in sneaker: https://github.com/codahale/sneaker/blob/master/rotate.go
For credstash, it would just be a matter of get-ing and then put-ing a secret (or secrets if we wildcard or getall them).

Another neat thing that we should borrow is setting the KMS master key via env variable. credstash can select the kms key via cli argument, but being able to set an ENV variable as well would be cool


Print description of logging behavior on spin up

"How can I see logs?" is a recurring question in Discord. We should at least print a description of how to find logs on spin up, maybe something like:
Writing app output to <path>; pass --follow-all to see it here on the console.

Ref https://github.com/fermyon/spin/issues/928, https://github.com/fermyon/spin/pull/974#discussion_r1050794287

Now that we've made follow-all the default experience, can we close this issue or do you think more should be done here?

Feel free to re-open


Give gufunc a name

Currently if we throw _GUFunc to cupyx.time.repeat we get this error:
AttributeError: '_GUFunc' object has no attribute '__name__'

So this PR fixes it. Though, I am not sure if assigning the name of the wrapped function to the _GUFunc object is a good idea. Suggestions welcome!

Jenkins, test this please

Jenkins CI test (for commit 6c96c9999f020bb60b332e37e408e50fc9691d0b, target branch master) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit 6c96c9999f020bb60b332e37e408e50fc9691d0b, target branch master) succeeded!


Assembly resolving failed:

Hi
I'm getting this error and I'm not sure why please can you help.
Assembly resolving failed:
VBA_TOOLS is requesting for: Newtonsoft.json
error: String cannot have zreo length.
this error in on a windows 7 Pro SP1 pc
but the code is working on a windows 10 laptop.

Can you add what you tried to do so we can try to replicate the issue?

using the drag and drop box in excel version 2016

I have just tried to use the DialogRich code and got this error on the same PC and the other errors.
Run-Time error '-2147024894 (80070002): Could not load file or assembly 'Nestonsoft.json, Version-<IP_ADDRESS>, Cultrue=neutral,PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified

I assume the bin folder is missing. The bin folder has those dlls in it. try to copy the bin folder where the vba_tools.dll is.

it was running across a mapped network drive and I believe that is what was causing the issue, many thanks Matt


200 MB of dependencies for this?

Describe the bug
Create an empty node project. Install this npm package. Several minutes later your node_modules folder takes up 200+ MB.
Is that really necessary? Why does a JavaScript auth helper pull in all of React Native (59.6 MB)? I'm not using any flavor of React.
Also there's warnings about 9 deprecated packages this library depends on.
Please clean up your dependencies!
Expected Behavior
This dependency should not increase the size of my docker image by 40% for the sake of withAPIKey(...).getLocationClientConfig().
Current Behavior
My node_modules folder went from 100 MB to 300 MB just from this one package!
Reproduction Steps
Create an empy node project. Install this npm package. Several minutes later your node_modules folder takes up 200+ MB.
Possible Solution
No response
Additional Information/Context
No response
Environment details (OS name and version, browser, etc.)
Irrelevant

Hi @jtmueller, thank you for bringing up the concern. We are currently working diligently to pinpoint the root cause and implement a solution for it.

@vinguthh thanks. I might be able to save you some time, the root cause is the @aws-amplify/core package, which is "a JavaScript library for frontend and mobile developers building cloud-enabled applications."
I'm attempting to build a back-end, Node application. I do not require 200MB of front-end dependencies, and my Docker image would be significantly smaller without all that stuff. I would greatly appreciate a version of this library without front-end depdendencies, or a suggestion as to what I can replace amazon-location-utilities-auth-helper with for back-end, Node.js code.
Thanks!

I'm also facing the same issue and was preventing my deployment to Lambda.

I repro'd this from an empty repo:
npm init
npm install npm install @aws/amazon-location-utilities-auth-helper
cd node_modules
du -h

This output from this is 280MB, I'll take a look at this.

I did a quick test by updating to the latest versions of our dependencies:
"dependencies": {
    "@aws-amplify/core": "^6.0.27",
    "@aws-sdk/client-location": "^3.549.0",
    "@aws-sdk/credential-providers": "^3.549.0",
    "@aws-sdk/types": "^3.535.0"
  },

This results in a node_modules folder of 37mb, which is much better :) So it seems the packages have trimmed their dependencies upstream.
There appear to be some breaking API changes with this update, so I'm looking into them now.

The updating of @aws-sdk/client-location, @aws-sdk/credential-providers, and @aws-sdk/types packages was straightforward, but when updating to the latest version of @aws-amplify/core it was discovered that the latest versions no longer export the Signer class we are using for generating a sigv4 signed URL in cognito mode.
Unfortunately, if I go back to a version of the package that still exports the Signer class, its dependencies hadn't been trimmed at that point so it still pulls in ~120MB.
I'm investigating some potential solutions to replace the Signer usage.

I've posted a PR https://github.com/aws-geospatial/amazon-location-utilities-auth-helper-js/pull/35 that reduces our dependencies to 19MB.

I've merged the PR, will publish a new release on Monday.

@jtmueller @raisen A new version 1.0.6 has been published that has this fix:
<EMAIL_ADDRESS>


Added possible positions for the background property on line 9

This property can be place in an external CSS file, at the top of the html css or inline with the elements style property.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding. ✈


Interactive/on-demand profiling

This speaks only to a "development" use case and is a little speculative / experimental: for uniformity of workflow, it is going to be attractive to run sonar with relatively high frequency during interactive development runs and to capture the data in a private log, which can then be analyzed using sonalyze.  The complexity of implementing this will be low.  Only the user's data will be captured but with higher frequency than normal, giving a more complete picture of how the job is running.  A typical use would be to be start sonalyze log in a separate window or in the background (much in the manner of the way one would use top) and then kick off some work, killing the logger when the work is finished:
sonalyze log [filtering options] logfile-name

where the filtering options would include at least the possibility of filtering by command name.  Then sonalyze would be run on this logfile using the normal switches:
sonalyze load --fmt=rcpu,rmem,rgpu -- logfile-name

Clearly, for very serious analysis a better tool such as perf might be brought to bear, but for a general but relatively high-resolution overview of how the job is doing, this would be a low-threshold interface.

There are two separate problems here.  One is to run sonar with higher frequency to capture a particular job.  The other is to view the resulting data.  These are orthogonal.
For the second issue, and contradicting what I wrote above I think that sonalyze load is not the right interface.  What we want is a completely job-centric and non-aggregating view, so sonalyze jobs is also not right.  Consider instead, based on the use case from #32:
$ sonalyze profile -j 12345
time              cpu-avg  cpu-peak  mem-avg  mem-peak  cmd
2023-10-23 23:15
                  612      3112      6        7         bwa
2023-10-23 23:20
                  1248     3090      6        7         bwa
2023-10-23 23:25
                  1200     3230      6        7         bwa
                  97       128       260      275       samtools
2023-10-23 23:30
                  1248     3090      6        7         bwa
                  97       128       260      275       samtools
...
2023-10-24 07:05
                  1248     3090      6        7         bwa
                  312      610       265      280       samtools
2023-10-24 07:10
                  507      1130      6        7         bwa
                  600      690       265      280       samtools
2023-10-24 07:15
                  590      680       265      280       samtools
2023-10-24 07:20
                  595      690       265      280       samtools
...

The logic here on a single host is plain: each command in the job gets presented with its resource usage during the last time slot (not in aggregate across the run).
On multiple hosts, it's not completely clear what the best thing to do is, since the above report is tied to timeslot and the timing of sampling on different hosts can differ.  It may be that in that case, we choose a time interval (say 5 minutes) and normalize all samples to a clock running at that pace.

And a note on collecting sonar data on demand: this is helpful not only to get the higher frequency but for systems that don't normally run sonar, like VMs in certain cloud systems.  @PubuduSaneth
To expand on the sketch in https://github.com/NAICNO/Jobanalyzer/issues/9#issue-1828609291, perhaps:
$ sonalyze log --start [options] -- logfile-name
$ mycommand ...
$ sonalyze log --stop

where options might also include the frequency of logging and the location of the sonar binary.

The two use cases seem compelling enough that I will add them to M1.

In the case of sonalyze log, it should definitely run sonar without --rollup.  Rolling up processes during sampling will interfere with good analysis.  It may very well be a misfeature.  On the ML nodes we currently run sonar with --rollup, but I think if we examine the logs we will see that it is rarely used.
(Drifting into the weeds) What I don't know is how it will impact, say, MPI jobs on large nodes.  Suppose we have 64 true cores on a node and crank up an MPI job that creates 64 processes, all of the same name.  With --rollup these are rolled into one tidy record; without, they are separate records with 64x the log data volume.  Of course, if we're profiling we might be interested in seeing these processes individually...

Here's actual output for the job from #32:
time              cpu   mem  gpu  gpumem  cmd
2023-10-21 08:35  3075  5    0    0       bwa
2023-10-21 08:40  3094  5    0    0       bwa
2023-10-21 08:45  3082  5    0    0       bwa
                  11    259  0    0       samtools
2023-10-21 08:50  3089  5    0    0       bwa
                  12    259  0    0       samtools
2023-10-21 08:55  3082  5    0    0       bwa
                  11    259  0    0       samtools
2023-10-21 09:00  3091  5    0    0       bwa
                  14    262  0    0       samtools
2023-10-21 09:05  3091  5    0    0       bwa
                  11    262  0    0       samtools
...
2023-10-22 00:35  3109  6    0    0       bwa
                  11    280  0    0       samtools
2023-10-22 00:40  3096  6    0    0       bwa
                  11    280  0    0       samtools
2023-10-22 00:45  3108  6    0    0       bwa
                  11    280  0    0       samtools
2023-10-22 00:50  3107  6    0    0       bwa
                  13    280  0    0       samtools
2023-10-22 00:55  97    281  0    0       samtools
2023-10-22 01:00  575   281  0    0       samtools
2023-10-22 01:05  620   281  0    0       samtools
2023-10-22 01:10  625   281  0    0       samtools
2023-10-22 01:15  638   281  0    0       samtools
...


No Commas Before BREAK

What feature do you want or what suggestions do you have?
Formatter should not put commas before BREAK. It causes it to be incompatible with Regional Prompter's prompt mode

Modified.


Buildproblem

Dear BioID Team,
I try to build the BWSClient-WebApp using
dotnet build  -configuration Release x64 --self-contained true
but I get error MSB1001: Unknown switch
I use .Net8 and Visual Studio Code (latest version)
Thanks for an advice
dotnet build  -configuration Release  --self-contained true

Hello Harald-B-Rupp,
Please use '--configuration Release' or '-c Release' for configuration parameters.
We have corrected the typo in the description.
dotnet build --configuration Release --self-contained true
or
dotnet build -c Release --self-contained true
If you still have problems, we are happy to help.
BioID Team

Dear BioID Team,
thanks for the support, I will close the Issue
Best Regards Harald


Add push_toast function

#159  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @acco and the rest of your teammates on  Graphite


Fix e2e test can not find 'Delete' element in the FireFox in Linux

Fixes https://github.com/Azure/azure-dev/issues/291
Update files:

./templates/todo/common/tests/todo.spec.ts

@jongio for notification.
Migrated from azure/azure-dev-pr#1362

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples
Branch: pr/149
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/149

View Changes | Compare Changes

Project: todo-csharp-mongo
Remote: azure-samples
Branch: pr/149
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-mongo -b pr/149

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples
Branch: pr/149
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/149

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples
Branch: pr/149
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/149

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples
Branch: pr/149
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/149

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples
Branch: pr/149
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/149

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples
Branch: pr/149
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/149

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples
Branch: pr/149
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/149

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples
Branch: pr/149
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/149

View Changes | Compare Changes

@wbreza Issue https://github.com/Azure/azure-dev/issues/291 can't be reproduced. Maybe we can close this PR?


[BUG] [Android] Dissalow further propagation for touch events

Description
When SKCanvasView is placed inside, for example, ScrollViewer then touch events are intercepted even though e.Handled = args.Handled.
Here is a link to the SO topic with proper description of the issue:
ACTION_CANCEL while touching
And with advise how to handle it.
Code
With slight modification to demo app:
https://github.com/mattleibow/SkiaSharpDemo/tree/master/SkiaSharpDemo/SkiaSharpDemo
Add ListView to the bottom and Label to the top of the StackLayout:
    <ScrollView>
        <StackLayout>
            <Label Text="Some text" HorizontalOptions="Center" />
            <views:SKCanvasView HeightRequest="300"
                                WidthRequest="400"
                                HorizontalOptions="Center"
                                PaintSurface="OnPainting" EnableTouchEvents="True" Touch="OnTouch" />
            <ListView  />
        </StackLayout>
    </ScrollView>

I also changed background color but it's doesn't related.
Expected Behavior
Content doesn't scroll when user drags inside of SKCanvasView.
Actual Behavior
It does scroll:

Basic Information

Version with issue:  latest stable (1.68.0)
Last known good version:  none
IDE:  Visual Studio
Platform Target Frameworks: - Android: 8.1

Reproduction Link
Since it's very easy to modify demo I haven't uploaded MCVE anywhere. But I could if it's required.

@axeluser can you look at a fix for this?
We tried disabling the scrollview on initial touch (after your PR in Xamarin.Forms) but that doesn't prevent subsequent touch events from being eaten by the scrollview.

So, I had a look and tested a few things.
What I found was that UWP works in that as soon as you start drawing, it captures the pointer and won't scroll. This PR will fix it for Android.
I checked iOS and there is no easy way to prevent the bubbling of events, so it always scrolls. I fill that it is correct to stop scrolling, so we should probably fix iOS as well.
Not sure what Tizen, macOS, WPF will do.
But then again, maybe UWP is wrong. If you want to work with gestures and touch evens inside the canvas, you either disable the scroll on the scrollview, or you don't put the canvas inside the scrollview.

I can check WPF but not iOS since I don't have device or emulator.
I've found this with quick search:
Stop ScrollView scrolling from child elements (works in Android but not iOS)
but I think there is easier and better way to achieve it.

I think the issue is there is a bug: https://github.com/xamarin/Xamarin.Forms/issues/8497
The correct way would be to track the touch events, and when you start dragging, you disable the scroll.

Matching @FoggyFinder , we have the scrolling problem on Android.
iOS appears to be working as expected for us though @mattleibow (clicking and dragging inside the box doesn't scroll, which is what we want)
I think if your fix works for Android, then that would work in our case on all the devices we've tested

I think the issue is there is a bug: xamarin/Xamarin.Forms#8497

@mattleibow I see. Almost 3 weeks past without any responses and I have feeling that it won't be changed in foreseeable future. No, really I understand why - ScrollOrientation.Neither was added relatively recently and there are much more important bugs to fix.

The correct way would be to track the touch events, and when you start dragging, you disable the scroll.

But currently, as far as I can tell, there is no such way, isn't it?
I do think having a fix (even temporary) much better than nothing.

Did anyone find a workaround for this issue?

For .NET MAUI: https://github.com/dotnet/maui/discussions/18758


Add a JSON-feed

JSON feed looks awesome. I should add one to my site. 😄
I should be able to do this with a template like the one in this project: https://github.com/vallieres/jekyll-json-feed. Ideally, it would be structurally consistent with my existing feed (which contains the full text of the last 10 posts).

@bryanbraun
I would like to give this a try, I would also like to try out another issue with your logo as well, but im gonna go at this first

Awesome! 🎉
Let me know if you get stuck or have any questions. 😄

I am just trying to get Jekyll setup right now. , Are you looking for a feed to be located on any page?

Maybe we can set it up at bryanbraun.com/feed.json? I don't think we need to link to it from anywhere just yet, if that's what you're asking.

Sounds good. I will get that up tomorrow during the holiday !

This has been merged. Thanks for the help!


Feature: Action to explicitly import a path

I often want to add use statements before writing the code that uses them, either because I need autocomplete to actually be definitive or because I'm trying to add a glob import (especially a crate::prelude::* import). I really wish Rust Analyzer had an explicit action that let me provide a path that it would import. The primary benefit here is having it keep my imports organized according to my configured auto-import settings. This is especially useful when I'm trying to add an import for which a group doesn't exist yet and I can't remember the correct ordering of import groups.
Bonus points if this same feature can also tell me what other paths I've already imported whose prefix matches what I'm typing. That way I could trigger this action and use it to check what I've already imported from a given crate/module without having to scroll to the top and back down.
This feature could also help with the problem of adding imports at scopes other than module scope, as there could be variants on the action for importing at function scope or innermost block scope (also see #8103).

It's kind of hard to implement something like this with LSP; it would need custom protocol extensions and custom UI in each client. But you can basically already do this: just type the path you want and trigger the "Replace qualified with use" assist. You even get completion this way.


fix(popup-title-bar): remove scoped prop in style tag

背景描述

去除scoped标识，导致产出的css带module标识 #618
主要改动

需要注意

Codecov Report

Merging #620 into dev will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #620      +/-   ##
==========================================
- Coverage   83.43%   83.36%   -0.08%
==========================================
  Files          98       98
  Lines        2765     2765
  Branches      524      524
==========================================
- Hits         2307     2305       -2
- Misses        314      315       +1
- Partials      144      145       +1

Impacted Files
Coverage Δ

components/popup/title-bar.vue
100% <ø> (ø)
:arrow_up:

components/date-picker/index.vue
92.89% <0%> (-1.02%)
:arrow_down:

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 9c2258c...50dda99. Read the comment docs.


Allow natural weapons to make ranged attacks without "thrown"

Reworks how activities fetch their list of available attack types so they can display "Default (melee or ranged)" in the attack activity dialog if relevant (such as thrown melee weapons).
Adjust how that list of valid attack types is generated to that natural weapons can have ranged attacks so long as they have a range value. To ensure modifiers are properly supported this adds a new attack mode of "Ranged" for natural weapons that don't have the thrown property.
Fixes a bug with extra melee critical damage dice being applied even when the weapon is thrown.
Also fixes a bug causing the "reach" migration to be applied when switching weapon modes.

Certainly gonna be very nice to not have your own hands decrease in quantity just because you got long arms.


 It is worth noting that this happens regardless of any changed values.
Minecraft 1.16.5
Forge 36.1.4
NaturesAura-34.2
astralsorcery-1.16.4-1.13.9
NaturesStarlight-1.1

Cannot reproduce. Are you sure you specified valid values for your config?
Please send the full startup log as well as your current config.

I don't know what to say, to be honest - I reinstalled all of those things again and it didn't happen anymore. Weird. Sorry to take up your time, I guess the download was messed up somehow.

Okay, so I actually have had it happen again in a testing environment while I was testing something for an unrelated mod issue, so I switched gears into trying to figure out what was causing it... and still came up short. I did get logs this time, though!
These logs are from after deleting the entire config folder to allow it to repopulate itself(aka: no configs were edited from their supposed default values at all), and ensuring that only Astral Sorcery, ObserverLib, Curios, Nature's Aura, Nature's Starlight, and Patchouli were installed.
latest.log
debug.log
There seems to be something in the debug log about it, I think.

@Ellpeck @Febilian
This isn't a single instance, I'm almost cursed by this particular problem using this mod, so here's more evidence for you.
Nature's starlight config is having a fit on itself of being incorrect via forge; what is the highest version of an enchant that can be applied for thorns and efficiency?
#The enchantments that can be applied using stellar refraction, along with the minimum and maximum applied levels
engravingEnchantments = ["naturesaura:aura_mending, 1, 1", "minecraft:silk_touch, 1, 1", "minecraft:efficiency, 5, 6", "minecraft:thorns, 4, 6"]
this is default.
and I can't help thinking the pack is having a cow about it for both thorns and efficiency.
This is spammed constantly every ten seconds and ends up lagging out worlds. "[09:06:51] [Thread-1/WARN] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Configuration file /Applications/MultiMC.app/Contents/MacOS/instances/Enigmatica 6 - E6 - 1.16.5/minecraft/config/naturesstarlight-common.toml is not correct. Correcting" every. ten seconds.

This issue was already fixed, there just hasn't been an official update for it yet. If you want to, you can download the preview version.

I'm trying this out with Enigmatica 6, and I'm getting the exact same error, as a heads up. With the preview version.

you should try updating forge, I had a similar issue which users have only experienced on 36.1.4 forge

@Ellpeck This is a forge bug not a Mod Bug. (Config basically reads 0 values when this message was displayed (used a debug tool to see what it compares against) causing a false positive).
The only Exception is with arrays. If arrays get reset to their default values after you changed them then you used "define" for "defineInList".

That issue has been fixed a while ago, there's just no release for it yet.
You can download a preview version, though.


Fix invalid method reference

https://ocd.appscale.com:8080/job/Daily Build/2732/

Demo:
Transactional task test on master: https://ocd.appscale.com:8080/job/Hawkeye/10158/
This branch: https://ocd.appscale.com:8080/job/Hawkeye/10157/


Fix harness = false on [lib] sections

Now that this is fixed upstream, we can actually add a test for this!
Closes #2305

r? @wycats
(rust_highfive has picked a reviewer for you, use r? to override)

r? @brson

@bors r+

:pushpin: Commit c88c7af has been approved by brson

:hourglass: Testing commit c88c7af with merge 80f2775...

:broken_heart: Test failed - cargo-win-msvc-64

@bors: retry
On Mon, Jun 20, 2016 at 6:50 PM, bors<EMAIL_ADDRESS>wrote:

💔 Test failed - cargo-win-msvc-64
http://buildbot.rust-lang.org/builders/cargo-win-msvc-64/builds/514
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang/cargo/pull/2795#issuecomment-227319540, or mute
the thread
https://github.com/notifications/unsubscribe/AAD95P6cSj8FoPMRGfe5GxDKFl0womvRks5qN0OBgaJpZM4I54WK
.

:zap: Previous build results for cargo-cross-linux are reusable. Rebuilding only cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64...

:broken_heart: Test failed - cargo-linux-64

@bors: r=brson

:pushpin: Commit f0910bc has been approved by brson

:hourglass: Testing commit f0910bc with merge 0ce597d...

:broken_heart: Test failed - cargo-mac-64

@bors: r=brson

:pushpin: Commit f9d9379 has been approved by brson

:hourglass: Testing commit f9d9379 with merge c465dd7...

:broken_heart: Test failed - cargo-cross-linux

:hourglass: Testing commit b74fd0a with merge 50dad37...

:sunny: Test successful - cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


Teach language guesser that .cjs files are javascript

Full disclosure: this was an edit straight into Github, I've not tested this.

I just ran into this as well and came here to make this change. Glad somebody beat me to it!

Taking a hint from the These should probably be added to highlight.js auto-detection. comment, it seems language detection for mjs and cjs extensions were added to highlight.js in v9.17.0 - https://github.com/highlightjs/highlight.js/pull/2298, while unpkg is using 9.15.8.
A better fix would be to update highlight.js, and to remove the mjs line in the extLanguages object.


How to consume http_archive C++ headers?

I'm experimenting with http_archive, I but can't figure out how to consume it in a simple C++ program.  I'm using the buck2 getting started guide and incorporating easylogging as a simple test (header only version).
I modifed "main.cpp" to #include <easylogging++.h>, but I can't figure out the correct BUCK build file to get this to compile.  In the BUCK file, I added/modified:
http_archive(
  name = 'archive-easylogging',
  urls = [
    'https://github.com/abumq/easyloggingpp/releases/download/9.89/easyloggingpp_v9.89.tar.gz'
  ],
  sha256 = 'f91f2d3d560513c8a595f5ab0b10075e8fa7ee5eb92147a0925bc9a4183e0c48',
  visibility = ["PUBLIC"],
  sub_targets = ['easylogging++.h']
)

cxx_binary(
    name = "main",
...
    deps = [
        ":print",
        ":archive-easylogging",
    ],
    preprocessor_flags = ["-I$(location :archive-easylogging)"],
)

The above fails to compile as the easylogging++.h header file cannot be found.  I'm sure that I'm doing something wrong, but I'm new to buck/buck2/bazel.  The correct preprocessor_flags are not getting passed to the compiler.  I've searched the docs and issues, but I'm stumped.  Can someone show me the correct way to consume http_archives for C++?

What is being passed for -I?  Open your argsfile and see what its actually putting there.  buck2 log what-failed and then cat the argsfile that it references in the command line.
Your example looks correct to me (except that you dont' need the sub_targets attribute on the http_archive rule), and the same as what I'm doing in a situation where it works.

Commenting out the preprocessor_flags line has no effect on the args file.  Additional trace:
>buck2 log what-failed
Showing commands from: buck2 build //:main
build	root//:print (prelude//platforms:default#524f8da68ea2a374) (cxx_compile main.cpp)	local	env -- "TMPDIR=<<redacted>>/buck2/examples/hello_world/buck-out/v2/tmp/root/524f8da68ea2a374/__print__/cxx_compile/main.cpp" "BUCK_SCRATCH_PATH=buck-out/v2/tmp/root/524f8da68ea2a374/__print__/cxx_compile/main.cpp" "BUCK2_DAEMON_UUID=92a0cf09-03d4-425a-9b0d-9f2edac0475e" "BUCK_BUILD_ID=99ba42f0-f181-4798-811a-b626969b8a32" g++ -o buck-out/v2/gen/root/524f8da68ea2a374/__print__/__objects__/main.cpp.o @buck-out/v2/gen/root/524f8da68ea2a374/__print__/.cpp.argsfile -c ./main.cpp
>cat buck-out/v2/gen/root/524f8da68ea2a374/__print__/.cpp.argsfile
"-fdiagnostics-color=always"
-I
buck-out/v2/gen/root/524f8da68ea2a374/__print__/buck-headers

If that's the case, then something else must be going on unrelated to http_archive.  What if you change the line to preprocessor_flags = ["-Ifoo"]?  Does nothing still show up?

@zjturner preprocessor_flags = ["-Ifoo"] works.  Output of the *.argsfile:
"-fdiagnostics-color=always"
-I
buck-out/v2/gen/root/524f8da68ea2a374/__print__/buck-headers
-Ifoo

It's only the specific -I$(location... that seems to be the problem.  I hard-coded the resolved location and buck2 ignores the specific path:
    #1 preprocessor_flags = ["-Ibuck-out/v2/gen/root/524f8da68ea2a374/foo"]
    #2 preprocessor_flags = ["-Ibuck-out/v2/gen/root/524f8da68ea2a374/__archive-easylogging__/foo"]
    #3 preprocessor_flags = ["-Ibuck-out/v2/gen/root/524f8da68ea2a374/__archive-easylogging__/archive-easylogging_foo"]
    #4 preprocessor_flags = ["-Ibuck-out/v2/gen/root/524f8da68ea2a374/__archive-easylogging__/archive-easylogging"]

In the above, #1 - #3 with the artificial "foo" works, as I see the appropriate "-I" statement in the *.argsfile.  The #4 example does not get passed to the *.argsfile.
I don't know if this makes any difference, but I did modify the example to work with gcc.  In the toolchains/BUCK file:
# toolchains/BUCK
load("@prelude//toolchains:cxx.bzl", "system_cxx_toolchain")
load("@prelude//toolchains:python.bzl", "system_python_bootstrap_toolchain")

system_cxx_toolchain(
    name = "cxx",
    compiler_type = "gcc",
    compiler = "gcc",
    cxx_compiler = "g++",
    linker = "g++",
    visibility = ["PUBLIC"],
)

system_python_bootstrap_toolchain(
    name = "python_bootstrap",
    visibility = ["PUBLIC"],
)

Can someone verify that you get the same behavior? It should be very easy to reproduce.  I can also create a fork with the modifications if that makes it easier.

Update:  Using preprocessor_flags = ["-Ibuck-out/v2/gen/root/524f8da68ea2a374/__archive-easylogging__/archive-easylogging/foo"] also works.  It seems that something is filtering out the preprocessor flag when the top-level archive path is used.

Problem found.  It turns out that the issue has nothing to do with preprocessor_flags or http_archive().  The main.cpp file was incorrectly being compiled within cxx_library.  The pull request #501 fixes this issue so that things work as expected.

The http_archive and preprocessor_flags now work as expected when using the buck2 hello world getting started example as a starting point.


Target: pass through "iframe" types

Currently iframe target types are passed inside other type even when the actual information has the type 'iframe'. One sample is while opening anything on google drive, a target for OAuth can be seen with sample data in there:
targetId: "58521E586E76B7086CEA5F0A92B2378E", type: "iframe", title: "https://accounts.google.com/o/oauth2/postmessageR...

Any reason to not pass it as iframe type?

Any reason to not pass it as iframe type?

@VikramTiwari out-of-process iframes is a browser implementation detail and should be encapsulated inside the Puppeteer API. We don't want to expose any iframe targets; out-of-process iframes should be merged into the page frame tree.
Currently, we disable OOPIF as much as can, but certain origins are still pushed into OOPIF. There's an outstanding bug #2548 regarding this; please upvote to follow updates on that one.
Hope this helps,
Andrey


Memory attributes

Add memory attributes available on RokuOS 12.5+

Detected problems with RokuOS 12.5 beta, probably caused by a bug in RokuOS. Waiting to get a stable version from Roku.

The call to roAppMemoryMonitor.GetChannelAvailableMemory()  freezes the device, unless you put a special setting in your app's manifest: run_as_process=1 , in that case it works perfectly. Looks like a call to roAppMemoryMonitor.EnableMemoryWarningEvent(true) returns true when this configuration exist, and false otherwise, and thus it's only safe to call GetChannelAvailableMemory when it returns true.


VS Code freezes on editing jsdoc

VSCode Version: 1.16.1
OS Version: Windows 8.1

Steps to Reproduce:

Edit jsdoc that has something=[]
Put opening [ before something
VSCode freezes

Example:
* @param {object[]} something=[] Some description

Changing to
* @param {object[]} [something=[] Some description

Reproduces without extensions: Yes

Duplicate of https://github.com/Microsoft/TypeScript-TmLanguage/issues/515
Should be fixed in the next VScode insiders build


'NoneType' object is not callable

Hello There, Future Issue Creator!

[x ] OS mac
[x ] Python Version - Python 2.7.14 :: Anaconda, Inc.
[ ] Gooey Version  (how to find this?)
[x ] Thorough description of problem

Excerpt of terminal output after running
python setup.py install

To check the build, run the selftest.py script.

Copying Pillow-5.0.0-py2.7-macosx-10.6-x86_64.egg to /Users/mr/anaconda2/lib/python2.7/site-packages
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/Users/mr/anaconda2/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/Users/mr/anaconda2/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/mr/anaconda2/lib/python2.7/multiprocessing/pool.py", line 332, in _handle_workers
    debug('worker handler exiting')
TypeError: 'NoneType' object is not callable
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/Users/mr/anaconda2/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/Users/mr/anaconda2/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/mr/anaconda2/lib/python2.7/multiprocessing/pool.py", line 370, in _handle_tasks
    debug('task handler got sentinel')
TypeError: 'NoneType' object is not callable

Exception TypeError: TypeError("'NoneType' object does not support item deletion",) in <Finalize object, dead> ignored
Adding Pillow 5.0.0 to easy-install.pth file

Installed /Users/mr/anaconda2/lib/python2.7/site-packages/Pillow-5.0.0-py2.7-macosx-10.6-x86_64.egg
Finished processing dependencies for Gooey==1.0.0

Was this a successful installation? (It doesn't look like it...) By the way, I can't find the selftest.py referenced in the message above.

i found
https://anaconda.org/anaconda/pillow
and ran
conda install -c anaconda pillow

And didn't get that error any more. I look forward to trying gooey!


Fix memory alignment problem on ARM6 (#1)

Any chance to get this in?

Hey can you create a pull request on original go client?

Hey can you create a pull request on original go client?

Which one are you referring to?

Hey sorry... I meant original gowebeocket GitHub library.
On Tue, Mar 3, 2020, 01:34 Bernhard Reitinger<EMAIL_ADDRESS>wrote:

Hey can you create a pull request on original go client?
Which one are you referring to?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sacOO7/socketcluster-client-go/pull/12?email_source=notifications&email_token=AL32AJSY54K3ZA5DA7KQMTTRFQGNBA5CNFSM4G4K6DU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENQX2NY#issuecomment-593591607,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL32AJSYJ5MO7I4PJ5IMJU3RFQGNBANCNFSM4G4K6DUQ
.

I will merge it right away :)
On Tue, Mar 3, 2020 at 8:59 AM Sachin Shinde<EMAIL_ADDRESS>wrote:

Hey sorry... I meant original gowebeocket GitHub library.
On Tue, Mar 3, 2020, 01:34 Bernhard Reitinger<EMAIL_ADDRESS>wrote:

Hey can you create a pull request on original go client?
Which one are you referring to?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sacOO7/socketcluster-client-go/pull/12?email_source=notifications&email_token=AL32AJSY54K3ZA5DA7KQMTTRFQGNBA5CNFSM4G4K6DU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENQX2NY#issuecomment-593591607,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL32AJSYJ5MO7I4PJ5IMJU3RFQGNBANCNFSM4G4K6DUQ
.


Importing dashboard error

Bug description
Hello guys, I am facing an issue importing and exporting superset dashboards once I export a dashboard I have to edit the database files then zip the dashboard and try to re-import it to the same superset instance, I get this error also via the api. Anyone who knows what I am missing.

How to reproduce the bug

export a dashboard zip
unzip the dash
edit the database uri and database name
zip the dashboard
Re-import it again

Screenshots/recordings
No response
Superset version
3.1.1
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

I ran into this issue also and it was my own fault.
Please compare the zip file you exported with the one that you modified.
In my case I had messed up the folder structure.
Original:
Root
  |
  ->  dataset_export_20240308T102914
         |
          -> Databases
          -> Datasets

My version:
Root
  |
   -> Databases
   -> Datasets

There needs to be a directory in the root of the zip file.

Thanks lemme try it

This solved it


add clustername to openstack cloud provider

Closes #1613

Change is probably breaking as the it will create new LBs for existing cluster?

/hold
This is a breaking change, but there’s a way to workaround it. @qeqar Would you mind me taking over this, I might have some idea how to fix it so it doesn’t break existing clusters?

As long as it not surpass my Go knowledge i can make it.

Thank you for reporting the issue, @qeqar!
Suppressed by #1619
/close


Where I can get the requirements.txt

What problem or use case are you trying to solve?
It is very difficult for me without requirements.txt because there are too many errors related to no module found, Would you revert back the requirements.txt to minimize the errors related to missing dependencies? during the installation process.
Describe the UX of the solution you'd like
Do you have thoughts on the technical implementation?
Describe alternatives you've considered
Additional context

same issue here lol

You can run pipenv requirements > requirements.txt to generate a requirements.txt
We're actively discussing package management here: https://github.com/OpenDevin/OpenDevin/issues/376
I'll add the workaround to the readme


Invalid Outcome bid on scalar market needs to display in red above the threshold

(same behavior we do for binary and multiple choice)
https://cdn.discordapp.com/attachments/464067340015763466/672833972031455232/Screen_Shot_2020-01-31_at_11.01.21_AM.png

this has been fixed. created order at 15% and get the red label. tested on local evn.

Trades are failing when I try to enter an order for invalid on scalars

After talking to Alex, it seems to be a contract issue. same as my comment above. I'll see when new contracts are updated.

closing


Issue/7231 resource view single query (#7427)

Pull request opened by the merge tool on behalf of #7427

Merged into branches iso7 in 53550ee7c8f8c90a0a390c3dac43477ab17384ab


Load cert from file on windows

Is there any way to load a cert from file on windows. Having a hard time get the cart from the store, especially private key. Would love to be able to just pull a cer and key from file or a pfx on windows like what is possible on Linux.

@Wibbbs Thank you for the question! In order to best address your question, could you provide us with the URL of the MS Doc that you were following, if any?

@Wibbbs Please let us know the product documentation that you are following. Also can you tell if you are trying to import a certificate on a local windows machine ? or trying to export a certificate in Pfx format and take the pfx elsewhere from Windows machine?

Sorry I thought I commented on the page, not sure it needed up here. Anyway it was for this page.

@Wibbbs If you are looking for uploading the certificate within an app service instance directly from windows , its not possible. You would have to upload the certificate from portal and once that is done you can use the cmdlets as explained in the article to update the certificate.
Thank you.


fix: force system clock to be set on linux

after checking the time in a pipeline via 'date' the zone was not adjusted accordingly. set-system-time solves this issue.

Sorry for the late response, and thank you for the pull request! Will look into this today and get back ASAP

@cmdcelp Can I check what are the steps you took and what did you observe for each of those steps? Would like to reproduce the error to test out this proposed fix.

I used your action in an ubuntu20.04 pipeline and it didnt set the time correctly after i checked with date. the proposed fix was tested manually with timedatectl and it worked as expected. afterwards i implemented the --system-clock toggle in the action and it also worked as expected.

@cmdcelp Thank you for the info! I'll attempt to write some tests over the weekend for this and will update you again. Sorry for the long wait 🙏🏼 🙇🏼

Hi, sorry for getting back late. I added some tests and it seems the timezone is being set properly even for ubuntu 20.04.
Could it be something else with your pipeline? I did a quick search online and found a few questions regarding date not reflecting the updated timezone. One example is this: https://serverfault.com/questions/291844/why-wont-my-timezone-changes-be-reflected-in-the-date-command
Hope this helps!! Do let me know what else I might be able to do to help.

Since there is no response, I'll be closing the PR. Let me know if you want to discuss further!


Prevent renaming of the FS module method

The j2cl build does not recognize the readFileSync method utilized to read files when running in a Node environment. Use quoted syntax to prevent renaming of the method.

Created internal Google issue http://b/143616189.

Is there a test I can used to verify the fix?


Added support for iff().else(hook1, hook2, ...)

Implemented support
Updated tests.

This looks good. One thing for the tests is that you can now return a Promise in a test in Mocha 3. So something like
it('calls async hook function if aync predicate truthy', (done) => {
  const result = hooks.iff(() => new Promise(resolve => resolve(true)), hookFcnAsync)(hook);

  if (result && typeof result.then === 'function') {
   result.then(result1 => {
      assert.deepEqual(result1, hookAfter);
      assert.equal(hookFcnAsyncCalls, 1);
      assert.deepEqual(result1, hookAfter);

      done();
    });
  } else {
    assert.fail(true, false, 'promise unexpectedly not returned');
    done();
  }
});

Would now look like
it('calls async hook function if aync predicate truthy', () => {
  const result = hooks.iff(() => new Promise(resolve => resolve(true)), hookFcnAsync)(hook);

  if (result && typeof result.then === 'function') {
    return result.then(result1 => {
      assert.deepEqual(result1, hookAfter);
      assert.equal(hookFcnAsyncCalls, 1);
      assert.deepEqual(result1, hookAfter);
    });
  } else {
    assert.fail(true, false, 'promise unexpectedly not returned');
  }
});

The advantage is that you won't have to call done all the time and it catches all errors (the previous example with done would just time out if there was an assertion error).

Good news about returning Promises.

:shipit:

Actually by shipit I mean good go merge 😉 I was going to work on finishing up some smaller changes I have locally this weekend and then we can make a 2.1.0 release.


Can we delete this article too?

Not relevant in Unified Interface apps. Proposing to delete it.

@satishreddyv We also have users on the legacy web client so we cannot delete the topic. Closing the issue.


Crash if a midi note is recieved while the SFZ file is reloaded

Hi, I use SFIZZ in Synthedit, so unsure it also happen in SFIZZ VST or Standalone.
Here is the message I posted in the Synthedit group :

I worked a lot on my percussion sampler, things are very promising but...now that my project has became bigger (especially the SFZ files), I noticed a very problematique bug :
If the SFZ player module recieve a midi note while it is reloading the SFZ file, SE crash, same in exported plugin.
Basically in my big project, I need to wait one or two seconds after a change before playing a new note, or SE crashes.
If the SFZ file is very small, It's harder to make it crash but I've been able to do it by playing many notes while adjusting some parameters.
So of course, the bigger the file, the longer the wait...

Here's the link to the original post on the Synthedit Yahoo group
https://groups.io/g/synthedit/topic/sfz_player_bug/102339243?p=,,,100,0,0,0::recentpostdate/sticky,,,100,2,0,102339243,previd%3D1698923105138952783,nextid%3D1692678357979048267&previd=1698923105138952783&nextid=1692678357979048267

It's now fixed in Synthedit.
I was able to reproduce the bug in the SFIZZ VST3.

Ummm, did they make a fix in the libsfizz code or in how they used it? Sounds like we need a PR from them...

heh, I was about to ask it: what do you mean, that it was a bug in SE or still a bug in sfizz but fixed only there?

I asked Jeff (Synthedit creator) to send the fix here

He has just filter incoming midi notes while files are reloading

Here the link to the changes (line 166) : https://dev.azure.com/synthedit/_git/CommunityModules?path=/JeffMcClintock/SamplePlayer3/SamplePlayerSfz.cpp&_a=compare

I was able to reproduce the bug in the SFIZZ VST3.

Just playing midi notes data while reloading made the plugin crash? There should be a process lock so that'd be a bug.
I could see to make the doc clearer but:
    /**
     * @brief Send a note on event to the synth.
     ...
     * @par Thread-safety constraints
     * - @b RT: the function must be invoked from the Real-time thread
     */
    void noteOn(int delay, int noteNumber, int velocity) noexcept;

and
    /**
     * @brief Empties the current regions and load a new SFZ file into the synth.
     ...
     * @par Thread-safety constraints
     * - @b CT: the function must be invoked from the Control thread
     * - @b OFF: the function cannot be invoked while a thread is calling @b RT functions
     */
    bool loadSfzFile(const std::string& path);

We removed locking within the library on purpose because it's usually much cleaner to do it at the "plugin interface" level where you can possibly leverage abilities offered by hosts.

The solution implemented by Jeff in Synthedit seems perfect, I can't see anything wrong with it. One just want the midi to be filtered while the instrument is reloading...

The same mechanism is implemented in the VST plug-in, but you mentioned in a previous comment you managed to make it crash. I was curious to know more about the context in how you made it crash (I.e. which daw, sfz instrument, ...). If you remember :)

It seems the mechanism you mention don't work. I've just tested again in Cubase 12 with SFIZZ vst3, I load an instrument, and play some midi notes while the instrument is loading : no problem.
Then I open the SFZ file in a text editor, make a useless change (just add a line), then I save the file and immediatly play some midi notes : Cubase crash.

I can make it carsh with any SFZ file, but if the file is very small, it take too little time to load to make Cubase crash. Try with any big SFZ file, it should crash easily.

Double check the version of the sfizz plugin you have installed, this sounds like a bug that fixed last year.

I'll check but I use sfizz for less than a year...

1.2.1

You need 1.2.2! :)

Indeed not the last one,
I'll check with 1.2.2

I'm so sorry, indeed bug is fixed in 1.2.2
I don't even know why I had this old version...
My mistake, the fact that this bug was still there in the Synthedit version had made me wrong...
Appologies again.

No worries :) So can close this?

I think so yes


Playground: Object property type inferred as unknown when using Identity type

I was following this Twitter thread (very insightful by the way) from Kent C Dodds, seeing the solutions, and trying to build my own, to have a better understanding of Generics.
In this process I was comparing these two:

separated type definition for the identity function;
in-line type definition in the identity function;

In the separated type definition for the identity function the obj is typed as:
const obj: Identity<{
  a: unknown;
  b: unknown;
}>

Where in the in-line type definition in the identity function the obj is properly typed as:
const obj: {
  a: (name: "a") => void;
  b: (name: "b") => void;
}

And if in the first solution we do:
type X = typeof obj

it returns the type correctly:

Repro:
Use this TS playground: separated type definition for the identity function

Expected behavior:
When hovering the obj variable it returns the correct type:
const obj: {
  a: (name: "a") => void;
  b: (name: "b") => void;
}

Actual behavior:
Its returning the object property with unknown type:
const obj: Identity<{
  a: unknown;
  b: unknown;
}>

I think you might have posted in the wrong place, this is the repo for the TypeScript website - I think you want to be posting this on the TypeScript repo instead as it doesn't seem to be a problem with the site or the playground?

I think you might have posted in the wrong place, this is the repo for the TypeScript website - I think you want to be posting this on the TypeScript repo instead as it doesn't seem to be a problem with the site or the playground?

@orta you're 100% correct, my bad, thanks!


Add AddCollaborator API Endpoint

Adds the PUT /repos/:username/:reponame/collaborators/:collaborator endpoint, based on https://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator, allowing the API to add collaborators to a repository.
I messed up #2775 (it was opened on the wrong branch).
EDIT: now implements permission like github's api, taking one of three arguments, "pull", "push" or "admin".
I can squash into one commit if that is prefered.

Please sign the CLA.

Done

Somehow has conflict...

Fixed :)

Thanks!


Examples are not shown in iOS 10

Examples doesn't show up in iOS 10. They work in iOS 11.
My device:
iOS 10
Chrome 63

This is a bug in Safari. You can't have an element with an id and a const variable with the same name.
In the examples we have <div id="map"> and const map.
Substitute const for var in all examples.


Skip begin_checkout when payment is completing or page reload on placed orders

Description
Now if a payment gateway requires to leave the checkout to complete the payment process, when the customer is redirected back to the checkout another begin_checkout event is pushed to dataLayer. This should be avoided.
Expected Result
The expected result was to avoid firing two begin_checkout events on the same checkout flow
Actual Results
The actual result was to fire begin_checkout every time the GTM is initialized

:tada: This issue has been resolved in version 4.2.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix add bvar counter for memtracker

Proposed changes
add bvar counter for memtracker
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.05 seconds
stream load tsv:          514 seconds loaded<PHONE_NUMBER>9 Bytes, about 138 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          66 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          30.2 seconds inserted 10000000 Rows, about 331K ops/s
storage size:<PHONE_NUMBER>0 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.08 seconds
stream load tsv:          512 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.7 seconds inserted 10000000 Rows, about 336K ops/s
storage size:<PHONE_NUMBER>6 Bytes


Update 1.11

After Hunt: Showdown update 1.11 on Dec 7th the program is no longer analyzing the after match file attribute to refresh the UI data.
Hunt V 1.2555
Please let me know if any further information is needed.

BergieGaming

I just noticed that as well, they've made a couple changes to the generated attributes file, which breaks it....
I think this should be a fairly easy fix.
Thanks!

Perfect! Let me know if you need anything to assist.

Just pushed a commit that should address this issue, I'm gonna be testing it for a while and hopefully be able to get a new build out soon.

If you're open for additional QA feedback. I'm willing to assist if you can provide a separate QA/UAT build.


grpc.load does not handle deprecatedArgumentOrder correctly

For NodeJS library in version 0.14.1 and above, setting options.deprecatedArgumentOrder to true in grpc.load does not make gRPC use the old argument order format (where the mandatory callback is at the front instead of at the back).
This could be because makeProtobufClientConstructor in client.js is passing in a boolean deprecatedArgumentOrder instead of the object options.
Example code:
test.js
tester.proto
cc @matthewloring

I believe this was fixed by #9516.


Release 0.16.7

@zhilyaev I guess we need some automation for these types of helm arguments. Maybe code generation?

@r3nic1e idk how to do it


[Question]: Is there a difference between "RetrieverQueryEngine.from_args" and "RetrieverQueryEngine" when used for creating query engines in llamaindex?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
auto_merging_engine = RetrieverQueryEngine.from_args(automerging_retriever, node_postprocessors=node_postprocessors)
query_engine = RetrieverQueryEngine(retriever=retriever,response_synthesizer=response_synthesizer,node_postprocessors = node_postprocessors)
I have these two codes, what is the practical difference between the two in terms of output and functionality?

but is there a difference in the output of the query engine? or is it purely ornamental, in the sense of "ease of use"?

There is no difference, from_args just defines more defaults (or at least, it used to) than compared to the base constructor


🗺 Epic: Create a library for contracts eth-contract-warehouse

...TBD... to be done after #23
Related Epics

[ ] scaffold-eth/eth-contract-warehouse#1

Overview

a package that acts like a contract repository for common and vetted contracts
makes it easy new developers to use existing contracts with scaffold-eth
removed the need for a billion branches in scaffold-eth

Was playing around  with idea that it would export  for each contract:

typechain factory (for creating and initializing contract),
contract definition in ts
eth-components/eth-hooks based component for an easy way to interact with it)

May be paused for now
https://t.me/c/1551360911/1084

replaced by eth-sdk.  see:

scaffold-eth/eth-hooks#114
scaffold-eth/eth-hooks#101


Use xor to implement Neg::neg for floats

This returns the correct on all architectures, and avoids raising float exceptions, canonicalizing values, and setting status registers no matter the argument in both debug/release builds. This is required by IEEE-754, see1
Note that without the impl change, I believe we'd need to bring in the CI changes from #30 to actually trigger a failure, but https://github.com/thomcc/stdsimd/runs/1220021695 has examples of the failure cases (don't look at the ones that failed to build, I'm referring to the ones that failed the test this adds).
Ultimately though, this is a placeholder until some sort of neg intrinsic is provided by rustc, as while this is fairly optimal on Intel, that is not true for ARM. That said, this fixes the issue with the old implementation, even if it's not optimal everywhere.

1: From IEEE754-2019 section 5.5.1 "Sign bit operations"

negate(x) copies a floating-point operand x to a destination in the same format, reversing the sign bit. negate(x) is not the same as subtraction(0, x)

It also says (when introducing negate/abs/copysign) a few lines earlier:

The operations treat floating-point numbers and NaNs alike, and signal no exception. These operations may propagate non-canonical encodings.

Note that subtraction/multiplication would violate these requirements.

travis seems to have stalled, weirdly.


Program Record: Show letter grades instead of pass

Few users have complained that they would like to see letter grades instead of "PASS" in their program record in MITxonline dashboard.
Related tickets: https://github.com/mitodl/hq/issues/1577, https://github.com/mitodl/hq/issues/1574
In MM:

In MITxOnline:

@annagav please add some detail about the root cause and the plan to fix it.

I think the root cause of this is that we use the letter grade that is in the model CourseRunGrade.letter_grade to display in the Program Record. This is very inconsistent, some grades are showing letter, some are showing 'pass'.
We should compute the letter grade based on the score, if letter_grade is 'pass'.

I think the problem here is that we never stored the letter grades in MicroMasters, and left it to a runtime calculation. When we migrated the data, there were no letter grades to migrate. @rachellougee can you confirm?
Let's not perpertuate the same mistake here. Instead of hard-coding the grade bands in the serializer as #1651 does, we should migrate the data.
At the end of the day, the letter grades should follow the grading policy as defined by the course team. Since 1T2023 they can do this in open edX Studio.

I'd like to know which course runs we are missing letter grades for.

For most of the legacy course DEDP runs, we should follow the grading scheme that was in use in MicroMasters, for consistency.
I'm uncertain what to do with the DEDP grades from 3T2021, 1T2022, 2T2022 and 3T2022 grades, so I'd like to be able to look at those first. In particular, we have to be careful about passing status.
We shouldn't change any grades that aren't from DEDP migrated data. I don't know offhand what the grading configurations are for non-DEDP courses, and we should defer to the open edX configuration for those.

@annagav https://bi.odl.mit.edu/queries/1289 Here are DEDP course IDs that have a "Pass" letter grade

It is not only grades that we imported from MM, there are grades for course runs from 3T2022, like 'course-v1:MITxT+14.750x+3T2022andcourse-v1:MITxT+14.310x+3T2022, and course-v1:MITxT+14.73x+3T2022`. Not all courses are DEDP but majority.

I am reopening this issue since there are still some letter grades set to 'Pass'. This could be due to the fact that we only populated grades for the DEDP courses prior to 3T2022.
In this ticket the user still has "Passing" grade for Microeconomics: https://github.com/mitodl/hq/issues/1691

We need to find what was the grading policy for these courses:
course-v1:MITxT+14.100x+3T2022 |
course-v1:MITxT+14.750x+3T2022 |
course-v1:MITxT+JPAL102x+3T2022 |
course-v1:MITxT+14.73x+3T2022 |
course-v1:MITxT+14.310x+3T2022

@pdpinch all of these course runs have grading policy set to 'pass'/'fail'. Could you ask the course team if we can populate letter grades for these course grades based on the same distributed we did for earlier course runs?

all of these course runs have grading policy set to 'pass'/'fail'

Which runs, exactly? I think there may be some complications with getting the desired result, particularly with 3T2022 courses.

@pdpinch  For these course runs:
course-v1:MITxT+14.100x+3T2022 |
course-v1:MITxT+14.750x+3T2022 |
course-v1:MITxT+JPAL102x+3T2022 |
course-v1:MITxT+14.73x+3T2022 |
course-v1:MITxT+14.310x+3T2022

Davis has confirmed that the grading policy was the as follows:
A 82.5-100
B 65-82.5
C 55-65
D 50-55
F <50
So we are gonna go ahead and populate 3T2022 grades.


TLSA records currently return nil after parsing

This is just heads up. Currently TLSA records are not parsed and give nil RR. I expect to fix this soon.
This PR could be closed if I'll be unable to do so after creating it :)

Sure it breaks tests, that was intentional in commit :)

The RR with lenght enormous overflows the maxTok limit, hence the crash (although there are length checks of course). Btw is this a legal TLSA record?
The other error is more interesting, playing with your commit in the tlsa branch.

See PR #211, which has the fix. Note that I had to change the error var e to e2 (i.e. a new var) to make it work, which is strange.
Identified a few other issues. Your test is now working. Please have a look before I merge.

Oh, cool, thanks, anything I can help with instead? :)
I generated records using: https://www.huque.com/bin/gen_tlsa
and cert I pulled with openssl from example.org. Bind has very large variety of TLSA recs it can chew, almost looks like it does not care much about actual RDATA being valid.
I have bunches of TLSA that I can run thru it today and check for more errors but since they do not belong to me I'd try to make comparable examples if I'd find them.

[ Quoting<EMAIL_ADDRESS>in "Re: [dns] TLSA records currently re..." ]

Oh, cool, thanks, anything I can help with instead? :)
I generated records using: https://www.huque.com/bin/gen_tlsa
and cert I pulled with openssl from example.org. Bind has very large variety of TLSA recs it can chew, almost looks like it does not care much about actual RDATA being valid.
I have bunches of TLSA that I can run thru it today and check for more errors but since they do not belong to me I'd try to make comparable examples if I'd find them.

Thanks. Getting larger TLSA parsed means splitting them up in 2048 char chunks.
2K chars per token seems like a reasonable limit. Not sure how bind deals with
this though. It also has repercussions on how large your response DNS message
will get.
/Miek
--
Miek Gieben

Yeah most things are split in real zonefiles, much shorter than 2048 per line.