nzbToMedia vs mp4_automator - HD to SD transcode

source: 19m54s 720p HDTV rip thats 720 MB
mediainfo: http://pastebin.com/raw.php?i=jp28DUZS
Trying to re-encode this to 480p (SD) that mimics what scene would produce... since can't do VBR with audio stuck using CBR but trying to find acceptable settings that would produce similar results....
Forgot to time these to see if one is really faster than the other.. also can see that while video is close the audio is a bit different for each.
nzbtomedia:
[13:17:45] [DEBUG]::MAIN: calling command: C:\ffmpeg\bin\ffmpeg.exe -loglevel warning -hwaccel auto -fflags +genpts -i F:\folder\file.mkv -i F:\folder\file.en.srt -map 0:0 -map 0:1 -map 1:0 -c:v libx264 -vf scale=720:404 -b:v 1400000 -crf 19 -level 3.1 -c:a:0 aac -strict -2 -b:a:0 192 -c:s mov_text -metadata:s:s:0 language=en -movflags +faststart F:\folder\file.mp4
mediainfo: http://pastebin.com/raw.php?i=wG9KUdXd
result: 252 MB (w/sub embeded)
mp4 automator:
Spawning ffmpeg with command: C:\ffmpeg\bin\ffmpeg.exe -fix_sub_duration -i F:\folder\file.mkv -i F:\folder\file.en.srt -map 0:0 -map 0:1 -map 1:0 -vcodec libx264 -vf scale=720:-2 -vb 1400k -level 3.1 -c:a:0 aac -ac:a:0 2 -b:a:0 256k -metadata:s:a:0 language=eng -strict experimental -c:s:0 mov_text -metadata:s:s:0 language=eng -f mp4 -threads auto -y F:\folder\file.mp4
mediainfo: http://pastebin.com/raw.php?i=tuYYDKTZ
result: 233 MB (unable to get subs working - even tried letting it use the subs nzbtomedia found)
nzbtomedia:
    # getsubs. enable to download subtitles.
    getSubs = 1
    # subLanguages. create a list of languages in the order you want them in your subtitles.
    subLanguages = eng
    # transcode. enable to use transcoder
    transcode = 1
    # outputFastStart. 1 will use -movflags + faststart. 0 will disable this from being used.
    outputFastStart = 1
    # audioLanguage. set the 3 letter language code you want as your primary audio track.
    audioLanguage = eng
    # embedSubs. 1 will embed external sub/srt subs into your video if this is supported.
    embedSubs = 1
    # hwAccel. 1 will set ffmpeg to enable hardware acceleration (this requires a recent ffmpeg)
    hwAccel = 1
    #### Define custom settings below.
    outputVideoExtension = .mp4
    outputVideoCodec = libx264
    VideoCodecAllow = "libx264,h264,h.264,AVC,avc,mpeg4,MPEG-4"
    outputVideoPreset = ""
    outputVideoResolution = 720:480
    outputVideoFramerate = ""
    outputVideoBitrate = 1400k
    outputVideoCRF = 19
    outputVideoLevel = 3.1
    outputAudioCodec = aac
    AudioCodecAllow = "libfaac,aac,libfdk_aac"
    outputAudioChannels = 2
    outputAudioBitrate = 192
    outputAudioTrack2Codec = ""
    AudioCodec2Allow = ""
    outputAudioTrack2Channels = ""
    outputAudioTrack2Bitrate = ""
    outputAudioOtherCodec = ""
    AudioOtherCodecAllow = ""
    outputAudioOtherChannels = ""
    outputAudioOtherBitrate = ""
    outputSubtitleCodec = mov_text

mp4 automator:
[MP4]
ffmpeg = C:\ffmpeg\bin\ffmpeg.exe
ffprobe = C:\ffmpeg\bin\ffprobe.exe
output_directory =
copy_to =
move_to =
output_extension = mp4
output_format = mp4
delete_original = False
relocate_moov = True
audio-codec = aac
video-codec = h264,x264
video-bitrate = 1400
h264-max-level = 3.1
ios-audio = True
max-audio-channels = 2
audio-language = eng
audio-default-language = eng
audio-channel-bitrate = 192
subtitle-language = eng
subtitle-default-language = eng
fullpathguess = True
convert-mp4 = False
tagfile = False
tag-language = en
download-artwork = False
download-subs = True
embed-subs = True
sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles
permissions = 0777
post-process = False
pix-fmt =
ios-first-track-only = False
subtitle-codec = mov_text
video-max-width = 720

things to note,

the source video is 1280x720 (720p) and the settings were to transcode down to 480p, both apps use the width to size down off of..

nzbtomedia resized the video correctly with proper aspect ratio of 720x404

automator resized the video incorrectly to 720x406

the source video audio is 2 channel AC-3 with constant bitrate of 384 Kbps, stream size of 54.7 MiB

nzbtomedia ended up with 2 channel AAC but with a horrible bitrate of 4,136 bps for a stream size of 603 KiB

automator ended up with 2 channel AAC with bitrate of 256 Kbps for stream size of 36.5 MiB

With regards to the video resizing, the issue here is that the height can't be an odd number. When resizing 1280 down to 720, and maintaining the same aspect ratio, the width should ultimately end up as 405. Since this isn't acceptable, the script has to round to the nearest even number. I'm guessing that nzbtomedia rounds down while my script rounds up. They're both within a 1 pixel margin of error so I wouldn't say its incorrectly resized.
And I don't see an issue as far as the audio is concerned.
As far as the subs go, are you referring to having the script automatically download the subs? Or is there some external sub you're trying to embed that's not working?

looking at scene's sd version, they also get to the same resolution nzbtomedia ends up with..
looking at the ratio.. yes you can see that the precision used to round most likely is the result in the differences...

1280/720 = 1.777777777777778 (org)
720/404 = 1.782178217821782 (nzbtomedia / scene)
720/406 = 1.773399014778325 (automator)

audio is fine for automator (id like to have used my requested value of 192 but its fine cause when using the ios it overrides to 256..) but mainly to point out differences between the two when attempting to use similar settings but getting different outcomes.
about the subs, I just couldnt get it to work with automator.. both with the included version of subliminal or with latest.. or even if the sub already existed in the dir named as the media..  it worked fine in nzbtomedia without any extra effort  (he includes the libs as part of the repo.. so theres no need to force the user to install/figure out what version works.. etc.. maybe something you should look into doing as it would probably make things much simplier in terms of support - obviously at the expense of increasing the repo size)
the reason the info in this issue is being posted the way it is, is due to the fact that im cross posting this in two places... here is nzbtomedia's: https://github.com/clinton-hall/nzbToMedia/issues/816

I just pushed an update that removed the dependency of the custom modifications I made to subliminal and now uses the latest build of subliminal. You should be able to run the script using the latest subliminal installed via PIP now.

Removed old subliminal (pip uninstall subliminal, installed latest)
C:\Program Files (x86)\sickbeard_mp4_automator>pip search subliminal
subliminal                - Subtitles, faster than your thoughts
  INSTALLED: 1.0.1 (latest)

I do see it grab the subs now,
Reading subtitle streams.
Attempting to download subtitles.
2015-08-27 23:04:26 - GuessFiletype - DEBUG - Found guess_episodes_rexps: {u'season': 28, u'episodeNumber': 7} -> type = episode
2015-08-27 23:04:26 - GuessProperties - DEBUG - Property found: container=mp4 (mp4) (confidence=1.00)
2015-08-27 23:04:26 - GuessProperties - DEBUG - Property found: format=HDTV (HDTV) (confidence=1.00)
2015-08-27 23:04:26 - GuessProperties - DEBUG - Property found: screenSize=720p (720p) (confidence=1.00)
2015-08-27 23:04:26 - GuessProperties - DEBUG - Property found: videoCodec=h264 (x264) (confidence=1.00)
2015-08-27 23:04:26 - GuessProperties - DEBUG - Property found: format=HDTV (hdtv) (confidence=1.00)
2015-08-27 23:04:26 - GuessProperties - DEBUG - Property found: videoCodec=h264 (x264) (confidence=1.00)
2015-08-27 23:04:26 - GuessProperties - DEBUG - Property found: container=mkv (mkv) (confidence=0.30)
2015-08-27 23:04:26 - GuessEpisodesRexps - DEBUG - Property found: season=28 (S28E07) (confidence=1.00)
2015-08-27 23:04:26 - GuessEpisodesRexps - DEBUG - Property found: episodeNumber=7 (S28E07) (confidence=1.00)
2015-08-27 23:04:26 - GuessEpisodesRexps - DEBUG - Property found: season=28 (s28e07) (confidence=1.00)
2015-08-27 23:04:26 - GuessEpisodesRexps - DEBUG - Property found: episodeNumber=7 (s28e07) (confidence=1.00)
2015-08-27 23:04:26 - GuessReleaseGroup - DEBUG - Property found: releaseGroup=W4F (W4F) (confidence=1.00)
2015-08-27 23:04:26 - GuessReleaseGroup - DEBUG - Property found: releaseGroup=w4f (w4f) (confidence=1.00)
2015-08-27 23:04:26 - GuessEpisodeInfoFromPosition - DEBUG - Property found: series=Cops (Cops) (confidence=0.70)
2015-08-27 23:04:26 - stevedore.extension - DEBUG - found extension EntryPoint.parse('opensubtitles = subliminal.providers.opensubtitles:OpenSubtitlesProvider')
2015-08-27 23:04:26 - stevedore.extension - DEBUG - found extension EntryPoint.parse('thesubdb = subliminal.providers.thesubdb:TheSubDBProvider')
2015-08-27 23:04:26 - stevedore.extension - DEBUG - found extension EntryPoint.parse('podnapisi = subliminal.providers.podnapisi:PodnapisiProvider')
2015-08-27 23:04:26 - stevedore.extension - DEBUG - found extension EntryPoint.parse('addic7ed = subliminal.providers.addic7ed:Addic7edProvider')
2015-08-27 23:04:26 - stevedore.extension - DEBUG - found extension EntryPoint.parse('tvsubtitles = subliminal.providers.tvsubtitles:TVsubtitlesProvider')
2015-08-27 23:04:26 - stevedore.enabled - DEBUG - ignoring extension 'tvsubtitles'
2015-08-27 23:04:26 - subliminal.api - ERROR - Unexpected error in provider 'addic7ed', discarding it
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\subliminal\api.py", line 117, in list_subtitles
    provider_subtitles = self[name].list_subtitles(video, provider_languages)
  File "C:\Python27\lib\site-packages\subliminal\providers\addic7ed.py", line 257, in list_subtitles
    return [s for s in self.query(video.series, video.season, video.year)
  File "C:\Python27\lib\site-packages\subliminal\providers\addic7ed.py", line 214, in query
    show_id = self.get_show_id(series, year, country)
  File "C:\Python27\lib\site-packages\subliminal\providers\addic7ed.py", line 187, in get_show_id
    show_ids = self._get_show_ids()
  File "C:\Python27\lib\site-packages\dogpile.cache-0.5.6-py2.7.egg\dogpile\cache\region.py", line 1040, in decorate
    should_cache_fn)
  File "C:\Python27\lib\site-packages\dogpile.cache-0.5.6-py2.7.egg\dogpile\cache\region.py", line 647, in get_or_create
    self._mutex(key),
  File "C:\Python27\lib\site-packages\dogpile.cache-0.5.6-py2.7.egg\dogpile\cache\region.py", line 278, in _mutex
    return self._lock_registry.get(key)
AttributeError: 'CacheRegion' object has no attribute '_lock_registry'
External eng subtitle file detected.
Creating subtitle stream 0 by importing filename.en.srt.

I just fixed the cache error and silenced some of the additional logging

thanks, checking it out now.. noticed in your converter function there is a twopass variable.. is that ever exposed via an argument/ini setting?

No but its something that could probably easily be added in a future update

so I was looking at your code and trying to figure out how the scaling is being done differently.. -vf scale=720:-2 i found online that -1 is used to keep aspect ratio.. not sure what -2 means though. also I found this page which has a trick that may be useful to you:
http://stackoverflow.com/questions/8218363/maintaining-ffmpeg-aspect-ratio

-2 also keeps aspect ratio but forces the number to be even (as opposed to -1 which does not)
This actually seems like its more of an FFMPEG problem since I'm not actually doing the size calculations.

maybe thats why nzbtomedia just specifies the height and width when they do their ffmpeg

I'm not 100% convinced it makes a significant difference unless you're seeing issues with the way FFMPEG calculates the width/height and I think that's the more reliable way to do it. Does the 2 pixel difference create any weird visual artifacting?

in avcoders.py where it produces the cmd list, I swapped out -2 for trunc(ow/a/2)*2 per https://trac.ffmpeg.org/ticket/309
this ended up the 404 height instead of the 406...
about the difference..  cant really say as I'm not home at the moment :) I'll be back home in a few days and I'll be able to actually check the video to find out about the visual distortion/issues..

elif 'wscale' in safe:
            optlist.extend(['-vf', 'scale=%s:trunc(ow/a/2)*2' % (safe['wscale'])])
        elif 'hscale' in safe:
            optlist.extend(['-vf', 'scale=trunc((oh*a)/2)*2:%s' % (safe['hscale'])])

How's that look? It's late and I'm working overnight so just want you to double check my equations lol

that looks right.. pretty much what i did (but only really needed the wscale one since thats what I'm hitting for my scaling)..  havent dug through ffmpeg code to see what '-2' is internally treated as.. since there is an obvious difference (although slight.. prob round up instead of rounding down.. which maybe they used as a safeguard from ever hitting 0)
not sure if you have any sort of unit testing to make sure all the scale variations results are what is expected as before.. compare numbers / see if delta is within acceptable variance amount.. since i fully understand how these sort of changes can be hard to catch any issues until reported.

If the value for @var{width} or @var{height} is -n (negative), the scale filter will
use, for the respective output size, a value that maintains the aspect
ratio of the input image, and rounds to the nearest multiple of +n.

yeah so looking though the code, its not '-2' its anything lower than -1 will be used as the factor...
https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/vf_scale.c#L287
looks like this is the culprit for the difference:
https://github.com/FFmpeg/FFmpeg/commit/1e48c39ece3ec790dad9a0e308ebe1a77b2f08ba

I implemented the change just now, looks like its working and matches the way the scene releases behave

Actually I think that addresses all the issues you've brought up, if so you can go ahead and close this

just adding another note, profiled the manual routine off latest dev..
>python -m cProfile manual.py -a -i F:\mp4\folder
removed out items that had ncalls less than 10, removed items that had total/cumtime/percall less than 0.099:
F:\mp4>grep -v -E "^\ +[0-9]{1}\ " cprofile.txt | grep -v -E "0\.0[0-9][0-9]    0\.000    0\.0[0-9][0-9]    0\.0[0-9][0-9]"
         2782333 function calls (2755059 primitive calls) in 380.420 seconds

   Ordered by: standard name

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
    24405    0.257    0.000    1.176    0.000 HTMLParser.py:279(parse_starttag)
    20734    0.086    0.000    0.391    0.000 HTMLParser.py:363(parse_endtag)
     3660    0.005    0.000    0.169    0.000 HTMLParser.py:403(handle_startendtag)
       22    0.009    0.000    0.144    0.007 __init__.py:1(<module>)
    18496    0.086    0.000    0.120    0.000 __init__.py:145(_replace_cdata_list_attribute_values)
      732    0.005    0.000  370.296    0.506 __init__.py:165(convert)
    48831    0.083    0.000    0.191    0.000 __init__.py:260(endData)
    24394    0.071    0.000    0.124    0.000 __init__.py:301(_popToTag)
    24405    0.125    0.000    0.604    0.000 __init__.py:324(handle_starttag)
    24394    0.030    0.000    0.266    0.000 __init__.py:351(handle_endtag)
      294    0.000    0.000    0.174    0.001 __init__.py:49(compile_pattern)
    24405    0.046    0.000    0.649    0.000 _htmlparser.py:46(handle_starttag)
    24394    0.020    0.000    0.287    0.000 _htmlparser.py:58(handle_endtag)
      294    0.002    0.000    0.176    0.001 containers.py:304(__init__)
      223    0.001    0.000    0.178    0.001 containers.py:394(register_property)
   7099/3    0.127    0.000    0.233    0.078 element.py:1204(select)
    14192    0.016    0.000    0.134    0.000 element.py:1326(recursive_select)
    24407    0.137    0.000    0.333    0.000 element.py:745(__init__)
       10    0.000    0.000    0.115    0.012 extension.py:176(_load_one_plugin)
      732    0.137    0.000  370.074    0.506 ffmpeg.py:421(convert)
       10    0.000    0.000    1.973    0.197 httplib.py:1009(getresponse)
       10    0.000    0.000    1.970    0.197 httplib.py:363(_read_status)
       10    0.000    0.000    1.973    0.197 httplib.py:402(begin)
      120    0.001    0.000    1.541    0.013 httplib.py:637(_safe_read)
       10    0.000    0.000    1.981    0.198 httplib.py:787(send)
       10    0.000    0.000    1.981    0.198 httplib.py:814(_send_output)
       10    0.000    0.000    1.981    0.198 httplib.py:956(endheaders)
    91056    0.082    0.000    0.116    0.000 markupbase.py:49(updatepos)
       42    0.000    0.000    0.131    0.003 matcher.py:132(_process)
      107    0.000    0.000    1.554    0.015 models.py:669(generate)
       11    0.000    0.000    1.554    0.141 models.py:736(content)
    37/34    0.000    0.000    0.175    0.005 pkg_resources.py:2235(load)
      500    0.000    0.000    0.270    0.001 re.py:188(compile)
      927    0.004    0.000    0.273    0.000 re.py:226(_compile)
      107    0.000    0.000    1.553    0.015 response.py:286(stream)
       99    0.000    0.000    1.541    0.016 response.py:403(_handle_chunk)
      103    0.001    0.000    1.553    0.015 response.py:425(read_chunked)
      6/5    0.000    0.000    3.428    0.686 sessions.py:539(send)
      7/6    0.000    0.000    0.378    0.063 sessions.py:92(resolve_redirects)
       29    0.000    0.000    0.632    0.022 socket.py:223(meth)
      122    0.004    0.000    1.540    0.013 socket.py:336(read)
      162    0.001    0.000    1.982    0.012 socket.py:406(readline)
 4166/453    0.038    0.000    0.100    0.000 sre_compile.py:33(_compile)
      453    0.001    0.000    0.140    0.000 sre_compile.py:481(_code)
      453    0.002    0.000    0.267    0.001 sre_compile.py:496(compile)
 1137/454    0.007    0.000    0.120    0.000 sre_parse.py:302(_parse_sub)
 2933/466    0.046    0.000    0.118    0.000 sre_parse.py:380(_parse)
  454/453    0.002    0.000    0.124    0.000 sre_parse.py:676(parse)
       12    0.000    0.000    0.646    0.054 threading.py:308(wait)
       21    0.000    0.000    0.225    0.011 transformers.py:89(_load_one_plugin)
    59/52    0.015    0.000    0.177    0.003 {__import__}
      415    0.646    0.002    0.646    0.002 {method 'acquire' of 'thread.lock' objects}
2531/2415    0.003    0.000    1.558    0.001 {method 'join' of 'str' objects}
   174788    0.191    0.000    0.191    0.000 {method 'match' of '_sre.SRE_Pattern' objects}
    53268  370.148    0.007  370.148    0.007 {method 'read' of 'file' objects}
      639    2.909    0.005    2.909    0.005 {method 'recv' of '_socket.socket' objects}
    30524    0.382    0.000    0.382    0.000 {method 'write' of 'file' objects}

as you can see, it took 380.420 seconds to complete.. out of that time 370.074 were inside the convert routine in ffmpeg.py... which was mainly due to read of the file (totaltime).


🐛 [BUG] - Browser shortcut keys

Description
The browser's own shortcuts work while the client is running. For example, f3 opens the search box, f1 redirects to the browser help page and f5 browser tabpage refresh
Reproduction steps
1. Keypress f1
2. Open help page on browser

Browsers
Chrome
OS
Windows

yes, it's fixed I think my google chrome version was out of date.


Populate Usecase Content

Wrote up content for the "Where is it used (and why)?" section. It mostly contains sites where p5.js is utilized and most of the explaining will be done verbally.

Please move my task to done once merged

Please move my task to done once merged

Hey @matt-lao. The README is used as an "Overview" on what is in the contents of the web page. All this looks great, but can you put it into the index.html in its appropriate format of your choosing? You can make bulletin points or paragraphs. For inspiration, please take a look at John's section in the HTML in terms of similar/competing frameworks.

@FrancisTR my bad, I thought we were writing up the content in the README and then converting it to the webpage. I understand now, I will update that shortly.


Update transformations.md

Remove double "and"

Hey. Thanks for the PR! Can we get all of these in a single PR? So they can be squashed into a single commit on merge.


Button to add file, image/camera

On mobiles, it would be wonderful if there was a button to directly attach file/image while typing markdown

I can see that, my only concern is screen real-estate and minimalism. Right now there are 3 buttons (and soon there will be a 4th), is adding a 5th worth it? Not entirely convinced yet.

Thanks, how about this?
In mobile portrait, all buttons are hidden into a burger menu
In tablet/desktop, these are expanded for direct clicks

Hi,
I did some analysis:

Mode button, is there a use case where this needs to be toggled constantly? My view is no, so perhaps this can be hidden into a command
Home button, this kind of assumes we constantly need to edit the same page or jump back to home, to navigate elsewhere, is that the case?
Open button, definitely needed
Run button, definitely needed

From this, I think 1 and 2 can potentially be removed if there is no strong use case to support them.

How about we make all top buttons configurable so you can pick icons and commands to run? I think that will be nice right?

Yes that would be great!

#643

Just curious, the camera will still be added right? I tried to upload an mp4 file, but could not find it on my server.

There's already an Upload: File command, which should give you the option to also select from the camera. That said, there is a 10MB file upload limit right now, which may not make this great for video...

ok, just tested and it works. Think I also found a bug, if a file upload fails, user should be informed. :)


docs(security): Clarify template injection.

Also link to html5rocks docs on CSP.

@naomiblack this adds in the changes you missed when attempting to merge the PR.
@koto PTAL, this also addresses the comments you had on the original PR.

merged and live


Clarification on "...purchased through a Volume Licensing Program."

In the What you need to get started, it has the statement:
An Office 365 (or Microsoft 365) plan that includes Microsoft 365 Apps for
enterprise, purchased through a Volume Licensing Program.

Is this actually correct? Does the rights for Microsoft 365 Apps for enterprise change depending on where the license originates from? This is not mentioned in Licensing Microsoft 365 Apps in Commercial Licensing, section "Microsoft 365 Apps activation options"
From that same document, "Appendix: Microsoft Office software vs. Microsoft 365 Apps" under "Microsoft 365 Apps as a subscription service" and "Remote Use"
Remote Use Rights permitted including via Virtual Desktop Infrastructure (VDI) or
Remote Desktop Services with shared computer activation enabled for Licensed
Users, or remote use from the Licensed Device for per device licenses

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

ID: 6da18a8b-9e96-0155-7b30-9c211070d793
Version Independent ID: 5a7e610a-bfcb-d9cc-03f7-589d970128d9
Content: Deploy Microsoft 365 Apps by using Remote Desktop Services - Deploy Office
Content Source: DeployOffice/deploy-microsoft-365-apps-remote-desktop-services.md
Service: o365-proplus-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

https://github.com/alrebh/Alidhneem2-gmail.com.git

Could you please confirm if it is necessary to purchase Microsoft 365 Apps for Enterprise through Volume Licensing Program to use it on a RDS server? I believe this requirement is only for other Office versiones (2016/2019/...) and not for Microsoft 365/Office 365 because they include Shared Computer Activation. This is creating a lot of confusion and needs to be clarified ASAP. Thank you so much.

We've checked and you're correct. Purchase through a volume license program isn't required. We've removed that from the article. Thanks for pointing that out to us.


[PDI-13696] - Text File Input: deteriorated performance for compressed i...

...nput
@mattyb149, @brosander review it please

Unit tests please

@mattyb149 do you really think this should be tested?)
In contrary with the previous PR (related to FileTextOutput), there's no refactoring - just introducing two public methods from standard API. Of course, I can test, for instance, the usage of read([]), but does it make sense to verify classes from JRE?

@akhayrutdinov you could mock the input stream you pass into the constructor and just verify that the delegate is invoked with the correct arguments and that the return is the same as from your mock

Agreed that the test is not heavyweight and perhaps a bit silly in this case, but we're committed to getting the highest code coverage and quality possible. Adding the test Bryan suggests above will help

@brosander, @mattyb149, ok if you insist on it.
In fact none of step's classes works directly with the stream. Instead, they utilize a Reader above the BufferedInputStream - https://github.com/pentaho/pentaho-kettle/blob/master/engine/src/org/pentaho/di/trans/steps/textfileinput/TextFileInput.java#L1413, therefore it turns the test to verify the buffered reader reads by filling its buffer, but not by hoisting separate ints

@mattyb149, @brosander done it. Review it please


Allow "testName" field to list only the tests that are specific to the selected "product"

Hello Team, I am from PSAP team, a team within the Perf&Scale group. In the CPT dashboard, for a selected product, I see that, "Test name" filter basically list all the test names that are available in the system but ideally it should only list the tests that are specific to the product. This basically causes lot of ambiguity among users who are just trying to see the KPI jobs that are available for one product, say "RED HAT INSIGHTS".

You are asking for the filters to update based on user selections, right?
cc @chentex


Is there pretrained versions for those models?

Where i can find the pretrained models?
Thanks for helping

Where i can find the pretrained models? Thanks for helping

yes, the pretrained models are coming along with the next version in a few days


Point to "solar-css" and not "solar"

In this file:
https://github.com/stellar/generator-interstellar/blob/master/generators/app/templates/styles/main.header.scss
npm installs solar into solar-css folder by default and right now, this creates a build problem.

This problem causes quite a few problems. Here is another example: https://github.com/stellar/solar/issues/7#issuecomment-127618629


chore(main): release 0.21.0

:robot: I have created a release beep boop
0.21.0 (2023-03-20)
Features

full l10n support (3ef13b8)
l10n for appName (2db6545)
l10n for zh-Hans-CN (fecbd2a)
partial l10n for en-Latn-US (e1a391e)
real-time: larger font (885b76b)
real-time: show device manger button if device not available (fc08cc4)

Bug Fixes

me: l10n app name (42b4f84)
real-time: correct connected device check (fd1fd22)
rerun build_runner (55b38cb)
shorten en strings (67f7336)

Build System

flutter pub add flutter_localizations --sdk=flutter (9dbb972)
flutter pub add intl (1018c5f)

Continuous Integration

check: ignore generated files (f9a5d7d)

Miscellaneous Chores

add en arb (6ba0f72)
add zh arb (fd6c6d5)
deps: update actions/deploy-pages action to v2 (#216) (a41cd76)
initialize Flutter Intl (78f09d8)
save IDEA setting (8fdcf90)
update IDEA config (7a14b53)
update l10n (f040902)

Code Refactoring

main: simplify l10n (56f956e)
merge keys.dart to strings.dart (7a1317c)
move data.dart (8b93233)
move utils/constants/ to utils/ (42171e2)
simplify urls (e960d5d)

Styles

dart fix --apply (ec68485)

Tests

main: fix test (e2ca98b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/CCXXXI/ecg_monitor/releases/tag/v0.21.0 :sunflower:


[Shadowrun5thEdition] Porting: Switch to new "Character Sheet Enhancement" style

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description
I've been meaning to work on this sheet for a while, mainly cleaning it up and fixing a few quirks (maybe adding a spirit sheet or automating spirit/sprite creating on the fly, like Chummer5a does), to make that possible I realized pretty quickly things would be a lot easier with the new(-ish) paradigm, so I added a bunch of .charsheet and removed some sheet- from the css and voilà!

Character Sheet Info Roll20 Internal Use only.


feat(dashboard): filter global dashboard with authorized API/APP

fix gravitee-io/issues#1072

it's done


Model.findAndCountAll() can not infer as from include option

Model.findAndCountAll({include: [RelatedModel]}) throws Error: RelatedModel is not associated to Model!

fixed by 136e7b8c7e3ab8c858b9b4666b2485633fdee18b


not working at all

Chrome 63, Firefox 60, both same results on your demo page

Did you click "enable" button?
Try https://jsfiddle.net/terrylinooo/hhgzbsvy/

Haha, missed that one, good point :).
Anyway, put your script to a complex page, applied to a form and here's the result:

Browsers are much more clever sniffing for user/pass form fields and they don't use only input names anymore, but I guess they try to suggest whatever credentials you used within the domain.

I get too same problem. Attr name is changed, but autofill so far enable.

Hello.
You may change input type password to text and try again.

do I need your plugin, when I change type to text? bottom line - there's no reliable solution to browser tweaks such as this one with the password


Repetitive events remain after error even after fixing configuration

Repetitive events that are present in the server when you do a config mistake remain, let's say I have:
  TEST:
    type: repetitive
    repetitive_time: 40
    conditions: []
    actions:
      default:
      - 'message: TEST'
    enabled: true

Then we mess the config for a moment, like adding two ', or similar, then /ce reload (it will say error).
Then we fix that error and do /ce reload again.
Change the message from TEST to anything else.
/ce reload again
We will have both actions being executed despite the first one not existing anymore.

Does this also happens if you rename the event to TEST1 for example, and then use /ce reload ?

Does this also happens if you rename the event to TEST1 for example, and then use /ce reload ?

Yes, I tried that as well, and it will remain until server restart.

I also tried disabling it, changing the name, reloading plugin, and such.

Are you using the API of ConditionalEvents? I remember a bug like this happened when using the actions api.

Are you using the API of ConditionalEvents? I remember a bug like this happened when using the actions api.

No, not at all, just config.yml and such.

Just tested with
  test:     type: repetitive     repetitive_time: 20     actions:       default:       - "to_all: message: Test"
Sends the word "Test" to all players every 1 second.
Changed the name to "test2", used /ce reload, and the word "Test" still sends every 1 second, meaning the previous event disappeared correctly.
Tried even removing the event, and the message disappears as well.


Expand peer dep range of test utils to support RTL 14

Closes
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:
RSP

13 and 14 of RTL are certainly a breaking change, but the actual util functions right now don't have anything specific to 14 within them (only has fireEvent and pointerEventMap, the latter of which is only a object that a user can choose to import/not import for the purpose of providing to their own user setup aka someone on RTL 13 wouldn't use that)

We don't make use of any of the things which were breaking?
Sorry, normally I'd check myself and verify. I'll try to find time to.

NP, so the test utils right now is just the stuff in react-aria/test-utils and react-spectrum/test-util, and the only things that use stuff from testing library is https://github.com/adobe/react-spectrum/blob/main/packages/%40react-aria/test-utils/src/events.ts and https://github.com/adobe/react-spectrum/blob/main/packages/%40react-aria/test-utils/src/userEventMaps.ts. The first is a  fireEvent util so that isn't affected by user-event's breaking changes. The second is a userEventMap that is specific to 14, but is up to the user if they need it or not.

I'm still worried that we can't support both once we start expanding into component specific utilities, but I'm ok with it so long as we're pre-releasing this

I agree, it might turn that the component specific utils force RTL 14 but I def want to explore supporting sub-14 RTL at the same time as 14 in my experimental branch.


Add blocking read mode to QueueInputStream.

Add blocking read mode to QueueInputStream.
To more closely mimic InputStream::read behavior, add blocking read mode to QueueInputStream that will wait until a queue element becomes available.

Codecov Report

Merging #447 (694da94) into master (459431e) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #447      +/-   ##
============================================
- Coverage     84.77%   84.75%   -0.02%
+ Complexity     3232     3231       -1
============================================
  Files           218      218
  Lines          7653     7663      +10
  Branches        945      945
============================================
+ Hits           6488     6495       +7
- Misses          921      922       +1
- Partials        244      246       +2

Impacted Files
Coverage Δ

.../org/apache/commons/io/input/QueueInputStream.java
100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@maxxedev See git master where I took a different approach. What's next to do is a test for the new "Taking" class. I think it might make sense to have the test in a subclass or a completely separate class for clarity. The refactored test class makes it much harder to understand what we are testing and how (IMO).

@maxxedev See git master where I took a different approach. [...]

Thanks. I will look into improving the tests

@maxxedev See git master where I took a different approach. [...]

Thanks. I will look into improving the tests

You can rebase this PR, or close it and create a new one. Up to you ;-)

Thinking more about this, there might be a way to keep it simple and still achieve the same result.
I opened a new PR. see https://github.com/apache/commons-io/pull/452

Closing: PR #452 merged


Mac Docker Setup Broken

I'm using Docker version 17.09.1-ce on macOS Sierra 10.12.6. The docker.sh script doesn't work. This seemed to mostly work
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
scriptDir="$(cd "$(dirname "$0")" && pwd -P)"

echo $scriptDir

if [ ! -e "data/config.php" ]; then
  cp "$DIR/data/config.php.example" "$DIR/data/config.php"
fi

docker run --rm -it --name "dev.lbry.io" \
  -v "${scriptDir}:/usr/src/lbry.io" \
  -w "/usr/src/lbry.io" \
  -p "<IP_ADDRESS>:8000:8000" \
  -u "$(id -u):$(id -g)" \
  php:7-alpine \
  php --server "<IP_ADDRESS>:8000" --docroot "web/" "web/index.php"

But then it said that the directory web/ could not be found. I am not sure how to fix this, I have instead opted to run with just php for now which works fine.

This script was added by an outside contributor. It probably needs to be updated or removed, since I don't think any of us use it.

I suspect it might have been my setup that triggered this - I had problems with another package, a friend helped me through it. Let me see if my current setup behaves.

I have a Mac running 10.13 and I have Parallels, so I can roll out older version of the OS without too much trouble.
Is there a very specific goal here? Like, has to work with 10.13 and 10.12? There is a limit to how far back I can go, it's based on what App Store will permit for downloads based on hardware.

@tzarebczan Can we close this?


0.17.1 still broken on mac

Fans spinning hard, the whole system is extremely slow. I see the interface but after 2 minutes it's slow to respond.
I am on a Macbook Pro 2015 with SSD disks.
I have about 10 movies 20gb average.

Falling back to 0.10.0. It's a little slow on start, but works better after a minute or so.

Sorry to hear about this. Let's track this in your original issue: https://github.com/feross/webtorrent-desktop/issues/1001


Long polling Push bug in 3.0

ReconnectLongPollingIT test is failing in 3.0.
There is a bug which it reveals and it needs to be fixed.
The test is disabled in 3.0 for now.
The test works in the master  branch, so there is no bug in the master.
But it fails in 3.0.
I'm not sure whether there is a bug specific for 3.0  or it's requires some special conditions which are not met in the master ( I don't expect serious difference between these branches).
There are two tests methods: both fails.
The test is for Long polling Push behavior on connection drop.
Here is a short description about one messageIsQueuedOnDisconnect method:

ClientServerCounterUI contains two buttons "incrementCounter" and "startTimer"
the "startTimer" starts a thread which updates the text in the element
the "incrementCounter" updates the text in another element once it's clicked.
test starts timer at the very beginning. So the value is updated repeatedly.

Test uses a proxy to access the server. The connection is done to the proxy (not the server directly).
After the server start the proxy is disconnected.
Then click on the "incrementCounter"  is done.
This click would have incremented a value in the info element if connection had not been lost.
But since there is no a connection nothing happens.
But then connection is restored.
The counter which is updated from the server side increases its value after the connection restoration.
The expected result : the click message should reach the server from the client side (even thought it has been done during connection absence)  and server should respond with message which updates the counter.
But it doesn't happen.
The same test for Websocket transport works file.
The same tests for the master  branch works as expected.

The test is not disabled so apparently this has been fixed at some point


Add cluster etcd config to cluster.md.

Please answer these questions before submitting pull request

Why submit this pull request?
[ ] Bug fix
[ ] New feature provided
[ ] Improve performance
[x] document

/run ci

/run ci

/run ci


Don't fail if only PROMETHEUS_PORT is set

Prometheus export is a valid export node itself, so the instrumenter should init even if no other exports are provided.
It also fixes a unit test not compiling in Darwin.

Codecov Report

Merging #135 (d168f33) into main (7bbfd46) will decrease coverage by 38.51%.
The diff coverage is 8.33%.

@@             Coverage Diff             @@
##             main     #135       +/-   ##
===========================================
- Coverage   78.87%   40.36%   -38.51%
===========================================
  Files          30       30
  Lines        2111     2056       -55
===========================================
- Hits         1665      830      -835
- Misses        331     1169      +838
+ Partials      115       57       -58

Flag
Coverage Δ

integration-test
?

unittests
40.36% <8.33%> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/ebpf/httpfltr/httpfltr.go
27.15% <0.00%> (-55.37%)
:arrow_down:

pkg/ebpf/httpfltr/httpfltr_linux.go
0.00% <0.00%> (ø)

pkg/pipe/config.go
56.41% <100.00%> (+1.14%)
:arrow_up:

... and 22 files with indirect coverage changes


Source layers do not update in a style project

Changes made to source projects do not seem to immediately reflect in the style project that use them.
After making changes to the source project, I save and upload it, and the changes show when the data is viewed online.  However when I switch to the style project in studio that uses this source, there is no update even after refreshing the data source, removing and adding the source as well as reloading studio. It took over 15 minutes and multiple reloads for the data to refresh.

Hey @planemad after uploading you should check https://www.mapbox.com/uploads/?source=data. At certain times and with certain datasets It takes a bit of time to process data. We could be doing a better job to inform and educate users that the data is processing/propagating. I'll cut a PR for this.

closed with https://github.com/mapbox/mapbox-studio/pull/1308


Scoped slot is not reactive

Version
2.6.11
Reproduction link
https://codesandbox.io/s/vue-scopedslot-not-reactive-6otqn
Steps to reproduce

Click the next button to switch to the next component
It does not work

What is expected?
Show CompTwo component
What is actually happening?
Still show CompOne component

I tried to pass components by props
I used dynamic component

Sorry for my mistake to import the same component, so I close the issue.


Customising bootstrap

Hi - I am pretty sure this might not be the correct place to ask this question, but i dont know where else to ask it.
How can we customize bootstrap (for instance disable its grid system) in my angular2 app? I am using ng2-bootstrap package.
I have an entry in my angular-cli.json file:
"styles": [
        "../node_modules/bootstrap/dist/css/bootstrap.min.css"
]

I dont want to manually remove the entire grid system from that file.

http://getbootstrap.com/customize/
this should help
or you can play with custom BS builds locally

In my project I load bootstrap with my backend code. Ruby on Rails to be specific. In this way I can customize as I want by changing SASS variables and/or change modules. You can do the same with you backend. Not sure if angular-cli support SASS, but you can do it with webpack.

@valorkin yeah but i usually dont keep the node_modules folder in my git. So when deploying it will get overwritten everytime.
I guess there is no easy way to do it then.
@GuskiS I dont think angular-cli supports SASS either. (however in case it did, which variable would i use to disable the entire grid in bootstrap?)

@hassanasad I have custom created bootstrap file, which I import instead of full bootstrap from package(node_modules or ruby gem, doesn't matter).
 I am currently using SCSS with angular-cli

Not sure, but probably take a look here: https://github.com/twbs/bootstrap-sass
I'm using this one for rails, but it has support also for node :)

@GuskiS Ah thanks man - this is very helpful :)
I hope not to bother you any further ( but lets see ;) )

@hassanasad it seems we are done here? ;)

@valorkin yeah - thanks for the support :)


added JavaScript questions

Pull Request Checklist

[ ] You are submitting a maximum of three flashcards.

[ ] You have verified that the information is correct, via a book, ChatGPT etc.

[ ] You are using correct grammar and spelling.

[ ] You are using bullet answer format and the question dictates how many bullets are in the answer.

[ ] You are using the below pattern to add the flashcard:
###### Question number.

Question goes here

Answer

Answer goes here

Sorry about that. I have removed the question on arrow functions. Kindly review again.

Sorry, closed the PR by mistake. Still learning to use Git and GitHub also.


handle shift space

Fixes #16264.
This seems to be more like a workaround. Shortcuts are handles in PopupMenu and kb input in TextEdit. The problem is that TextEdit handles input event BEFORE PopupMenu. I didn't find a way to fix this, someone more experienced may do it.

Sorry for the huge delay in reviewing this. As @reduz mentioned in https://github.com/godotengine/godot/issues/16264#issuecomment-366766212, this hints at a deeper issue which should be investigated. The fix proposed here is just to whitelist the very specific key combination that you want to use, that's not maintainable so can't be merged as is.


Migrate gulpfile to ESM

Description
There are a few dependabot PRs for Gulp packages which are opened and seem to need to migrate our gulpfile.js file to ESM:

https://github.com/cookiecutter/cookiecutter-django/pull/4949
https://github.com/cookiecutter/cookiecutter-django/pull/5052

Some more reading on this:

Guide with high level steps to follow: https://gist.github.com/noraj/007a943dc781dc8dd3198a29205bae04
Link from gulp-imagemin: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
Commonjs to ESM codemod: https://github.com/azu/commonjs-to-es-module-codemod might be helpful, although I presume it would need to run on the generated file (without Jinja tags)

Doesn't seem very difficult, but not exactly trivial either.
Rationale
Keep up to date with the JS ecosystem.

Can i work on this ?

Yes sure. No need to ask for permissions 😄

Gulp seems also to be breaking with node v22 https://github.com/cookiecutter/cookiecutter-django/pull/5039

Fixed in https://github.com/cookiecutter/cookiecutter-django/pull/4949


Auto update for module imports on rename is changing many npm imports to some obscure path

Issue Type: Bug
After renaming a file in the project (a redux module this time), 17 other files in the project were automatically modified by VSCode, each file having most of its npm imports changed to some obscure path.
For example, in one file, import { connect } from 'react-redux' was changed to import { connect } from '../../../../../../../Library/Caches/typescript/2.9/node_modules/@types/react-redux'
Please advise.
VS Code version: Code 1.25.1 (1dfc5e557209371715f655691b1235b6b26a06be, 2018-07-11T15:33:29.235Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4 x 3200)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.13GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

insertnumbers
Asu
0.9.1

indent4to2
Com
0.1.2

vscode-quick-select
dba
0.2.5

reasonml
fre
1.0.38

beautify
Hoo
1.3.2

velocity
luq
0.7.1

rainbow-csv
mec
0.4.2

dotenv
mik
1.0.1

vscode-code-outline
pat
0.2.1

convert-css-in-js
pau
1.1.3

code-settings-sync
Sha
3.0.0

vscode-import-cost
wix
2.7.2

change-case
wma
1.0.0

Duplicate of #53597
Fixed in VS Code insiders and if you upgrade to to use TypeScript 3.0 in your workspace (or downgrade to use TS 2.9.1)


feature: daily currency rate updates

It will be great to have ability update rates automatically.

I think it would be better to add information about how to do that in README or Wiki
@misteral what do you think?
There is a need for cron or rufus-scheduler that, in my opinion, better should be realized outside of the gem

@artem-russkikh yes I am agree with you.

@connecticus i added 'how-to' to the wiki https://github.com/itbeaver/spree_fx_currency/wiki/How-to-automatically-update-currencies-everyday

Thank you Artem I am really appreciate your help.


refactor: cleanup types for reportManualError

Fixes: https://github.com/googleapis/nodejs-error-reporting/issues/35
I'm debating if this is semver major for typescript users.

I could go either way with the semver major-ness.  Do you think there are going to be other changes you want to bundle?


Update index.md

Fix emoji issue (gender neutral fixes the wrong encoding...)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


:bug: fix(devkit): style migration is missing is-display-flex

Current Behavior

Expected Behavior

Steps to Reproduce

Version
latest
Browsers
No response
Device
No response
Code Reproduction URL
No response
Additional Information
No response
Code of Conduct

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

/cib


Document the way the different enhancers are orchestrated

We have multiple enhancers in our modules.
How are they orchestrated ? (which one run first, which one run last, and so on)
How are they triggered ? (mandatory, optional, ...)
What kind of data do they generate ?
Can we find a way to "auto-document" that ?
We should add that to the 05-code.adoc section

100% sure we could create an Enhancer in architecture-documentation that would load all other enhancers and output an asciidoc table with the right content.

The idea is to produce in the code section of the documentation one fragment per module, listing for each module the various enhancers.
For each enhancer, we want to output

name
priority
(optionaly) description

The whole sorted oviously by enhancer priority.


Can we get a list of all inline elements?

I know this question sounds a bit odd but I've been reading over Parsedown.php and I still don't know what's all available with only ->line option (for security and such it's the "limit" I'd like to use on my website.)
Thanks.

Try this:
class TestParsedown extends Parsedown {
    public function __construct() {
        var_dump($this->textLevelElements);
        exit;
    }
}

new TestParsedown();

See line #1965

Brilliant, thanks.

(for security and such it's the "limit" I'd like to use on my website.)

If you're processing untrusted user input Parsedown has safe-mode to prohibit inclusion of HTML and scripting via the markdown syntax.
line would permit only inline element types, there's a list of them in the CommonMark spec, or see everything listed here for exactly what Parsedown permits.
Crucially the textLevelElements list mentioned above is only used by Parsedown so that it will make HTML elements of this type inline instead of HTML blocks—there aren't any security guarantees that this is some kind of whitelist of permitted HTML elements though, you should use safe mode if you don't want to permit arbitrary HTML being inserted.

I appreciate that! I'm using this as a learning tool for Markdown and also I'm building a website and forum by hand and have decided to use this tool for it. :) Using PHP and PDO libraries for security then Parsedown so they can do a little bit with text. :P


Value names always got converted to lower case when using EdgeX as source

Value names from EdgeX are always been converted to low case, is there a way to override this behavior?
And if a value name has some special characters like @ |, it seemed that it cannot be selected in the SELECT statement, I've tried add "" or [] like normal SQL, but it's not working.

BTW, I was testing using select * statement, this issue seemed only occurred with the * statement

Value names from EdgeX are always been converted to low case, is there a way to override this behavior?

You can use alias to convert a field name to any format. For example,
SELECT temperature AS TEmperature FROM ...

And if a value name has some special characters like @ |, it seemed that it cannot be selected in the SELECT statement, I've tried add "" or [] like normal SQL, but it's not working.

Now it's not supported, we will implement in future release for field names have 'some special characters like @'. Same requirement are request as in https://github.com/emqx/kuiper/issues/237.

Thanks for your reply.
However, what if I just want to select all column from EdgeX using something like select * from demo, is there a way to preserve the case of value name in this scenario ?

So far it's not supported, and mark this as an enhancement, will be planned in future releases.

For now field names can not contain special characters, but how about alias? Can I have special characters or Chinese characters as alias in the select statement?

It's not supported for alias as well, and not suggest to use with this way.
Maybe you can use data template feature to convert your field to your preferred names before sending to your service?

It's not supported for alias as well, and not suggest to use with this way.
Maybe you can use data template feature to convert your field to your preferred names before sending to your service?

Is there any document regarding the limitation of fields name? I found that fields name cannot start with number either, like '007' is also an illegal name.

It's not supported for alias as well, and not suggest to use with this way.
Maybe you can use data template feature to convert your field to your preferred names before sending to your service?

Is there any document regarding the limitation of fields name? I found that fields name cannot start with number either, like '007' is also an illegal name.

So far no doc for it yet, we'll write one.

Done & close the issue.


Export option for minified JSON (.gltf).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello,
This has been discussed already, but not sure we should add one more option for that.
You can either use glb that have already minified json, or use a hook that can minify it.
See https://github.com/KhronosGroup/glTF-Blender-IO/issues/1837
See https://github.com/KhronosGroup/glTF-Blender-IO/pull/1587
def gather_gltf_encoded_hook(self, gltf_format, sort_order, export_settings):
    	gltf_format.indent =  None
    	gltf_format.separators = (',', ':')

Closing this old PR, as we will not use a (one more )new option to manage it.
See my previous comment for more info


doesnt recieve/send messages

ui works fine while the background is freeze. after reloading in tray of with f5 its gets the messages and i am able to send in the first 10 secs or whatsoever after that back to freeze. idk if the terminal output is related or not. (using ubuntu22.04)
whatsie
Qt: Session management error: Could not open network socket
propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.433\" (uid=1000 pid=30962 comm=\"/snap/whatsie/146/usr/bin/whatsie \" label=\"snap.whatsie.whatsie (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=763 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.433\" (uid=1000 pid=30962 comm=\"/snap/whatsie/146/usr/bin/whatsie \" label=\"snap.whatsie.whatsie (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=763 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
"Object path cannot be empty"

I'm getting exactly the same behavior on 23.10.

in my case the problem started right after i updated whatsapp within the snap. "Update available : Click to update Whatsapp >"
i did uninstall/install the snap and this time skipped the update, things went well for couple of hours then i assume it updated by itself now the issue occurred again.

flatpak has the same issue (I have booth)

flatpak
iuri@GTR:~$ com.ktechpit.whatsie
Gtk-Message: 09:12:56.789: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:12:56.789: Failed to load module "canberra-gtk-module"
qt.qpa.qgnomeplatform: Could not find color scheme  ""
Qt: Session management error: Could not open network socket

snap
iuri@GTR:~$ whatsie
/usr/share/libdrm/amdgpu.ids: No such file or directory
Qt: Session management error: Could not open network socket
propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.186\" (uid=1000 pid=59472 comm=\"/snap/whatsie/146/org.freedesktop.NetworkManager\" (uid=0 pid=4742 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.186\" (uid=1000 pid=59472 comm=\"/snap/whatsie/146/usrorg.freedesktop.NetworkManager\" (uid=0 pid=4742 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
"Object path cannot be empty"

in both, the app open, but I can't send messages

The issue is not related to what is being reported in the stdout. They are unrelated.
There are some issue with session being cached and not validated later by the remote. Clearing the session could help but is not best solution since user need to re-login after every application quit.

I've been having the same issue. It's now gotten to a level where the issue happens immediately after relaunching.


Custom XMLInputProvider not working

I have a custom XMLInputprovider basically mapping URLs to locally cached instances of included xsds:
const xmlInputProvider:XmlInputProvider =

{
    match(filename) {
        console.log('Match:', filename);
        let fileName: string;
        const url = URL.canParse(filename);
        if (url){
            fileName = basename(new URL(filename).pathname);
        }
        fileName ??= filename;
        console.log('Loading', fileName,existsSync(`data/${fileName}`));
        return existsSync(`data/${fileName}`);
    },
    close(fd) {
        closeSync(fd);
        return true;
    },
    open(filename) {
        try {
            return openSync(`data/${filename}`, 'r');
        } catch {
            return undefined;
        }
    },
    read(fd, buf) {
        return readSync(fd, buf, 0, buf.byteLength, null);
    },
};

It seems to get called and returns the correct contents. But the validation still fails with:
`XmlValidateError: failed to load "http://example.com/some.xsd": No such file or directory.
When i alter the xsd to include from local files, everything works as expected.

I also tried to use an catalog but this did not help. The catalog works with xmllint cli ...

The parameter used to call match and open are same.
So if libxml calls match("http://example.com/some.xsd"), it will call open("http://example.com/some.xsd").
Please ensure that you also convert the filename in open.

Works like a charm. Thank you!


Getting-Started left nav bar not scrolling correctly

Steps

Go to the getting started page
Scroll down the page and watch the respective section header become bold on the left nav bar
Scroll until the current section is beyond the bottom of the left nav bar

Actual

Left nav bar doesn't scroll with the window

Expected

Left nav bar should scroll with the window

I verified this has been fixed on production.


Cookies are not synched with WKWebView

Hello,
i'm trying to make cookies work on my iOS cordova app using your cookie injection plugin combined with Oracle's WKWebView plugin (https://github.com/oracle/cordova-plugin-wkwebview-file-xhr). I've called the cookie plugin setup as it's on the documentation:
document.addEventListener('deviceready', () => {   wkWebView.injectCookie('mydomain.com/mypath'); });
And then using CookieMaster plugin (https://github.com/RTK/cordova-cookie-emperor), i'm trying to set the cookies but they're not set at all.
Can you please describe if the plugin has to be combined with some specific WKWebView cordova plugin other than Oracle's (i've already tried all available WKWebView plugins) or if it's something wrong with the plugin call? Thank you in advance.

The plugin has been tested mainly with the ionic plugin for wkwebview (see https://github.com/ionic-team/cordova-plugin-ionic-webview). But it is independent and does not require this plugin. Any wkWebView plugin should work.
Also the plugin was not meant to write cookies directly so that these can be used already. It just triggers the sync mechanism so that cookies will be synced between the WkWebView storage and the browser storage (oversimplified explanation). Without, the sync process will only start after the application has been minimized (paused) and resumed again.
So first you should test if your app and the cookies work after this "treatment" (minimization + maximization). Once it does, you can fix the missing gap from the very first install to the first time of mini/max with this plugin.
If you want to use this plugin to actually store and master cookies a few more lines of code in the plugin are necessary. I had them in during development, but reduced the code to the bare minimum, just to make it start the syncing process after the very first install of the app.


Projection ETRS1989LAEA

This issue was imported from CodePlex
Auge99 wrote 2011-12-08 at 11:45
When using the system DotSpatial.Projections.KnownCoordinateSystems.Projected.Europe.ETRS1989LAEA when projecting objects is the result of the projection of the coordinate always -1.#IND.
Does the function internally in there a mistake? I would like to project objects from or to WGS84. Thank you for your help.
jirikadlec2 wrote 2011-12-16 at 10:07
I'll write a unit test and work on this issue.
Auge99 wrote 2012-01-31 at 09:41
Hello,
You already have an idea to solve my problem?
I have attached my code for converting the coordinates.
I hope that soon there is a solution. Thanks a lot !!!!
Dim oSource As DotSpatial.Projections.ProjectionInfo
Dim oTarget As DotSpatial.Projections.ProjectionInfo
oSource = New DotSpatial.Projections.ProjectionInfo("+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs")
oTarget = New DotSpatial.Projections.ProjectionInfo("+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000 +ellps=GRS80 +units=m +datum=WGS84")
Dim Point() As Double = {13.5, 51.3}
Dim Points()() As Double = {Point}
DotSpatial.Projections.Reproject.ReprojectPoints(Point, {0}, oSource, oTarget, 0, 1)

Fixed in DS2.0


[local_auth] iOS popup blocks underlying animations.

Steps to Reproduce

Open screen 1
trigger the `_localAuth.authenticateWithBiometrics(localizedReason: 'reason') in didChangeDependencies. of screen 2
navigate to screen 2
UI is blocked

This is the result:

No problem with Android.
Same problem with iOS Touch Id and FaceId.
I use a material app. and I just push a named route. Is didchangeDependencies the correct place to trigger this? I need something from my arguments. (userId)
Logs
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14 18A391, locale en-BE)
    • Flutter version 1.2.1 at /Users/koenvanlooveren/flutter
    • Framework revision 8661d8aecd (8 weeks ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/koenvanlooveren/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/koenvanlooveren/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 2.0.0
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 34.0.2
    • Dart plugin version 183.5901
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[!] IntelliJ IDEA Community Edition (version 2017.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.33.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.25.0

[✓] Connected device (2 available)
    • Android SDK built for x86 • emulator-5554                        • android-x86 • Android 9 (API 28) (emulator)
    • iPhone XR                 • 521E3673-75F4-41AF-A74C-6D43E6C1A700 • ios         • iOS 12.1 (simulator)

! Doctor found issues in 1 category.

await Future.delayed(Duration(milliseconds: 500));
before triggering the dialog will fix the issue.
WORKAROUND NOT A FIX

@vanlooverenkoen thanks for the workaround!
what is the status of that issue? Is it fixed already? being worked on?
Thanks!

Not that I know of

I have the same problem, I am trying to call _localAuth.authenticateWithBiometrics in initState() and I get the same effect. The animation get frozen and no pop up

Hi @vanlooverenkoen
Are you still experiencing the issue
with the latest stable version of Flutter and local_auth?
If so, can you please provide your flutter doctor -v
and your flutter run --verbose?
Also, to better address the issue, would be helpful
if you could post a reproducible minimal code sample
or the steps to reproduce the problem.
Thank you

@vanlooverenkoen
I hope it's fixed,
If it's not so, comment please and I'll reopen it


Visited links does not become active (there's no active class on them)

I have a page where I use links. I use the Link component and set activeClassName value. After visiting link by clicking on it active class is not applied, but after typing route in the address line it works fine.
My route config:
    <Route path="/" component={App}>
      <Route path="systems" component={SystemsPage} />
      <Route path="employees" component={EmployeesPage} />
      <Route path="my-firm" component={MyFirmPage} />
    </Route>

and my links:

<Link to="/systems" activeClassName="active-link">Systems</Link>

<Link to="/employees" activeClassName="active-link">Employees</Link>

<Link to="/my-firm" activeClassName="active-link">My Firm</Link>

I use react-router v^1.0.0-rc3 if it makes sense.
Am I doing something wrong?
P.S. I am new at this so any help would be appreciated.

have a look in the docs

I had the same problem.
I've been reading docs for hours, but the problem was not with the Router or Link component, so the documentation was not helpful. My component was connected to a redux store which prevented it's child components to respond to route changes properly.
I managed to decouple my navigation component from redux and passed down the URL parameters from its corresponding route component. My code looks cleaner and more organized, but I think it's for the best if this incompatibility is documented somewhere.


Agent Model doesn't content canEditRecipientEmails attribut

The DocuSign document describe an attribut "canEditRecipientEmails" but the SDK Agent Model doen't content this attribut.
Best Regard
Oliver

I think you mean recipients who can edit the email addresses of subsequent recipients. The following recipient types have this ability: Agents, Editors, and Intermediaries. They change the emails of subsequent signers by correcting the envelope's recipients when they receive the envelope. They do this through the DocuSign web tool.
If you want to programmatically change a recipient's email, do so using the EnvelopeRecipients::update API method

I agree your description of feature.
But where can i setup the Agent recipient creation with this specific attribute  "canEditRecipientEmails."
It's not included in c# class model. I find it in Json Model etc... but in this C# Package.

All agent recipients have the edit capability. I don't think there is a specific attribute.

Sorry, i'm confuse.
How can i send "canEditRecipientEmails=true" with C# API to DocuSIgn server in accordance with thiis part of teh documentation : https://developers.docusign.com/esign-rest-api/reference/Envelopes/EnvelopeRecipients/

Sorry for the confusion. The documentation is not correct. (I will start the process to have it updated.)
The agentCanEditEmai and agentCanEditName fields are attributes of the Signer object.
You add those attributes to allow a Signer's email/name to be changed by an Agent recipient.
See lines 42, 43 of file Model/Signer.cs

Perfect!

I've filed internal ticket DEVDOCS-795.
This issue is closed, but the internal documentation ticket will still be worked.
Thanks,
Larry


Addition of AzDO Pipelines and GitHub Actions for CI/CD with READMEs for configuration

Summary:

Addition of Azure DevOps Pipelines and GitHub Actions for CI/CD with attendant READMEs for setup, with additional supporting files.

Motivation:

The existing repository is useful in deploying a proof of concept solution from the command line, but does not contain a process to promote the codebase to production rapidly.

Changes:

This PR introduces YML files for Azure DevOps/GitHub pipelines, READMEs for each, as well as a template file for Azure DevOps to use during configuration. Modifications were made to the main README to link to the new READMEs.  Modification was also done to the gitignore file to ignore temp files created during configuration.

Impact:

No existing logic changes were made to the core codebase. The only impact that this codebase may have is that the GitHub codebase contains a branch trigger on a dummy branch named 'none', which does not exist on this repository.

Testing:

The configuration steps were reviewed, executed and validated independently by 3 Azure engineers at Microsoft.

Minor Documentation Adjustments

Create azd environments & Service Principals (Step 1)

add azd auth login in the azd environments section:

add gh auth login (it is ther but after this section)

Tested in GHA dev environment


SWA with distributed training

In case of distributed training, e.g. DDP, each gpu will only process a minibatch, and the bn statistics computed in each gpu are different.
When SWA is adopted, we need to conduct 1 more epoch for bn_update, in this epoch should we use sync bn to average the bn statistics from all gpus?
And is there any other modifications we need to make for DDP training?

Hi @milliema I'd say you should do the same thing that is normally done with the batchnorm statistics in the end of parallel training, I imagine you are syncing the statistics between the copies of the model? I personally did not look into distributed SWA a lot, but here is a potentially useful reference: https://openreview.net/forum?id=rygFWAEFwS.


DynamicLibrary.open() not loads the provided dylib, no error

Dart SDK version: 2.16.1 (stable) (Tue Feb 8 12:02:33 2022 +0100) on "macos_x64"
I want to load sqlite3 3.38.0 dylib installed by Homebrew, but I got the handle of the system installed 3.36.0.
I try to test code using sqlite3 by dart command. I can't link the library into the binary.
final DynamicLibrary dlLib = DynamicLibrary.process();
final versionFunc = dlLib
        .lookup<NativeFunction<Pointer<Utf8> Function()>>('sqlite3_libversion');
final Pointer<Utf8> Function() versionDartFunc = versionFunc.asFunction();
final version = versionDartFunc().toDartString();
print('$version'); // Prints: 3.36.0

That's okay, this is loads the system sqlite3
But I try to load custom dylib:
const brewLib = '/opt/homebrew/Cellar/sqlite/3.38.0/lib/libsqlite3.0.dylib';
final dlLibBrew = DynamicLibrary.open(brewLib);
final versionFunc = dlLibBrew
        .lookup<NativeFunction<Pointer<Utf8> Function()>>('sqlite3_libversion');
final Pointer<Utf8> Function() versionDartFunc = versionFunc.asFunction();
final version = versionDartFunc().toDartString();
print('$version'); // Prints: 3.36.0

Both returns the same memory address (handle). It seems the DartVM not loads the custom lib, rather just returns the existing. The dylib really contains version 3.38.0, I checked.
Next, I tried load the library with custom dlopen (DartVM do exactly like that under the hood):
const brewLib = '/opt/homebrew/Cellar/sqlite/3.38.0/lib/libsqlite3.0.dylib';
final DynamicLibrary dlLib = DynamicLibrary.process();
final Pointer<Void> Function(Pointer<Utf8>, int) dlopenFun = dlLib
        .lookup<NativeFunction<Pointer<Void> Function(Pointer<Utf8>, Int32)>>(
            "dlopen")
        .asFunction();
final Pointer<Void> Function(Pointer<Void>, Pointer<Utf8>) dlsymFun = dlLib
        .lookup<
            NativeFunction<
                Pointer<Void> Function(Pointer<Void>, Pointer<Utf8>)>>("dlsym")
        .asFunction();
final sqliteHandle = dlopenFun(brewLib.toNativeUtf8(), 0x01); // returns the same handle that open()
final sqliteSym =
        dlsymFun(sqliteHandle, 'sqlite3_libversion'.toNativeUtf8()); // returns the same handle that lookup<>()

None of the commands above throws error.
I enabled dynamic loader logging with DYLD_PRINT_LIBRARIES and DYLD_PRINT_LIBRARIES_POST_LAUNCH environment variables, but it didn't show anything when DynamicLibrary.open() or dlopen() called.
It seems this is a macOS system level error, but I didn't find any information and got no answer on StackOverflow.
I guess the OS think this library already loaded and not loads the newer version. I can't get over this.

This is expected (though somewhat counterintuitive) behavior on Mac OS X, see man dlopen.

When path contains a slash but is not a framework path (i.e. a full path or a partial path to a dylib), dlopen() searches the following until it finds a compatible Mach-O file: $DYLD_LIBRARY_PATH (with leaf name from path ), then the supplied path (using current working directory for relative paths), then $DYLD_FALLBACK_LIBRARY_PATH (with leaf name from path ).

In other words $DYLD_LIBRARY_PATH is going to take priority over full path to the library.
Nothing we can really do to suppress this unfortunately.


Index table must be complete before repeating

SMPTE ST 377-1:2019, section 11.2.1 (Index Table Segments), item 6 states "If repetition of the Index Table is required, then the previous Index Table shall be completed before the repetition starts. A repetition of an Index Table shall commence in a new Partition.".
If the bmx OP1a writer is configured to combine essence and index segments in body partitions (OP1A_BODY_PARTITIONS_FLAVOUR define and --body-part commandline option) will write any remaining index table segments to the footer partition. That should be changed to always write remaining segments to a body partition (with no essence). Any index table repetition will then occur after the index table has been completed.
Check that the default flavour that uses separate partitions for index table segments does the right thing.
Note: SMPTE RDD 9:2013 follows 377-1:2004 as explained in section <IP_ADDRESS>: "Note: The last Index Table Segment (e.g., #2 shown in Figure 8) is not repeated but is placed in the Complete Index Table in the Footer. This mechanism conflicts with rule 6 of Section 11.2.1 'Index Table Segments' in SMPTE ST 377-1. In order to maintain compatibility with legacy products, RDD 9 inherits the mechanism used in its initial implementation in conformance with SMPTE ST 377:2004 which does not include the aforementioned rule."

Edited description above to always write the final index table segment, and not only when the index table is repeated. This brings it closer to the separate partitions for header, index, and essence approach where the footer won't contain the final index table segment if the index is not repeated.


Access to shared item in iOS not working

I´m building a Cordova app for iOS (Vue / Quasar based [1]). I use the cordova-plugin-openwith-ios [2] Cordova plugin to share items (images, pdfs) from other apps to my app via the iOS Share Sheet. When the items are shared successfully a native file URI like file:///var/mobile/Media/PhotoData/OutgoingTemp/3DD09AF1-75C5-4D6E-AC04-A539DEA401E5/1b91976f-8b9e-4eba-8699-505458907b4b.JPG becomes available in my app. The cordova-plugin-openwith-ios docs hint that I need to use the cordova-plugin-file to actually access and use the shared file.
I tried out two different ways to access the file with cordova-plugin-file (taken directly from the documentation [4][5]). Directly on a device.
Given item.data = file:///var/mobile/Media/PhotoData/OutgoingTemp/3DD09AF1-75C5-4D6E-AC04-A539DEA401E5/1b91976f-8b9e-4eba-8699-505458907b4b.JPG
First approach
        window.resolveLocalFileSystemURL(
          item.data,
          function (entry) {
            console.log('resolving')
            var nativePath = entry.toURL()
            console.log('Native URI: ' + nativePath)
          },
          function (err) {
            console.error('resolveLocalFileSystemURL', err.code)
          }
        )

... results in ERROR: resolveLocalFileSystemURL 1 (NOT_FOUND_ERR)
And second approach
        window.requestFileSystem(
          window.LocalFileSystem.TEMPORARY,
          0,
          function (fs) {
            console.log('file system open: ' + fs.name)
            fs.root.getFile(
              item.data,
              { create: false, exclusive: false },
              function (fileEntry) {
                console.log('fileEntry is file?' + fileEntry.isFile.toString())
              },
              function (err) {
                console.error('getFile', err.code)
              }
            )
          },
          function (err) {
            console.error('requestFileSystem', err.code)
          }
        )

... results in ERROR: getFile 5 (ENCODING_ERR)
I already looked extensively for possible hints to what might cause this (SO, Cordova Forums, Plugin Forums, here, Quasar Forums), but had no luck so far. Exploration of the cordova-plugin-file source code (tracing the error codes, etc) also gave me no clue to what might be the issue.
Anyone any ideas where to look next?
❯ cordova -v
9.0.0<EMAIL_ADDRESS>
❯ cordova requirements
Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: installed android-29,android-28,android-23
Gradle: installed /usr/local/Cellar/gradle/6.1.1/bin/gradle

Requirements check results for ios:
Apple macOS: installed darwin
Xcode: installed 11.5
ios-deploy: installed 1.10.0
CocoaPods: installed 1.8.4

❯ cordova plugin
cordova-plugin-file 6.0.2 "File"
cordova-plugin-openwith-ios 1.0.0 "OpenWith"
cordova-plugin-whitelist 1.3.4 "Whitelist"

iOS: 13.5.1
[1] https://quasar.dev
[2] https://github.com/EternallLight/cordova-plugin-openwith-ios
[3] https://github.com/apache/cordova-plugin-file
[4] https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/#cdvfile-protocol
[5] https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/#sample-create-files-and-directories-write-read-and-append-files-

I got the same issue. Any solution?

I got the same issue. Any solution?

Same issue here. Any solution?

+1 , Same problem...

please refer to  comments


Improved UX

Removed redundant Travel UUID from "Details"
Removed redundant currency from "Price"
Pre-filled some fields on NEW

ping

Removing CurrencyCode_code from the UI

breaks the UI test, as it explicitly refers to that field
changing the currency via the remaining currency field (shown automatically together with the number) behaves strange

-> to be clarified with Fiori/UI5 colleagues


Keep nodes expanded by default (remember expansion state)

Nodes should only be collapsed when the user decides to collapse them. It starts to feel onerous to have to expand nodes within your working document, they are more useful open. I'm not sure about the sidebar behavior yet; for this issue I am referring to the main content only.

for right now we will store the expansion state in local storage

@progrium - i don't think this is working, unless i'm missing something? i was working on a new node yesterday and when i went back to it today all of my child nodes are collapsed.

@taramk keep in mind collapse state works like this:

its specific to a particular root node. ie, when you open a fresh panel for one node that state is different than if you open a fresh panel for another node.
opening a new secondary panel will reset this state.

This is how Tana works so it's what I implemented here. Please revisit this issue since its old and things have changed but afaik this system is working.


Feat: Add team selection for device

Add team selection for device, so that the device being used only can control the robots of it's team and not the others.

Works.


Auto set json flag on config.set

Currently you can't call config.set with an object as the value. You need to JSON.stringify it and pass { json: true } on the opts.
I suggest that we check the type of the value, JSON.stringify it if it's an object set the opts automatically if none were provided.
Let me know what you think, I would be happy to PR this :)

Yes please!


How to use the function of timescale.tickFormat(count)

What's the meaning of the input param:count?
in WIKI https://github.com/mbostock/d3/wiki/Time-Scales#tickFormat this method is:
scale.tickFormat(count)
but in the source code of d3 V3.5.5 this method is:
scale.tickFormat = function() {
return format;
};
Why is different? Can you give me an example about how to use this method?

NAVER - http://www.naver.com/
<EMAIL_ADDRESS>님께 보내신 메일 <[d3] How to use the function of timescale.tickFormat(count) (#2560)> 이 다음과 같은 이유로 전송 실패했습니다.

받는 사람이 회원님의 메일을 수신차단 하였습니다.

The tickFormat method on a time scale doesn’t take a count; that was a copy-and-paste error from linear scales, which do. In the case of a linear scale, it corresponds to the suggested number of ticks, and affects the precision of the resulting format. However, time scales are formatted independent of precision—the format depends only on the time being formatted.
(Side note: this was already fixed in the d3-time documentation for 4.0.)


mx:RichTextEditor is just a textbox,no designing properties shown in Royale

mx:RichTextEditor's bold,italic,underline.font size,font style,and color picker,bullets,align left,right,center is not visible in Royale.
Please implement
In Flex:

In Royale:

What happens with the output?  Do you want some sort of format for the text like HTML? RTF?  Something else?

I want these all functionalities In mx:RichTextEditor

Sure but what happens to the text after the user edits it?  Is it converted to HTML, RTF, something else?

I added an mx:TinyEditor you can try as a replacement for mx:RichTextEditor.
To use it you must get the latest compiler.
Also, you will need to run in some folder
npm init
npm install tiny-editor  --save
Then after building your Royale app, copy the node_modules folder to appropriate bin/js-debug folder so it ends up as bin/js-debug/node_modules.
It may not work on IE11.

I git clone new sdk

Compile royale-compiler
Compile royale-asjs
run npm init and npm install tiny-editor --save in royale-asjs
then compile my first library dbzLib
then replace mx:RichTextEditor with mx:TinyEditor in D:/DBIZCOMLIB/src/com/dbz/modules/Common/dbzProductProfileSpecsPopup.mxml
then run npm init and npm install tiny-editor --save in DBIZCOMLIB
compile DBIZCOMLIB
then run npm init and npm install tiny-editor --save in D:\DBIZSOL\Main\Royale

After doing this all when i compile my Royale app this error occurs :

console : https://paste.apache.org/eulk1

That error means that you are not using the latest compiler.  Run ant wipe-all in royale-compiler to make sure everything rebuilds.

I have compiled latest sdk with ant wipe-all.
But there's some problem in compiler
When i compile royale-compiler on my vdi there's some dependencies which
can't be downloaded from internet.
All dependencies downloaded except 5 or 6 dependencies
In royale-compiler/compiler-externs/target/ there are es3.js,
es5.js,
es6.js,
es6_collections.js
System downloads es3 and es6
And can't download
es5,es6_collections
And In royale-compiler/compiler-externs/target/downloads
html5.js
Gecko_css
css_dom2 or something like that
These 5 or 6 dependencies can't be downloaded at the time of compilation
So the build failed whenever i compiled new compiler
So i have to place these dependencies from old compiler so then it will be
compiled successfully.otherwise all other things in compiler is git clone
and new and compiled today
On Mon, Jun 29, 2020, 9:57 PM aharui<EMAIL_ADDRESS>wrote:

That error means that you are not using the latest compiler. Run ant
wipe-all in royale-compiler to make sure everything rebuilds.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/royale-asjs/issues/873#issuecomment-651242653,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKB67E6Y2EFJ2II5UAAZL5TRZDBZHANCNFSM4OGUIANQ
.

If you can manually get those files, that should be ok.  Or you can comment out the  in compiler-externc/build.xml.  The main goal is to get royale-compiler to build, then build the royale-asjs again, then your app.

I have compile latest royale-compiler and then royale-asjs and then my app
but this issue occurs
On Tue, Jun 30, 2020, 11:22 AM aharui<EMAIL_ADDRESS>wrote:

If you can manually get those files, that should be ok. Or you can comment
out the in compiler-externc/build.xml. The main goal is to get
royale-compiler to build, then build the royale-asjs again, then your app.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/royale-asjs/issues/873#issuecomment-651568970,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKB67E2OW4YC2XTYC7BMNETRZGAB7ANCNFSM4OGUIANQ
.

@aharui Thank u so much TinyEditor is working now

Your company should donate money to TinyEditor developer.

Ok Alex

I will discuss with my company to donate money to TinyEditor developer.


37: Test ci update

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:

Going to need to use artifacts to persit the coverage files

Merging in now but coverage isnt getting picked up properly on codecov.io


#34940 Merged Roslyn 4.10

Apart from the usual merge commit review (I recommend using gitk and focus on the changes marked with ++), there are also other changes in this commit range.

src/Features/Core/Portable/EmbeddedLanguages/RegularExpressions/LanguageServices/AbstractRegexDiagnosticAnalyzer.cs
Why is the RE0001 diagnostic renamed to LAMA0601?


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

Visual regression test passed!
View the visual regression test report


SPARK-2420. Illustration of downgrading to Guava 11 from 14

This PR illustrates a change being proposed for https://issues.apache.org/jira/browse/SPARK-2420 See the JIRA.

Note that Hadoop devs are working on removing obsolete Guava usage from Hadoop codeback
https://issues.apache.org/jira/browse/HADOOP-11470


support setting response metadata when adding client error to stub

Extends stub's add_client_metadata method per https://github.com/boto/botocore/issues/1375

Codecov Report

Merging #1376 into develop will decrease coverage by 0.03%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1376      +/-   ##
===========================================
- Coverage    98.22%   98.18%   -0.04%
===========================================
  Files           46       46
  Lines         7758     7760       +2
===========================================
- Hits          7620     7619       -1
- Misses         138      141       +3

Impacted Files
Coverage Δ

botocore/stub.py
97.87% <100%> (+0.04%)
:arrow_up:

botocore/credentials.py
98.4% <0%> (-0.4%)
:arrow_down:

Continue to review full report at Codecov.

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


no position information

Hi there, I was after a program that lets me adjust playback time of files and playback speed, thanks for your program, i tried to figure it out, i couldnt find references to the files being played or position info, and a sequencer has two main functions... file ID 1-8 for an 8 track and playback position and volume...
I was probably going to write my own one, but i just wanted to see if i could find a sequencer exampe playing 8 tracks concurrently with some control handles that i could understand.
Thanks... the lack of position settings in the tutorial is confusing.

@ZoomDomain
Does GetPercentage() method in Sequencer.cs help?
If not, can you please what exactly do you need? Maybe I can spare some time to implement this, or you can spare some and send me a pull-request! :) I would appreciate that!

@ZoomDomain
Added CurrentStep and NumberOfSteps in Version 0.3. Events also send those values as parameters. I think this should be doing what you need. You can get current position by Events or new properties in Sequencer.cs

Hi, Thanks alot that's brilliant, i understand. i'm working on it it's very helpful. nice coding! thanks


StakingMsg::Withdraw has unintended side-effect

The message
pub enum StakingMsg {
    // ...

    /// This is translated to a [MsgSetWithdrawAddress](https://github.com/cosmos/cosmos-sdk/blob/v0.40.0/proto/cosmos/distribution/v1beta1/tx.proto#L29-L37)
    /// followed by a [MsgWithdrawDelegatorReward](https://github.com/cosmos/cosmos-sdk/blob/v0.40.0/proto/cosmos/distribution/v1beta1/tx.proto#L42-L50).
    /// `delegator_address` is automatically filled with the current contract's address.
    Withdraw {
        validator: HumanAddr,
        /// this is the "withdraw address", the one that should receive the rewards
        /// if None, then use delegator address
        recipient: Option<HumanAddr>,
    },

    // ...
}

seems to be an simplification of how distribution works in Cosmos SDK. According to the distribution documentation there are multiple withdrawal events:

Whenever withdrawing, one must withdraw the maximum amount they are entitled to, leaving nothing in the pool.
Whenever bonding, unbonding, or re-delegating tokens to an existing account, a full withdrawal of the rewards must occur (as the rules for lazy accounting change).
Whenever a validator chooses to change the commission on rewards, all accumulated commission rewards must be simultaneously withdrawn.

So withdrawal can occur without the delegator's explicit request.
Consider the following scenario:

A contract is a delegator that is earning rewards. They come by automatic withdrawl to the delegator.
There is a special case in the contract where a one-time event triggets a withdrawl to a different address via StakingMsg::Withdraw
Now all following withdrawals go to this other address instead of defaulting to the contract because MsgSetWithdrawAddress was used in 2.

This is a valid point. I assumed any contract using this would not be manually setting the withdraw address.
The only place to change the behavior is in wasmd if you want to change the behavior, not just the comment string. It may be some work to make this different, but maybe not. If you think this is valuable, can you raise it there and link this issue, so we just change docsstrings if it is too hard.

What I would like to do is remove the combined StakingMsg::Withdraw and create two distribution messages. Then we better model how the distribution model works. If a contract never changes the withdrawal address, only MsgWithdrawDelegatorReward is needed. Otherwise the contract needs to be explicit.

Okay, that is clear and relatively straight forward. Happy for that change


Letters on Character LCD don't update unless CharAddress is addressing them

When the memory of the Character LCD is written to, the character will only change/refresh when the CharAddress is set the same as the memory index
Additionally, changing CharAddress while the cursor is visible the cursor will be stuck opaque in that cell and another cursor will begin blinking in the new targeted cell.
It would be nice if external writes would update the screen immediately, and if the cursor cleared automatically from a space when CharAddress moves

You have to trigger the clk. Some things trigger clk automatically, but you're expected to do it. Redrawing everytime a letter is written would be inefficient

You have to trigger the clk. Some things trigger clk automatically, but you're expected to do it. Redrawing everytime a letter is written would be inefficient

I didn't see that clk and charaddress are available in memory, my bad


Add section about integrations #trivial

...and how to bake your own.

        1 Warning

  </th>
 </tr>

:warning:
Author @jeroenvisser101 is not a contributor

  Generated by :no_entry_sign: danger

👍 more is more ATM

:)


Get icon from name

Sorry I looked around but can't find an answer.
If I have a string like. RiSaveDeviceLine (I want to store this in a db)
Is it possible to load the icon from the name
Ie
get icondata::RiSaveDeviceLine
so I can do

Yeah, this is a good one.
Previously, we (the crate) had an enum with all icons that was serializable, and therefore we could do that. We don't anymore, so right now you could theoretically serialize and compress the whole IconData struct (since there is serde support), but it is overkill.
If you only need a small subset of icons, you could solve this by having an enum like:
#[derive(Serialize, Deserialize)]
enum Icons {
    RiSaveDeviceLine,
    ...
}

This would map the icon name to the icondata::RiSaveDeviceLine.
If its for all icons in this crate, then there is no other way than to compress them. Otherwise you could also open a PR against this repo and add the feature :)

Yeah, this is a good one.
Previously, we (the crate) had an enum with all icons that was serializable, and therefore we could do that. We don't anymore, so right now you could theoretically serialize and compress the whole IconData struct (since there is serde support), but it is overkill.
If you only need a small subset of icons, you could solve this by having an enum like:
#[derive(Serialize, Deserialize)]
enum Icons {
    RiSaveDeviceLine,
    ...
}

This would map the icon name to the icondata::RiSaveDeviceLine.
If its for all icons in this crate, then there is no other way than to compress them. Otherwise you could also open a PR against this repo and add the feature :)

The only way I can think of of implementing the feature is to maintain a runtime hashmap and a macro to make it easier when defining icons ?
ie something like
use std::collections::HashMap;
use once_cell::sync::Lazy;

// Define a global, lazily-initialized HashMap to store the icons
static ICON_MAP: Lazy<HashMap<&'static str, &'static icondata_core::IconData>> = Lazy::new(|| {
    let mut map = HashMap::new();
    map
});

// The macro that defines the icon and inserts it into the global HashMap
macro_rules! define_icon {
    ($name:ident, $data:expr) => {
        #[allow(non_upper_case_globals)]
        pub static $name: &icondata_core::IconData = &$data;

        ICON_MAP.get_mut().unwrap().insert(stringify!($name), $name);
    };
}

// Use the macro to define icons
define_icon!(AiAccountBookFilled, icondata_core::IconData {
    style: None,
    x: None,
    y: None,
    width: None,
    height: None,
    view_box: Some("0 0 1024 1024"),
    stroke_linecap: None,
    stroke_linejoin: None,
    stroke_width: None,
    stroke: None,
    fill: None,
    data: r###"<path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 0 1 8.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z" />"###
});


GIT-94: enable extended Feature API to provide named setup and teardown

Closes #94

/test pull-e2e-framework-verify


Add support for highlighting on touch devices

The functionality is currently disabled entirely on mobile (https://github.com/westonruter/spoken-word/commit/545a224ac8c3c4f81482325d4f176de1e34ec59e) since the Selection API is being used as a lightweight way to highlight the text being spoken. However, selected text on touch devices behaves very differently to text selected on non-touch displays. Work is needed to figure out a way to do this in a touch-friendly way, without having to resort to mutating the DOM.

I think the best approach is going to have to be adding an element to the page with a fixed position that has an outline, which is then sized to contain the word being spoken and moved around as the words change. This will require heavy use of Range.getBoundingClientRect().


feat(router) make vhost_traffic_status_zone configurable

This change makes the size in the vhost_traffic_status_zone directive
configurable. See also https://github.com/deis/deis/issues/4828.

fwiw, I'm not planning to port this forward to v2 since v2 deliberately has dropped the status page due to security concerns.  As a result, this module isn't used in v2.