[docs][WIP] Update API calls in workflow example

Description
Update API calls in the workflow example
Still need to add other examples? raise event/pause/resume?
Issue reference
This PR will close: #1082
Related issue: #1079
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@RyanLettieri for visibility

@cgillum @RyanLettieri could you take a look and let me know if there are any other updates that would apply to this doc? here's the current, live version of the doc: https://docs.dapr.io/developing-applications/sdks/dotnet/dotnet-workflow/dotnet-workflow-howto/

@hhunter-ms I opened a PR against your PR to address my own comments: https://github.com/hhunter-ms/dotnet-sdk/pull/1


Use purl to identify artifacts in EiffelArtifactCreatedEvent

Description
EiffelArtifactCreatedEvent currently uses GAV to identify all artifacts, which is less than useful for non-Maven based artifacts. The purl project (https://github.com/package-url/purl-spec) aims to standardize package identification across tools. We could reuse that rather than trying to roll our own.
Motivation
Standardized tool-agnostic identification of artifacts.
Exemplification
EiffelArtifactCreatedEvent currently identifies artifacts like so:
"data": {
  "gav": {
    "groupId": "com.mycompany.myproduct",
    "artifactId": "artifact-name",
    "version": "2.1.7"
  },
...

If the artifact is something other than a Maven artifact this is awkward. If it's a Docker image or a Ruby gem or something else, it would be much easier to identify it in some way that is truer to its "native" form. Using purl, this could look like:
"data": {
  "purl": "pkg:docker/cassandra@sha256:244fd47e07d1004f0aed9c",
...

or
"data": {
  "purl"<EMAIL_ADDRESS>...

or, for that matter, in the original GAV example:
"data": {
  "purl"<EMAIL_ADDRESS>...

Presumably we should also drop data.fileInformation. The concept of classifier and extension doesn't make much sense if we cut the tight connection to Maven. Purl on the other hand allows identification of package internals in the identifier string, which is arguably a step up from current syntax.
Benefits
Standardized, more flexible and precise identification of packages.
Possible Drawbacks
Losing data.fileInformation.

Sounds promising to me. So, is the suggestion that we drop the gav object or that we just add a purl object and let it be mutual exclusive with the gav object?
Also, I'm a little bit concerned about the name of the object. Would it be better to call it 'identity' or 'coordinates' (as in the leading text in that events description)
The ArtC event also has the 'implements' and 'dependsOn' objects, which are assumed to be lists of gavs. How should we handle those? If the format of those should be implicit, as today, but changed to be purl identifiers I think it makes sense to not use the 'purl' keyword for the identity of the artifact itself.
In your suggestion, the object is a simple string in purl format. In the gav case we've created it from its atoms which in purl would be: type, namespace, name, version, qualifiers, subpath. I tend to like the string format, but is there a reason why you suggest to not construct it using its atoms?
Spontaneously I would like to see this syntax:
data.identity (identity/coordinates in purl string syntax)
data.implements[] (list of identities in purl string syntax)
data.dependsOn[] (list of identities in purl string syntax)

Also, when I read about purl I don't see the 'pkg' keyword that you're using. As I understand it a maven example should, using purl, be<EMAIL_ADDRESS>

The pkg: scheme is not yet on the master branch. There's a rather long conversation in this pull request: https://github.com/package-url/purl-spec/pull/31
From what I can tell it seems more than likely to be merged. By the way, there's an ongoing conversation about this in the Grafeas community, and they seem to be leaning towards adopting purl for artifact identification as well.
As for your comments on the syntax, yes, I completely agree. And to be consistent, we should change meta.source.serializer, too.


Bugfix/update_readme

This PR is ready for review.
Risk
This PR makes no API changes.
Testing Plan

No code was modified

Summary

Updated Readme

Fixed broken link to our website
Added language and link for maven/gradle/ivy snippets

Changelog
Breaking Changes

No breaking changes

CLA

[X] I have signed the CLA

Codecov Report

Merging #532 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #532   +/-   ##
==========================================
  Coverage      38.08%   38.08%
  Complexity      2640     2640
==========================================
  Files            310      310
  Lines          16893    16893
  Branches        2088     2088
==========================================
  Hits            6433     6433
  Misses          9649     9649
  Partials         811      811

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 ef019af...8319a6c. Read the comment docs.


[KZL-760] add getting started with cpp sdk linux

What does this PR do?
Add SDK C++ getting started page with tested snippets
How should this be manually tested?
Check Travis

 Snippets tests reports   SDK Version Tests overview      v6        v5                           :heavy_check_mark:                            v1        v1        v1


Re-downloading of a song

[x] I've verified and I assure that I'm running youtube-dl 2016.08.22

What is the purpose of your issue?

[x] Probable Bug report (encountered problems with youtube-dl)
[x] Probable Feature request (request for a new functionality)
[x] Question

Hi,
I have a couple of doubts which might be a bug request or a feature request or simply another stupid question:

What is the default behavior of youtube-dl if I try to download the same file downloaded before in the same location assuming that the previously the file was not renamed either. In other words, if I try to download a file I downloaded before using youtube-dl then will it re download the file or will state that the file has already been downloaded? Because using the script given below when I try to simulate the above condition it re-downloads the song and then replaces the original file.

When I download a song from youtube using the script given below, I can see the cover art of a song when it is playing in vlc but not in the ubuntu file browser. So, am I missing something in my code? Or is it something else? Please clarify.

Code:
#!/usr/bin/env python

from __future__ import unicode_literals
import youtube_dl, sys, argparse

common_settings = {
        'continue': True,
        'fixup': 'detect_or_warn',  # Automatically correct known faults of the file.
        'ignoreerrors' : True,
        'outtmpl': '%(title)s.%(ext)s',     # name the file the title of the video
        'verbose': True,
        'writethumbnail': True,
        }

def contruct_flac():
    #TODO:debug flac!! something's wrong!!!!
    flac = {
        'extractaudio' : True,      # only keep the audio
        'format': 'bestaudio/best', # choice of quality
        'noplaylist' : True,        # only download single song, not playlist
        }
    postprocessors = [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'flac',
        }]
    return flac, postprocessors

def contruct_mp3():
    mp3 = {
        #'audioformat' : "mp3",      # convert to mp3
        'extractaudio' : True,      # only keep the audio
        'format': 'bestaudio/best', # choice of quality
        'noplaylist' : True,        # only download single song, not playlist
        }
    postprocessors = [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'mp3',
        'preferredquality': '320',
        }]
    return mp3, postprocessors

def contruct_mp3_playlist():
    mp3_playlist = {
        #'audioformat' : "mp3",      # convert to mp3
        'extractaudio' : True,      # only keep the audio
        'format': 'bestaudio/best', # choice of quality
        'noplaylist' : False,        # only download single song, not playlist
        }
    postprocessors = [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'mp3',
        'preferredquality': '320',
        }]
    return mp3_playlist, postprocessors

def contruct_mp4():
    mp4 = {
        #'extractaudio' : True,      # only keep the audio
        'format': 'bestvideo+bestaudio/bestvideo[ext=mp4]+bestaudio/bestvideo[ext=mkv]+bestaudio/best', # choice of quality
        'noplaylist' : True,        # only download single song, not playlist
        'videoformat' : "mp4",      # convert to mp4
        }
    return mp4

def contruct_mp4_playlist():
    mp4_playlist = {
        'format': 'bestvideo+bestaudio/bestvideo[ext=mp4]+bestaudio/bestvideo[ext=mkv]+bestaudio/best', # choice of quality
        'noplaylist' : False,        # only download single song, not playlist
        'videoformat' : "mp4",     # convert to mp4
        }
    return mp4_playlist

def download(args):
    global common_settings
    postprocessors = []

    if args['type'] == 'flac':
        options, p = contruct_flac()
    elif args['type'] == 'mp3':
        options, p = contruct_mp3()
    elif args['type'] == 'mp3p':
        options, p = contruct_mp3_playlist()
    elif args['type'] == 'mp4':
        options = contruct_mp4()
        p = []
    elif args['type'] == 'mp4p':
        options = contruct_mp4_playlist()
        p = []

    postprocessors.extend(p)
    postprocessors.append({
            'key': 'EmbedThumbnail',
            })
    options.update({'postprocessors' : postprocessors})

    if args['type'].endswith('p'):
        try:
            options.update({'playliststart': int(args['play_start'])})
        except:
            pass
        try:
            options.update({'playlistend': int(args['play_end'])})
        except:
            pass

    options.update(common_settings)

    print options
    ydl = youtube_dl.YoutubeDL(options)
    r = ydl.extract_info(args['url'])

if __name__ == "__main__":
    arg_names = ['command', 'type', 'url', 'play_start', 'play_end']
    args = dict(zip(arg_names, sys.argv))
    download(args)

If the file to be downloaded has exactly the same name as one in filesystem it won't be redownloaded by default. In your script you don't store the original file but converted mp3 thus filenames does not match therefore the file is redownloaded and reconverted.
Ask ubuntu file browser support.

@dstftw As you mentioned, the file is being re-downloaded because I am downloading in a different final file extension. So I coded a method to check if a file exists in cases of mp3 and mp4, but I can't figure out how to do that with mp3playlist or mp4 playlist. So, can you please suggest some way to do that without touching the youtube-dl's code base. My code is as follows:
#!/usr/bin/env python

from __future__ import unicode_literals
import youtube_dl, sys, argparse, os

def contruct_flac():
    #TODO:debug flac!! something's wrong!!!!
    flac = {
        'extractaudio' : True,      # only keep the audio
        'format': 'bestaudio/best', # choice of quality
        'noplaylist' : True,        # only download single song, not playlist
        }
    postprocessors = [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'flac',
        }]
    return flac, postprocessors

def contruct_mp3():
    mp3 = {
        #'audioformat' : "mp3",      # convert to mp3
        'extractaudio' : True,      # only keep the audio
        'format': 'bestaudio/best', # choice of quality
        'noplaylist' : True,        # only download single song, not playlist
        }
    postprocessors = [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'mp3',
        'preferredquality': '320',
        }]
    return mp3, postprocessors

def contruct_mp3_playlist():
    mp3_playlist = {
        #'audioformat' : "mp3",      # convert to mp3
        'extractaudio' : True,      # only keep the audio
        'format': 'bestaudio/best', # choice of quality
        'noplaylist' : False,        # only download single song, not playlist
        }
    postprocessors = [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'mp3',
        'preferredquality': '320',
        }]
    return mp3_playlist, postprocessors

def contruct_mp4():
    mp4 = {
        #'extractaudio' : True,      # only keep the audio
        'format': 'bestvideo+bestaudio/bestvideo[ext=mp4]+bestaudio/bestvideo[ext=mkv]+bestaudio/best', # choice of quality
        'noplaylist' : True,        # only download single song, not playlist
        'videoformat' : "mp4",      # convert to mp4
        }
    return mp4

def contruct_mp4_playlist():
    mp4_playlist = {
        'format': 'bestvideo+bestaudio/bestvideo[ext=mp4]+bestaudio/bestvideo[ext=mkv]+bestaudio/best', # choice of quality
        'noplaylist' : False,        # only download single song, not playlist
        'videoformat' : "mp4",     # convert to mp4
        }
    return mp4_playlist

def check_if_exists(options, args):
    print "**************\nChecking if file already exists\n**************"
    ydl = youtube_dl.YoutubeDL(options)
    r = ydl.extract_info(args['url'], download = False)
    song_name = r['title'].strip() + '.' + args['type']
    print song_name
    if os.path.exists('./' + song_name):
        print '**************\nFile already downloaded\n**************'
        return (ydl, 0)
    else:
        print "**************\nFile not found. Downloading...\n**************"
        return (ydl, 1)

def download(args):
    common_settings = {
            'continue': True,
            'fixup': 'detect_or_warn',  # Automatically correct known faults of the file.
            'ignoreerrors' : True,
            'outtmpl': '%(title)s.%(ext)s',     # name the file the title of the video
            'verbose': True,
            'writethumbnail': True,
            }
    postprocessors = []

    if args['type'] == 'flac':
        options, p = contruct_flac()
    elif args['type'] == 'mp3':
        options, p = contruct_mp3()
    elif args['type'] == 'mp3p':
        options, p = contruct_mp3_playlist()
    elif args['type'] == 'mp4':
        options = contruct_mp4()
        p = []
    elif args['type'] == 'mp4p':
        options = contruct_mp4_playlist()
        p = []

    postprocessors.extend(p)
    postprocessors.append({
            'key': 'EmbedThumbnail',
            })
    options.update({'postprocessors' : postprocessors})

    if args['type'].endswith('p'):
        try:
            options.update({'playliststart': int(args['play_start'])})
        except:
            pass
        try:
            options.update({'playlistend': int(args['play_end'])})
        except:
            pass

    options.update(common_settings)

    #print options
    if not args['type'].endswith('p'):
        ydl, check = check_if_exists(options, args)
        if check == 1:
            r = ydl.extract_info(args['url'])
    else:
        ydl = youtube_dl.YoutubeDL(options)
        r = ydl.extract_info(args['url'])

if __name__ == "__main__":
    arg_names = ['command', 'type', 'url', 'play_start', 'play_end']
    args = dict(zip(arg_names, sys.argv))
    download(args)

Use --download-archive.


Delete unnecessary spaces

When copying from the web page, there is an unnecessary space after the code.

@changeworld : Thanks for your contribution! The author, @vladvino, has been notified to review your proposed change.

@changeworld - Thank you for your submission. We are not able to accept formatting and spacing changes in the repo at this time.


#5 Removing need for end of stream and close flags

@burmanm here's a patch for removing end of stream marker by using a count instead. Number of messages written should be stored by the user somewhere which can be referenced when reading.
Have also modified the unit tests accordingly. This for the issue #5

The problem with this approach is that it makes a dependency to some other stream than the stored bytes, thus they're not self contained anymore. Now you would need to store for the future reference two things: the stream and the metadata associated with the stream.
An approach to this metadata could be storing the amount of datapoints in the actual stream. I store some sort of metadata in the Hawkular by using this approach (first byte is dedicated to the choosing of the compression format).

That's correct, but considering TSC is just a building block for a TS Storage platform, it let's the user pick how they would like to store the metadata.
The issue with current block implementation is, concurrent read/writes can't be supported since the reader has no idea how many Pairs have been written at any given point in time. The block stream must be closed before it can be read.
Please feel free to close the PR without merging.

I don't think with this approach you should necessarily use concurrent writers to the same stream, the syncing of multiple writers/readers will take more time than using a single writer. Not to mention, it's pretty uncommon use-case to receive points from multiple different writers to the same series often.
However, I agree with the fact that reading while still writing the open stream should be handled. Although that part could be handled by keeping the "count" outside this. Say for example you would have an object with the following properties:
Count
Decompressor (Stream)
Compressor (Stream)
Encapsulate the "addValue" to this object and then update the Count and for Decompressing you would at most call readPair "count"-times.
Thus, you could still store the "ready blocks" to some slower media, such as S3 without the need of yet-another-metadata-store.
I'd like to keep this PR open however, I agree this isn't a perfect solution and I want to think about other approaches also (I'm doing the development in the another branch currently to prototype certain performance scenarios).


Apply DomainStrategy to outbound target

Fixes https://github.com/v2fly/v2ray-core/issues/2448#issuecomment-1567714796
For outbounds like SOCKS5, VMESS, domainStrategy will only take effect on proxy server's address (because domainStrategy only applies for dialing).
This PR applies domainStrategy to outbound handler's Dispatch method, so all outbound targets will be affected by domainStrategy. Therefore domainStrategy for SOCKS5 and VMESS will behave like Freedom outbound.
Prior behavior for SOCKS5, VMESS:

√ Remote proxy server's address is affected by domainStrategy.
x Actual target address is not affected by domainStrategy.

After this PR

√ Remote proxy server's address is affected by domainStrategy.
√ Actual target address will be affected by domainStrategy.

Remote proxy server's address affected by domainStrategy.
Actual target address affected by domainStrategy.

A question raised is that do we need to make these two behaviors individually configurable?
E.g., we may need to resolve proxy server's address using own strategy in v2ray's DNS, but still delegate target domain to remote server for resolution.
If individually configurable, how to specify the config format?
Option #1:
{
  "domainStrategy": {
    "dialer": "UseIP",
    "target": "AsIs"
  }
}

{
  "domainStrategy": "UseIP"
}
# is equivalent as
{
  "domainStrategy": {
    "dialer": "UseIP",
    "target": "UseIP"
  }
}

Option #2
{
  "domainStrategy": "AsIs"
  "dialStrategy": "UseIP"
}

Codecov Report
Patch coverage has no change and project coverage change: -0.02 :warning:

Comparison is base (2ac0188) 38.31% compared to head (c9d3fd3) 38.29%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2553      +/-   ##
==========================================
- Coverage   38.31%   38.29%   -0.02%
==========================================
  Files         637      637
  Lines       38110    38117       +7
==========================================
- Hits        14601    14597       -4
- Misses      21901    21909       +8
- Partials     1608     1611       +3

Impacted Files
Coverage Δ

app/proxyman/outbound/handler.go
33.51% <0.00%> (-1.32%)
:arrow_down:

... and 3 files with indirect coverage changes

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

If DomainStrategy is not AsIs and outbound.Target.Addressis a domain, but resolveIP returns nil, please consider one of these two behaviors:

leave outbound.Target.Address as is and continue dispatching
close link and stop dispatching

SagerNet has done roughly the same thing as this PR before and named it DomainStrategy. IMO there is no need to make dialer and target DomainStrategy individually configurable. If you must make them individually configurable, please consider Option 2. Option 1 may need some json unmarshal hacking, make it troublesome to implement in some client software doing conversion between JSON and object of other languages.

The previous behavior is AsIs, so I'll keep using AsIs here.
https://github.com/SagerNet/v2ray-core/commit/4f039c0e03ab73b89dda787e66c97bebceb0f4cc 's PreferIPv4 and PreferIPv6 reminds me of another problem: Current v2ray's behavior will randomly select an IP from multiple results, which means ipv4 or ipv6 will be selected randomly for dual stack site. If using UseIP, remote server may not have IPv6 address so failed to process.
So we enumerate the usage possibilities:
1.  Single stack proxy server + UseIPv4/UseIPv6

√ Proxy server domain: no problem if IP version matches
√ Target domain: no problem, since proxy server domain already needs correct domain strategy to access

3. Single stack proxy server + UseIP

√ Proxy server domain: no problem, will return single stack result
x Target domain: problematic since IPv6/IPv4 result may be chosen for IPv4/IPv6 only proxy server

4.  Dual stack proxy server + UseIPv4/UseIPv6

√ Proxy server domain: no problem, configure preferred route for proxy server
x Target domain: problematic, since with UseIPv6 a site without IPv6 address will return nil

6. Dual stack proxy server + UseIP

√ Proxy server domain: no problem, preferred route can be configured with dns's queryStrategy
? Target domain: IPv4/IPv6 will be selected randomly.

Case 3 is meaningless since Case 1 and Case 2 covers all scenarios for single-stack server. For proxy server, Case 5 can be implemented as Case 6 with DNS queryStrategy. Therefore, we may not need a separated config for dialer's staretegy.
On the other hand, with https://github.com/SagerNet/v2ray-core/commit/4f039c0e03ab73b89dda787e66c97bebceb0f4cc 's PreferIPv4 and PreferIPv6, we can replace UseIP with PreferIPv- for following benifits:

Problem in Case 3 and Case 5 is avoided.
Can use a definitive startegy for target domains in case 6.

Therefore PreferIPv4 and PreferIPv6 may be two strategies worthwhile to introduce.


⚠ ClamAV has degraded performance

In 8400236, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 506 ms

Resolved: ClamAV performance has improved in e4905fd after 11 minutes.


swagger-ui.html wont load outside of node-red editor

I am having difficulties accessing the Swagger HTML outside of the node-red editor.  I am on a closed network running node-red in a docker container.
Within the right-hand Swagger panel (inside the editor), I can see everything perfectly.  When I try to access:  <url>/swagger-ui/swagger-ui.html all I see is a blue alert that starts with "I see you're lacking Swagger doc..".

The swagger.json URL @ http://base-host-url/http-api/swagger.json is working however.


Fix controller label on metrics

I just had a look at metrics of the dragonfly controller as i wondered why we weren't alerted by reconcile errors.
What i found was this (on the /metrics endpoint):
# HELP controller_runtime_reconcile_errors_total Total number of reconciliation errors per controller
# TYPE controller_runtime_reconcile_errors_total counter
controller_runtime_reconcile_errors_total{controller="dragonfly"} 0
controller_runtime_reconcile_errors_total{controller="pod"} 17

Should this be corrected so that the controller dragonfly gets the metric values? pod seems to be very generic to me. Or is this intended in a way?

Thanks @applike-ss for the bug! Yep, Valid and should be fixed. something like dragonfly_pod or something. This is automatically generated by the kube-builder runtime so we might have missed it.


Add the tile function

Fixes https://github.com/dask/dask/issues/2151
Provides the tile function (like the one in NumPy) for use with Dask Arrays. This is a nice complementary function to repeat, which is already present in Dask Array.
Note: Only supports an integer number of repeats. Arrays of repeats are possible with NumPy, but I think that can be saved for a follow-up PR.

Ok, I think this is ready for review.

Ok, have broken out the exception tests.
Also, sorry about this, have done a few pushes throughout the day. It looks like Travis CI has gotten a bit backed up by them. Unfortunately, I can't cancel the old builds for this PR, but please do feel free to.

Anything else?

Thanks @mrocklin.


jinja2 can't use django-bootstrap3

jinja2 can't use django-bootstrap3
Encountered unknown tag 'load'.

This can be done using https://github.com/niwinz/django-jinja.
In my case, I want to use bootstrap_form template tag in Jinja2.

In settings.py, add the following TEMPLATES

{
    "BACKEND": "django_jinja.backend.Jinja2",
    "OPTIONS": {
        "globals": {
            "bootstrap_form": "bootstrap3.templatetags.bootstrap3.bootstrap_form",
        },
    },
}

In Jinja2 template, use it as global function, like following

{{ bootstrap_form(form)|safe }}

The safe filter is mandatory because Django 1.8 set 'autoescape': True by default.

This works when your using django-jinja.  But Django has its own template engine for jinja2 now, and this does not work with that.  I had to do something like this to get it to work with that template engine

In settings.py

    {
        'BACKEND': 'django.template.backends.jinja2.Jinja2',
        'APP_DIRS': True,
        'OPTIONS': {
            'environment': 'myapp.jinja2.environment'
        }
    },

in myapp.jinja2.py

from bootstrap3.forms import render_form, render_formset
from jinja2 import Environment

def environment(**options):
    env = Environment(**options)
    env.globals.update({
        'bootstrap_form': render_form,
        'bootstrap_formset': render_formset,
    })
    return env


js-loader-api can't load with library marker

While js-loader-api upgrade to version 1.16.1, I can't load map with marker
marker = new window.google.maps.marker.AdvancedMarkerElement({...})
It always display error:

I found the problem happen when js-loader-api upgrade to version 1.16.1, I tried version 1.16.0 and no happen
Please update wrapper with loader js
loader.importLibrary('marker')
You can see at: https://github.com/googlemaps/js-api-loader/compare/v1.16.0...v1.16.1

If you would like to upvote the priority of this issue, please comment below or react with :+1: so we can see what is popular when we triage.
@buithehien1991 Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
Open a support case - Get 1:1 support in Cloud Console.
Discord - chat with other developers
StackOverflow - use the google-maps tag

This is an automated message, feel free to ignore.

This is intended behavior. In js-api-loader we import CoreLibrary by default to have backward compatibility to the previous version, but all other libraries need to be imported by the user. You should be able to call window.google.maps.importLibrary("marker")


ENH: Handle mask_filename=="".

Support that some slides will have masks and others might not, by allowing the empty string, "", as the name of a mask file when no mask file is to be supplied.

As an implementation, the mask is now of dtype uint8 rather than bool; the latter cannot be resized.


Doesn't work in Storybook

Describe the bug
Hello and thanks for creating and maintaining this plugin!
I've configured it to work in my React + TS app. Can it also work in Storybook (v7)? It doesn't appear in CLI nor browser, which makes me think that the plugin is entirely omitted/replaced in the storybook config.
Reproduction
Create a Vite + TS + React project, add storybook@7 to it. Plugin doesn't appear in Storybook.
Expected behavior
It should work in Storybook.
System Info
System:
    OS: Linux 6.2 Fedora Linux 38 (Workstation Edition)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 8.33 GB / 31.06 GB
    Container: Yes
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 18.12.1 - ~/.nvs/node/18.12.1/x64/bin/node
    Yarn: 3.2.1 - ~/.nvs/node/18.12.1/x64/bin/yarn
    npm: 8.19.2 - ~/.nvs/node/18.12.1/x64/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 113.0.5672.126
    Firefox: 113.0.1

Additional context
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

You can add it inside your storybook config and it will work, don't know why it doesn't work inside the normal vite config as storybook is supposed to inherit it.
const config: StorybookConfig = {
  stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
  addons: [...],
  framework: {
    name: "@storybook/react-vite",
    options: {},
  },
  // add checker plugin to storybook vite config
  viteFinal: (config) => {
    config.plugins?.push(checker({ typescript: true }));
    return config;
  },
};

Yes, that works - thank you!

@jcwillox Was there a relevant storybook issue? I could take a look on why it doesn't work.

Not that I'm aware of, I just noticed that storybook wasn't inheriting the plugin unless I added it to the vite config by putting it in the storybook config

I found that if you comment out these lines of code you can add the plugin in the vite config instead of the storybook config.
https://github.com/fi3ework/vite-plugin-checker/blob/b2c32367cf2e410154194d7730d8830aace898d9/packages/vite-plugin-checker/src/main.ts#L81-L86
Do you have any ideas on why? @fi3ework


Transfer setting from main index.js

Hello,
thanks for your great module.
I would like to change heart icon color and HR text based on a setting. The settings are provided by the companion app and then transferred to the main index.js. How can I now transfer the settings to the hrm module?
Practically I would like to have something like hrIcon.style.fill = settings.heartcolor working (where heart color is set in the settings)
Thanks

Please check line 67 of hrm.js
There the color of the icon is set, you can just replace #FF0000 with the color from your settings there.


Prefer boolean when dealing with flags

The recursiveSearch is really a boolean value, but is being defined as a number: https://github.com/AmasiaNalbandian/static-site-generator/blob/main/src/main.js#L7.  I would switch this to use true/false values, so it better indicates what's going on (i.e., you don't care about the value, only that it has or doesn't have one).

Thank you for taking the time to create this issue. I am closing as per this commit addresses the issue.


Support dependabot updates of docker images referencing cypress-docker-images

I have configured dependabot updates of cypress-docker-images in a private repository:

.github/dependabot.yml:version: 2
updates:
  - package-ecosystem: "docker" # See documentation for possible values
    directories:
      - "/docker/chrome/"
      - "/docker/firefox/"
    schedule:
      interval: daily
    commit-message:
      prefix: "build(deps): browser"
    labels:
      - "dependabot"

docker/chrome/DockerfileFROM cypress/browsers:node-22.11.0-chrome-130.0.6723.116-1-ff-132.0.1-edge-130.0.2849.68-1

docker/firefox/DockerfileFROM cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1

(browsers with separate docker files each with separate cypress/browsers tags as our cypress tests may break independently with web browser version updates even if these versions are supported by cypress, but that's not the issue here)
Dependabot runs include:

for docker/chrome/Dockerfileupdater | 2024/11/19 16:37:01 INFO <job_919438816> Checking if cypress/browsers node-22.11.0-chrome-130.0.6723.116-1-ff-132.0.1-edge-130.0.2849.68-1 needs updating
...
updater | 2024/11/19 16:37:02 INFO <job_919438816> Latest version is
node-22.11.0-chrome-130.0.6723.116-1-ff-132.0.1-edge-130.0.2849.68-1
updater | 2024/11/19 16:37:02 INFO <job_919438816> No update needed for cypress/browsers
node-22.11.0-chrome-130.0.6723.116-1-ff-132.0.1-edge-130.0.2849.68-1

for docker/firefox/Dockerfileupdater | 2024/11/19 16:37:02 INFO <job_919438816> Checking if cypress/browsers
node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1 needs updating
...
updater | 2024/11/19 16:37:03 INFO <job_919438816> Latest version is
node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
updater | 2024/11/19 16:37:03 INFO <job_919438816> No update needed for cypress/browsers
node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1

Dependabot should have proposed to update node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-   30.0.2849.56-1 to node-22.11.0-chrome-130.0.6723.116-1-ff-132.0.1-edge-130.0.2849.68-1 for docker/firefox/Dockerfile.
From https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#docker

In order for Dependabot to fetch Docker metadata, maintainers of Docker images must add the org.opencontainers.image.source label to their Dockerfile, and include the URL of the source repository. Additionally, maintainers must tag the repository with the same tags as the published Docker images. For an example, see the dependabot-fixtures/docker-with-source repository. For more information on Docker labels, see Extension image labels and BUILDX_GIT_LABELS in the Docker documentation.

Would it be possible to support dependabot updates of cypress-docker-images, by, as in dependabot-fixtures/docker-with-source, 1) adding org.opencontainers.image.source labels to Dockerfiles and 2) tagging the repository with the same tags as the published Docker images?

@anscfrisson

Would it be possible to support dependabot updates of cypress-docker-images, by, as in dependabot-fixtures/docker-with-source, 1) adding org.opencontainers.image.source labels to Dockerfiles and 2) tagging the repository with the same tags as the published Docker images?

For Cypress Docker images to support GitHub Dependabot version updates would require a re-design of Cypress Docker images as far as I can see.

adding org.opencontainers.image.source labels to Dockerfiles

Cypress Docker images do not have a 1:1 relationship to a specific Dockerfile.

tagging the repository with the same tags as the published Docker images?

Reading the Dependabot documentation it seems that tags would need to be semver compliant and I assume it would mean creating separate GitHub repos to correspond to each of the Docker Hub repos factory, base, browsers and included, which are currently fed from this one GitHub repo.

Thanks @MikeMcC399 for the update!
I understand that supporting dependabot for cypress-docker-images might then not be planned soon as it requires a re-design?
Would there be other opportunities from the list of dependabot package-ecosystem to auto-update browsers supported by cypress?
For instance:

relying on a npm/yarn package that would at minimum reference browsers versions? (using either https://github.com/browser-actions/ or https://github.com/puppeteer/puppeteer/tree/main/packages/browsers to fetch firefox, and chrome once https://github.com/cypress-io/cypress/issues/28554 is resolved)
referencing web browsers tags as git submodules?

@anscfrisson

I understand that supporting dependabot for cypress-docker-images might then not be planned soon as it requires a re-design?

You can assume that there are no major enhancement planned unless the Cypress.io team announces them.

Would there be other opportunities from the list of dependabot package-ecosystem to auto-update browsers supported by cypress?

I don't see any simple way to use Dependabot. If you are not tied to Dependabot, you may want to look at https://docs.renovatebot.com/docker/ which is able to update cypress/factory, cypress/base and cypress/included (short-form tag only) as these tags use semver formats.

It would be possible to extend this scheme also to cypress/browsers. This would be similar to the way that CircleCI handles tagging. I will submit a separate enhancement request to describe this so that it could be used with Renovate.

Thanks @MikeMcC399 for the tip, I'll look into renovatebot, and for the opportunity to extends its support to cypress/browsers.

@anscfrisson
It seems I was too optimistic in thinking that the Renovate Docker implementation would help in GitHub Actions. Reading the docs, GitHub Actions aren't listed. CircleCI is listed however, so it would have some benefit.

@MikeMcC399
Seems like it is possible with this app https://github.com/apps/renovate

This app is free to install for both public and private repositories. Service is provided complimentary of Mend (formerly known as WhiteSource) and no paid plan is required.

@anscfrisson

Seems like it is possible to use renovate with GitHub Actions with this app https://github.com/apps/renovate

This app is free to install for both public and private repositories. Service is provided complimentary of Mend (formerly known as WhiteSource) and no paid plan is required.

If you can find a section which says that Docker images used in GitHub Actions can be updated by Renovate, that would be great. That was however not my understanding of the documentation.

@anscfrisson
If you can find a section which says that Docker images used in GitHub Actions can be updated by Renovate, that would be great. That was however not my understanding of the documentation.

I looked at https://docs.renovatebot.com/docker/
Then searched iteratively:

https://github.com/search?q=path%3Arenovate.json+"docker-compose"&type=code
https://github.com/search?q=path%3Arenovate.json+"dockerfile"&type=code

The following example among candidates of the second search seems to show a proof of concept:
https://github.com/k3d-io/k3d/blob/63c7a2a1620fb42bce4d122edf82185f595cc602/renovate.json
chore(deps): update golang docker tag to v1.23.3 https://github.com/k3d-io/k3d/pull/1510 authored by https://github.com/apps/renovate

@anscfrisson

Please see https://github.com/cypress-io/cypress-docker-images/issues/1255 for a proposal to extend the tags to support Renovate also for Cypress browser Docker images. I plan to go ahead with implementing this.

I was additionally asking about updating Cypress Docker images in a GitHub Actions workflow, such as https://github.com/cypress-io/github-action/blob/master/.github/workflows/example-docker.yml. And as far as I can see, that would not be covered by Renovate.

Although it's not explicitly documented, Renovate is updating cypress/browsers images in GitHub Actions workflows, if they use the short-form version tage.


[Question] Display/work on only today's tasks

Did you check if a similar feature request has already been reported?
Yes
Is your feature request related to a problem? Please describe.
Display only today's tasks in filter list (completed/not completed)
Describe the solution you'd like
Hello, I don't know where else to ask this question, sorry. I did read wiki and searched past issues, couldn't find anything.
I would like to :
-- On a recurring task, display only today's tasks. If the task was uncompleted yesterday, discard it, jump to today's task. Currently if I mark as done on a task that was uncompleted yesterday, it marks as done on yesterday, and not on today.

Describe alternatives you've considered
-- Discard past todo's only work on today's todo list. Bonus points if I can store history of what was done/what wasn't on a specific date.

Hi @ExtremeCoolDude . Sorry, I wasn't at the keyboard for two weeks and am now checking Github.
I read your feature request, but I don't really understand what exactly you're asking for or what exactly the issue is.

@ExtremeCoolDude, if your question is still relevant, please feel free to get back to me here. As soon as I understand the issue, I'll try to helpout where I can.

Sorry about that. This has to be the fastest 20 days I've ever spent. I guess the question can be best illustrated by doing the following steps :

Setup a recurring task.
Wait for 1 day. (or change date)

As you can see on the interface, now there are 2 tasks. Instead of something like :

Now if we do the following :

Mark as done on the task.

We can see that the task is done on a previous date.
The main confusion :
The tasks keep adding up on a recurring task if it isn't marked as done daily.

Hi @ExtremeCoolDude, can you please post the actual todos you create and that then get created in a wrong way? For instance:
Completing
2020-06-04 201 rec:d
creates:
2021-06-04 201 due:2021-06-05 rec:d
Also, did you check if this behavior also occurrs in in the latest release v1.0.5? Please don't be surprised, but the auto creation has been removed recently after a lengthy discussion in another thread here on Github.

Sorry about that, all I needed was due:2021-06-04 filter (today's date) to view today's taks alone and mark them as done on the correct date .  I downloaded the 1.0.5 deb file, the recurring task still works. The  results on the main interface  aren't being displayed properly I guess which got me confused.
For eg first change the settings in the sleek :

Now:

Setup a recurring task.
Change the date one day forward.
Open Sleek
Close Sleek
Change the date one day forward.
Open Sleek
Mark a task as done using the settings in the picture.

Expected : Task to be marked as done on today .
What happens: Task gets marked on the day when the task  was skipped.
The todo.txt seems to be unaffected. I'm sorry for  being stupid I guess  for reporting the multiple tasks since the tasks aren't being created again, its just on a different date due to it being recurring. Unchecking to hide "overdue" in the settings hides them.
Also the issue on the steps on this comment doesn't exist if one simply relies on due: filter instead of sleek's settings.

Hi @ExtremeCoolDude
Setup a recurring task.

Can you please post the exact task
Do you do this in sleek? 3. implies sleek is closed in this moment
is there a start date set? If so to which day?
is there a due date set? If so to which day?

Change the date one day forward.

is this done in sleek?
From which day do you switch to which day?

Hi, I edited the above comment.

[x] Setup a recurring task. 2021-06-04 204 due:2021-06-04 rec:d on sleek and close sleek.
[x] Change the system (Operating system settings) date one day forward. i.e. 2021-06-05
[x] Open Sleek
[x] Close Sleek
[x] Change the OS date (system date) one day forward once again. i.e. 2021-06-06
[x] Open Sleek
[ ] Mark a task as done using the settings in the picture. -> this now is not possible, because the todo created in 1. is overdue and therfor won't be display.

Anyhow, when I set the toggle on "Overdue", the formerly hidden todo will be shown and when I then mark it as complete the result is

the old todo, which is marked as done today (OS is still set to 2021-06-02): x 2021-06-06 2021-06-04 204 due:2021-06-04 rec:d
a new todo is being created: 2021-06-06 204 due:2021-06-07 rec:d

To my understanding this behavior is correct. I assume you get a different result on your system?

Yup, the last step in your comment cannot be done since it won't display, but on my pc it does display and looks like :

Your screenshot is different (due date icon is missing) from the example you provided in 1. (2021-06-04 204 due:2021-06-04 rec:d).
I set my computer to 2021-06-04 and repeated your steps without the due date (2021-06-04 204 rec:d), did the closing/starting and changing the os date two times.
Now it's 2021-06-06 and I mark the todo as complete with these results:

The old todo: x 2021-06-06 2021-06-04 204 rec:d
The new todo: 2021-06-06 204 due:2021-06-07 rec:d

The new todo now will be hidden, because the due in the future button is disabled.
So far it is still as it is expected to work :/

"Your screenshot is different (due date icon is missing) from the example you provided in 1. (2021-06-04 204 due:2021-06-04 rec:d)."
Yup, however if I toggle "overdue" to be enabled :

Idk how it explain it, basically I missed a few days and then when I fired up sleek, the due date missing screenshot is happening. It should not display those. I guess I'll just use due: filter.


Test

I was not meant to create this PR. I was playing around with this repository and accidentally created this. Sorry for the inconvenience caused.


Website layout on smaller devices

So far we've been developing the site for laptops and desktop computers, but it does not look correct on smaller devices such as tablets and smartphones.
Acceptance Criteria

[ ] to look clear, aligned readable on smartphones (small and large)
[ ] to look clear, aligned readable on tablets

Tasks

[ ] TODO

This issue will be fixed in the next milestone 22nd May 2017.

FIXED in https://github.com/frictionlessdata/dpr-api/pull/399


Cosmatic Drip 1

About the PR
Adds a bunch of clothes, including departmental and universal options (this will take a bit)
Why / Balance
There is a criminal lack of options outside of the randomly generated colourful uniforms
Technical details
A bunch of new items
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
Changelog
🆑
add: Added three new security uniforms and one paramedic uniform in both suit and skirt variants.
add: Senior beret for security
add: Two cloaks, stay bright and warm up
add: Three heavy coats for cold nights on Europa
add: Engineering sweaters, don't mind the jorts
add: Cargo pants and a brown gorka
add: Three high-vis vests to be easily seen
add: Comfortable clothes for Doctors and Physicians
add: A new coat for central command officers

This has been sitting as a draft for quite some time. If what you have now is good to merge can you open this? You can always PR the rest of it later.

I still have several things I'd like to add first, I've just gotten stuck on things

my depression is manic but my drip is ecstatic...

failure unrelated for once

No, it is an arbitrage thing again. You need to up the price of a CrateVendingMachineRestockQuickThreads

That is not going to be enough, you need at least 4130 according to the test. Just set it to 4500 to be safe.

Legendary pull.

note, blue highvis is glitchy, need to fix

Maybe make the bright white slightly darker? (akin to the white on cargo gorkas)


Document GFS input data

Describe the Enhancement
Add more documentation to the UG (and website?) to clarify input data, what's available, etc.
Consider adding limits to UI for date selection?
Time Estimate
3 hours
Sub-Issues
Consider breaking the enhancement down into sub-issues.

[ ] Add a checkbox for each sub-issue here.

Relevant Deadlines
List relevant project deadlines here or state NONE.
Define the Metadata
Assignee

[ ] Select engineer(s) or no engineer required
[ ] Select scientist(s) or no scientist required

Labels

[ ] Select component(s)
[ ] Select priority

Projects and Milestone

[ ] Select Project
[ ] Select Milestone as the next official version or Backlog of Development Ideas

Enhancement Checklist

[ ] Complete the issue definition above, including the Time Estimate and Funding Source.
[ ] Fork this repository or create a branch of develop.
Branch name: feature_<Issue Number>/<Description>
[ ] Complete the development and test your changes.
[ ] Add/update log messages for easier debugging.
[ ] Add/update tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop.
Pull request: feature <Issue Number> <Description>
[ ] Define the pull request metadata, as permissions allow.
Select: Reviewer(s), Project, and Development issue
Select: Milestone as the next official version
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

GFS input data

Resolution: 0.25 deg
Hourly: 0-120
3-hourly: 120-384

Two sources:

AWS NOAA S3 bucket: latest 10 days of data
NOMADS server: latest about 2 years of data


task: Open multiple issues to update the topic to use new template

Task:

For each topic under this folder: https://github.com/tungbq/devops-basic/tree/main/topics
(E.g: k8s, terraform, ...)
Open a new Github issue like #423 (the similar title and description, just need to change the appropriate topic name abit)

This issue needs help! Thanks a lot

#445
#444
#440

Duplicated with #446


[Brave] Fix errors in several commands, add some new actions

Description
This update to the Brave extension resolves several issues. First, I've restructured the code so that there is a consistent number of hook calls regardless of how many profiles or history items one has. This avoids an error resulting from adding new profiles after installing the extension. In this restructuring, I've also improved the performance of searching history, tabs, and bookmarks, fixing the appearance of search not working if there are many items to search through. I've also fixed an issue where Brave would activate before every command and make it impossible to search tabs/history/bookmarks if Brave wasn't active beforehand.
This update also includes the ability to open new incognito tabs. I've also added some new actions on list items, namely "Open In New Window", "Open In Incognito", "Move To New Window", and "Move To New Incognito Window."
Issues Resolved:

Resolves #4159
Resolves #4865
Resolves #4630
Resolves #5452

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@ron-myers @rgomezcasas @crisboarna any of you guys want to check it out?

Bumping this as it's ready for review, just don't want it to get closed automatically 🙂


 How can I avoid these errors?

@lephyrius can you paste the code that is causing this error?

Closing due to inactivity. Feel free to re-open if you get this error again!

Hello, I'm facing this error too NIO-ELT-#0 (2): EXC_BAD_ACCESS (code=1, address=0x50), there a sample:
func addExtra(chat: Telegrammer.Chat, extra: Extra) -> Future<Chat> {
        return application
            .requestPooledConnection(to: .psql)
            .flatMap { connection in
                connection.transaction(on: .psql,
                                       { Chat.find(chat.id, on: $0) })
                    .flatMap {
                        if let dbChat = $0 {
                            dbChat.extraList?.append(extra)
                            return dbChat.update(on: connection)
                        } else {
                            let chat = Chat(id: chat.id)
                            chat.extraList = [extra]
                            return chat.create(on: connection)
                        }
                }
        }
    }

I have probably solved issue by using pool directly:
let db = PostgreSQLDatabase(config: postgresqlConfig)
let requestWorker = MultiThreadedEventLoopGroup(numberOfThreads: 8)
let pool = db.newConnectionPool(config: poolConfig, on: requestWorker)

and then:
pool.requestConnection()

But still have no idea, is this correct?


release: clickstream Android 0.14.0

[x] PR title and description conform to Pull Request guidelines.

Description of changes:

release: clickstream Android 0.14.0

Documentation update required?

[ ] No
[x] Yes (Please include a PR link for the documentation update)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

Project coverage is 88.05%. Comparing base (d5aee6f) to head (93824ac).

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #82      +/-   ##
============================================
+ Coverage     87.93%   88.05%   +0.11%
  Complexity      488      488
============================================
  Files            40       40
  Lines          1716     1716
  Branches        171      171
============================================
+ Hits           1509     1511       +2
+ Misses          140      138       -2
  Partials         67       67

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Unable to download binary files

Requestify applies utf-8 encoding to every request, making it unable to download binary files.

+1

+1


SQUAD : ValueError: '[SEP]' is not in list

I got this message when do predicting :

Traceback (most recent call last):
File "google-research/albert/run_squad_sp.py", line 1333, in
tf.app.run()
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 299, in run
_run_main(main, args)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
File "google-research/albert/run_squad_sp.py", line 1326, in main
output_nbest_file, output_null_log_odds_file)
File "google-research/albert/run_squad_sp.py", line 929, in write_predictions
doc_offset = feature.tokens.index("[SEP]") + 1
ValueError: '[SEP]' is not in list

I am experiencing the same problem with SQuAD 2. How did you solve this?


Unified Viewport

I rebased the code from @termhn and I will fix some issues before merging it. This PR brings the following:

Fixes some ways to get into invalid states by going into and out of light path display toggle/base layer modes and restarting rendering
No longer does a light path picking event when moving the camera in OpenGL view
No longer does a light path picking event at all when in OpenGL view until I implement better filtering modes/scene space picking
Dims the final render when you have at least one light path selected

To be implemented in this PR:

Selected individual light paths are not drawn solo but rather the rest of the picked light paths have lower transparency.

=======
https://www.grayolson.me/blog/posts/gsoc-2019/

Notes taken during live demo and discussion with @oktomus (some of these bugs may not be related to this PR and already exist in master):

[ ] Change "Display Light Paths Overlay" to icon.
[ ] Make light paths thinner and keep thickness constant.
[ ] Assert when clicking on "Next light path".
[ ] What is the shading/lighting model of the OpenGL render? It used to be based on the facing ratio but now there appears to be some kind of lighting.
[ ] A texture store is created every time a light path is selected?
[ ] Cannot select light paths in OpenGL visualization mode.
[ ] Move OpenGL visualization mode to separate tab (like the current "RGB" tab) and get rid of "Scene Display Mode" combo.
[ ] What does Alt+LMB do? Can we disable it?
[ ] Shift+LMB shouldn't select light paths.
[ ] We need a way to clear light paths selection (Escape?).
[ ] Zooming too much in the render (with the mouse wheel) leads to black screen
[ ] Clicking to select an area selects and shows light paths on the first click (instead of when the area has been defined).
[ ] Can the light paths antialiasing be nicer?
[ ] Save Light Paths button's tooltip should show the total number of available light paths, not the number of selected light paths.
[ ] Backface culling button should only be present in the OpenGL tab.
[ ] If a render is aborted, are the old light paths properly discarded? It seems that we are still able to visualize the old light paths, in particular in tiles that weren't even rendered.
[ ] Are we always 100% precise when clicking on a pixel?
[ ] "Display Light Paths Overlay" gets disabled whenever a new render is triggered.
[ ] Light paths-related messages are displayed in the log even when light paths recording is disabled.
[ ] Clear Frame should also discard light paths.

Improvements for separate PRs:

[ ] Allow the user to choose the number of light paths to show.
[ ] Save light paths asynchronously to avoid blocking the UI.
[ ] Use transparency to convey light paths intensity.


Include existing refresh support work

Aidan had already developed a working implementation it seems of the refresh token feature. We should rebase it to include it here in the new public repo. Then we can do a proper PR review and potentially merge it.
This would most likely resolve #3.

Issue resolved with #6


Multi-step Form Support/Docs

The readme lists multi-step forms as supported, but I've read through the docs and can't find an example of how this would be done. In particular I'm interested in using the schema generator to go from JSON to a multi-step form. Apologies if I've just missed it.
Just to clarify, when I say multi-step form I mean the ability to have one or more inputs per step, some sort of "next" or "submit" button that goes to the next step (next set of inputs become visible, previous ones hidden) until you get to a final step and do a full form submission. Some nice-to-haves would be the ability to go back to a previous step, as well as the ability to do partial submissions to the backend between steps.
I suppose one hacky way to do this would be with the conditional visibility feature, but hoping there is something better I missed, like just grouping the inputs in a list or something.
Thanks for putting this library together, been looking forward to seeing what the Vue 3 version looks like.

@totalhack It's on our list to do a guide for this exact topic and have it on the site. I'll keep in mind your request to see a schema-only version. It should be doable since the schema lets you use arbitrary components as well, so you'd register something like a form-step component that has a default slot for the content and then pass in the children with the schema.
FormKit will be compatible with multistep form setups, but it will require some configuration and custom components within your own project at this time. We may tackle some pre-baked multistep form solutions as part of the pro package as well.

Hey @andrew-boyd, just curious if this has made it onto the roadmap with an ETA for either documentation or some built-in support. I'm about to run into needing this to use FormKit...

The guide for creating a multi-step form has been published! https://formkit.com/guides/build-a-multi-step-form

Thanks @andrew-boyd, that's a helpful starting point! Based on the example code I assume there can is no easy way to do this same thing from a JSON schema?

+1 on what @totalhack said. This is a great starting point but we want that sweet sweet JSON schema :)

@totalhack @oivvio Here's my take on a schema-version: https://formkit.link/7b74e4469f5c6eb1820cea4423a3ccbe

Thanks @andrew-boyd, appreciate the quick turnaround on that. This a really helpful working example.
One last item I wanted to address from my original question is around taking actions between steps. Specifically, is it possible to do either of the following:

Submit partial results to the backend between steps -- would just require accessing the current state of the overall form which should be simple I think.
Alter the behavior between steps, such as deciding to redirect a user or skip steps. Skipping steps seems trivial though you'd have to remove a step from requiring validation too. Redirecting a user based on some previous answers also seems trivial.

I think the answer to both of those is yes, you'd just handle it in the onClick events of the step navigation, but wanted to get your thoughts and see if you could think of any gotchas.

Yes to both, I believe. Probably several ways to skin that cat but nothing comes to mind that would prevent you from achieving both of those goals.

Hey @andrew-boyd, I'm trying to modify your JSON-based example to not allow moving to the next step if the current step fails validation (rather than just showing validation errors but letting users move on, which would be a bit unusual).
I see the useSteps plugin has a watch method that triggers validation apparently by calling n.store.set on all underlying nodes. So I think instead of that I just need to call getNode(oldStep) and detect if validation fails when calling set on that step, and if so set activeStep=oldStep...but how can you detect whether validation failed when setting a node value with formkit core? It doesn't appear that someNode.store.set returns whether there were validation errors.
Thanks for your help.

Yes, the context object is the correct place to be looking for those values. https://formkit.com/advanced/context. 👍

FormKit inputs use a reactive object to expose data to template slots, rules, and the schema that defines each input. This is called the context object and is found in the each input's core node object at node.context.

Glad you were able to figure it out!

This may be getting a little off-topic but I'm trying to implement the redirect functionality I mentioned above and running into some surprising behavior when trying to use functions in the schema. I think I've narrowed it down to being a problem with passing a url as a string argument to a function in onClick. I replaced my attempt at a redirect with a simple log function to show an example of the issue...
In App.vue's data:
const data = reactive({
  log: target => () => {
    console.log('target:', target)
  },
}

In the schema:
    //  added to the navigation buttons to test
    {
      $formkit: 'button',
      onClick: '$log("https://www.google.com")',
      children: 'Log'
    }

In the console this comes through as target: NaN when clicked. If I switch that URL to an integer or a non-url string it prints it correctly. If I removed the slashes it prints the string. If you want me to open a separate issue for this I can.

Hey @andrew-boyd, another question more on topic here...
I am trying to add the ability to skip steps or have hidden steps that may or may not be in the path of the form flow based on some logic (perhaps based on answers to earlier questions, etc.). The issue is it seems the submit action always tries to validate all of the steps, whether that step was shown or not. Is there some way to disable this behavior, or maybe just something I'm missing?

I'm going to separate the questions above into their own issues to better organize this.


Move pylint settings from .toml files to .pylintrc

Unify our pylint settings across both of our python modules by putting
them in a single rc file rather than configuring them in seperate dot
toml files. It will also better work with vs code, which has issues with
multiple pylint settings inside of one project.
Update ci yaml files that are used by github actions to use the rc file.
Asana Task: <asana_ticket_url>

LGTM!


Correct how we detect nested virtualization layout

Since we have to handle two kinds of layout, multinode and nested
virtualization, we better have to get a strong way to differenciate
them.
Until now, we were trying to be smart, by looking up libvirtd.service
availability, and listing VMs therein. But it wasn't strong enough and
lead to some issues with multinode having libvirtd available.
This patch introduces a new, CI dedicated parameter, allowing to toggle
the right "path" in the log gathering.
As a pull request owner and reviewers, I checked that:

[X] Appropriate testing is done and actually running

/approve


searchbar

Create search bar frontend
Add searchable movies
Fix search result not working

Summary by CodeRabbit

New Features

Introduced a new MovieSearchCard component for displaying movie information.
Added a search bar to the NavBar with expandable search functionality.
Implemented fetching and filtering of movies in the Search component.

Style

Updated styles for the MovieSearchCard with new dimensions, colors, and hover effects.
Enhanced Search input styling with adjustments to padding, colors, and dimensions.
Modified NavBar styling, including new margins and cursor appearance.

Bug Fixes

Removed unnecessary console log from the backend movie route.

Refactor

Renamed search to searchIcon in NavBar.
Added state management for search functionality in NavBar.

Documentation

No visible changes to end-users.

Closes #39


Update FastImageViewManager.java

FIX:failed to load image while ui rebuilding

This would need more explanation to be actionable. Please open another PR if you think it's still relevant. Thank you!


[IOTDB-1802] Add aligned timeseries APIs for C++ client

Add aligned timeseries APIs for C++ client.

Coverage decreased (-0.006%) to 67.529% when pulling 942db39f19f546d226fb635f38f6f4c9d7fa0759 on liuminghui233:cpp_aligned into cbecb864173c792ccb46fcf92c96f39a4fb79e12 on apache:master.


Feat/text input element

This PR implements following issue: https://github.com/okp4/ui/issues/99

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Loading of assets seems broken

the given error is thrown when loading the page.
I assumed that I have to enter the IP that the mariadb container receives?
Or what do I have to do with the following information:

If you change the default port from 80 or use a reverse proxy with a custom URL, ensure you update both APP_URL and ASSET_URL accordingly. For example, if you set the port to 9999, your URLs should be updated to:
- APP_URL=http://localhost:9999
- ASSET_URL=http://localhost:9999

I will be releasing a new version soon, which will feature simplified and better-explained installation steps. Please let me know if this resolved your issue.

yup, that was the sole problem..
forgot to list the custom port


Bump Graticule version constraint

#36
Bumps Graticule version constraint to >2.4 <= 2.5 since 2.4 doesn't raise custom Graticule errors, making it harder to debug issues.
https://github.com/collectiveidea/graticule/commit/5a2b6041889e2e9ffbcdeb62b6e108909be6d78e

This sorry mankind you call a issue is like if you combine haysticks with worms you donut!


cmake::find_package always in release even config under debug mode

Xmake Version
2.7.7
Operating System Version and Architecture
Ubuntu20.04
Describe Bug
The opt.mode in cmake::find_package is always equal to release even configured under debug mode. This will fail the spread of debug build type in #3493.
Expected Behavior
opt.mode should equal to exact xmake config mode.
Project Configuration
I add some print in core.package.package:config() method:
https://github.com/xmake-io/xmake/blob/744ba2c9444fe7b7364314530db5aa6aa3c43d81/xmake/core/package/package.lua#L1265-L1270
if configs then
        print("    Enter configs", name, configs[name])
        value = configs[name]
    end

and in find_package() method:
https://github.com/xmake-io/xmake/blob/744ba2c9444fe7b7364314530db5aa6aa3c43d81/xmake/core/package/package.lua#L1620-L1634
print("self:mode()", self:mode())
print("self:is_debug()", self:is_debug())
print("self:config(debug)", self:config("debug"))

Additional Information and Error Logs
xmake f -m debug -v -D genrates the following logs:
    Enter configs       pic     true
    Enter configs       toolchains      nil
    Enter configs       toolchains      nil
    Enter configs       toolchains      nil
    Enter configs       toolchains      nil
    Enter configs       toolchains      nil
    Enter configs       debug   false
self:mode()     release
    Enter configs       debug   false
self:is_debug() false
    Enter configs       debug   false
self:config(debug)      false
self:configs()  table: 0x557572401220
    Enter configs       debug   false
finding deal.II from cmake ..
checking for cmake ... /data/apps/mambaforge/bin/cmake
error: @programdir/modules/private/async/runjobs.lua:256: @programdir/modules/package/manager/cmake/find_package.lua:111: attempt to index a nil value (local 'envs')
stack traceback:
    [@programdir/modules/package/manager/cmake/find_package.lua:111]:
    [@programdir/modules/package/manager/find_package.lua:109]: in function '_find_package'
    [@programdir/modules/package/manager/find_package.lua:193]:
    [@programdir/modules/lib/detect/find_package.lua:109]:
    [@programdir/core/package/package.lua:1586]: in function '_fetch_library'
    [@programdir/core/package/package.lua:1729]: in function 'fetch'
    [...modules/private/action/require/impl/install_packages.lua:333]: in function 'jobfunc'
    [@programdir/modules/private/async/runjobs.lua:232]:

stack traceback:
        [C]: in function 'error'
        @programdir/core/base/os.lua:913: in function 'base/os.raiselevel'
        (...tail calls...)
        @programdir/modules/private/async/runjobs.lua:256: in field 'catch'
        @programdir/core/sandbox/modules/try.lua:123: in global 'try'
        @programdir/modules/private/async/runjobs.lua:218: in upvalue 'cotask'
        @programdir/core/base/scheduler.lua:404: in function <@programdir/core/base/scheduler.lua:397>

you need pass to configs.debug
it works for me.
add_requires("cmake::ZLIB", {configs = {debug = true}})

{
  require_version = "latest",
  mode = "debug",   <------- debug
  configs = {
    debug = true,
    shared = false,
    pic = true
  },
  arch = "x86_64",

It has nothing to do with xmake f -m debug -v -D, you need to pass it to add_requires yourself.
add_requires("cmake::ZLIB", {configs = {debug = is_mode("debug")}})

xmake f -m debug -c
{
  require_version = "latest",
  mode = "debug",   <------- debug
  configs = {
    debug = true,
    shared = false,
    pic = true
  },
  arch = "x86_64",

Got you mean. But what I want is the cmake::find_package should automatically find under debug while config in debug mode. We can close this if you think this is unnecessary.

We shouldn't do this, not every user wants to switch automatically to debug mode. It is also possible that some cmake packages only provide configuration for release mode.
Users should configure them themselves.

If you want to handle them automatically, it's perfectly fine to be is_mode
add_requires("cmake::ZLIB", {configs = {debug = is_mode("debug")}})


Some Skinned meshes should not be merged

While testing your optimizer, skinned mesh merging  I've found that it is incompatible with one of my tools. This tool bakes blend shapes into textures to use in the shader. I would still like to use your avatar optimizer it as I have skinned meshes that should be merged.
The issue almost certainly due to vertex numbering changes as my tool is sensitive to that.
If there was a way to exclude a mesh from the merging it would allow it to work unmodified.
Other options could include ordering some verticies as they were pre-optimization or providing a callback to re-bake the textures after merging, but the exclusion approach seems by far the simplest.

Yes, anything that relies on SV_VertexID to stay the same needs to be put into the exclusion list.

If there was a way to exclude a mesh from the merging it would allow it to work unmodified.

Thats literally what the Exclusion foldout is for? It stops the optimizer from touching anything thats in there.

I completely missed that. That feature fully satisfies my request. Sorry for the erroneous issue.


Improve debug mode performance

There are 3 issues

duplicated items in the compiler service state (fixed)
cached file content in the source-map-support module (in progress)
cacehed modules content and meta information in the esm module (now, we cannot remove ite)


⚠ BeyondHD has degraded performance

In 4115343, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 6182 ms

Resolved: BeyondHD performance has improved in 1f7938e after 415 days, 17 hours, 43 minutes.


Typo in GHA CI

Here, it should be pipx and not pip:
https://github.com/scikit-hep/cookie/blob/90bcf03266b1144b36400a5981c3a2d2f249e5f0/{{cookiecutter.project_name}}/.github/workflows/ci.yml#L71
My fork has diverged a bit so probably easier to just patch this from your side :)
Also -- why is CONTRIBUTING.md in .github/ and not the root folder of the project?

also, thanks for this, it's been v helpful for setting up new projects! I find the flake8-bugbear to be a bit pedantic for no reason (B008, B009 in particular), but that's why forks exist ;)

PS: While I don't think bugbear understands this, if you have a type checked codebase, this is probably safe:
def something(x: Final[list[int]] = []) -> Any: ...

MyPy will not allow you to change x, so it's the equivalent of setting a non-mutable argument here, which is fine. As long as you always run MyPy, and don't have type: ignores, etc - violating this won't be caught at runtime.

thanks for the explanation! yeah in my use-case the default value of dict() leads to a non-op (it just needs to be able to be unpacked with **), but I understand the general case better now, thanks!


do not fail when unable to find a transitive hab dependency

Signed-off-by: Nell Shamrell<EMAIL_ADDRESS>It appears to be common in projects like Habitat and Automate to have references to Habitat packages that are not on the public builder (i.e ones that are built as part of the CI process for E2E testing). This alters the Habitat dependency manager so that it does not fail a license scout run if it cannot find a package on the public builder - it will post a warning to the user, but will collect and report all the other dependencies that it can find.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ x ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

@tduffield @nellshamrell Is this something we should merge or close out at this point?


How to access $router in common js module?

What problem does this feature solve?
I have a common js "fetch.js" to request data from server. when get a special code like -1, I want to redirect to /login. But I don't know how to access $router in fetch.js file.
Thanks.
What does the proposed API look like?
thanks.

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.


Breakpoints as Em

Breakpoints should be set in Em instead of px, so the user will get the correct visual design based on their font and browser zoom.
A solution for JS to pick up the correct breakpoint must also be provided since it can't be done with windows.innerwidth.
Todos:

[ ] Tokens
[ ] Story

$grid-breakpoints: (
xs: 0,
sm: 36em,
// 576px
md: 48em,
// 768px
lg: 62em,
// 992px
xl: 75em,
// 1200
xxl: 87.5em,
// 1400
);


Error while uploading file

Error while uploading documents. authorization error while calling api due to not passing token.

Yes, we need to work on Notes controllers and routes in backend. Please assign it to me @manjit-hub

@manjit-hub
I have already resolved issues related to api just need to work on storing notes.
Can u assign it to me

@Dhruv80576 as you have resolved api issue. Please proceed with storing notes part.

@Bluesparx can you also look into it ?? Such that files should be uploaded to server and stored there.

Hi, great work Dhruv!
@manjit-hub this is part of frontend so we don't directly need to use cloudinary instead we'll put up some API request handler which isn't set up yet so it's fine for now.  In my previous PR I have only resolved sign up image upload. We need to work on Note uploader controller. Can I open a new PR since it is totally unrelated to this.

@Bluesparx yes, I have no idea about it. I'm closing this for the moment.

It's okay, although the pr looks good to me u can merge that without the backend funtionality too.


Do I need the 2N7000

I don't know much about those components.  I trust your judgment to change one of the 2N7000 to a rfp30n06le.  My question is: could I change both to rfp30n06le?  In my case, I don't have either components so I need to order both... In both cases, it doesn't make sense to order only one so if rfp30n06le is better and is compatible to replace both 2N7000, I would keep things simple and only order rfp30n06le.
Thanks

The original ratgdo uses a 2n700X for the RX MOSFET so I'd stick with that.  The gate voltage on the RX MOSFET will be 12 volts, whereas the gate volate on the TX MOSFET will be 3.3v (driven by the ESP).  The reason for the use of an AO3400A as the surface mount TX MOSFET is because it has better switching reliability for a 3.3v gate voltage.   Current guidance is 2n7000 for RX and the RFP30N06LE for TX, but any MOSFET which can be driven with 3.3v, switch 12v and draw very little current when doing so will work.


This library is on Vcpkg

This library is on Vcpkg
As it turned out somebody already uploaded this library to Vcpkg's repository.
We should keep this in mind if we tag a new release, to issue a PR to Vcpkg's repository where we update the refs of the latest release.
https://github.com/microsoft/vcpkg/blob/master/ports/nameof/CONTROL
Maybe integrate into the CI loop? Or do this manually? - I'm not familiar with Vcpkg.
Maybe add some reference/badge to the README.md which would advertise the Vcpkg as well besides Conan.

As I know Vcpkg works with header-only without additional settings.
I think we just need to add the only badge, and update package on Vcpkg on release new versions.

You are right, I will close this now.


Port number 1 state is Down

What issue would you like to bring attention to?
I tried to create 4 VFs for Mellanox IB interface, but after installation, port state of these VFS were down.
This picture as follows shows states of IB interface :

What is the impact of this issue?
Some commands such as ib_send_bw, ib_write_bw cannot be used, affecting tests on RDMA. So I hope port state of VFs are all active.
Do you have a proposed response or remediation for the issue?
No, we have tried almost one day but failed. So that is why we come here for help. Thank you!

What issue would you like to bring attention to?
I tried to create 4 VFs for Mellanox IB interface, but after installation, port state of these VFS were down.
This picture as follows shows states of IB interface :
Some commands such as ib_send_bw, ib_write_bw cannot be used, affecting tests on RDMA. So I hope port state of VFs are all active.
Do you have a proposed response or remediation for the issue?
No, we have tried almost one day but failed. So that is why we come here for help. Thank you!

@zkzhu0110 do you have subnet manager that supports SR-IOV running somewhere in the same network?

You require to have an active subnet manager that supports virtualization.
you can use: opensm packaged within MLNX_OFED driver package or UFM

You need to have valid GUIDs assigned to the VFs as well for link to be up.
to configure port node GUID of VF you should do it through ip link commands.
(each VF with unique value)
ip link set <PF ipoib netdev> vf <vf idx> port_guid <GUID> node_guid <GUID>
for VF, port and node GUID should be set to the same value.
Then unbind/bind VF from/to driver to apply the change.
On a side-note, This issue is not really related to sriov-network-device-plugin project.
ib-sriov-cni together with ib-kubernetes should be used to set up the networking aspects of Infiniband VFs in pods.
ib-kubernetes can be used with noop SM plugin if the subnet manager is managed out of band.
it would then be used for GUID address allocation.

Thank you very much, currently we have solved the problem. We need to unbind and rebind VFs, and also need to make sure that opemd is active.
Reference: https://community.mellanox.com/s/article/howto-configure-sr-iov-for-connect-ib-connectx-4-with-kvm--infiniband-x


Standardize of merge engnie

Changes proposed in this pull request:

Add LocalDataMergedResult
Add subclass of LocalDataMergedResult: SingleLocalDataMergedResult & MultipleLocalDataMergedResult
Add TransparentMergedResult
Move encrypt merge logic to encrypt package

Pull Request Test Coverage Report for Build 1124

58 of 132 (43.94%)  changed or added relevant lines in 17 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 68.077%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/core/statement/ShardingPreparedStatement.java
5
9
55.56%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/core/statement/ShardingStatement.java
5
9
55.56%

sharding-core/sharding-core-merge/src/main/java/org/apache/shardingsphere/core/merge/encrypt/dal/DALEncryptMergeEngine.java
0
5
0.0%

sharding-proxy/sharding-proxy-backend/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/JDBCDatabaseCommunicationEngine.java
0
10
0.0%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/core/resultset/EncryptResultSet.java
9
60
15.0%

Totals

Change from base Build 602:
-0.05%

Covered Lines:
11388

Relevant Lines:
16728

💛  - Coveralls


Added spinal cord analysis pipeline (sct_run_batch)

Context
This PR introduces spinal cord analysis pipeline with SCT.
TODO

[ ] Create SHELL script: process_spinalcord.sh
[ ] Update documentation

Getting started  🎉  with b6d17c8 and SCT (https://github.com/spinalcordtoolbox/spinalcordtoolbox/pull/3414/commits/956d61e8aec1111a3e3cec71219ce6024705bd0f)
Terminal output on simple script (display subject's name)
julien-macbook:~/code/neuromod-anat-processing $ sct_run_batch -path-data ~/data/neuromod/ -path-output ~/temp/neuromod -job 12 -script process_spinalcord.sh

--
Spinal Cord Toolbox (git-jca/3413-run-batch-session-956d61e8aec1111a3e3cec71219ce6024705bd0f)

sct_run_batch -path-data /Users/julien/data/neuromod/ -path-output /Users/julien/temp/neuromod -job 12 -script process_spinalcord.sh
--

INFO SYSTEM
-----------
OS: osx (Darwin-19.6.0-x86_64-i386-64bit)
CPU cores: Available: 16 | Threads used by ITK Programs: 1
RAM: Total 16384 MB | Available 6445 MB | Used 8497 MB

INPUT ARGUMENTS
---------------
batch_log: sct_run_batch_log.txt
config: null
continue_on_error: 1
email_from: null
email_host: smtp.gmail.com:587
email_to: null
exclude: null
exclude_list: null
include: null
include_list: null
itk_threads: 1
jobs: 12
path_data: /Users/julien/data/neuromod/
path_output: /Users/julien/temp/neuromod
path_segmanual: .
script: process_spinalcord.sh
script_args: ''
subject_prefix: sub-
v: 1
zip: false

SCRIPT
------
git commit: 728736e740a492af9759959abd3d670a28efdea0
git origin: https://github.com/courtois-neuromod/anat-processing.git
Copying script to output folder...
/Users/julien/code/neuromod-anat-processing/process_spinalcord.sh -> /Users/julien/temp/neuromod/process_spinalcord.sh
Setting execute permissions for script file process_spinalcord.sh ...

DATA
----
git commit: 9fe61258fec1c64cd1a5d83079168ff16a6e9fff*
git origin: git@github.com:courtois-neuromod/anat.git

RUNNING
-------
Processing 20 subjects in parallel. (Worker processes used: 12).
Started at 10h42m33s: sub-01_ses-002. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-01_ses-002.log
Started at 10h42m33s: sub-01_ses-003. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-01_ses-003.log
Started at 10h42m33s: sub-01_ses-001. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-01_ses-001.log
Started at 10h42m33s: sub-06_ses-001. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-06_ses-001.log
Started at 10h42m33s: sub-06_ses-002. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-06_ses-002.log
Started at 10h42m33s: sub-06_ses-003. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-06_ses-003.log
Started at 10h42m33s: sub-06_ses-004. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-06_ses-004.log
Started at 10h42m33s: sub-05_ses-001. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-05_ses-001.log
Started at 10h42m33s: sub-05_ses-002. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-05_ses-002.log
Started at 10h42m33s: sub-02_ses-001. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-02_ses-001.log
Started at 10h42m33s: sub-02_ses-002. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-02_ses-002.log
Started at 10h42m33s: sub-02_ses-003. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-02_ses-003.log
Started at 10h42m33s: sub-02_ses-004. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-02_ses-004.log
Started at 10h42m33s: sub-03_ses-001. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-03_ses-001.log
Started at 10h42m33s: sub-03_ses-002. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-03_ses-002.log
Started at 10h42m33s: sub-03_ses-003. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-03_ses-003.log
Started at 10h42m33s: sub-03_ses-004. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-03_ses-004.log
Started at 10h42m33s: sub-04_ses-002. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-04_ses-002.log
Started at 10h42m33s: sub-04_ses-001. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-04_ses-001.log
Started at 10h42m33s: sub-04_ses-003. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-04_ses-003.log

Hooray! your batch completed successfully :-)

Started: 10h42m33s | Ended: 10h42m33s | Duration: 00h00m00s

To open the Quality Control (QC) report on a web-browser, run the following:
open /Users/julien/temp/neuromod/qc/index.html

Results of full processing with :
Terminal output
julien-macbook:~/code/neuromod-anat-processing $ sct_run_batch -path-data ~/data/neuromod/ -path-output ~/temp/neuromod -job 8 -script process_spinalcord.sh

--
Spinal Cord Toolbox (git-jca/3413-run-batch-session-c41958db922273a66764ef88239587f91af3adad)

sct_run_batch -path-data /Users/julien/data/neuromod/ -path-output /Users/julien/temp/neuromod -job 8 -script process_spinalcord.sh
--

INFO SYSTEM
-----------
OS: osx (Darwin-19.6.0-x86_64-i386-64bit)
CPU cores: Available: 16 | Threads used by ITK Programs: 1
RAM: Total 16384 MB | Available 6464 MB | Used 8555 MB

INPUT ARGUMENTS
---------------
batch_log: sct_run_batch_log.txt
config: null
continue_on_error: 1
email_from: null
email_host: smtp.gmail.com:587
email_to: null
exclude: null
exclude_list: null
include: null
include_list: null
itk_threads: 1
jobs: 8
path_data: /Users/julien/data/neuromod/
path_output: /Users/julien/temp/neuromod
path_segmanual: .
script: process_spinalcord.sh
script_args: ''
subject_prefix: sub-
v: 1
zip: false

SCRIPT
------
git commit: 7804a20ea29f539046cc7be749932301f08b9d71
git origin: https://github.com/courtois-neuromod/anat-processing.git
Copying script to output folder...
/Users/julien/code/neuromod-anat-processing/process_spinalcord.sh -> /Users/julien/temp/neuromod/process_spinalcord.sh
Setting execute permissions for script file process_spinalcord.sh ...

DATA
----
git commit: 52d0e6f33d003202437e168323793fb80f6469a7
git origin: git@github.com:courtois-neuromod/anat.git

RUNNING
-------
Processing 20 subjects in parallel. (Worker processes used: 8).
Started at 23h13m03s: sub-01_ses-002. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-01_ses-002.log
Started at 23h13m03s: sub-01_ses-003. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-01_ses-003.log
Started at 23h13m03s: sub-01_ses-001. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-01_ses-001.log
Started at 23h13m03s: sub-06_ses-001. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-06_ses-001.log
Started at 23h13m03s: sub-06_ses-003. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-06_ses-003.log
Started at 23h13m03s: sub-06_ses-002. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-06_ses-002.log
Started at 23h13m03s: sub-06_ses-004. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-06_ses-004.log
Started at 23h13m03s: sub-05_ses-001. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-05_ses-001.log
Started at 23h30m48s: sub-05_ses-002. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-05_ses-002.log
Started at 23h30m54s: sub-02_ses-001. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-02_ses-001.log
Started at 23h30m57s: sub-02_ses-002. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-02_ses-002.log
Started at 23h30m57s: sub-02_ses-003. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-02_ses-003.log
Started at 23h31m01s: sub-02_ses-004. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-02_ses-004.log
Started at 23h31m06s: sub-03_ses-001. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-03_ses-001.log
Started at 23h31m07s: sub-03_ses-002. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-03_ses-002.log
Started at 23h31m09s: sub-03_ses-003. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-03_ses-003.log
Started at 23h47m10s: sub-03_ses-004. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-03_ses-004.log
Started at 23h47m44s: sub-04_ses-001. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-04_ses-001.log
Started at 23h47m59s: sub-04_ses-002. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-04_ses-002.log
Started at 23h48m03s: sub-04_ses-003. See log file /Users/julien/temp/neuromod/log/process_spinalcord_sub-04_ses-003.log

Hooray! your batch completed successfully :-)

Started: 23h13m03s | Ended: 00h00m03s | Duration: 00h46m59s

Example of CSA computation from the T1w data (in mm^2):


Project is dead

Please use https://github.com/tasks/tasks

Please use https://github.com/tasks/tasks

It wants money for CalDAV

Please use tasks/tasks

It wants money for CalDAV

It's GPLv3 code.
Just compile it yourself without this restriction or use the google services integration.
Of course you could also revive this dead project.
I only gave an advise for a good replacement.

It seems that on F-Droid it is not require any payment

Too bad this project is dead, really liked the app. Hope it gets revived. Also switched to tasks.org now and works fine.

It's unfortunate that this project died, but at least this makes it a bit easier to choose between OpenTasks and Tasks.org
I guess I'll go with Tasks.org then

Unfortunately, some apps rely on this project for task integration (aCalendar+).  Hopefully they will get the message and implement support for Tasks.org.

Yes, I've got the same problem. My mail provider (Infomaniak) will only sync with OpenTasks, not with Tasks.org. So I'll keep using the dead app...

Unfortunately, some apps rely on this project for task integration (aCalendar+). Hopefully they will get the message and implement support for Tasks.org.

We have tasks.org on our aCalendar roadmap for 2023.

I always liked the UI of OpenTasks better and thus used it actively until now. Today I paid the price, taking me some hours debugging my system as I suspected my backend being faulty unless I realized that I am also riding the dead horse, learning painfully that the OpenTasks/Task.Org choice became crucial sometime lately:
The new point I want to bring is that DAVx5 now seems to effectively support only one todo list app - there is a new setup section for this, which did not grab my attention when it was introduced: In the list of candidate apps, one can activate switches for three different apps there (OpenTasks, mentioned as dead, Tasks.Org, mentioned as partially supported, and jtx Board, the new kid on the block?), but there is also a radio button on the left of the list which actually activates one chosen - having that set on Tasks.Org killed my day today. Only the one app active there really gets synced against the CALDAV backend, and the icon you see at the very bottom of the DAVx5 settings list indicates which one. Huh, that took me way too much time to find out, struggling with off-synced lists from three clients.
Putting this comment here in the hope that it saves somebody the hours I wasted finding this out. So now I am also forcedly moved to tasks.org, fine.


Upgrade dat-link-resolve to 2.1.0

Newest dat-link-resolve version handles more types of URLs (with paths and versions).
The current package.json should install 2.1.0 according to its semver range, but I think package-lock.json prevents the upgrade.

Never mind, user error.


skip endpoint discovery

This PR adds the logic to skip esi-leap endpoint discovery, so that esisdk won't make call to http://<IP_ADDRESS>:7777 at first to obtain the endpoint url.

oh, interesting! is this code also somewhere in the openstack codebase?

oh, interesting! is this code also somewhere in the openstack codebase?

Yeah, i found it here: https://github.com/openstack/openstacksdk/blob/ff2d0a5bd0b929d5fc15e5b0cfabe2b57a33f722/openstack/service_description.py#L254. But when I directly used the code here, it made call to http://<IP_ADDRESS>:7777/leases/ rather than http://<IP_ADDRESS>:7777/v1/leases/, so i restricted the endpoint url to be '{}/v{}'.format(ep_override, version_string)`

looks good - thanks!


Java 22.2: Bounded types

Description
Add audio, documentation, and video regarding the Bounded types
Location of File to be added The files should be added inside the Bounded_Types which will be inside Generics folder which will be inside of Java folder. If the folder is not present, create the folder with this exact name.

The documentation file can be in the .md/.py/.ipynb format.
Audio should be in .mp3 format and to be submitted through a Google drive link.
Video can be in any format and should be submitted through a Google Drive link.

Note:
You are required to comment with \assign CONTENT_TYPE, so that other content types can be created at the same time. Failing to comment in the above manner will lead to the removal of assignment from the issue even if the bot assigns. You are required to do a PR within 7 days otherwise you will be unassigned and others will be assigned. Issues will be assigned on a first come first serve basis.
Domain
Java_Domain
Type of Contribution
Audio, Video, Documentation
Code of Conduct

[x]    I follow Contributing Guidelines & Code of conduct of this project.

@vishnupriya129 You have been assigned documentation


gcc error

When I execute the training file, the result is an error: modulenotfounderror: no module named 'mmcv', but I have been able to run normally before, and mmcv full exists in my environment. Then I recompile mmdet, and the result is the following error
gcc: error: pycocotools/_mask.c: 没有那个文件或目录
gcc: fatal error: no input files
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
Because I am not the only one using the server, I don't know if someone else has changed the system settings, resulting in problems in my mmdet environment

What is your mmdet version

I don't think it's the version problems. I have an environment with mmdet = 2.3.0 and mmdet = 2.16. I can still use it normally yesterday, but not today. In addition, when I train with a single card, I report an error:modulenotfounderror: no module named 'mmcv', but when I train with multiple GPUs, I have no problem and can train normally.Why?

你好，请问你是怎么解决的


[WIP]: unstableGitUpdater: follow current conventions

Description of changes
Enforce the current versioning conventions in the unstable git updater.
Fixes #291729.
Note: this is still being developed and tested - do not merge

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Looks like this is the same as https://github.com/NixOS/nixpkgs/pull/280501?

i actually like this PR since its a lot simpler than https://github.com/NixOS/nixpkgs/pull/280501 but, as long as any of those gets merged I will support