fix: catch empty shared_account_ids

I don't know why but I received the following error when recreating a pipeline:
Error: ROLLBACK_COMPLETE: ["The following resource(s) failed to create: [distConfig, infraConfig]. . Rollback requested by user." "Resource creation cancelled" "The value supplied for parameter 'distributions[0].amiDistributionConfiguration.launchPermission.userIds' is not valid. 'distribution]AmiDistributionConfiguratioaunchPermissioserIds' must contain at least 1 items (Service: Imagebuilder, Status Code: 400, Request ID: bla-bla-bla-bla-bla, Extended Request ID: null)"]
It worked fine before that time. The problem is that "UserIds" won't accept an empty list anymore so I added a condition around it.
I successfully tested the condition with the following combinations
public = false && shared_account_ids = "some account id" => AMI shared with "some account id"
public = false && shared_account_ids = null => AMI is private
public = true && shared_account_ids = "some account id" => AMi is public
public = true && shared_account_ids = null => AMI is public

It looks like it just leaves out the LaunchPermissionConfiguration if it's not public and there are no shared account ids. I'm surprised that works

Hi @smiller171, any chance this one could get merged too?


Please upgrade node-template for substrate 1.0

node-template is not work on v1.0 rc.
I tried to upgrade my project, but here are too many changes without detailed Document and example.

Cc @shawntabrizi

@RyanKung I will take a look right away, but in the meantime please take a look at https://github.com/shawntabrizi/substrate-package

@shawntabrizi Cool, I will check it, Thank you


Cleanup and added a TC in the file.

Did some cleanup and added the TC for the transformation.

@amitsrivastava78 can you please check ubuntu sanity errors ? Thanks!

@amitsrivastava78 can you please check ubuntu sanity errors ? Thanks!
@gbaned , thanks for pointing this out, i have fixed the problem.

Regards
Amit

@gbaned , all the checks have passed for this PR, can you please help to merge this.
Regards
Amit

@gbaned , all the checks have passed for this PR, can you please help to merge this.
Regards
Amit

@gbaned , can you please help to merge this PR.
Regards
Amit

@gbaned , can you please help to get this merged.
Regards
Amit

@jianlijianli and @miaout17 I have resolved the merge conflicts , can you please have alook.
Regards
Amit

@amitsrivastava78 Could you please resolve the conflicts? Thanks!

Can one of the admins verify this patch?

I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen!


Error: Overriding declaration requires an 'override' keyword

In our project SettingsMessageViewController is subclass of other controller.

hum... is this a setup where SettingsMesasgeViewController inherit from another class where storyboardIdentifier is defined as well ?

@krzyzanowskim Yes it is

sorry silly, question, I see you wrote it is. Though I have to think how to deal with this.

@krzyzanowskim You can add storyboardIdentifier property to the UIViewController and override it later:
extension UIViewController {
    class var storyboardIdentifier:String { return "" }
}

class SomeViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        NSLog(SomeViewController.storyboardIdentifier)
    }
}

class OtherViewController: SomeViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        NSLog(OtherViewController.storyboardIdentifier)
    }
}

extension SomeViewController {
    override class var storyboardIdentifier:String { return "SomeViewController" }
}

extension OtherViewController {
    override class var storyboardIdentifier:String { return "OtherViewController" }
}

It solves problem only with storyboardIdentifier property. I'm not sure how enum Segue will work in the case of subclassing.

Very good solution! I'll go with this for the fix.
Yes segues are next.

Segue enum is fine because nested enum type is bound to the type and is not inherited


Chromeless.wait(timeout) is not waiting

This is a Bug Report
Description
Based on the API documentation here https://github.com/graphcool/chromeless/blob/master/docs/api.md#api-wait-timeout calling await chromeless.wait(timeout) should wait for the given timeout before continuing. But it doesn't seem to wait. This issue also seems to effect wait(selector).
I have created a minimal case to reproduce this bug here - https://github.com/tux4/chromeless-bug . Here is a summary -
The following test cases in jest should behave in similar manner -
const { Chromeless } = require("chromeless");

const chromeless = new Chromeless();

function myWait(time=3000) {
  return new Promise((resolve) => {
    setTimeout(resolve, time);
  });
}

describe("Reproduce bug", () => {
  it("this should wait for 3 seconds but it doesn't", async () => {
    await chromeless.wait(3000);
  });

  it("this should wait for 3 seconds and it does", async () => {
    await myWait(3000);
  });
});

afterAll(async () => {
  await chromeless.end();
});

However, the first test ends in 2ms while the second test takes over 3s:
➜  chromeless-bug yarn test
yarn test v1.0.2
$ yarn jest
 PASS  __tests__/wait-test.js (6.676s)
  Reproduce bug
    ✓ this should wait for 3 seconds but it doesn't (2ms)
    ✓ this should wait for 3 seconds and it does (3001ms)

Test Suites: 1 passed, 1 total
Tests:       2 passed, 2 total
Snapshots:   0 total
Time:        7.161s
Ran all test suites.
Done in 7.99s.

Similar or dependent issues:

https://github.com/graphcool/chromeless/issues/393

Additional Data
Node Version - 8.5.0
Chromeless - 1.4.0
OS - Ubuntu 16.04.3 LTS

Also seeing.

Maybe something that is happening is, the command chaining syntax is not actually executing the commands. It is just pushing each command and arguments into a queue.
Commands are only executed when chromeless.end() is called, I think.

+1. An example of my code:
console.log(new Date())
  await browser
    .wait('nav[role="navigation"] form input')
    .evaluate(() => {
      // Things here
    })

  await browser.wait(20000)

  await browser.setFileInput('nav[role="navigation"] form input', '/myfile.jpg')
  console.log(new Date())

I was excepting to see the second new Date after 20s, but instead it appears immediately:
2018-04-27T10:55:51.037Z
2018-04-27T10:55:52.547Z

If you chain the methods, it won't work anyway and, using await browser.end(), you can see that the 20000ms are put AT THE END of the process, not between them.
I think you can solve writing this:
// Code

await sleep(3000)

// Other code

function sleep(ms) {
  return new Promise(resolve => {
    setTimeout(resolve, ms)
  })
}

thanks for efforts
On Fri, 27 Apr 2018, 6:58 PM Grork<EMAIL_ADDRESS>wrote:

+1. An example of my code:
console.log(new Date())
await browser
.wait('nav[role="navigation"] form input')
.evaluate(() => {
// Things here
})
await browser.wait(20000)
await browser.setFileInput('nav[role="navigation"] form input', '/myfile.jpg')
console.log(new Date())
I was excepting to see the second new Date after 20s, but instead it
appears immediately:
2018-04-27T10:55:51.037Z
2018-04-27T10:55:52.547Z
If you chain the methods, it won't work anyway and, using await
browser.end(), you can see that the 20000ms are put AT THE END of the
process, not between them.
I think you can solve writing this:
// Code
await sleep(3000)
// Other code
function sleep(ms) {
return new Promise(resolve => {
setTimeout(resolve, ms)
})
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/graphcool/chromeless/issues/394#issuecomment-384937670,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVOSm0nASmUCokljlnRz85-x9k9kmiE1ks5tsvnsgaJpZM4RiBO0
.


21 set up cicd pipeline with do

Description

This PR establishes a CI/CD pipeline. This pipeline will automate the update process by automatically deploying the latest code changes from the Node Monitor GitHub repository to the Digital Ocean droplet and restarting the Node Monitor.
Node Monitor has also been dockerized in this PR

The Workflow

Triggers on any push to branch 21-set-up-cicd-pipeline-with-do
SSH into droplet using appleboy/ssh-action
cd test/node-monitor/ to navigate to directory on droplet where code base lives.
docker compose down to stop the running container.
git pull update the code base on the container. This will overwrite the files in that directory.
docker compose up --build -d Rebuild and run container in detached mode using --build and -d flags respectively. --build ensures that the docker image is rebuilt with the updated code on the droplet. -d starts node monitor in detached mode as without this, the action will never run to completion.

Changes made

Add Dockerfile

Uses official Python 3.11 as base image
Copies the dependencies specified in requirements.txt then installs them within the docker image
Copies all files and directories from the local directory into the /app directory of the container, which is set as the main working directory
Executes command python3 -m node_monitor to start node monitor

Add .dockerignore

Ignores the same files as is ignored in the .gitignore. This way, all files that are on the Git repo are also what will be copied into the container.

Add docker-compose.yml

Makes it easier to start the service, even when adding more services later on
3 bind mounts are added here, namely: .env, config.json and lookuptable.json.
Bind mounts are used as opposed to volumes as the files mentioned above are (and should not) be shared across multiple containers.
However (and this should be put in the readme when we update documentation) the source and target paths must be modified according to the paths on the host machine.

Add .github/workflows/deploy.yml

This is the workflow file that specifies the steps to auto deploy code from the git repo to the droplet and restart node monitor. These steps are outlined in the the description section of this PR.

Testing

Local updates automatically deployed while container running node monitor is up ✅
Local updates automatically deployed while container running node monitor is down ✅
Changes to docker files are also reflected in the droplet ✅

Additional comments

The workflow is still set to trigger on branch 21-set-up-cicd-pipeline-with-do. Wait to be accepted before changing configuration
The workflow also updates the code in the droplet located in test/node-monitor and runs the container from there. The  "old version" of node monitor continues to run in /node-monitor
Examples of using git commands to transfer files from repo to droplet: 1, 2, 3
Examples ussing the appleboy/ssh-action: 1.
@mourginakis I think you will have to be the one to decide on the type of merge into main that this PR will take. I did some reading and I believe you should just use a 'Squash Merge'. This will squash all the commits on branch 21 into one commit when it is merged into main.

Thanks in advance @mourginakis for reviewing this PR 🙏

Making the pipeline work in production

[ ] Set the workflow to trigger when there is a push to release branch
[ ] Update .env file on droplet
[ ] Update .config file on droplet


Use Websockets over TLS (wss://) if the UI is served via HTTPS.

Fixes https://github.com/mailhog/MailHog/issues/104

awesome, thanks @blueimp :+1:

Thanks again for merging! :)


Add top 200 for all langs from criticality score repo.

From https://github.com/ossf/criticality_score#public-data
and combine with existing projects list.

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
NA

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Adds top 200 for each lang in cron/projects.txt

What is the current behavior? (You can also link to an open issue here)
Small sample list.

What is the new behavior (if this is a feature change)?
Expand to important projects.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Other information:

Cool! Will this not cause running out of GitHub API calls?

Cool! Will this not cause running out of GitHub API calls?

We have multiple github tokens, and scorecard can bounce between them (or wait if we run out of api quota till it is restored again). we might not finish in a day, so might have to reduce cron freq, can try it out. Anyway, this system needs to scale, so we will keep trying different things.

Cool! Will this not cause running out of GitHub API calls?

We have multiple github tokens, and scorecard can bounce between them (or wait if we run out of api quota till it is restored again). we might not finish in a day, so might have to reduce cron freq, can try it out. Anyway, this system needs to scale, so we will keep trying different things.

Sounds good. I would like to be part of scaling it :)

What was the source for this list?

What was the source for this list?

https://github.com/ossf/criticality_score#public-data


[Fix] Fix test failures due to static mock race

Description
This fixes two test concurrency bugs due to static mocking.

Sep10ServiceTest:  the verify sees two calls to Sep10Challenge#newChallenge. My guess is that the LockAndMockStatic annotation does not know about ParameterizedTests.
Sep24ServiceTest: the mock of KeyPair in Sep10ServiceTest to throw an exception causes the Sep24Service to throw it as well.

These two issues were only observed in the sep-6 branch despite it using static mocks or touching existing tests.
Context
Fixes test stability in sep-6 branch.
Testing

Ran ./gradlew test a few times

Documentation
N/A
Known limitations
This is only a temporary fix as it does not prevent us from writing similar tests in the future.

Should this PR merge to the develop instead of the sep6 branch?

I want to get this fix into sep-6 quicker and I plan to merge sep-6 into `develop later this week, anyway.


sourceRelativeLinksEval = true does not work inside shortcodes

I have enabled blackfriday config sourceRelativeLinksEval to be able to easily link between pages without worrying about baseurl.
I have simple shortcode for wrapping content inside a class:

    {{ .Inner }}

With following code the link is rendered differently, if it is inside the shortcode or outside it:
[Link](page)
{{% wrapper class="myclass" %}}
[Link](page)
{{% /wrapper %}}

With baseurl = "http://localhost:1313/" on page currentpage the code above is rendered as:
Link

Link

So the first link refers to http://localhost:1313/page/ and the second one incorrectly to http://localhost:1313/currentpage/page.

The version of Hugo that I'm using is the one packaged with Ubuntu 16.04. That is:
Hugo Static Site Generator v0.16-DEV BuildDate: 2016-02-06T19:14:17+02:00

This may have been fixed by https://github.com/spf13/hugo/pull/2303 ... Not sure, I don't use that feature.

This issue has been automatically marked as stale because it has not been commented on for at least four months.
The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still valuable, please open a proposal at https://discuss.gohugo.io/.
This issue will automatically be closed in four months if no further activity occurs. Thank you for all your contributions.

Note/Update: This issue is marked as stale, and I may have said something earlier about "opening a thread on the discussion forum". Please don't.
If this is a bug and you can still reproduce this error on the latest release or the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.


Display country flag next to BitAsset

This will help people tie USD to United States Dollar and CNY to China.

I think this meant to be posted here: https://github.com/BitShares/web_wallet/issues/577#issuecomment-73135192

I think we need to use cass's icons rather than flags - flags are usually very difficult to make look natural in any design


Thick and Think target models updates for a 0.0.1 release

Discussion of the minimal required updates for a release

[ ] Add units to inputs, calculation, and outputs see #46
[ ] Refactor further away from IDL like implementation #21 and #45
[ ] Documentation / examples

Regarding point 2, I think the bigger thing is to decide on the API.  Refactors for greater speed and/or Pythonic-ness can be done at any stage with little penalty so long as the API doesn't change.  I realise that these two issues are completely separable but if others agree, that will hopefully give more focus.  So the question is, what should the API be?
My initial feeling is that the models should start off as functions.  This is already the case.  Although I'd like to better understand the decision behind making the electron distribution a class.  I'm not suggesting this is not the right thing to do.  But we should understand whether it is the best choice.

The electron distribution functions need to be able to return the normalised integral as well as the original distribution and also return the continuous parts where applicable so that why I had them as classes but could work as functions too. It hard to know until someones tires it but something like this maybe
def power_law(x, slope, norm, integral=False):
     if integral is False:
         return x.min(), x.max(), norm * x **slope
     elif integral is True
         return x.min(), x.max(), norm * x ** (slope - 1) # this isn't wright just the idea

def thick_target(photon_edges, edist_func, edist_params=None, observer_distance=1*au, integration_method=scipy.integragate.quad'):
   if not callable(edict_funct):
       raise Type('edist_func must be callable')
   for continuous_part in edict_funct(**edist_params, integral=True)
       lower_limits, upper_limits, values = continuous_part
       res = integration_method(.....)

flux = thick_target(photon_edges, power_law, edist_params={'slope': -5, 'norm': 1000})


sf::Image::saveToMemory

There was feature request http://en.sfml-dev.org/forums/index.php?topic=2164.msg14166#msg14166 - which was closed. But few weeks ago stb_image_write.h was updated, and we have stbi_write_%FORMAT%_to_func(...) functions, that can achieve this functionality with ease. Can it be considered for release?

Actually sounds interesting and would be in line with loading images I guess.

Question is, does libjpeg support this as well?

Implemented with #1669


add d3js to standard library and replace prototype in diag_logs_filter_summary.php

From an earlier idea of @fabianfrz we would like to use d3js for some additional insights. Too prevent all kinds of javascript libraries doing almost the same thing, we should however choose what to use and try to stick to it.
In diag_logs_filter_summary.php  the prototype.js is used, but wasn't available in OPNsense, as a result of that the diagrams weren't shown.
The short time solution is to pull prototype.js in ( https://github.com/opnsense/core/pull/293 ).
When this fix is done, prototype must leave our system again.

Done... diag_los_filter_summary fixed in f9333ee


policies with the same symbols are broken

Policies that use the same symbols do not currently work. Here's an example:
apiVersion: cilium.io/v1alpha1
kind: TracingPolicy
metadata:
  name: "multiple-symbols"
spec:
  kprobes:
  - call: __x64_sys_prctl
    args:
    - index: 0
      type: int64
    selectors:
    - matchArgs:
      - index: 0
        operator: Equal
        values:
        - "3"
    syscall: true
    tags:
    - pr_get_dumpable
  - call: __x64_sys_prctl
    args:
    - index: 0
      type: int64
    selectors:
    - matchArgs:
      - index: 0
        operator: Equal
        values:
        - "7"
    syscall: true
    tags:
    - pr_get_keepcaps

When using multi-kprobes, using this policy leads to the following error:
level=fatal msg="Failed to start tetragon" error="failed to get sensors from parser policy: sensor generic_kprobe from collection auditd-policy failed to load: failed prog /home/kkourt/src/hubble-fgs/bpf/objs/bpf_multi_kprobe_v61.o kern_version 394509 loadInstance: attaching 'generic_kprobe_event' failed: couldn't find one or more symbols: file does not exist"

Disabling multi-kprobes, only part of the policy is applied (typically the one that is defined last).
The reason for this seems to be that when using the new bpffs hierarchy (https://github.com/cilium/tetragon/pull/2128), the two calls will end up in the same directory, using the same maps.
Note that in 1.2 this works as expected, because we use different maps for each different hook. e.g.,
gkp-sensor-1-gkp-0-argfilter_maps
gkp-sensor-1-gkp-1-argfilter_maps

@olsajiri can you PTAL?
When we are not using multi-kprobes, I think it would make sense to add an id to the call in the directory, so that we can separate the two.


chore(deps): bump to got-scraping for type fixes

Seems like we don't need to change...anything, both in tests and in e2e. We can just drop a ts-expect-error!

Closing, as the update already came in via lockfile updates, and I removed the ts-expect-error from master


forth: dibs on adding to track

Description
Canonical data

I suddenly got a lot busier, so I'm going to close out this issue. FWIW the exercise is a fun one to work on!


update Tracker documentation (close: #605)

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://github.com/snowplow/snowplow/wiki/CLA to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.

I signed the agreement.
Sent from my iPhone

On 19 Oct 2017, at 9:04 pm, Snowplow CLA bot<EMAIL_ADDRESS>wrote:
Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://github.com/snowplow/snowplow/wiki/CLA to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @chrissherlock - thanks, I took a look but it looks like you entered your GitHub name wrongly. Can you try again?

Sorry about that, signed again.
Sent from my iPhone

On 20 Oct 2017, at 8:03 am, Alexander Dean<EMAIL_ADDRESS>wrote:
Hi @chrissherlock - thanks, I took a look but it looks like you entered your GitHub name wrongly. Can you try again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@chrissherlock has signed the Individual Contributor License Agreement. Thanks so much

@mhadam why is this one still open against the release?

This was pulled into the release with a commit referencing the issue, not the pull request. I think that's why it's not closed out.

Cool, thanks closing


Update the playbook with info about blog post creation

This issue tracks the updating of the playbook with information and instructions about how to draft new blog posts for the CP blog.
It is done when the playbook is updated and the team is emailed with an update (as per the website launch)

I've created a new issue template for adding blog posts to the website
https://github.com/czi-catalystproject/czi-catalystproject.github.io/issues/new/choose
Relevant updates are also in https://github.com/czi-catalystproject/czi-catalystproject.github.io/issues/42#issuecomment-2075067983

I have updated the playbook


Make the interdomain pipe non-blocking

Heya, the fix in 29cb3d00d40bbfdffbd30fad84f886a9e0a33e7b is odd.
You can just make the pipe non-blocking, and if write returns EAGAIN, you ignore (there's pending stuff), you don't need the interrupted thing at all.
Just a suggestion, unless I missed something.

the pipe non-blocking, and if write returns EAGAIN

Ah yes, it can save an atomic and delay everything to the system, I will try to propose something soon. Thanks for your report :+1:.


I added Dockerfile + proxy for cors issue

Docs about proxy here.

@saharmor @perplexedyawdie can we reopen this so i try to run it in a codespace?

@quacrobat yep, done

@quacrobat let me know if this PR works and I can merge to main so everyone can run this as a Docker


chore(main): release 1.26.7

:robot: I have created a release beep boop
1.26.7 (2023-09-29)
Bug Fixes

brew post install (#180) (45d135e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aidanaden/canvas-sync/releases/tag/v1.26.7 :sunflower:


neo-cli 2.7.5 start error

I'm getting the following error when trying to start neo-cli 2.7.5 (things worked in the same setup with 2.7.4 and before):
# dotnet neo-cli.dll

Unhandled Exception: System.TypeInitializationException: The type initializer for 'Neo.Settings' threw an exception. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: format
at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
at Neo.PathsSettings..ctor(IConfigurationSection section)
at Neo.Settings..ctor(IConfigurationSection section)
at Neo.Settings..cctor()
--- End of inner exception stack trace ---
at Neo.Shell.MainService.OnStart(String[] args)
at Neo.Services.ConsoleServiceBase.Run(String[] args)
at Neo.Program.Main(String[] args)
Aborted (core dumped)

Having the same issue. How was this resolved, please?


python3Packages.types-setuptools: 57.4.3 -> 57.4.4

Motivation for this change
Update to latest upstream release 57.4.4
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 147467 run on x86_64-linux 1

5 packages built:

checkov
python38Packages.cyclonedx-python-lib
python38Packages.types-setuptools
python39Packages.cyclonedx-python-lib
python39Packages.types-setuptools

@ofborg eval


Hydrogen Python freezes

So, I have a Python file open - fresh startup.
I select the first block of code I want to run - 2 import statements and 2 string variable definitions. Unfortunately, Hydrogen seems to go into an infinite loop, and the loading bar is displayed forever.
This doesn't happen if I have a fresh file and I evaluate the block line by line. But whenever this happens, interrupting or restarting the python kernel from Hydrogen doesn't seem to work.

I've experienced something similar. Does it work after you save the file? If so, this is issue https://github.com/willwhitney/hydrogen/issues/53

@tusing I'm closing this issue as duplicate of #53 . Please, feel free to reopen if this is not the case.


custom USER_DETAILS_SERIALIZER breaking

While using custom user serializer path in the configuration, it raises error as it expects class
'str' object is not callable

In this line
Already mentioned in this comment

Thanks for raising this issue. I'm going to have a look this weekend.

I solved locally:
# dj_rest_auth/serializers.py
from django.utils.module_loading import import_string
...
class JWTSerializer(serializers.Serializer):
    ...
    def get_user(self, obj):
        ...
        JWTUserDetailsSerializer = import_string(
            rest_auth_serializers.get(
                "USER_DETAILS_SERIALIZER",
                "dj_rest_auth.serializers.UserDetailsSerializer",
            )
        )

I can submit a PR if desired.

Yeah that looks right to me. As long as we don't introduce a dependency on six and all tests still pass 👍 .

This has been merged. I'll cut a release once another PR that is pending gets merged.


could not find the start of authority

I use certmagic via a thin wrapper but failed as follows:
$ login_token="ID,Token"
$ certgrabber -domain bp.hyddns.xyz -provider dnspod -token $login_token -challenge-type dns-01
Getting cert for domain: bp.hyddns.xyz
bp.hyddns.xyz: obtaining certificate: [bp.hyddns.xyz] Obtain: [bp.hyddns.xyz] solving challenges: presenting for challenge: could not determine zone for domain "_acme-challenge.bp.hyddns.xyz": could not find the start of authority for _acme-challenge.bp.hyddns.xyz.: NOERROR (order=https://acme-v02.api.letsencrypt.org/acme/order/324767840/48975851400) (ca=https://acme-v02.api.letsencrypt.org/directory)

See here for related discussion. Any hints for fixing this problem?
Regards,
HZ

Certmagic makes DNS queries to find an SOA record so that we know what the "base domain" is, so it can tell the DNS plugin the base domain/zone.
Real quick, I tried looking for an SOA for your domain, and it looks fine: https://mxtoolbox.com/SuperTool.aspx?action=soa%3Ahyddns.xyz&run=toolpage
So I figure whatever DNS server your system is configured to use isn't resolving it 🤷♂

I tried with Google DNS as follows:
werner@X10DAi-00:~$ dig +short SOA bp.hyddns.xyz @<IP_ADDRESS>
www.hyddns.xyz.
werner@X10DAi-00:~$ dig +short SOA hyddns.xyz @<IP_ADDRESS>
donald.dnspod.net. freednsadmin.dnspod.com.<PHONE_NUMBER> 3600<PHONE_NUMBER> 180

Can these results be used as evidence for the problems discussed here?

Those results look correct 🤷♂

Thanks for that detailed explanation! Fascinating. Glad you figured it out!

Thanks for that detailed explanation! Fascinating. Glad you figured it out!


CODE-RADE playbook - docker handler failed

One of the docker handlers has failed in the last run :
RUNNING HANDLER [mongrelion.ansible-role-docker : restart \
\ docker]                                                   /
 -----------------------------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "failed": true, "msg": "Unable to restart service docker: Failed to restart docker.service: Unit docker.socket failed to load: No such file or directory.\n"}

Hello, @brucellino
I ran into this issue as well with this role. The problem was in the unit file for systemd for the Docker service which was trying to find the unit file for the unix socket, which wasn't there. I have simplified the way that we start the docker service and now it's back to work.
Perhaps you could try that out.
Also, I would like to hear your opinion on why you switch from
foo: blah=this and=theother thing=meh

to
foo:
  blah: this
  and: theother
  thing: meh

Is it a common/known best practice or just a matter of style? I am willing to include this in mainstream if your argument is good enough :)
Thanks!

hi @mongrelion thanks for the comment !
I switched from the first style to the second to make it easier for us to see what has changed from commit to commit. Since git deals with changes by default on a line-by-line basis, the second form made changes much clearer, by highlighting options or parameters of modules, instead of entire actions.
How's that ? Need more arm twisting :)

@brucellino that actually sounds like a great idea. Mind updating your repo and submitting a PR? :)


Use dedicated dtype ModuleID and GroupName instead of string

Rationale:

To bolster interfaces;
To enable move of validations to unmarshaling stage;

@mr0re1 #1262 created a merge conflict that needs to be addressed. #1265 (once merged) might, too.


Service connection

In ressource we have RN https://github.com/PaloAltoNetworks/terraform-provider-scm/blob/main/docs/resources/remote_network.md
Can we add Service-Connection?

added in v0.2.0, fix in this area in v0.3.0


fix: clean up engine listener

engine may be a long-lived object. Failing to clean up the notification listener results in a memory leak in the event that many ephemeral streams are created with the same engine -- for example, extension popups or browser tabs. This fixes the issue.

@iantanwx ^ Oh, looks like we have some conflicts. Would you mind resolving those?

This library has now been migrated into the core monorepo. This PR has been locked and this repo will be archived shortly. Going forward, releases of this library will only include changes made in the core repo.

Please push this branch to core and open a new PR there.
Optionally, add a link pointing to the discussion in this PR to provide context.


Open Variant Card to left of Region Card

When selecting a variant, have the card open on left side of screen - region card os currently forced to open to the right so model it off of the region positioning

Since the country selection button is on the left of the screen, wouldn't it be easier to have the country card be directly below that (left side of screen) so the user only has to move a little down then across the entire screen to get to the right side?

I snagged your code and added on an algorithm for placing cards if there is a card already in its default spot. It works pretty well and emulates that old school windows management.


Calculation of enrichment score

Dear all,
according to the description in the paper, there is a step where log2 FC is calculated. I am curious how exactly LogFC is calculated when its able to process each sample separately (and the input is the sample TPM, not a list of differentially expressed genes). Does  it calcuate differentially expressed genes from my sample to all other samples? I think it doesn't require indication of groups when TPM matrix is given to the input.
Thanks in advance for the response.
Kate

The paper's method description of the multi-sample functional spectra calculation appears wrong.  The code does not calculate LogFCs. Usually we rank genes by LogFCs between a phenotype of interest for GSEA and then calculate enrichments based on ranked LogFCs. This gives us an enrichment for each phenotype.
However, the method in this package is different in that it calculates an enrichment per sample.  It does this by ranking genes by their z-score relative to other samples in your training set. It then calculates enrichments (in the usual GSEA way) based on this ranking, per sample.
There are other ways of calculating functional spectra. e.g. VIPER does something similar. You can also just sum up the z-scores of genes within a gene set and take the z-scores of that quantity. This is how, e.g., AR-activity is calculated. I use these other methods in addition to train the DeepCC model to see what works the best.


Progress bar not updating correctly

No matter what size of a file I upload the progress bar goes to 100% in less than a second. The file continues to upload normally and a success event is fired when the file finishes uploading.
I have tried to console log vdropzone-upload-progress and the progress value always goes from 0 to 100 in less than a second.

@bernisnukic Did you find a fix for this? I'm having the same problem.

@Floriskoch I was developing locally so everything I uploaded finished instantly. If you are having the same problem then I recommend using the chrome dev console to limit your speed to 3g and that will somewhat simulate real world conditions.

Thanks for the quick answer. I also added a transition-delay on .dz-progress which also helps a bit.


feat: oci_pull supports loading Helm charts

This MR shows an example of loading a Helm chart using oci_pull from a repository (for example, ECR)
For example, in WORKSPACE:
oci_pull(
    name = "dependency-helm-chart",
    digest = "sha256:865647e7904a1e4b4e130b423d20b34dcc89a5a37b7bc82e30ff100c30cfb86f",
    registry = "111222333444.dkr.ecr.us-east-2.amazonaws.com",
    repository = "helm/dependency-charts",
)

This is related to issue #282

@alexeagle no worries. I will spend some time adding more documentation and test cases as well.
I'm also having trouble coming up with a general use case for someone (besides me) who wants to use this functionality. Downloading the OCI helm chart is easy enough, but what to do with it afterwards? Any guidance you could give here would be appreciated.

That's the rest of the iceberg, aka OCI artifacts, which we are not yet ready to support. Neither rules_oci nor crane is able to do anything with artifacts yet.
On top of my head, I can think of using parts of a pulled helm chart to create a new one and push it with oci_push.
Currently, rules_oci only conforms to the non-artifact part of https://github.com/opencontainers/image-spec, but we are considering adding full support for artifacts in the future.

Downloading the OCI helm chart is easy enough, but what to do with it afterwards?

I want this, fwiw!  I have my own bazel code that can do helm template $chart.tgz, but I would like to use rules_oci to actually fetch the chart file from an OCI repo.

I don't think we can accept this now, as the whole story for OCI artifacts is missing here. We need to work on https://github.com/bazel-contrib/rules_oci/issues/282 first before we can add this.


Add new installation instructions

In the light of our latest problem with the CNApy installer, I propose a new installation protocol (which successfully resolved the latest installation issue) where the installation of Miniconda and cnapy is only semi-automated. Also, this method works for all common operating systems. Feel free to share your thoughts about this installation protocol proposal :-)
The associated installation assistant script can be found here. The would be added to all future releases as assets.

Is having to copy the scripts into the condabin folder and executing them really simpler than just copying & pasting the contained command into the conda shell?

One advantage is that users who would shy away from the console would jsut have to double-click on a file.

More excellence is incoming :D


The configured runtime path for cri is not working

Description
When I set the runtime path for cri in the configuration, it didn't take effect and still used the default shim in PATH
  [plugins."io.containerd.grpc.v1.cri".containerd]
    # default_runtime_name is the default runtime name to use.
    default_runtime_name = "crun"

    [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.crun]
      # runtime_type is the runtime type to use in containerd.
      # The default value is "io.containerd.runc.v2" since containerd 1.4.
      # The default value was "io.containerd.runc.v1" in containerd 1.3, "io.containerd.runtime.v1.linux" in prior releases.
      runtime_type = "io.containerd.runc.v2"
      runtime_path = "/root/containerd-bin/containerd-shim-runc-v2"

Steps to reproduce the issue

Describe the results you received and expected
I want containerd to use the shim path set in the configuration
What version of containerd are you using?
containerd github.com/containerd/containerd v1.6.19 1e1ea6e986c6c86565bc33d52e34b81b3e2bc71f
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
version = 2

[plugins."io.containerd.snapshotter.v1.overlayfs"]
  upperdir_label = true

# The 'plugins."io.containerd.grpc.v1.cri"' table contains all of the server options.
[plugins."io.containerd.grpc.v1.cri"]

  # disable_tcp_service disables serving CRI on the TCP server.
  # Note that a TCP server is enabled for containerd if TCPAddress is set in section [grpc].
  disable_tcp_service = true

  # stream_server_address is the ip address streaming server is listening on.
  stream_server_address = "<IP_ADDRESS>"

  # stream_server_port is the port streaming server is listening on.
  stream_server_port = "0"

  # stream_idle_timeout is the maximum time a streaming connection can be
  # idle before the connection is automatically closed.
  # The string is in the golang duration format, see:
  #   https://golang.org/pkg/time/#ParseDuration
  stream_idle_timeout = "4h"

  # enable_selinux indicates to enable the selinux support.
  enable_selinux = false

  # selinux_category_range allows the upper bound on the category range to be set.
  # if not specified or set to 0, defaults to 1024 from the selinux package.
  selinux_category_range = 1024

  # sandbox_image is the image used by sandbox container.
  sandbox_image = "registry.aliyuncs.com/google_containers/pause:3.5"

  # stats_collect_period is the period (in seconds) of snapshots stats collection.
  stats_collect_period = 10

  # enable_tls_streaming enables the TLS streaming support.
  # It generates a self-sign certificate unless the following x509_key_pair_streaming are both set.
  enable_tls_streaming = false

  # tolerate_missing_hugetlb_controller if set to false will error out on create/update
  # container requests with huge page limits if the cgroup controller for hugepages is not present.
  # This helps with supporting Kubernetes <=1.18 out of the box. (default is `true`)
  tolerate_missing_hugetlb_controller = true

  # ignore_image_defined_volumes ignores volumes defined by the image. Useful for better resource
        # isolation, security and early detection of issues in the mount configuration when using
        # ReadOnlyRootFilesystem since containers won't silently mount a temporary volume.
  ignore_image_defined_volumes = false

  # netns_mounts_under_state_dir places all mounts for network namespaces under StateDir/netns
  # instead of being placed under the hardcoded directory /var/run/netns. Changing this setting
  # requires that all containers are deleted.
  netns_mounts_under_state_dir = false

  # 'plugins."io.containerd.grpc.v1.cri".x509_key_pair_streaming' contains a x509 valid key pair to stream with tls.
  [plugins."io.containerd.grpc.v1.cri".x509_key_pair_streaming]
    # tls_cert_file is the filepath to the certificate paired with the "tls_key_file"
    tls_cert_file = ""

    # tls_key_file is the filepath to the private key paired with the "tls_cert_file"
    tls_key_file = ""

  # max_container_log_line_size is the maximum log line size in bytes for a container.
  # Log line longer than the limit will be split into multiple lines. -1 means no
  # limit.
  max_container_log_line_size = 16384

  # disable_cgroup indicates to disable the cgroup support.
  # This is useful when the daemon does not have permission to access cgroup.
  disable_cgroup = false

  # disable_apparmor indicates to disable the apparmor support.
  # This is useful when the daemon does not have permission to access apparmor.
  disable_apparmor = false

  # restrict_oom_score_adj indicates to limit the lower bound of OOMScoreAdj to
  # the containerd's current OOMScoreAdj.
  # This is useful when the containerd does not have permission to decrease OOMScoreAdj.
  restrict_oom_score_adj = false

  # max_concurrent_downloads restricts the number of concurrent downloads for each image.
  max_concurrent_downloads = 3

  # disable_proc_mount disables Kubernetes ProcMount support. This MUST be set to `true`
  # when using containerd with Kubernetes <=1.11.
  disable_proc_mount = false

  # unsetSeccompProfile is the profile containerd/cri will use if the provided seccomp profile is
  # unset (`""`) for a container (default is `unconfined`)
  unset_seccomp_profile = ""

  # 'plugins."io.containerd.grpc.v1.cri".containerd' contains config related to containerd
  [plugins."io.containerd.grpc.v1.cri".containerd]

    # snapshotter is the snapshotter used by containerd.
    # snapshotter = "overlayfs"

    # no_pivot disables pivot-root (linux only), required when running a container in a RamDisk with runc.
    # This only works for runtime type "io.containerd.runtime.v1.linux".
    no_pivot = false

    # disable_snapshot_annotations disables to pass additional annotations (image
    # related information) to snapshotters. These annotations are required by
    # stargz snapshotter (https://github.com/containerd/stargz-snapshotter)
    # changed to default true with https://github.com/containerd/containerd/pull/4665 and subsequent service refreshes.
    disable_snapshot_annotations = true

    # discard_unpacked_layers allows GC to remove layers from the content store after
    # successfully unpacking these layers to the snapshotter.
    discard_unpacked_layers = false

    # default_runtime_name is the default runtime name to use.
    default_runtime_name = "crun"

    # 'plugins."io.containerd.grpc.v1.cri".containerd.default_runtime' is the runtime to use in containerd.
    # DEPRECATED: use `default_runtime_name` and `plugins."io.containerd.grpc.v1.cri".runtimes` instead.
    # Remove in containerd 1.4.
    # [plugins."io.containerd.grpc.v1.cri".containerd.default_runtime]

    # 'plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime' is a runtime to run untrusted workloads on it.
    # DEPRECATED: use `untrusted` runtime in `plugins."io.containerd.grpc.v1.cri".runtimes` instead.
    # Remove in containerd 1.4.
    [plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime]

    # 'plugins."io.containerd.grpc.v1.cri".containerd.runtimes' is a map from CRI RuntimeHandler strings, which specify types
    # of runtime configurations, to the matching configurations.
    # In this example, 'runc' is the RuntimeHandler string to match.
    [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.crun]
      # runtime_type is the runtime type to use in containerd.
      # The default value is "io.containerd.runc.v2" since containerd 1.4.
      # The default value was "io.containerd.runc.v1" in containerd 1.3, "io.containerd.runtime.v1.linux" in prior releases.
      runtime_type = "io.containerd.runc.v2"
      runtime_path = "/root/containerd-bin/containerd-shim-runc-v2"

      # pod_annotations is a list of pod annotations passed to both pod
      # sandbox as well as container OCI annotations. Pod_annotations also
      # supports golang path match pattern - https://golang.org/pkg/path/#Match.
      # e.g. ["runc.com.*"], ["*.runc.com"], ["runc.com/*"].
      #
      # For the naming convention of annotation keys, please reference:
      # * Kubernetes: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set
      # * OCI: https://github.com/opencontainers/image-spec/blob/master/annotations.md
      pod_annotations = ["*.wasm.*", "wasm.*", "module.wasm.image/*", "*.module.wasm.image", "module.wasm.image/variant.*"]

      # container_annotations is a list of container annotations passed through to the OCI config of the containers.
      # Container annotations in CRI are usually generated by other Kubernetes node components (i.e., not users).
      # Currently, only device plugins populate the annotations.
      container_annotations = []

      # privileged_without_host_devices allows overloading the default behaviour of passing host
      # devices through to privileged containers. This is useful when using a runtime where it does
      # not make sense to pass host devices to the container when privileged. Defaults to false -
      # i.e pass host devices through to privileged containers.
      privileged_without_host_devices = false

      # base_runtime_spec is a file path to a JSON file with the OCI spec that will be used as the base spec that all
      # container's are created from.
      # Use containerd's `ctr oci spec > /etc/containerd/cri-base.json` to output initial spec file.
      # Spec files are loaded at launch, so containerd daemon must be restared on any changes to refresh default specs.
      # Still running containers and restarted containers will still be using the original spec from which that container was created.
      base_runtime_spec = ""

      # 'plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options' is options specific to
      # "io.containerd.runc.v1" and "io.containerd.runc.v2". Its corresponding options type is:
      #   https://github.com/containerd/containerd/blob/v1.3.2/runtime/v2/runc/options/oci.pb.go#L26 .
      [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.crun.options]
        # NoPivotRoot disables pivot root when creating a container.
        NoPivotRoot = false

        # NoNewKeyring disables new keyring for the container.
        NoNewKeyring = false

        # ShimCgroup places the shim in a cgroup.
        ShimCgroup = ""

        # IoUid sets the I/O's pipes uid.
        IoUid = 0

        # IoGid sets the I/O's pipes gid.
        IoGid = 0

        # BinaryName is the binary name of the runc binary.
        BinaryName = "crun"

        # Root is the runc root directory.
        Root = ""

        # CriuPath is the criu binary path.
        CriuPath = ""

        # SystemdCgroup enables systemd cgroups.
        SystemdCgroup = true

        # CriuImagePath is the criu image path
        CriuImagePath = ""

        # CriuWorkPath is the criu work path.
        CriuWorkPath = ""

  # 'plugins."io.containerd.grpc.v1.cri".registry' contains config related to the registry
  [plugins."io.containerd.grpc.v1.cri".registry]
    config_path = "/etc/containerd/certs.d"

    # 'plugins."io.containerd.grpc.v1.cri.registry.headers sets the http request headers to send for all registry requests
    #
    # 'plugins."io.containerd.grpc.v1.cri".registry.mirrors' are namespace to mirror mapping for all namespaces.
   # [plugins."io.containerd.grpc.v1.cri".registry.mirrors]
   #   [plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"]
   #     endpoint = ["https://registry-1.docker.io", ]

  # 'plugins."io.containerd.grpc.v1.cri".image_decryption' contains config related
  # to handling decryption of encrypted container images.
  [plugins."io.containerd.grpc.v1.cri".image_decryption]
    # key_model defines the name of the key model used for how the cri obtains
    # keys used for decryption of encrypted container images.
    # The [decryption document](https://github.com/containerd/cri/blob/master/docs/decryption.md)
    # contains additional information about the key models available.
    #
    # Set of available string options: {"", "node"}
    # Omission of this field defaults to the empty string "", which indicates no key model,
    # disabling image decryption.
    #
    # In order to use the decryption feature, additional configurations must be made.
    # The [decryption document](https://github.com/containerd/cri/blob/master/docs/decryption.md)
    # provides information of how to set up stream processors and the containerd imgcrypt decoder
    # with the appropriate key models.
    #
    # Additional information:
    # * Stream processors: https://github.com/containerd/containerd/blob/master/docs/stream_processors.md
    # * Containerd imgcrypt: https://github.com/containerd/imgcrypt
    key_model = "node"
[debug]
  level = "debug"

/assign


Cleanup integration tests

Working harder to use the right group / collector to fetch logs.
Dropping the test for repeating schedd's in jobsub_cmd,  as the setup to try to get 2 jobs on 2 schedd's  just doesn't seem to be reliable.

Now that I think about this more, I think the first test should probably exclude --global-pool; and the second test should set the environment variable, since it's an integration test.  Then we can, later on, add pool.py unit tests.

It seems to me simpler to just set the environment variable in the test... take a look at the latest here.


Tabletop drag drop mispredicts badly

Description

Reproduction

insert item into tabletop on live server or with fakelag
drag it around
rubberbandin

presumably a lerping thing


Uncaught Error: ENOENT: no such file or directory, lstat '/myProjectsDir/myProject'

Steps to reproduce:

Open atom
Add a project
delete the project directory

Atom Version: 1.7.3
System: Ubuntu 14.04.4
Thrown From: fuzzy-finder package, v1.0.5
Stack Trace
Uncaught Error: ENOENT: no such file or directory, lstat '/myProjectsDir/myProject'
At ATOM_SHELL_ASAR.js:0

Error: ENOENT: no such file or directory, lstat '/myProjectsDir/myProject'
    at Error (native)
    at fs.lstatSync (fs.js:887:18)
    at Object.fs.lstatSync (ATOM_SHELL_ASAR.js:229:16)
    at Object.realpathSync (fs.js:1532:21)
    at Object.fs.realpathSync (ATOM_SHELL_ASAR.js:304:29)
    at /usr/share/atom/resources/app.asar/node_modules/fuzzy-finder/lib/path-loader.js:19:21
    at Array.map (native)
    at Object.module.exports.startTask (/usr/share/atom/resources/app.asar/node_modules/fuzzy-finder/lib/path-loader.js:17:46)
    at ProjectView.module.exports.ProjectView.runLoadPathsTask (/usr/share/atom/resources/app.asar/node_modules/fuzzy-finder/lib/project-view.js:190:46)
    at ProjectView.module.exports.ProjectView.populate (/usr/share/atom/resources/app.asar/node_modules/fuzzy-finder/lib/project-view.js:111:21)
    at ProjectView.module.exports.ProjectView.toggle (/usr/share/atom/resources/app.asar/node_modules/fuzzy-finder/lib/project-view.js:87:14)
    at atom-workspace.atom.commands.add.fuzzy-finder:toggle-file-finder (/usr/share/atom/resources/app.asar/node_modules/fuzzy-finder/lib/main.js:9:46)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app.asar/src/window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61)

Commands
     -0:13.4.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:13.4.0 snippets:expand (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:11.5.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:11.3.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:11.1.0 core:move-left (atom-text-editor.editor.is-focused)
  2x -0:10.8.0 core:select-down (atom-text-editor.editor.is-focused)
     -0:10.1.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:09.4.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:08.5.0 core:save (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:07.2.0 core:move-down (atom-text-editor.editor.is-focused)
  8x -0:05.7.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:04.5.0 editor:move-to-end-of-word (atom-text-editor.editor.is-focused)
     -0:04.2.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:02.7.0 editor:move-to-end-of-word (atom-text-editor.editor.is-focused)
     -0:01.8.0 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)
     -0:00.6.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "autoHideMenuBar": true,
    "openEmptyEditorOnStart": false,
    "themes": [
      "atom-light-ui",
      "solarized-light-syntax"
    ]
  },
  "fuzzy-finder": {}
}

Installed Packages
# User
No installed packages

# Dev
No dev packages

This should be fixed by #204 (and will be available in Atom 1.9.0), so closing.


Unable to open Dropdowns; other UI controls flicker when running on a secondary display

There is a situation where UI controls can act in unexpected ways in the Toolkit. This has been observed in the Publish to AWS experience, where dropdowns cannot be opened, and flicker. An example is shown in the attached video.
This can happen on multi-display systems, where the screens are not identical. A repro case is to use a laptop display as the primary display, and then extend the display to an HDMI connected monitor. When Visual Studio is open on the HDMI connected monitor, the above behavior may happen.
We are investigating a fix to the problem. As a workaround, move Visual Studio to the primary display. The UI controls should operate as expected.
https://user-images.githubusercontent.com/39839589/161355281-f0235d98-c03b-4c96-a688-02c2c66f3699.mp4
Related to: #185

This fix has been released with version <IP_ADDRESS>


No user found in this UnicastPingRequest for action internal:discovery/zen/unicast and transport type netty.

I am trying to get two nodes to talk to eachother wish search-guard-ssl.
On one node i get this error:
[2016-06-27 16:26:51,613][ERROR][com.floragunn.searchguard.transport.SearchGuardTransportService] No user found in this UnicastPingRequest for action internal:discovery/zen/unicast and transport type netty. If you see this error related when you use sgadmin make sure you connect with a client (and not with a node) certificate.
On the other i get:
[2016-06-27 16:29:21,172][WARN ][discovery.zen            ] [xxxxxxxxxxx01] failed to validate incoming join request from node [{xxxxxxxxxxx02}{yZAXYebuQBeYGlmfTKOIvw}{<IP_ADDRESS>}{xxxxxxxxxxx02.ourdomain.local/<IP_ADDRESS>:19300}{data=false, city=local, master=true}]
java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
<EMAIL_ADDRESS>search-guard]#

rpm -qi elasticsearch
Name        : elasticsearch                Relocations: /usr
Version     : 2.3.3                             Vendor: (none)
Release     : 1                             Build Date: Wed 18 May 2016 01:49:40 AEST
Install Date: Fri 24 Jun 2016 12:27:10 AEST      Build Host: vagrant-ubuntu-trusty-64
Group       : Application/Internet          Source RPM: elasticsearch-2.3.3-1.src.rpm
Size        : 30789310                         License: (c) 2009
Signature   : RSA/SHA1, Wed 18 May 2016 01:49:42 AEST, Key ID d27d666cd88e42b4
Packager    : Elasticsearch
Summary     : Distribution: RPM
Description :
Elasticsearch is a distributed RESTful search engine built for the cloud. Reference documentation can be found at https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html and the 'Elasticsearch: The Definitive Guide' book can be found at https://www.elastic.co/guide/en/elasticsearch/guide/current/index.html

Can you pls. share your elasticsearch.yml and tell us which Search Guard SSL version you are using. Besides this it looked like that you have also installed Search Guard (and not only Search Guard SSL)

Yes I have installed both, and am trying to slowly work through the steps to make them work. Here is the two plug in files:
search-guard-2-<IP_ADDRESS>.zip
search-guard-ssl-<IP_ADDRESS>.zip
I have just removed the search-guard-2 for now, and things look better now.
Thanks for quick response and helpful hint


Remove classes in web app

Use functional components and pass objects as it is.

Done

Done and completed


Localize generated output

As discussed in #287 and #289, swift-doc generated output isn't localized, and uses hardcoded English text. We should consider localizing output to other languages and regions as well.

Things to consider:

Localizing Package Resources
LTR / RTL layout in CSS
Localized strings for API types ("function", "method") and callouts ("note", "remark")


BLESecurity - Pairing and connection successful, but not passing keys.  "Non bonding"

I've been using an ESP wroom 32 devkit-c (https://www.mouser.com/new/espressif/espressif-esp32-devkitc/), and i'm unable to utilize a BLESecurity pairing that successfully passes a key.  I'm literally copy-pasting the example setup code, and the result is simply the following
I am doing a somewhat non-conventional thing, in using the same code for client and server device.  However, I would like to stress that I have tested this by segregating the code completely based on client and server, and the results are the same.  I always get the following behavior:
E (19425) BT: Non bonding: No keys will be exchanged
I am thoroughly confused.  None of the callbacks are called, and this seems a result of the this underlying mechanism being met:
esp-idf/components/bt/bluedroid/stack/smp/smp_act.c
99 /*******************************************************************************
100 ** Function     smp_send_app_cback
101 ** Description  notifies application about the events the application is interested in
102 *******************************************************************************/
103 void smp_send_app_cback(tSMP_CB *p_cb, tSMP_INT_DATA *p_data)
...
157                 if (!(p_cb->loc_auth_req & SMP_AUTH_BOND)) {
158                     SMP_TRACE_WARNING ("Non bonding: No keys will be exchanged");
159                     p_cb->local_i_key = 0;
160                     p_cb->local_r_key = 0;
161                 }
Server-side output:
D (19375) BLEServer: >> handleGATTServerEvent: ESP_GATTS_CONNECT_EVT
D (19375) BLECharacteristic: >> handleGATTServerEvent: ESP_GATTS_CONNECT_EVT
V (19385) FreeRTOS: Semaphore giving: name: ConfEvt (0x3ffea934), owner: <N/A>
D (19395) BLECharacteristic: << handleGATTServerEvent
D (19395) BLECharacteristic: >> handleGATTServerEvent: ESP_GATTS_CONNECT_EVT
V (19405) FreeRTOS: Semaphore giving: name: ConfEvt (0x3ffeb2cc), owner: <N/A>
D (19415) BLECharacteristic: << handleGATTServerEvent
I (19415) BTPairingServer: connection received
D (19425) BLEServer: << handleGATTServerEvent
E (19425) BT: Non bonding: No keys will be exchanged
D (19545) BLEUtils: Received a GAP event: ESP_GAP_BLE_AUTH_CMPL_EVT
D (19545) BLEUtils: [bd_addr: 30:ae:a4:44:0f:42, key_present: 0, key: ***, key_type: 0, success: 1, fail_reason: 0, addr_type: ***, dev_type: ESP_BT_DEVICE_TYPE_BLE]
I (19555) BLEDevice: ESP_GAP_BLE_AUTH_CMPL_EVT
I (19555) ServerSecurityCallbacks: Starting BLE work!
I (19565) ServerSecurityCallbacks: size: 12
.... events to pass a message
I (27905) BluetoothTask: RX Queue read: doodlebug
Client side output:
D (107275) BLEDevice: gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_CONNECT_EVT
D (107285) BLEUtils: GATT Event: ESP_GATTC_CONNECT_EVT
D (107285) BLEUtils: [conn_id: 0, remote_bda: 30:ae:a4:42:e9:22]
D (107295) BLEDevice: gattClientEventHandler [esp_gatt_if: 4] ... ESP_GATTC_OPEN_EVT
D (107305) BLEUtils: GATT Event: ESP_GATTC_OPEN_EVT
D (107305) BLEUtils: [status: ESP_GATT_OK, conn_id: 0, remote_bda: 30:ae:a4:42:e9:22, mtu: 23]
I (107315) BTPairingClient: connected to server
V (107325) FreeRTOS: Semaphore giving: name: OpenEvt (0x3ffebe94), owner: connect
V (107325) FreeRTOS: << wait: Semaphore released: name: OpenEvt (0x3ffebe94), owner: connect
E (107325) BT: Security Manager: BTM_SetEncryption busy, enqueue request
D (107335) BLEClient: << connect(), rc=1
E (107345) BT: earlier enc was not done for same device
I (107345) BluetoothTask: Connected to server
I (107355) BTPairingClient: connected to server
D (107385) BLEUtils: Received a GAP event: ESP_GAP_BLE_AUTH_CMPL_EVT
D (107385) BLEUtils: [bd_addr: 30:ae:a4:42:e9:22, key_present: 0, key: ***, key_type: 0, success: 1, fail_reason: 0, addr_type: ***, dev_type: ESP_BT_DEVICE_TYPE_BLE]
I (107395) BLEDevice: ESP_GAP_BLE_AUTH_CMPL_EVT
I (107405) ClientSecurityCallbacks: remote BD_ADDR:
I (107405) ClientSecurityCallbacks: 30 ae a4 42 e9 22
I (107415) ClientSecurityCallbacks: address type = 0
I (107415) ClientSecurityCallbacks: pair status = success
My init code looks as follows:
261     pDevice = &Device;
262     pDevice->init("BLE Device");
264     pDevice->setEncryptionLevel(ESP_BLE_SEC_ENCRYPT);
265     pMySecurity = new MySecurity();
266     pMySecurity->pBTTask = this;
267     pDevice->setSecurityCallbacks(pMySecurity);
269     pSecurity = new BLESecurity();
271     pSecurity->setKeySize();
272     pSecurity->setAuthenticationMode(ESP_LE_AUTH_REQ_SC_ONLY);
273     pSecurity->setCapability(ESP_IO_CAP_IO);
274     pSecurity->setRespEncryptionKey(ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK);
275     pSecurity->setInitEncryptionKey(ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK);
My security callback looks as such
11 uint32_t MySecurity::onPassKeyRequest()
12 {
13     uint32_t passkey = 0;
14     if (pBTTask->isActingClient)
15     {
16         ESP_LOGI(CLTSECTAG, "PassKeyRequest");
17         passkey = 123456;
18         // TODO: randomize
19     }
20     else // is Server
21     {
22         ESP_LOGI(SVRSECTAG, "PassKeyRequest");
23         passkey = 123456;
24         // TODO: request input
25     }
26     return passkey;
27 }
28
29 void MySecurity::onPassKeyNotify(uint32_t pass_key)
30 {
31     if (pBTTask->isActingClient)
32     {
33         ESP_LOGI(CLTSECTAG, "The passkey Notify number:%d", pass_key);
34     }
35     else
36     {
37         ESP_LOGI(SVRSECTAG, "The passkey Notify number:%d", pass_key);
38     }
39     return;
40 }
41
42 bool MySecurity::onConfirmPIN(uint32_t pass_key)
43 {
44     bool retval = false;
45     if (pBTTask->isActingClient)
46     {
47         ESP_LOGI(CLTSECTAG, "The passkey YES/NO number:%d", pass_key);
48         vTaskDelay(5000);
49         retval = true;
50     }
51     else
52     {
53         ESP_LOGI(SVRSECTAG, "onConfirmPin %d", pass_key);
54         // TODO: retval
55     }
56     return retval;
57 }
58
59 bool MySecurity::onSecurityRequest()
60 {
61     bool retval = false;
62     if (pBTTask->isActingClient)
63     {
64         ESP_LOGI(CLTSECTAG, "Security Request");
65         retval = true;
66     }
67     else
68     {
69         ESP_LOGI(SVRSECTAG, "On Security Request");
70         retval = true;
71     }
72     return retval;
73 }
74
75 void MySecurity::onAuthenticationComplete(esp_ble_auth_cmpl_t auth_cmpl)
76 {
77     if (pBTTask->isActingClient)
78     {
79         if(auth_cmpl.success)
80         {
81             ESP_LOGI(CLTSECTAG, "remote BD_ADDR:");
82             esp_log_buffer_hex(CLTSECTAG, auth_cmpl.bd_addr, sizeof(auth_cmpl.bd_addr));
83             ESP_LOGI(CLTSECTAG, "address type = %d", auth_cmpl.addr_type);
84         }
85         ESP_LOGI(CLTSECTAG, "pair status = %s", auth_cmpl.success ? "success" : "fail");
86     }
87     else
88     {
89         ESP_LOGI(SVRSECTAG, "Starting BLE work!");
90         if(auth_cmpl.success)
91         {
92             uint16_t length;
93             esp_ble_gap_get_whitelist_size(&length);
94             ESP_LOGI(SVRSECTAG, "size: %d", length);
95         }
96     }
97 }

https://github.com/espressif/esp-idf/blob/e676676541ff31b72818246d267b0ccc529cb0d7/examples/bluetooth/gatt_security_server/tutorial/Gatt_Security_Server_Example_Walkthrough.md#setting-security-parameters
You need to change this line:
272 pSecurity->setAuthenticationMode(ESP_LE_AUTH_REQ_SC_ONLY);

I feel stupid now, i'm sorry.  Thank you!

Hi,
I am only now learning about BT and BLE and am using an ESP32. I am using Arduino as the programming "language" and would like to include an authentication step before devices (ESP32 as a server and smartphone as client) pair. I have been googling and looking at threads like this one and the security example in the ESP-IDF and could not really understand what must be done. I am sure not to understand things in detail, because I have tried making my own code for the purpose and got the chip restarting constantly (sorry, I have no more code with me now to post here).
Is there some Arduino example somebody could provide on using a password to pair with an ESP32 via BLE? Or maybe some indications or other references?
Thanks

https://github.com/nkolban/esp32-snippets/tree/master/cpp_utils/tests/BLETests/Arduino/security/BLE_server


looking for challange

hi every one
do you have any challange to do ?

what is your stack

i just wanna know  if  they  offer a list of challenges ?


Mutation not working correct on dynamic pages

Bug report
Description / Observed Behavior
I load a list of posts on an index page and I want to edit a post on an edit page.
I want to use the mutate function on the edit page, so the edited post is shown on the index page before the new data is fetched from the server. To do this I use the mutate function on the edit page:
mutate(
 "api/posts",
 posts => {
   console.log("posts", posts); // posts are empty on dynamic routes
   return {...};
 },
 false
);

The arrow function displays the correct cached data with a normal next route, e.g., pages/index and pages/edit.
But when the edit page is dynamic, e.g., pages/[postID]/edit, posts` is undefined.
Expected Behavior
I would expect that I can access posts with dynamic routes as well as with static ones.
Repro Steps / Code Example
CodeSandbox Example
Unfortunately dynamic routing seems not to be working on CodeSandbox. Here is a workaround to test it locally in 2min.

Go to CodeSandbox and export to .ZIP
Unpack the ZIP and run npm install in the directory.
Run npm run dev to start the dev server.
Open the console and test the success example first. You see the data displayed in the console.
Now run the fail_index version with the dynamic route. See how undefined is displayed.

Additional Context
SWR Version 0.2.3
Next 9.4.4

Try changing your links to work this way:
<Link href="fail/[id]/create" as="fail/123/create">

And let me know if that works.

@sergiodxa It works! Wow, cool.
Can you briefly explain why it works now?

This is because how Next.js Link works, the href must be the route file path, in your case that is fail/[id]/create, and the as is how the URL is going to be displayed in the URL, in your case is fail/123/create, replacing the params with values there, so you can't use the params with value in href, on in as, and when you don't follow this rule and pass fail/123/create Next will try to find a pages/fail/123/create.js file, because it doesn't exists it will reload the page to attempt to render a 404, but when reloading it will correctly find the page file and render the page, and because of the reload the cache of SWR was reseted and you lost your already prefetched data.


Return item list from tradeoffer

Hello!
I cant check it because I have blocked tradeoffers to next 7 days - steam guard so...
In which format, function returning item list from user from tradeoffer? Anyone can paste for me array with it? Becase I will put this data to mysql.
Thanks!

Why do you closed this issue?


Standalone script to run inference

Thanks for the great work!
Do you have a standalone script/notebook to run without the demo or UI?

Thanks for the great work!
Do you have a standalone script/notebook to run without the demo or UI?

Thanks for your interest, you can refer to the code implementation of the original ControlNet and replace the checkpoint path. For example:
import torch
import os
from huggingface_hub import HfApi
from pathlib import Path
from diffusers.utils import load_image
from PIL import Image
import numpy as np
from controlnet_aux import LineartDetector

from diffusers import (
    ControlNetModel,
    StableDiffusionControlNetPipeline,
    UniPCMultistepScheduler,
)

# replace this checkpoint with our ControlNet++
checkpoint = "ControlNet-1-1-preview/control_v11p_sd15_lineart"

image = load_image(
    "https://huggingface.co/ControlNet-1-1-preview/control_v11p_sd15_lineart/resolve/main/images/input.png"
)
image = image.resize((512, 512))

prompt = "michael jackson concert"
processor = LineartDetector.from_pretrained("lllyasviel/Annotators")

control_image = processor(image)
control_image.save("./images/control.png")

controlnet = ControlNetModel.from_pretrained(checkpoint, torch_dtype=torch.float16)
pipe = StableDiffusionControlNetPipeline.from_pretrained(
    "runwayml/stable-diffusion-v1-5", controlnet=controlnet, torch_dtype=torch.float16
)

pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
pipe.enable_model_cpu_offload()

generator = torch.manual_seed(0)
image = pipe(prompt, num_inference_steps=30, generator=generator, image=control_image).images[0]

image.save('images/image_out.png')

Thanks for the swift reply!


"this.updater.enqueueCallback is not a function" on page load

As soon as I added a ScaleText around a p, my page threw a huge load of errors:
Uncaught TypeError: this.updater.enqueueCallback is not a function
    at ScaleText../node_modules/react-scale-text/node_modules/react/lib/ReactBaseClasses.js.ReactComponent.setState (ReactBaseClasses.js:64)
    at ScaleText.resize (index.js:116)
    at ScaleText.componentDidMount (index.js:69)
    at commitLifeCycles (react-dom.development.js:8778)
    at commitAllLifeCycles (react-dom.development.js:9938)
    at HTMLUnknownElement.callCallback (react-dom.development.js:540)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:579)
    at invokeGuardedCallback (react-dom.development.js:436)
    at commitRoot (react-dom.development.js:10042)
    at performWorkOnRoot (react-dom.development.js:10966)
    at performWork (react-dom.development.js:10916)
    at requestWork (react-dom.development.js:10832)
    at scheduleWorkImpl (react-dom.development.js:10715)
    at scheduleWork (react-dom.development.js:10677)
    at Object.enqueueSetState (react-dom.development.js:6184)
    at Objects../node_modules/react/cjs/react.development.js.Component.setState (react.development.js:226)
    at Objects.<anonymous> (Objects.tsx:38)
    at step (Navigation.tsx:66)
    at Object.next (Navigation.tsx:66)
    at fulfilled (Navigation.tsx:66)
    at <anonymous>

Not sure what to do with that one, shame as this is just the component I need to solve a slight UI issue with long usernames...

Getting ready to merge in #12 which is a dependency upgrade to support React 16, which should correct this issue.

We've got 1.1.4 out now which should correct these issues. I'm going to close this; but feel free to reopen if you're still seeing problems.


Cannot read property 'map' of undefined

Whenever I run hackmyresume build resume.json I get an error saying Cannot read property 'map' of undefined. I feel like I'm missing something really obvious...

Thanks for the info -- have had one report of this already and, assuming it's the same issue, a fix should be out shortly. As a sanity check, you can try running the same command against Jane Q.'s resume and I'll update here either way.

I'm getting this as well, might be related:
ERROR: Cannot read property 'history' of undefined

When I try with Jane Q.'s resume I get the following:
ERROR: Object # has no method 'parse'

If you're still seeing this error, trying upgrading (via npm install/update) to 1.2.1 (latest as of today) or 1.3.0 (latest as of later today/tomorrow/after Christmas). Both versions include related fixes.
@thatRailsGuy Jane Q updated her resume last night, if this error persists, grab latest as a sanity check. Thanks.

+1 also seeing this issue, both with HackMyResume and fluentcv. JSON Resume format is deemed valid by both validators.

FWIW the stack is
TypeError: Cannot call method 'map' of undefined
    at writing (/usr/local/lib/node_modules/hackmyresume/src/core/convert.js:300:18)
    at Object.module.exports.toFRESH (/usr/local/lib/node_modules/hackmyresume/src/core/convert.js:56:18)
    at FreshResume.parse (/usr/local/lib/node_modules/hackmyresume/src/core/fresh-resume.js:157:23)
    at FreshResume.open (/usr/local/lib/node_modules/hackmyresume/src/core/fresh-resume.js:36:17)
    at /usr/local/lib/node_modules/hackmyresume/src/core/load-source-resumes.js:9:53
    at Array.map (native)
    at loadSourceResumes (/usr/local/lib/node_modules/hackmyresume/src/core/load-source-resumes.js:6:16)
    at generate (/usr/local/lib/node_modules/hackmyresume/src/verbs/generate.js:40:18)
    at main (/usr/local/lib/node_modules/hackmyresume/src/index.js:75:22)
    at Object.<anonymous> (/usr/local/lib/node_modules/hackmyresume/src/index.js:22:3)

I realize it might hurt the clean UI a bit, but I might recommend adding the stack trace to the handleError output, like:
f( !ex.fluenterror || ex.fluenterror < 3 ) {
127     console.log( ('ERROR: ' + trimmed.toString()).red.bold);
128     console.log( ex.stack.gray);
129   } else
130     console.log( trimmed.toString() );

Getting the latest Jane Q Fullstacker resume and running<EMAIL_ADDRESS>on it I'm seeing the same parse error as @thatRailsGuy:
TypeError: Object #<Object> has no method 'parse'
    at Theme.open (/usr/local/lib/node_modules/hackmyresume/src/core/theme.js:33:25)
    at generate (/usr/local/lib/node_modules/hackmyresume/src/verbs/generate.js:63:38)
    at main (/usr/local/lib/node_modules/hackmyresume/src/index.js:75:22)
    at Object.<anonymous> (/usr/local/lib/node_modules/hackmyresume/src/index.js:22:3)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)

"map" error with 1.2.1 on validated resume.

Working a fix for this now...
@Furchin Agreed, the error output is a little stingy! Will add in next bump.

Some occurrences of this and #31 possibly related to Node.js version issue -- older versions don't support path.parse.

I'm reproing using Node v0.10.29. The Jane Q resume works on latest stable node (5.2.0).

Yay. Thanks for that and the call stack @Furchin. Fix in progress.

I was running this in a docker container based off https://hub.docker.com/r/madkom/node-npm/.  But after switching to the official node container, this works great, thanks!

Please try v1.2.2 for those who are experiencing these issue. Thanks!

That fixed it for me, thanks!

Confirmed fixed here as well, thanks!

Can't currently confirm this as fixed because I'm running into Cannot read property start of undefined instead now...

@Furchin, @Quantumplation, @thatRailsGuy, @robertmain Yay. Thanks for the reports.
@robertmain Thanks and this will be fixed this evening. In the meantime, as a potential workaround, it looks like you're missing a start date or one of the required resume sections. In v1.3 you'll be able to omit this stuff, but in v1.2.x it's still a little finnicky. Are you able to build any of the sample resumes?

@hacksalot wow, thanks for grabbing this so soon(Merry Christmas! :smile: ). I'll try building one of the sample resumes(where do I find them?). I'm guessing the reason it's unhappy about the missing dates is because I removed the start and end dates from some of my volunteer work(it was at a one day conference, so the start and end dates seemed somewhat redundant)

@robertmain You're welcome and happy holidays! :snowman:
The second part of the fix is in progress and as of v1.3 you'll be able to omit dates and other fields across the board, and if a field is required, a validation error will trigger. As for the samples, there are a few, but the FRESH sample is here and the JSON Resume sample is here. v1.3 should be out today or tomorrow at latest.


Cherry-pick changes from PR151

Cherry-pick of https://github.com/apple/swift-system/pull/151, improving support for Windows compilers.

@swift-ci please test

CI has a configuration issue on macOS, confusing the package's destination branch for a swift repository branch.


Update id-token-claims-reference.md

there is not c_hash from /token endpoint. So I added same explain with at_hash.

This claim isn't returned on ID tokens from the /token endpoint.

#sign-off


PyPi upload ready?

Using this issue to track whether or not this package is ready to be upload to pip.

Code looks great to me! 🎉
A few questions:

I assume that updating it on PyPi is relatively straightforward?  If it is a little complex, it may be worth waiting until July to do this to make sure we don't want more changes incorporated as we build out the end-of-unit projects/etc?
Who can make the updates, and can there be multiple "owners"?  I want to make sure I can still update this even after you graduate and I don't know the access control policies around pushing updates to PyPl?  Can you look into how that's managed?

From what I understand it's insanely easy - build the wheel/egg with python3 -m build and upload it with twine.
For access, I'll take a look at how control can be granted rq

I can easily make anyone with a PyPi account an owner or maintainer - so I could give your account owner access and you could dole out maintainer access to whoever maintains this in the future!

Perfect -- I just created my account as wadefagen.  Thanks for checking on this! 🎉
LGTM to publish. :)

And I just added you as an owner!


Fully Utilize Hub Artifactory Common

Updating Hub Artifactory to fully utilize Hub Artifactory Common

It's pretty christmas-y here, so let me sum up some of the broader changes:
-Introduced two new dependencies to Hub Artifactory for properties file management
-Reduced application to only configuration
-Removed classes unrelated to configuring the plugin
-Split ConfigurationManager into CommonConfigurationManager, InspectorConfigurationManager, ScannerConfigurationManager
-Hub client moved
-Inspector and Scanner now both use properties files
-Scanner's log verbose cron log has been removed
-Application.properties now exists largely as a placeholder for non-inspector, non-scanner values
-All tests and test resources have been removed, as they were not testing any of the functionality of the modern plugins


Update Composer dependencies (2022-05-12-00-07)

Visual regression test passed!
View the visual regression test report


Put function translation into a HIR visitor

@kripken Here's how to put this stuff in a visitor.

I'm going to go ahead and merge this and hope you're cool with the visitor.

I understand practically nothing of this code ;) but it looks nice and I'm sure it's right!


[SPARK-39887][SQL][FOLLOW-UP] Do not exclude Union's first child attributes when traversing other children in RemoveRedundantAliases

What changes were proposed in this pull request?
Do not exclude Union's first child attributes when traversing other children in RemoveRedundantAliases.
Why are the changes needed?
We don't need to exclude those attributes that Union inherits from its first child. See discussion here: https://github.com/apache/spark/pull/37496#discussion_r944509115
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing UTs.

@cloud-fan, as we discussed here https://github.com/apache/spark/pull/37496#discussion_r944509115, this follow-up needs t land in 3.4, 3.3, 3.2.

thanks, merging to master/3.3/3.2!

Thanks for the review @cloud-fan, @dongjoon-hyun!


Support for Accelerated Hierarchical Density Clustering?

I was wondering if this library includes the accelerated version of the HDBSCAN algo from 2017?
The paper: https://arxiv.org/abs/1705.07321
The implementation in Python: https://github.com/scikit-learn-contrib/hdbscan

Hi @jens-totemic , This only supports basic HDBSCAN. I am happy to look at a PR if you want to add this.


[FR] Add support for multiple worlds

Since currently Entity is always added to the DefaultGameObjectInjectionWorld. This prevents multiworld compatibility.

Still need to figure out how to render proper World selection from Editor instead of direct byte property field.
Probably worth to store World names as part of EditorPrefs from the playmode?
No API to pre-fetch world names sadly from default bootstrap, and Entities Hierarchies window suffers from it as well.

Added in v.1.0.1


updated #761 for naming consistency

This is a follow-up PR for #761, which fixes #721.  The representations element has been added, along with support for multiple examples throughout the schema object.  In addition, the request body examples from #670 has been added to the PR.

@OAI/tdc please review

@fehguy I'm confused.  I had made these changes in #761 but in my last update I had renamed representations to content.  Did my changes get merged into yours, or did you have to redo what I had done?

Oh weird, I looked at your commit but I see the word content instead of representations throughout it.  Maybe you didn't push your update?  Happy to use yours :)

already merged -- is there another PR for some of the changes being worked on? (sorry if I'm not allowing time to actually create the PR!)
Can representations (or the content objects if that is the correct name?) be defined in components and reused with $ref? I don't see any examples that show this such as $ref: '#/components/representations/pet' $ref: '#/components/content/pet'
FWIW, I prefer representations over content; that is literally half of REST after all :smirk: . But I admit it is unfortunatly 114% longer

@DavidBiesack I merged both Tony's PR and my original PR in.  We have the Callbacks PR to merge in and I need to create a PR for the changes to support URI Template stuff and because everything is in one file we keep causing ourselves merge conflicts.  So, at this point it's probably best to raise issues with links to the main document and we'll tag them with the '3.0 needs documentation' tag.
We can reuse responses, so I'm not sure there is a need for reusing content objects.  But I'm open to being convinced otherwise.
Initially I preferred representation, but once I realized that I could describe it as a content object that contains "Content  Type" descriptions, and that ties directly to the HTTP header, it felt more natural.  Most people are not familiar with the "representations" terminology.


Test fix for setuptools update

Closing, superseded by https://github.com/SymbiFlow/symbiflow-arch-defs/pull/2329


Create modal - hyphens not allowed in bot project name

Describe the bug
In previous versions, hyphens were allowed in the bot project name. Now they seem to have been disallowed. Unless there's a compelling reason for this, we should maintain support of the same naming conventions.
Version
1.3.1-nightly.218556.7416cb6
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Screenshots

Naming constraint will remain in R12, in R13 we will implement naming sanitization at the generator level to allow for less invalid characters in the overall proj name while resulting in valid projName in the generated C# code.

Seeing this same issue in V2.0.0
Is this the intended convention from now on?
Can someone tell me what does this naming convention impact? (Filename, variable name, etc.)


fix: gpu driver container image sha during VHD builds

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.095%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2255

Relevant Lines:
2851

💛  - Coveralls

lgtm - hard coding sha or else it won't be present in CSE

VHD builds* :)


Issue when calls "max" function with posix ptime

Dear @mshepanski,
In the lastest quince version, it work well all of basic CRID operators vs column type timestamp mapping with posix ptime.
Unfortunately, I want to select value in range by min, max function. It work with primary type, eg: int, string, ... but throw exception with posix ptime type.
exception msg is: "expected column of type 7, received type was 8"
I guests that result of sql max is timestamp and it not jet convert to string in order to map with posix ptime.
My function call:
quince::query<boost::optionalboost::posix_time::ptime> maxTimes = table->select(quince::max((*table)->last_update));
maxTimes has 1 item but when call maxTimes.begin() it throw above exception.
Please consider and help me resolve this issue.
Thanks you.

Hi trinhthetranh,
This is just a quick reply to say I've seen your email and I will get onto the problem over the next week.
Regards,
--- Michael
--
Michael Shepanski
Be a philosopher for a day: visit http://stepbackstepforward.com

On 14 Aug 2015, at 12:47 pm, trinhthethanh<EMAIL_ADDRESS>wrote:
Dear @mshepanski,
In the lastest quince version, it work well all of basic CRID operators vs column type timestamp mapping with posix ptime.
Unfortunately, I want to select value in range by min, max function. It work with primary type, eg: int, string, ... but throw exception with posix ptime type.
exception msg is: "expected column of type 7, received type was 8"
I guests that result of sql max is timestamp and it not jet convert to string in order to map with posix ptime.
My function call:
quince::queryboost::optionalboost::posix_time::ptime maxTimes = table->select(quince::max((*table)->last_update));
maxTimes has 1 item but when call maxTimes.begin() it throw above exception.
Please consider and help me resolve this issue.
Thanks you.
—
Reply to this email directly or view it on GitHub.

Okay, I have made a fix on the dev branch. Could you please check that it does what you need, and if it does then I will merge to master.

thank for quickly resolve, I'll try to test.

Forgot to mention: you will need to pull quince_postgresql (dev branch).
--
Michael Shepanski
Be a philosopher for a day: visit http://stepbackstepforward.com

On 21 Aug 2015, at 10:56 pm, trinhthethanh<EMAIL_ADDRESS>wrote:
thank for quickly resolve, I'll try to test.
—
Reply to this email directly or view it on GitHub.

I have merged the fix to the main branch of quince_postgresql, and I'm going to close the issue now. Please reopen it if you disagree.


Automated cherry pick of #1261: fix: update vendor 20190617

Cherry pick of #1261 on release/2.10.0.
#1261: fix: update vendor 20190617

/approve
/lgtm

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@abf6e43). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             release/2.10.0   #1262   +/-   ##
================================================
  Coverage                  ?   7.94%
================================================
  Files                     ?     367
  Lines                     ?   57357
  Branches                  ?       0
================================================
  Hits                      ?    4555
  Misses                    ?   52402
  Partials                  ?     400

Flag
Coverage Δ

#aFlag
7.94% <ø> (?)

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 abf6e43...06f08ac. Read the comment docs.


Add home_page? method to error view context

THe header partial now uses the home_page? method to decide whether to make the site name a link or not so we need to add that to our context.
https://www.pivotaltracker.com/story/show/99040670

:+1: will merge when travis does it's thing


Add support for array of files with same name in request

Changes proposed in this pull request:

Add support for array of files with same name in request

Coverage increased (+0.002%) to 96.88% when pulling 757eda51e3cc64d0cee34c3978a416f3fc74b916 on alice-biometrics:master into 1ed14fbde5be3d144760fec4982e90064f151e88 on zalando:master.

Hi @fgsalomon could you provide some additional context with this change? Ideally in the form of a test that used to fail and now succeeds because of this change.

I'm sorry about the lack of tests. I needed this for an old project but have moved to FastAPI since then so I'm gonna discard the PR.


ConnectionModal and ConnectionBanner cleanup

state: save connectError instead of notConnected boolean
Allow connection banner code to access the error message and other details about the websocket error to provide more context to the user.
Add ConnectionModal for displaying connection errors

expose connection_error var for downstream use
expose has_connection_error var for downstream use
expose default_connection_error as list[str | Var] for downstream use with
other components or styles without duplicating the error message
include API_URL in the error message so users can easily see what the frontend
was trying to connect to

Create rx.connection_modal which takes over the page and definitely does NOT
give any illusion as to the page interactivity status.
default template: add rx.connection_modal()
show off the connection status modal dialog in the default template to help users determine when their backend is disconnected.
fix https://github.com/reflex-dev/reflex/issues/1364

Rebased on the new refactored event loop.


About the heatmap usage

Dear the authors of HumanSD.
First of all, I would like to thank you for sharing your work.
I have read both the paper and the code and I found some parts that I cannot understand so I would like to ask some questions here.
About the heatmap loss, in the Eq. 6 of paper, it is written that $Wa$ is a weight such that the loss around the area that has high correlation to the input condition has higher priority factors.

From my understanding from Figure 2, it seems that the heatmap is used for simple multiplication or simple mask.

But, after checking the code, it seems that the obtained heatmap is not directly used as simple mask. After heatmap is obtained, the heatmap is passed to VAE encoder as shown here:
https://github.com/IDEA-Research/HumanSD/blob/c5db29dd66a3e40afa8b4bed630f0aa7ea001880/ldm/models/diffusion/ddpm.py#L2011
After that, the obtained embedding is used to mask the loss here:
https://github.com/IDEA-Research/HumanSD/blob/c5db29dd66a3e40afa8b4bed630f0aa7ea001880/ldm/models/diffusion/ddpm.py#L2026
My questions are the following:

Why is it necessary to pass the obtained heatmap to VAE encoder?
Why do you need 1+ in loss_simple = torch.mul(self.get_loss(model_output, target, mean=False),(1+self.pose_loss_weight*back_to_embed_pose_add_weight)).mean([1, 2, 3])
About obtaining the heatmap as shown in this part of the code.
https://github.com/IDEA-Research/HumanSD/blob/c5db29dd66a3e40afa8b4bed630f0aa7ea001880/ldm/models/diffusion/ddpm.py#L1998
The way the heatmap is calculated makes the pixel which are greater than threshold has value of zero and otherwise. I thought that the normal way is to assign 1 to pixels where value is greater than threshold. Why the other way is performed here?

I would really appreciate it if you could guide me to understand your work more correctly.
Thank you very much.

same question here?

same here, any suggestions?


pod eviction API doc

This is a Possible Imporvement Report
Problem:
During reading about eviction API I had a hard time to understand why there will:

be a replacement pod during eviction;
never be anything other than 429 or 500 in case of very long termination grace period.

Here is a part of doc:
In some cases, an application may reach a broken state where it will never return anything other than 429 or 500. This can happen, for example, if the replacement pod created by the application's controller does not become ready, or if the last pod evicted has a very long termination grace period.

Proposed Solution:
Probably my English is not mature enough to get it, then no solution is needed.
Otherwise may we rephrase it?
If someone can explain, probably I can rephrase and make a PR.
Page to Update:
https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/#the-eviction-api
cc: @sftim

/sig scheduling

/priority backlog
/language en

/triage accepted


(JS-0246) Require template literals instead of string concatenation

Description
In ES2015 (ES6), we can use template literals instead of string concatenation.
Occurrences
There are 2 occurrences of this issue in the repository.
See all occurrences on DeepSource → app.deepsource.com/gh/Villy-P/WHAP-Study-Tools/issue/JS-0246/occurrences/

Issue resolved


PHP 8.0: Could not install imap

Describe the bug
PHP 8.0: Could not install imap
Version

[ ] I have checked releases, and the bug exists in the latest patch version of v1 or v2.
[x] v2
[ ] v1

Runners

[x] GitHub Hosted
[ ] Self Hosted

Operating systems
Current runner version: '2.274.2'
Operating System
  Ubuntu
  18.04.5
  LTS
Virtual Environment
  Environment: ubuntu-18.04
  Version: 20201115.1
  Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20201115.1/images/linux/Ubuntu1804-README.md

PHP versions
  with:
    coverage: pcov
    php-version: 8.0
    ini-values: zend.assertions=1
    tools: pecl
    extensions: imap

To Reproduce
https://github.com/ddeboer/imap/blob/24a5425a4167002e582fd4af03b4096f2e8619d7/.github/workflows/integrate.yaml#L92
Screenshots/Logs
https://github.com/ddeboer/imap/pull/483/checks?check_run_id=1473215042#step:4:24

Added support in https://github.com/shivammathur/php-builder/commit/70f81b05c3d89f369a7d0c5362e6e3b217b69134
Test workflow: https://github.com/shivammathur/test-setup-php/actions/runs/391700864/workflow
name: Setup PHP
uses: shivammathur/setup-php@v2
with:
  php-version: '8.0'
  extensions: imap

Thank you very much :+1:


Problem on downlink

Hi,
There is a problem on downlink message.
For OTAA, no downlink accept.
For ABP, of course we can register the device. Uplink works well. But the downlink message doesn't works.

Hello! We are working on a new 1.0.3 version that will be released soon. Meanwhile, you can download the 1.0.2 version from the release section
https://github.com/UniCT-ARSLab/LWN-Simulator/releases/tag/v1.0.2


[PE-D][Tester C] Deleting an item does not delete it from the customer's orders

Steps to reproduce:

Run the following command: addorder n/David Li i/Chocolate Croissant
Run the following command: delitem i/Chocolate Croissant

Expected behaviour: maybe to show that the item has been discontinued in the user's view.
Actual behaviour: the order remains in the user's orders and might be misleading.

For this I'm not sure if it's a bug, I think it is intentional behaviour as the person can order an item before it is removed from the menu. But maybe something to make it more clear for users would be to ensure that after an item is deleted it is somehow indicated in the user's detailed view that they ordered something which now doesn't exist anymore. Do let me know if I misunderstood!

Labels: severity.Low type.FeatureFlaw
original: kailashgautham/ped#5

repeated