Universal Audio, first-stream-only flag ignored

I have a file with 2 AC3 audio tracks (movie + commentary).
My goal is to output 3 audio tracks:

movie original AC3
movie aac-universal
commentary original AC3

I have first-stream-only set to True, however I am still getting the following audio tracks:

movie original AC3
movie aac-universal
commentary-orginal AC3
commentary-aac. (unwanted)

Here are the audio sections of my autoprocess file:
[Audio]
codec = aac, ac3, eac3, dts, vorbis
languages = eng
default-language = eng
first-stream-of-language = False
allow-language-relax = True
channel-bitrate = 128
variable-bitrate = 0
max-bitrate = 0
max-channels = 0
filter =
profile =
force-filter = False
sample-rates =
sample-format =
copy-original = True
aac-adtstoasc = False
ignored-dispositions =
unique-dispositions = False
stream-codec-combinations =
[Audio.Sorting]
sorting = language, channels.a, map, d.comment
default-sorting = channels.a, map, d.comment
codecs =
[Universal Audio]
codec = aac
channel-bitrate = 128
variable-bitrate = 0
first-stream-only = True
filter =
profile =
force-filter = False
[Audio.ChannelFilters]
6-2 = pan=stereo|FL=0.5FC+0.707FL+0.707BL+0.5LFE|FR=0.5FC+0.707FR+0.707BR+0.5LFE
Command or context you are trying to run
./manual.py -i filename.ext
Relative audio output section:
Reading audio streams.
The following stream indexes have been identified as being copies: [] [stream-codec-combinations].
Audio detected for stream 1 - ac3 eng 6 channel.
Creating copy audio stream from source stream 1.
Creating aac audio stream from source audio stream 1 [universal-audio].
Audio detected for stream 2 - ac3 eng 2 channel.
Creating aac audio stream from source stream 2.
Copying audio stream from source stream 2 format ac3 [audio-copy-original].
Found 0 streams that can be removed from the output file since they will be duplicates [stream-codec-combinations].
Final sorting:
['0->1', '1->0', '2->2', '3->3']
Final sorting:
['0->0', '1->1', '2->2', '3->3']
Default audio stream set to eng aac 2 channel stream [audio-default-sorting: ['channels.a', 'map', 'd.comment']].
Any help is appreciated. Sorry if this isn't a bug, but my own misconfiguration.  I had this working previously in an older version of SMA with the same autoprocess settings.

Post the whole log of the conversion if you could

2022-05-26 07:55:29 - MANUAL - INFO - Manual processor started.
2022-05-26 07:55:29 - MANUAL - INFO - Python 64-bit 3.10.4 (main, Apr  2 2022, 09:04:19) [GCC 11.2.0].
2022-05-26 07:55:29 - MANUAL - INFO - Guessit version: 3.4.3.
2022-05-26 07:55:29 - MANUAL - INFO - /usr/bin/python3
2022-05-26 07:55:29 - MANUAL - INFO - Loading config file /home/dingho/sickbeard_mp4_automator/config/autoProcess.ini.
2022-05-26 07:55:32 - MANUAL - INFO - Matched movie title as: Journey to the Center of the Earth 1959-12-15 (TMDB ID: 11571)
2022-05-26 07:55:33 - MANUAL - INFO - Processing Journey to the Center of the Earth
2022-05-26 07:55:33 - MANUAL - INFO - Input Data
2022-05-26 07:55:33 - MANUAL - INFO - {
"format": "matroska,webm",
"format-fullname": "Matroska / WebM",
"video": {
"index": 0,
"codec": "h264",
"pix_fmt": "yuv420p",
"profile": "high",
"fps": 23.976023976023978,
"framedata": {
"pix_fmt": "yuv420p",
"side_data_list": [
{
"side_data_type": "H.26[45] User Data Unregistered SEI message"
}
]
},
"dimensions": "1920x816",
"level": 4.1,
"field_order": "progressive"
},
"audio": [
{
"index": 1,
"codec": "ac3",
"bitrate": 640000,
"channels": 6,
"samplerate": 48000,
"language": "eng",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired"
},
{
"index": 2,
"codec": "ac3",
"bitrate": 192000,
"channels": 2,
"samplerate": 48000,
"language": "eng",
"disposition": "-default-dub-original+comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired"
}
],
"subtitle": [
{
"index": 3,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
"language": "eng"
},
{
"index": 4,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced+hearing_impaired-visual_impaired",
"language": "eng"
}
],
"attachment": []
}
2022-05-26 07:55:33 - MANUAL - INFO - Reading video stream.
2022-05-26 07:55:33 - MANUAL - INFO - Video codec detected: h264.
2022-05-26 07:55:33 - MANUAL - INFO - Pix Fmt: yuv420p.
2022-05-26 07:55:33 - MANUAL - INFO - Profile: high.
2022-05-26 07:55:33 - MANUAL - INFO - Video codec parameters None.
2022-05-26 07:55:33 - MANUAL - INFO - Creating copy video stream from source stream 0.
2022-05-26 07:55:33 - MANUAL - INFO - Reading audio streams.
2022-05-26 07:55:33 - MANUAL - INFO - The following stream indexes have been identified as being copies: [] [stream-codec-combinations].
2022-05-26 07:55:33 - MANUAL - INFO - Audio detected for stream 1 - ac3 eng 6 channel.
2022-05-26 07:55:33 - MANUAL - INFO - Creating copy audio stream from source stream 1.
2022-05-26 07:55:33 - MANUAL - INFO - Creating aac audio stream from source audio stream 1 [universal-audio].
2022-05-26 07:55:33 - MANUAL - INFO - Audio detected for stream 2 - ac3 eng 2 channel.
2022-05-26 07:55:33 - MANUAL - INFO - Creating aac audio stream from source stream 2.
2022-05-26 07:55:33 - MANUAL - INFO - Copying audio stream from source stream 2 format ac3 [audio-copy-original].
2022-05-26 07:55:33 - MANUAL - INFO - Found 0 streams that can be removed from the output file since they will be duplicates [stream-codec-combinations].
2022-05-26 07:55:33 - MANUAL - INFO - Final sorting:
2022-05-26 07:55:33 - MANUAL - INFO - ['0->1', '1->0', '2->2', '3->3']
2022-05-26 07:55:33 - MANUAL - INFO - Final sorting:
2022-05-26 07:55:33 - MANUAL - INFO - ['0->0', '1->1', '2->2', '3->3']
2022-05-26 07:55:33 - MANUAL - INFO - Default audio stream set to eng aac 2 channel stream [audio-default-sorting: ['channels.a', 'map', 'd.comment']].
2022-05-26 07:55:33 - MANUAL - INFO - Reading subtitle streams.
2022-05-26 07:55:33 - MANUAL - INFO - Subtitle detected for stream 3 - subrip eng.
2022-05-26 07:55:34 - MANUAL - INFO - Stream 3 is text-based subtitle for codec subrip.
2022-05-26 07:55:34 - MANUAL - INFO - Creating mov_text subtitle stream from source stream 3.
2022-05-26 07:55:34 - MANUAL - INFO - Subtitle detected for stream 4 - subrip eng.
2022-05-26 07:55:34 - MANUAL - INFO - Stream 4 is text-based subtitle for codec subrip.
2022-05-26 07:55:34 - MANUAL - INFO - Creating mov_text subtitle stream from source stream 4.
2022-05-26 07:55:35 - MANUAL - INFO - Scanned for external subtitles and found 0 results in your approved languages.
2022-05-26 07:55:35 - MANUAL - INFO - Final sorting:
2022-05-26 07:55:35 - MANUAL - INFO - ['0->0', '1->1']
2022-05-26 07:55:35 - MANUAL - INFO - Output Data
2022-05-26 07:55:35 - MANUAL - INFO - {
"source": [
"/mnt/torrents/incomplete/Journey.to.the.Center.of.the.Earth.1959.1080p.BluRay.DD5.1.x264-NTb.mkv"
],
"format": "mp4",
"video": {
"codec": "copy",
"map": 0,
"bitrate": 20332.3693,
"crf": -1,
"maxrate": null,
"bufsize": null,
"level": 0.0,
"profile": null,
"preset": null,
"pix_fmt": null,
"field_order": "progressive",
"width": null,
"filter": null,
"params": null,
"framedata": null,
"bsf": null,
"title": "FHD",
"debug": "video"
},
"audio": [
{
"map": 1,
"codec": "aac",
"channels": 2,
"bitrate": 256,
"quality": 0,
"profile": null,
"samplerate": null,
"sampleformat": "",
"filter": "pan=stereo|FL=0.5FC+0.707FL+0.707BL+0.5LFE|FR=0.5FC+0.707FR+0.707BR+0.5LFE",
"language": "eng",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
"title": "Stereo",
"debug": "universal-audio"
},
{
"map": 1,
"codec": "copy",
"channels": 6,
"bitrate": 768,
"profile": null,
"quality": 0,
"filter": null,
"samplerate": null,
"sampleformat": "",
"language": "eng",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
"bsf": null,
"title": "5.1 Channel",
"debug": "audio"
},
{
"map": 2,
"codec": "aac",
"channels": 2,
"bitrate": 256,
"profile": null,
"quality": 0,
"filter": null,
"samplerate": null,
"sampleformat": "",
"language": "eng",
"disposition": "-default-dub-original+comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
"bsf": null,
"title": "Stereo (Commentary)",
"debug": "universal-audio"
},
{
"map": 2,
"codec": "copy",
"channels": 2,
"language": "eng",
"disposition": "-default-dub-original+comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
"title": "Stereo (Commentary)",
"debug": "audio-copy-original"
}
],
"subtitle": [
{
"map": 3,
"codec": "mov_text",
"language": "eng",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
"title": null,
"debug": "subtitle.embed-subs"
},
{
"map": 4,
"codec": "mov_text",
"language": "eng",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced+hearing_impaired-visual_impaired",
"title": "Hearing Impaired",
"debug": "subtitle.embed-subs"
}
],
"attachment": []
}
2022-05-26 07:55:35 - MANUAL - INFO - Preopts
2022-05-26 07:55:35 - MANUAL - INFO - [
"-fix_sub_duration"
]
2022-05-26 07:55:35 - MANUAL - INFO - Postopts
2022-05-26 07:55:35 - MANUAL - INFO - [
"-threads",
"0",
"-metadata:g",
"encoding_tool=SMA"
]
2022-05-26 07:55:35 - MANUAL - INFO - Starting conversion.
2022-05-26 07:55:35 - MANUAL - ERROR - Unable to make output directory /mnt/temp.
Traceback (most recent call last):
File "/home/dingho/sickbeard_mp4_automator/resources/mediaprocessor.py", line 1973, in getOutputFile
os.makedirs(output_dir)
File "/usr/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/mnt/temp'
2022-05-26 07:55:35 - MANUAL - ERROR - Unable to make output directory /mnt/temp.
Traceback (most recent call last):
File "/home/dingho/sickbeard_mp4_automator/resources/mediaprocessor.py", line 1973, in getOutputFile
os.makedirs(output_dir)
File "/usr/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/mnt/temp'
2022-05-26 07:55:35 - MANUAL - INFO - FFmpeg command:
2022-05-26 07:55:35 - MANUAL - INFO - ======================
2022-05-26 07:55:35 - MANUAL - INFO - /usr/bin/ffmpeg -fix_sub_duration -i /mnt/torrents/incomplete/Journey.to.the.Center.of.the.Earth.1959.1080p.BluRay.DD5.1.x264-NTb.mkv -vcodec copy -map 0:0 -metadata:s:v title=FHD -metadata:s:v handler_name=FHD -c:a:0 aac -map 0:1 -ac:a:0 2 -b:a:0 256k -metadata:s:a:0 BPS=256000 -metadata:s:a:0 BPS-eng=256000 -filter:a:0 "pan=stereo|FL=0.5FC+0.707FL+0.707BL+0.5LFE|FR=0.5FC+0.707FR+0.707BR+0.5LFE" -metadata:s:a:0 title=Stereo -metadata:s:a:0 handler_name=Stereo -metadata:s:a:0 language=eng -disposition:a:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict experimental -c:a:1 copy -map 0:1 -metadata:s:a:1 "title=5.1 Channel" -metadata:s:a:1 "handler_name=5.1 Channel" -metadata:s:a:1 language=eng -disposition:a:1 -default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -c:a:2 aac -map 0:2 -ac:a:2 2 -b:a:2 256k -metadata:s:a:2 BPS=256000 -metadata:s:a:2 BPS-eng=256000 -metadata:s:a:2 "title=Stereo (Commentary)" -metadata:s:a:2 "handler_name=Stereo (Commentary)" -metadata:s:a:2 language=eng -disposition:a:2 -default-dub-original+comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict experimental -c:a:3 copy -map 0:2 -metadata:s:a:3 "title=Stereo (Commentary)" -metadata:s:a:3 "handler_name=Stereo (Commentary)" -metadata:s:a:3 language=eng -disposition:a:3 -default-dub-original+comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -c:s:0 mov_text -map 0:3 -metadata:s:s:0 title= -metadata:s:s:0 handler_name= -metadata:s:s:0 language=eng -disposition:s:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -c:s:1 mov_text -map 0:4 -metadata:s:s:1 "title=Hearing Impaired" -metadata:s:s:1 "handler_name=Hearing Impaired" -metadata:s:s:1 language=eng -disposition:s:1 -default-dub-original-comment-lyrics-karaoke-forced+hearing_impaired-visual_impaired-captions -f mp4 -threads 0 -metadata:g encoding_tool=SMA -y /mnt/temp/Journey.to.the.Center.of.the.Earth.1959.1080p.BluRay.DD5.1.x264-NTb.mp4

So it looks like you're getting 2 versions because you have the "copy-original" option enabled which will always create a copy of the original stream
If you add ac3 to a compatible UA track codec you should get what you want
[Universal Audio]
codec = aac, ac3

Thank you.  That does get my desired outcome.
For some reason the behavior has changed since a previous version, as in my old VM I can see I only had it set as:
[Universal Audio]
codec = aac
first-stream-only = True
Thanks again.  Appreciate your software.


Fix placement test for fixed position

Modify test code to mean placement option is fixed position.
See also Bootstrap document: http://getbootstrap.com/docs/4.0/utilities/position/

Thanks a lot! Could you remove the .ruby-version file please? Then I'll merge.

I forgot to remove the file or add it to the .gitignore file.
Now, I removed the .ruby-version file. Thank you!


chore: fix clippy warnings

Ensure latest version of clippy shipped with rust 1.72 is happy.
The fixes have been made with a quick run of cargo clippy --fix

converting to draft, I have to fix one deprecation warning

ready for review, everything should be green this time


UIINREACH-27: INN-Reach Circulation Settings: Settings Interface to manage Central Item Type to FOLIO Material Type for Patron (or Local) Holds

UIINREACH-27

yarn run v1.22.5
$ eslint ./ && stylelint "src/**/*.css"
/home/jenkins/workspace/folio-org_ui-inn-reach_PR-58/project/src/constants/index.js
9:1  error  Multiple exports of name 'NO_VALUE_OPTION'  import/export
10:1  error  Multiple exports of name 'NO_VALUE_OPTION'  import/export
/home/jenkins/workspace/folio-org_ui-inn-reach_PR-58/project/src/settings/routes/CentralItemTypeRoute/CentralItemTypeCreateEditRoute.js
26:33  error  Strings must use singlequote  quotes
✖ 3 problems (3 errors, 0 warnings)
1 error and 0 warnings potentially fixable with the --fix option.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-inn-reach/job/PR-58/1/


WIP: enable sparse Qrst_skew operators for flux differencing DGMulti

Closes #968

I ran some benchmarks using
julia> function bench(polydeg, approximation_type)
           redirect_stdout(devnull) do
               trixi_include(joinpath(examples_dir(), "dgmulti_2d", "elixir_euler_brown_minion_vortex.jl"),
                   volume_flux=flux_ranocha, surface_flux=flux_ranocha, tspan=(0.0, 0.0),
                   polydeg=polydeg, approximation_type=approximation_type, cells_per_dimension=1)
           end
           u_ode = copy(sol.u[end])
           du_ode = similar(u_ode)
           @btime Trixi.rhs!($du_ode, $u_ode, $semi, $0.0)
       end

The expectation is that if we get the same or even better performance with this PR in 2D, then we will definitely also get better performance in 3D (where sparsity is even more pronounced).


[SKOOP-92] Duplicate assignment of same skill to user

my-skills, projects: disable save button while sending a create request
tests
@georgwittberger could you please take a look?

Codecov Report

Merging #58 into master will increase coverage by 0.66%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
+ Coverage   71.98%   72.64%   +0.66%
==========================================
  Files          63       64       +1
  Lines        1574     1656      +82
  Branches      111      121      +10
==========================================
+ Hits         1133     1203      +70
- Misses        410      423      +13
+ Partials       31       30       -1

Impacted Files
Coverage Δ

src/app/my-skills/my-skills-new.component.ts
88.09% <100%> (+1.98%)
:arrow_up:

src/app/projects/projects-new.component.ts
83.33% <100%> (+5.07%)
:arrow_up:

...o-dialog/closed-community-info-dialog.component.ts
100% <0%> (ø)

src/app/community-view/community-view.component.ts
74.71% <0%> (+2.16%)
:arrow_up:

src/app/communities/communities.component.ts
74.41% <0%> (+5.45%)
:arrow_up:

Continue to review full report at Codecov.

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


hexo-tag-link-preview updated to 1.3.0, error message will appear when running command.

hexo-tag-link-preview to 1.3.0, error message will appear when running hexo s or hexo clean command.
Can you fix this problem?
Thanks.
Hexo 6.0.0 + hexo-tag-link-preview 1.2.4 > OK
Hexo 5.4.0 + hexo-tag-link-preview 1.2.4 > OK
Hexo 6.0.0 + hexo-tag-link-preview 1.3.0 > NG
Hexo 5.4.0 + hexo-tag-link-preview 1.3.0 > NG
carlos@MacBook-Pro-2017 hexo % hexo s
INFO  Validating config
ERROR {
  err: TypeError: Cannot read property 'className' of undefined
      at /Users/carlos/Documents/Hexo/node_modules/hexo-tag-link-preview/index.js:15:45
      at /Users/carlos/Documents/Hexo/node_modules/hexo/lib/hexo/index.js:298:14
      at tryCatcher (/Users/carlos/Documents/Hexo/node_modules/bluebird/js/release/util.js:16:23)
      at Promise._settlePromiseFromHandler (/Users/carlos/Documents/Hexo/node_modules/bluebird/js/release/promise.js:547:31)
      at Promise._settlePromise (/Users/carlos/Documents/Hexo/node_modules/bluebird/js/release/promise.js:604:18)
      at Promise._settlePromise0 (/Users/carlos/Documents/Hexo/node_modules/bluebird/js/release/promise.js:649:10)
      at Promise._settlePromises (/Users/carlos/Documents/Hexo/node_modules/bluebird/js/release/promise.js:729:18)
      at _drainQueueStep (/Users/carlos/Documents/Hexo/node_modules/bluebird/js/release/async.js:93:12)
      at _drainQueue (/Users/carlos/Documents/Hexo/node_modules/bluebird/js/release/async.js:86:9)
      at Async._drainQueues (/Users/carlos/Documents/Hexo/node_modules/bluebird/js/release/async.js:102:5)
      at Immediate.Async.drainQueues [as _onImmediate] (/Users/carlos/Documents/Hexo/node_modules/bluebird/js/release/async.js:15:14)
      at processImmediate (internal/timers.js:439:21)
} Plugin load failed: %s hexo-tag-link-preview
INFO  Start processing
INFO  Hexo is running at http://localhost:4000 . Press Ctrl+C to stop.

@carl0schen
Thanks for reporting!
I will investigate this.

@carl0schen
Hi, I fixed this problem and released v1.4.0.
Please try v1.4.0 and check fixed this error.
Thanks.

@minamo173
I have updated to 1.4.0, and after running hexo s,  hexo g hexo clean, it looks fine.
Thanks.


feat(custom-tsconfig): Add ability to specify custom tsconfig.json

It seems working for build and watch commands. I will need help for test.
example commands with tsconfig flag
tsdx build --tsconfig ./tsconfig.foo.json
tsdx watch --tsconfig ./tsconfig.foo.json

@enesTufekci could you update README as well?

@Andreyco just created the pr #153.

@allcontributors please add @enesTufekci for code, docs


past tense of communism

This has been bothering me for over a year.
However, now that I've implemented what I thought I wanted, I'm not sure I was correct to want it.

Is this better? I'm not sure. I think I can live with it.

I quite like the idea of just using a single ☭ in both cases.


[5.3] Send Mandrill emails right now by default

This is a breaking change.

This was also already discussed earlier. Thanks though. :)

Woops ! Do you have any link to read the discussion ?


Timestamps: proper support for temporal maps (server-side)

Related to https://github.com/CartoDB/renderer-prototype/issues/16
We have support for temporal maps by using numeric properties. However, we don't support native timestamp properties in the Windshaft client.
I think that a good enough implementation would automatically transform a timestamp property into a numeric one (transparently to the user).
I think that a good approach would be to download the minimum and maximum timestamps (as metadata). To later download (in the MVT tiles) the timestamp properties as numbers in the [0,1] range, where 0 means minimum timestamp, and 1 means maximum timestamp.
Since timestamps can have very high resolutions, but most of the times we don't need those, we should have a mechanism for aggregations. After implementing the naive version (without aggregations, setting the timestamp in dimensions), we could add new aggregation functions that only works with timestamps, for example: HOUR(), DAY(), WEEK(), MIN(), SEC(), MSEC())

Interesting fact: Mapnik MVT don't support date/time columns: they're just omitted from the tile:
https://github.com/CartoDB/node-mapnik/blob/v3.6.2-carto/src/mapnik_vector_tile.cpp#L2561-L2593
As a work around we can cast to text ::text, e.g. in the dimensions expressios

Not a surprise, see https://github.com/CartoDB/Windshaft/issues/103#issuecomment-31860378.

This is more important than we thought. The current approach is not browser independent. For example, this map works on Chrome but crashes on Firefox: https://cartodb.github.io/carto-vl/examples/editor/index.html#eyJhIjoidGFibGVfMDhfMjVfdG9fMDhfMzAiLCJiIjoiIiwiYyI6Im1hbWF0YWFrZWxsYSIsImQiOiJodHRwczovL3t1c2VyfS5jYXJ0by5jb20iLCJlIjoiY29sb3I6IG9wYWNpdHkocmFtcChsaW5lYXIoJHFwZiwwLjAxLDEwKSxidXJneWwpLCRxcGYvMC43NSlcbmZpbHRlcjogdG9ycXVlKGxpbmVhcigkaXNzdWVfdGltZSx0aW1lKCcyMDE3LTA4LTI0VDIwOjE2OjIzWicpLFxuICAgICAgICAgICAgICAgdGltZSgnMjAxNy0wOC0zMVQyMDoyMzoyN1onKSksNSxmYWRlKDAuOSwwLjkpKSIsImYiOnsibG5nIjotOTYuMDQxMDExMjg3ODY1MSwibGF0IjozNC42NzgzNjQyMjgxOTM1N30sImciOjQuMDkzNTI0NzM0MDM0NDA0fQ==
This occurs because Date.parse is not well supported

This would be a nice thing to combine with something like https://github.com/uber/kepler.gl/blob/get-started/docs/h-playback.md.

Handling of date properties and maximising its precision is solved by #495 for Windshaft and GeoJSON sources. I'm closing this now and have open a new ticket #551 to deal with the remaining questions.


How to get Access Toke and Refresh Token

How can we get the Access Token and Refresh Token through the APP to work on our API?

Same problem, any help ?

Need help. How we can get refresh token?

Still no update?

Please follow the comprehensive guidance here https://learn.microsoft.com/en-us/entra/msal/android/


Restart Down of protocol support is needed

Is your feature request related to a use case? Please describe.
In case of BGP scalability test , we are incrementing the route count say 16000, 17000, and so on, when the routes are higher sometimes the IPv4 and v6 sessions down come up at all after starting traffic using snappi, as a workaround when we manually do restart down of the protocols, they come up, but there is no way in snappi to do this restart down operation

closing this as this is stale issue, please re-open if you want to track this


Adding to hacs default

Hello,
i would like to see this in the hacs repository. May i add it? I will take care of the whole procedure if you would like that.
Thanks a lot in advance

Personally i would love to see it in hacs :)

Already underway: https://github.com/rejuvenate/lovelace-horizon-card/issues/48#issuecomment-1515827235


kpt fn exclude design proposal

Design proposal for kpt fn exclude.
Issue: https://github.com/GoogleContainerTools/kpt/issues/2930
Implementation PR: https://github.com/GoogleContainerTools/kpt/pull/2957

Thanks for the review @bgrant0607! I updated the proposal based on your feedback. If you have any further feedback, let me know. I plan to merge this design proposal after your approval.

@bgrant0607  I think there's a misalignment, just want to call it out.  @natasha41575 Correct me if I myself misunderstand it.
This proposal is motived from excluding Kptfile from resources (due to recent change on including meta resource as default), but it is trying to solve a bigger problem which is described in the "Prior art in kustomize" that "exclude certain resources from being modified ... is one of the most popular among kustomize users". It is not limited to Kptfile, but other KRM resources users do not want the functions to touch.
Thus, my understanding is that different customers have different resource skipping list, and it won't be a function level feature, (thus the design focus is on what's the best syntax to skip those resources easily and reliably). When you suggest this filtering to be a function level feature, do you mean the function should provide a general solution on accepting a custom FieldSpec list, iterate and skip resources from this list?  The general syntax for such a function config might be
apiVersion: kpt.dev.fn/v1alpha1
kind: SetXXX
exclude:
- kind: ConfigMap
- apiVersion: kpt.dev.fn/v1alpha1

@yuwenma My understanding of what it means for filtering to be a "function level" feature from my discussions with @droot  is that the user should be able to control which resources are included for each function individually, rather than have kpt make the same decision for all functions in the pipeline. The design proposal currently is in alignment with that, because the user can specify selectors/exclude for each function separately.

@yuwenma My understanding of what it means for filtering to be a "function level" feature from my discussions with @droot is that the user should be able to control which resources are included for each function individually, rather than have kpt make the same decision for all functions in the pipeline. The design proposal currently is in alignment with that, because the user can specify selectors/exclude for each function separately.

Ah, saw the other comment.
I think we shall define two phases for this exclude design proposal.
Since the current solution is more of a workaround and eventually the filtering logic should be in the SDK.

Phase 1. As the current proposal says, filtering the resources before passing into the function.
Phase 2.
- kpt shall annotate Kptfile and inline ConfigMap with an internal annotation, propose internal.config.kubernetes.io/kpt-meta, the SDK should provide functions to filter resources by annotation (and this should be called inside a function)
- FunctionConfig defines a general interface to filter resources by GVK. SDK provides the actual filtering logic (maybe a default behavior under the SDK resourceList Process so it's applied to all functions automatically).  It would be like

apiVersion: config.kubernetes.io/v1
kind: Resourcelist
items:
- apiVersion: v1
  kind: ConfigMap
  metadata:
       name: current-function-config
       annotations:
         internal.config.kubernetes.io/kpt-meta: true # marked as meta resource, exclude by default
- apiVersion: v1
  kind: ConfigMap
  metadata:
       name: other-function-config
  annotations:
       internal.config.kubernetes.io/kpt-meta: true # marked as meta resource, exclude by default
- apiVersion: kpt.dev/v1
  kind: Kptfile   # Kptfile, exclude by default
  ...
functionConfig:
  apiVersion: v1
  kind: ConfigMap
  metadata:
      name: current-function-config
      annotations:
        internal.config.kubernetes.io/exclude-meta: true
        internal.config.kubernetes.io/exclude: |     # function level exclude list.
           - kind:
           - kind:

I'm fine with the exclude feature as described. It seems useful for horizontal functions like set-labels, where the function itself wouldn't necessarily know which resources should be targeted.
For the problem of changing behavior with respect to meta-resources and local resources, I see it as a temporary workaround.
Functions need to ignore resources and resource types they don't care about or would operate incorrectly on. The pipeline should always pass through everything by default.
The function SDKs need to make it straightforward to implement such filtering.
If some resources or resource types need to be made easier to identify, I'd be fine with introducing new intra-pipeline annotations to identify them.
ConfigMaps that are generated to be used as functionConfig from inline configMaps in the Kptfile should be automatically annotated as local-config objects. ConfigMaps and pseudo-resources in their own files would need to be annotated by their creators if they didn't want them to be instantiated in the cluster.

I'm fine with the exclude feature as described. It seems useful for horizontal functions like set-labels, where the function itself wouldn't necessarily know which resources should be targeted.

Sounds like we are all on board with the design as described, so I will go ahead and merge this PR along with the implementation PR.

The function SDKs need to make it straightforward to implement such filtering.

SGTM, and sounds like this would be something we discuss in Yuwen's phase 2 in her comment.  @yuwenma should we file a separate tracking issue for that work?

I'm fine with the exclude feature as described. It seems useful for horizontal functions like set-labels, where the function itself wouldn't necessarily know which resources should be targeted.

Sounds like we are all on board with the design as described, so I will go ahead and merge this PR along with the implementation PR.

The function SDKs need to make it straightforward to implement such filtering.

SGTM, and sounds like this would be something we discuss in Yuwen's phase 2 in her comment. @yuwenma should we file a separate tracking issue for that work?

Filed https://github.com/GoogleContainerTools/kpt/issues/3016


Zipkin only receiver causes log issue

If logs are enabled, and zipkin, but not otlp receivers are enabled, then we build the pipeline for logs, but some logs components are missing.
cluster:
  name: my-cluster
externalServices:
  prometheus:
    host: <PROM_HOST>
    basicAuth:
      username: xxx
      password: xxx
  loki:
    host: <LOKI_HOST>
    basicAuth:
      username: xxx
      password: xxx
  tempo:
    host: <TEMPO_HOST>
    basicAuth:
      username: xxx
      password: xxx

metrics:
  enabled: true
  cost:
    enabled: true
  node-exporter:
    enabled: true

logs:
  enabled: true
  pod_logs:
    enabled: false
  cluster_events:
    enabled: true

traces:
  enabled: true

receivers:
  grpc:
    enabled: false
  http:
    enabled: false
  zipkin:
    enabled: true

opencost:
  enabled: true
  opencost:
    exporter:
      defaultClusterId: my-cluster
  prometheus:
    external:
      url: <PROM_HOST>/api/prom

kube-state-metrics:
  enabled: true
prometheus-node-exporter:
  enabled: true
prometheus-operator-crds:
  enabled: false
alloy: {}
alloy-events: {}
alloy-logs: {}

I am the one who reported this issue. Thanks for working it @petewall! Eager to give it a try.

Available now!
% helm search repo k8s-monitoring
NAME                  	CHART VERSION	APP VERSION	DESCRIPTION
grafana/k8s-monitoring	1.1.1        	2.3.5      	A Helm chart for gathering, scraping, and forwa...


Internationalization

Since internationalization is one of the great feature of django, @drowsy810301 wants to provide Traditional Chinese version of this site.

He is also very ambitious to promote the culture. Let's wait for his great work!

It is infinitely postponed.

Wha sha wun min yeah

I think this is a good idea.  Any interests to continue this?


Enforce POSIX-Sync on Linux

This is needed in order to handle system time changes properly. As SYNC-Abseil and Abseil in general (see https://github.com/abseil/abseil-cpp/issues/172) is exclusively based on system-time, we need to use POSIX-Sync which uses the monotonic clock for timeouts
Fixes #32176

I can't decide if this is release nodes relvant or not. This should be set by one of the maintainers.

Thank you for the PR but our plan is to migrate to Abseil one. So we want to keep this.

Thank you for the PR but our plan is to migrate to Abseil one. So we want to keep this.

Thanks for your feedback. That’s the impression I got by looking at the code. But I couldn’t find a way on how to make abseils condition variable (or better Abseils time implementation) use a monotonic clock as I referred in my comment above. Feel free to refer me to a link on how to do this and I‘ll adapt it.
Additionally please note that due to another bug Abseil sync has also been disabled on all APPLE devices.
It’s not such an exotic use case that time changes can happen on embedded devices. We need a reliable solution here.


SCB-555 Add the dubbo demo into Saga accept test

This PR is based on the https://github.com/apache/incubator-servicecomb-saga/pull/185.
I just fix the spring-boot-2 test error and clean up the code a bit.
Now we got the iCLA from wuzunqian, we can merge the PR into master branch now.
@wuzunqian  Please have a look at my changes.

Coverage decreased (-0.3%) to 94.28% when pulling 53fba35a959d51790c256f1a22496d7d8c2374f4 on SCB-555 into 00b8bdc99bf6b296b19efc8dd7d2fc20e24e175f on master.


Added a way to check OutSystems services and the role of a server

We can now check the status of OutSystems services
We can now read the ServerConfiguration element from server.hsconf
We can now detect if we are inside a controller server
Refactored references from "Requirements" to "Diagnostic"

Closed pull request due to another one with more features and corrections.


The apptainer example fails to deploy because it is using the slurm-gcp-6-4-hpc-rocky-linux-8 source_image_family

Fixed by #2803


Blue colors on "what to do", "stay informed" and "spread the word" are confusing

We use blue color for these headers and for regular users, this blue is usually associated with the "clickable blue links". These headers are not actually clickable and that creates confusion. Either we should consider using different color or make these things clickable if we do have suitable targets.
This feedback comes from my partner who looked at the site and was confused about how to interact with the page and where to click at first.

@emersonthis because I don't know anybody else who deals with UX :)

Assigning to Emerson for further triage.


Consumer key input field label is on top of the field content

Description
When provisioning an application using existing keys, the consumer key input field label is on top of the field content.

Steps to Reproduce

Configure a Third party KM
Add existing oauth keys to provision an application
The consumer key input field label will be on top of the field content

Affected Component
APIM
Version
4.3.0-alpha
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

This issue couldn't reproduce in the latest pack. Hence closing the issue.


Added MMLanScan library

Project URL
https://github.com/mavris/MMLanScan
Description
Added MMLanScan library
Checklist

[ x] Only one project/change is in this pull request
[ x] Addition in chronological order (bottom of category)
[ x] Supports iOS 7 or later
[ x] Has a commit from less than 2 years ago
[ x] Has a clear README in English

          1 Error

  :no_entry_sign:
  Found 1 link issue

Link issue by awesome_bot

Line
Status
Link

825
301
https://www.urbanairship.com/products/mobile-engagement/engage redirects tohttp://www.urbanairship.com/products/mobile-app-engagement

  Generated by :no_entry_sign: danger

Hi,
I don't get the error. If you look the commit you will notice that I just added a library

Link issue is unrelated


Update the unit test following changes in injectCredentialsAndInvoke

Issue #18
Description of changes:
cloudformation-cli-java-plugin made a change to overload injectCredentialsAndInvoke, this breaks our unit test. The change is to fix the build.
https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/pull/338
Update the pom.xml for the repository url, as http was no longer supported.
Update the aws-cloudformation-rpdk-java-plugin version to [2.0.0, 3.0.0)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM. Two q - 1) what's the warning we're suppressing 2) PR breaks import order, please reformat.

updated the commit:

what's the warning we're suppressing

We are suppressing this warning in unit test:
[WARNING] /Users/hexiny/resource-providers-rds-proxy/aws-rds-dbproxytargetgroup/src/test/java/software/amazon/rds/dbproxytargetgroup/CreateHandlerTest.java:[98,44] unchecked method invocation: method injectCredentialsAndInvoke in class software.amazon.cloudformation.proxy.AmazonWebServicesClientProxy is applied to given types
  required: RequestT,java.util.function.Function<RequestT,ResultT>
  found: com.amazonaws.services.rds.model.DescribeDBProxyTargetGroupsRequest,java.util.function.Function

PR breaks import order, please reformat.

updated


Support pthread_{set,get}name_np for linux with glibc

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @gnzlbg (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@bors: r+
Thanks!

:pushpin: Commit 2686cc5bd88b5c3261210bc3cb58d531b83a80d5 has been approved by gnzlbg

:hourglass: Testing commit 2686cc5bd88b5c3261210bc3cb58d531b83a80d5 with merge 54b03c53fb8e70bcce87dc26d8795c995e41061f...

:sunny: Test successful - checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-travis, status-appveyor
Approved by: gnzlbg
Pushing 54b03c53fb8e70bcce87dc26d8795c995e41061f to master...


Add GCC to the service test Dockerfile

Add GCC to the service test Dockerfile

To add context: PyYAML recently pushed security fixes which require building the Python wheel for regex. Regex requires GCC and the LibC headers.
Error taken from the pip install -r requirements.txt output:
 => ERROR [6/9] RUN pip install -r requirements.txt                                                                                20.2s
------
 > [6/9] RUN pip install -r requirements.txt:
#10 1.535 Collecting acktest@ git+https://github.com/aws-controllers-k8s/test-infra.git@6c6d9dd4759c7bb2feecd11dc03e8516371812cc
#10 1.535   Cloning https://github.com/aws-controllers-k8s/test-infra.git (to revision 6c6d9dd4759c7bb2feecd11dc03e8516371812cc) to /tmp/pip-install-1jrevg55/acktest_ed52efe6633f47ce9961a8ec137b0dfc
#10 1.536   Running command git clone -q https://github.com/aws-controllers-k8s/test-infra.git /tmp/pip-install-1jrevg55/acktest_ed52efe6633f47ce9961a8ec137b0dfc
#10 2.276   Running command git rev-parse -q --verify 'sha^6c6d9dd4759c7bb2feecd11dc03e8516371812cc'
#10 2.279   Running command git fetch -q https://github.com/aws-controllers-k8s/test-infra.git 6c6d9dd4759c7bb2feecd11dc03e8516371812cc
#10 2.768   Running command git checkout -q 6c6d9dd4759c7bb2feecd11dc03e8516371812cc
#10 3.255 Collecting apipkg==1.5
#10 3.404   Downloading apipkg-1.5-py2.py3-none-any.whl (4.9 kB)
#10 3.453 Collecting attrs==20.3.0
#10 3.477   Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB)
#10 4.047 Collecting boto3==1.16.40
#10 4.079   Downloading boto3-1.16.40-py2.py3-none-any.whl (130 kB)
#10 4.876 Collecting botocore==1.19.63
#10 4.903   Downloading botocore-1.19.63-py2.py3-none-any.whl (7.2 MB)
#10 6.457 Collecting cachetools==4.2.1
#10 6.480   Downloading cachetools-4.2.1-py3-none-any.whl (12 kB)
#10 6.576 Collecting certifi==2020.12.5
#10 6.604   Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
#10 6.649 Collecting chardet==4.0.0
#10 6.671   Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
#10 6.746 Collecting execnet==1.8.0
#10 6.770   Downloading execnet-1.8.0-py2.py3-none-any.whl (39 kB)
#10 6.886 Collecting google-auth==1.28.0
#10 6.920   Downloading google_auth-1.28.0-py2.py3-none-any.whl (136 kB)
#10 6.971 Collecting idna==2.10
#10 7.004   Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
#10 7.040 Collecting iniconfig==1.1.1
#10 7.069   Downloading iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
#10 7.120 Collecting jmespath==0.10.0
#10 7.154   Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
#10 7.216 Collecting kubernetes==12.0.1
#10 7.252   Downloading kubernetes-12.0.1-py2.py3-none-any.whl (1.7 MB)
#10 7.445 Collecting oauthlib==3.1.0
#10 7.474   Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
#10 7.556 Collecting packaging==20.9
#10 7.585   Downloading packaging-20.9-py2.py3-none-any.whl (40 kB)
#10 7.654 Collecting pluggy==0.13.1
#10 7.676   Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
#10 7.737 Collecting py==1.10.0
#10 7.766   Downloading py-1.10.0-py2.py3-none-any.whl (97 kB)
#10 7.880 Collecting pyasn1==0.4.8
#10 7.903   Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
#10 8.009 Collecting pyasn1-modules==0.2.8
#10 8.029   Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
#10 8.165 Collecting pyparsing==2.4.7
#10 8.205   Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
#10 8.367 Collecting pytest==6.2.3
#10 8.403   Downloading pytest-6.2.3-py3-none-any.whl (280 kB)
#10 8.470 Collecting pytest-forked==1.3.0
#10 8.503   Downloading pytest_forked-1.3.0-py2.py3-none-any.whl (4.7 kB)
#10 8.580 Collecting pytest-xdist==2.2.0
#10 8.623   Downloading pytest_xdist-2.2.0-py3-none-any.whl (36 kB)
#10 8.680 Collecting python-dateutil==2.8.1
#10 8.702   Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
#10 8.828 Collecting PyYAML==5.3.1
#10 8.865   Downloading PyYAML-5.3.1.tar.gz (269 kB)
#10 9.376 Collecting requests==2.25.1
#10 9.403   Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
#10 9.445 Collecting requests-oauthlib==1.3.0
#10 9.472   Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
#10 9.532 Collecting rsa==4.7.2
#10 9.553   Downloading rsa-4.7.2-py3-none-any.whl (34 kB)
#10 9.597 Collecting s3transfer==0.3.6
#10 9.615   Downloading s3transfer-0.3.6-py2.py3-none-any.whl (73 kB)
#10 9.676 Collecting six==1.15.0
#10 9.726   Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
#10 9.767 Collecting toml==0.10.2
#10 9.803   Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
#10 9.887 Collecting urllib3==1.26.4
#10 9.919   Downloading urllib3-1.26.4-py2.py3-none-any.whl (153 kB)
#10 10.000 Collecting websocket-client==0.58.0
#10 10.02   Downloading websocket_client-0.58.0-py2.py3-none-any.whl (61 kB)
#10 10.08 Collecting black==20.8b1
#10 10.10   Downloading black-20.8b1.tar.gz (1.1 MB)
#10 10.30   Installing build dependencies: started
#10 12.54   Installing build dependencies: finished with status 'done'
#10 12.54   Getting requirements to build wheel: started
#10 12.69   Getting requirements to build wheel: finished with status 'done'
#10 12.69     Preparing wheel metadata: started
#10 12.95     Preparing wheel metadata: finished with status 'done'
#10 13.07 Collecting click>=7.1.2
#10 13.11   Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
#10 13.27 Collecting typed-ast>=1.4.0
#10 13.30   Downloading typed_ast-1.4.3.tar.gz (210 kB)
#10 13.59 Collecting pathspec<1,>=0.6
#10 13.62   Downloading pathspec-0.8.1-py2.py3-none-any.whl (28 kB)
#10 14.33 Collecting regex>=2020.1.8
#10 14.35   Downloading regex-2021.4.4.tar.gz (693 kB)
#10 14.74 Collecting typing-extensions>=3.7.4
#10 14.77   Downloading typing_extensions-<IP_ADDRESS>-py3-none-any.whl (22 kB)
#10 14.81 Collecting appdirs
#10 14.83   Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
#10 14.88 Collecting mypy-extensions>=0.4.3
#10 14.90   Downloading mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
#10 15.09 Requirement already satisfied: setuptools>=40.3.0 in /usr/local/lib/python3.8/site-packages (from google-auth==1.28.0->-r requirements.txt (line 10)) (56.0.0)
#10 15.90 Building wheels for collected packages: acktest, black, PyYAML, regex, typed-ast
#10 15.91   Building wheel for acktest (setup.py): started
#10 16.20   Building wheel for acktest (setup.py): finished with status 'done'
#10 16.20   Created wheel for acktest: filename=acktest-0.0.1-py3-none-any.whl size=13851 sha256=cf4e7f572ab2107e4ebfd0f049671c865b936fba6b0632d1fb497db724f9964c
#10 16.20   Stored in directory: /root/.cache/pip/wheels/a8/e5/f9/ddc89c458fb8ff3130da5ad9eb85173899be57a6ae082c629b
#10 16.20   Building wheel for black (PEP 517): started
#10 16.52   Building wheel for black (PEP 517): finished with status 'done'
#10 16.52   Created wheel for black: filename=black-20.8b1-py3-none-any.whl size=124184 sha256=7a40005058c200d56c4ff0050a2b561d6ff5513c1e16f90d4ce994b10ef2d6ab
#10 16.52   Stored in directory: /root/.cache/pip/wheels/95/a4/59/10cd5378d52f92cdb45025f040e4686e10ae5217961c25fd66
#10 16.53   Building wheel for PyYAML (setup.py): started
#10 16.81   Building wheel for PyYAML (setup.py): finished with status 'done'
#10 16.81   Created wheel for PyYAML: filename=PyYAML-5.3.1-cp38-cp38-linux_x86_64.whl size=44618 sha256=b1c824d7bd566500d71187413b46c14ae185ffc3836e5d6b5f9715da1413f196
#10 16.81   Stored in directory: /root/.cache/pip/wheels/13/90/db/290ab3a34f2ef0b5a0f89235dc2d40fea83e77de84ed2dc05c
#10 16.81   Building wheel for regex (setup.py): started
#10 17.03   Building wheel for regex (setup.py): finished with status 'error'
#10 17.03   ERROR: Command errored out with exit status 1:
#10 17.03    command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1jrevg55/regex_8b27ff00e5be400592074a14864bfc6f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1jrevg55/regex_8b27ff00e5be400592074a14864bfc6f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-vslwl6cn
#10 17.03        cwd: /tmp/pip-install-1jrevg55/regex_8b27ff00e5be400592074a14864bfc6f/
#10 17.03   Complete output (21 lines):
#10 17.03   running bdist_wheel
#10 17.03   running build
#10 17.03   running build_py
#10 17.03   creating build
#10 17.03   creating build/lib.linux-x86_64-3.8
#10 17.03   creating build/lib.linux-x86_64-3.8/regex
#10 17.03   copying regex_3/__init__.py -> build/lib.linux-x86_64-3.8/regex
#10 17.03   copying regex_3/regex.py -> build/lib.linux-x86_64-3.8/regex
#10 17.03   copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.8/regex
#10 17.03   copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.8/regex
#10 17.03   running build_ext
#10 17.03   building 'regex._regex' extension
#10 17.03   creating build/temp.linux-x86_64-3.8
#10 17.03   creating build/temp.linux-x86_64-3.8/regex_3
#10 17.03   gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.8 -c regex_3/_regex.c -o build/temp.linux-x86_64-3.8/regex_3/_regex.o
#10 17.03   In file included from regex_3/_regex.c:50:
#10 17.03   /usr/local/include/python3.8/Python.h:11:10: fatal error: limits.h: No such file or directory
#10 17.03      11 | #include <limits.h>
#10 17.03         |          ^~~~~~~~~~
#10 17.03   compilation terminated.
#10 17.03   error: command 'gcc' failed with exit status 1
#10 17.03   ----------------------------------------
#10 17.03   ERROR: Failed building wheel for regex
#10 17.03   Running setup.py clean for regex
#10 17.20   Building wheel for typed-ast (setup.py): started
#10 17.42   Building wheel for typed-ast (setup.py): finished with status 'error'
#10 17.42   ERROR: Command errored out with exit status 1:
#10 17.42    command: /usr/local/bin/python -u -c 'import sys, setuptools,
.
.
truncated
.
.
#10 19.85     /usr/local/include/python3.8/Python.h:11:10: fatal error: limits.h: No such file or directory
#10 19.85        11 | #include <limits.h>


Verify minNormal, maxFinite, epsilon, maxNaNPayload against computed values

The use of (undefined `asTypeOf` n) is to make sure the value of n is not used by mistake, only the type. (floatRange et al. should take proxy parameters instead.)

Thanks for this!


[Ruby][CUDA] red-arrow-cuda doesn't work on windows

Describe the bug, including details regarding any error messages, version, and platform.
when trying the example in the README.md file - it doesn't work because ArrowCUDA Typelib is not found.  I couldn't find a pacman package when searching pacman.
Here's the error I get
e:\programming\source\repos\ruby\try_arrow>more arrow_cuda_test.rb
require "arrow-cuda"

manager = ArrowCUDA::DeviceManager.new
if manager.n_devices.zero?
  raise "No GPU is found"
end

context = manager[0]
buffer = ArrowCUDA::Buffer.new(context, 128)
ArrowCUDA::BufferOutputStream.open(buffer) do |stream|
  stream.write("Hello World")
end
puts buffer.copy_to_host(0, 11) # => "Hello World"

e:\programming\source\repos\ruby\try_arrow>ruby arrow_cuda_test.rb
E:/windows/tools/ruby/Ruby33-x64/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.2.0/lib/gobject-introspection/loader.rb:40:in `require': Typelib file for namespace 'ArrowCUDA' (any version) not found (GObjectIntrospection::RepositoryError::T
ypelibNotFound)
        from E:/windows/tools/ruby/Ruby33-x64/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.2.0/lib/gobject-introspection/loader.rb:40:in `load'
        from E:/windows/tools/ruby/Ruby33-x64/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.2.0/lib/gobject-introspection/loader.rb:25:in `load'
        from E:/windows/tools/ruby/Ruby33-x64/lib/ruby/gems/3.3.0/gems/red-arrow-cuda-14.0.2/lib/arrow-cuda/loader.rb:22:in `load'
        from E:/windows/tools/ruby/Ruby33-x64/lib/ruby/gems/3.3.0/gems/red-arrow-cuda-14.0.2/lib/arrow-cuda.rb:28:in `<module:ArrowCUDA>'
        from E:/windows/tools/ruby/Ruby33-x64/lib/ruby/gems/3.3.0/gems/red-arrow-cuda-14.0.2/lib/arrow-cuda.rb:24:in `<top (required)>'
        from <internal:E:/windows/tools/ruby/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:132:in `require'
        from <internal:E:/windows/tools/ruby/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:132:in `rescue in require'

        from <internal:E:/windows/tools/ruby/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:126:in `require'
        from arrow_cuda_test.rb:1:in `<main>'
<internal:E:/windows/tools/ruby/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require': cannot load such file -- arrow-cuda (LoadError)
        from <internal:E:/windows/tools/ruby/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        from arrow_cuda_test.rb:1:in `<main>'

Component(s)
Ruby

RubyInstaller for Windows is based on MinGW but CUDA doesn't support MinGW.
So we can't use red-arrow-cuda on Windows.


Some datasets are not available

I'm not sure if i'm missing something, but I tried loading the MMLU, SQuADv2 - but it always gives me an error (the json file is empty)
It does seem to fail to fetch from the URL provided here, since the data folder does not exist
        # check if the dataset exists, if not, download it
        self.filepath = os.path.join(self.data_dir, f"{dataset_name}.json")
        self.filepath2 = os.path.join(self.data_dir, f"{dataset_name}.jsonl")
        if not os.path.exists(self.filepath):
            if os.path.exists(self.filepath2):
                self.filepath = self.filepath2
            else:
                url = f'https://wjdcloud.blob.core.windows.net/dataset/promptbench/dataset/{dataset_name}.json'
                print(f"Downloading {dataset_name} dataset...")
                response = requests.get(url)
                with open(self.filepath, 'wb') as f:
                    f.write(response.content)

Thanks for highlighting this issue. We have fixed this in the latest version. please use the following command to clone the repository: git clone git@github.com:microsoft/promptbench.git. And then, you can use dataset = pb.DatasetLoader.load_dataset("mmlu") to download it from HuggingFace.

Im still facing the same issue, cloned the latest commit 1958b662cc8a866119f350779de39e5d6203b660

Could you please give the detailed error messages and a MRE? Thanks.

I'm sorry, i just cloned afresh and tried again - its working now, thanks for the quick help!

Delighted to hear it's resolved! Please don't hesitate to reach out for any further issues.


Validation issue with<PHONE_NUMBER> (IN)

Please read the "guidelines for contributing" (linked above) and fill in the template below.
Country/region affected (e.g., "US"): IN
Example number(s) affected ("+1<PHONE_NUMBER>"):<PHONE_NUMBER>
The phone number range(s) to which the issue applies ("+1 555 555-XXXX"):
The type of the number(s) ("fixed-line", "mobile", "short code", etc.):
The cost, if applicable ("toll-free", "premium rate", "shared cost"):
Supporting evidence (for example, national numbering plan, announcement from mobile carrier, news article): IMPORTANT - anything posted here is made public. Read the guidelines first!
link to demo

when i am using this library in my android application it is showing it is not an indian number.

@subbumelzol,
Thank you for using libphonenumber!
For your next metadata issue, we invite you to file issues in Google's new Issue Tracker, which we're currently testing.
This is actually working as intended;<PHONE_NUMBER> is already marked by our library as Mobile. To check the latest behavior for yourself, see thedemo(instructions in our contribution guidelines). Thus we don’t see this as a validation issue. The number is already considered valid.
It sounds like this is rather a question about library usage.
Questions:
Which version of the library are you using?
What’s the exact API call (method & arguments)?
What’s the result you get?
What’s the expected result?

i used old version v8.0.1 after updating the version to v8.5.2 issue solved.
thanks,
On Thu, Jun 22, 2017 at 12:48 PM, kkeshava<EMAIL_ADDRESS>wrote:

@subbumelzol https://github.com/subbumelzol,
Thank you for using libphonenumber!
For your next metadata issue, we invite you to file issues in Google's new Issue
Tracker http://issuetracker.google.com/issues/new?component=192347,
which we're currently testing.
This is actually working as intended;<PHONE_NUMBER> is already marked by our
library as Mobile. To check the latest behavior for yourself, see thedemo
http://libphonenumber.appspot.com/phonenumberparser?number=8639394290&country=IN(instructions
in our contribution guidelines
https://github.com/googlei18n/libphonenumber/blob/master/CONTRIBUTING.md).
Thus we don’t see this as a validation issue. The number is already
considered valid.
It sounds like this is rather a question about library usage.
Questions:
Which version of the library are you using?
What’s the exact API call (method & arguments)?
What’s the result you get?
What’s the expected result?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googlei18n/libphonenumber/issues/1804#issuecomment-310297232,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWReKPLmBecxJq6djFi9KduGVsvouGxJks5sGhVdgaJpZM4OB1bk
.

--
Regards
Subbanagaiah.

Thanks! Not an issue so closing.


Docker Images should be @ "algorand" or "algokit"

Status
Docker Images

makerxau/algorand-indexer-dev:latest
makerxau/algorand-sandbox-dev:latest

https://hub.docker.com/u/makerxau
Expected
Docker Images

algorand/algorand-indexer-dev:latest
algorand/algorand-sandbox-dev:latest

https://hub.docker.com/u/algorand
Possible Workaround
Docker Images

algokit/algorand-indexer-dev:latest
algokit/algorand-sandbox-dev:latest

https://hub.docker.com/u/algokit

The intention is to use the official algorand images. They weren’t ready until recently (and still might not be, I need to go back and test) with the functionality needed for the Algokit experience.
in the meantime, the MakerX images are being used as a stopgap since they provide the desired experience and are maintained by a trusted source: https://github.com/MakerXStudio/algorand-sandbox-dev

Production companies should be neutral. I do not like it to see "makerx" when I use Algorand.
Consider at least the workaround to use "algokit".

I believe the Algorand official images are likely ready after consulting with the team behind them. We'll try and switch over and see if it still all works OK.

they are not even versioned.. https://hub.docker.com/r/makerxau/algorand-indexer-dev/tags
this is versioned https://hub.docker.com/r/scholtz2/algorand-indexer/tags
building from https://github.com/scholtz/AlgorandNodes/tree/main/docker
algorand official images are running under root, thats why i had to make these images, so that it can run in non rooted environment..
why is makerx getting all the business from the foundation and they do not deliver good products?

why is makerx getting all the business from the foundation and they do not deliver good products?

nobody really cares @ Algorand inc/org

@scholtz , see additionally the currently open issues to understand "nobody cares":
https://github.com/algorandfoundation/algokit-cli/issues

We're using MakerX's indexer because there still isn't an official Indexer image from inc. From when this issue was opened we have migrated to the official sandbox and have been using it.

A bit of history here in case anyone is interested how this came about.
A long, long time ago (well, over a year ago at least), before AlgoKit was even a twinkle in the eye of John Woods, there was only sandbox.sh. This worked well for local development and was very flexible, but it added enormous time to CI/CD pipelines, including those of some internal projects at MakerX. In order to speed things up, I quickly extracted the key parts of sandbox.sh and made a pipeline to build these images in Azure DevOps on our internal infrastructure. (We even helped fix some indexer devmode issues along the way https://github.com/algorand/indexer/pull/920.) It did everything we needed - in particular, versioning wasn’t required as we always wanted latest - and also, it cross compiled and built both x86 and ARM images since a lot of our team uses Apple Silicon MacBooks and the Docker x86 emulation was extremely slow back then.  This worked well enough for us that we decided to make them public in case anyone else found a use in them.
Fast forward many months, and at the beginning of the AlgoKit project, there was discussion amongst the whole AlgoKit team (not just MakerX) as to the best path forward. It was decided to use the MakerX images for now, and that Algorand Inc would make official images, so it didn’t make sense to invest in updating the MakerX ones. We now have official images for algod, and placed these in AlgoKit as soon as possible. We will do the same once the official indexer image is available.

Justifications, instead of simply sticking to a MUST Requirement.

algokit 1.7.0 now has only official images. See #351.


Generate casesplit codeAction properly

#917 introduced code to generate a code action to split a case, but it does not work.
Fix it.

Are you saying make a diagnostic or underlined lint of some kind on any arguments that can be split; such that the light bulb will show up in vscode? The action it's self works for me just like delete definition or lift one ...

That's strange, the action does not show up for me, using the code that you test against.
I think it is the way the case is set up, which as I understand it will either generate the refactoring commands or the case split, but never both.

It generates the action when your cursor is over argument, because that's where the command works. The refactoring commands are generated under the same condition as before (when over a definition). The casesplit code action is generated when over a symbol that is not a definition. Take a look at Avi-D-coder/haskell-ide-engine@29bc33518527b13f61d3bbddc81f251a45f38b12. I got rid of the nested case statements and added more descriptive names and comments.


Add half-step angular velocity calculation

Description of the problem

Previously, in the half-step calculations of the velocity-verlet integration method, the half-step angular velocity wasn't calculated. In this PR we add the calculation of the half-step angular velocity to velocity-verlet integration method.

The const parameters are defined in the integrators. :)


project can not compile

run make error.
go: finding module for package golang.org/x/oauth2
go: finding module for package github.com/Azure/go-ansiterm/winterm
go: finding module for package github.com/Azure/go-ansiterm
go: finding module for package github.com/Sirupsen/logrus
go: found github.com/Azure/go-ansiterm/winterm in github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78
go: found github.com/Sirupsen/logrus in github.com/Sirupsen/logrus v1.6.0
go: github.com/alibaba/openyurt/cmd/yurt-controller-manager/app imports
        k8s.io/apiserver/pkg/util/term imports
        github.com/docker/docker/pkg/term imports
        github.com/docker/docker/pkg/term/windows imports
        github.com/Sirupsen/logrus<EMAIL_ADDRESS>parsing go.mod:
        module declares its path as: github.com/sirupsen/logrus
                but was required as: github.com/Sirupsen/logrus

The repo is still under construction, bear us with any build failures.

@tiny1990 what's version of your go that used for compile.
and can you try compile again after clear up go mod file($GOPATH/pkg)
by the way, i haven't come across this compile error.

@rambohe-ch  build with golang 1.14

github.com/Sirupsen/logrus is the old path, the author suggest "Anything using it should be updated to import and require github.com/sirupsen/logrus." . I think we can change as github.com/sirupsen/logrus, because this change can run in go version >= 1.13.

@rambohe-ch
in order to isolate host GOPATH , build in container.
if i run command docker run -it  --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.13 go mod vendor
logs.
go: github.com/alibaba/openyurt/cmd/yurt-controller-manager/app imports
	k8s.io/apiserver/pkg/util/term imports
	github.com/docker/docker/pkg/term imports
	github.com/docker/docker/pkg/term/windows imports
	github.com/Sirupsen/logrus<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: github.com/sirupsen/logrus
	        but was required as: github.com/Sirupsen/logrus

so we need replace github.com/Sirupsen/logrus => github.com/sirupsen/logrus
and run command docker run -it  --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.13 make.
logs
build github.com/alibaba/openyurt/cmd/yurtctl: cannot load github.com/googleapis/gnostic/OpenAPIv2: module github.com/googleapis/gnostic@latest found (v0.4.1), but does not contain package github.com/googleapis/gnostic/OpenAPIv2

so. i think we need replace two package
github.com/googleapis/gnostic and github.com/Sirupsen/logrus

@tiny1990 thanks for filing the issue. I have changed the github.com/googleapis/gnostic to v0.3.1. It should work now.


How to add new user role.

Hi, jedireza,
Just like your wiki page 'https://github.com/jedireza/aqua/wiki/Users,-Roles-&-Groups' said, 'Admin' and 'Account' are just like a user role. And we can have more than two role in system. I'm not sure my understand is correct. Does that you mean the system has ability to easily create new role? with little code？
I have take a look in source code, I found that Admin, Account and User are store in different tables, and there have server different apis and pages to support them. That means, I need create a serials of pages and apis if I want support more than two roles? Am I correct?
Thanks for your time.

That means, I need create a serials of pages and apis if I want support more than two roles? Am I correct?

Yes

I see. Thank you.


Fix two MacOS bugs

There were two bugs left open after @ashare80's pr adding MacOS support was merged:

the layers weren't laid out after the drawable was set. I can't recall if invalidateIntrinsicContentSize()  was there before I made that comment, so I'm gonna add a needsLayout = true call to make sure
NSColors need to be manually converted to the right color space before calling getRed(blue: green: alpha:) or they will assert.

This pr addresses both those issues.

 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.


Much more detail and context needed

Please provide viable examples of each upgrade scenario, including in dept explanations for when to apply it, and when not to.
I am currently very much in doubt about upgrades, but i suspect that i need to use TableSyncSetup somehow. However i don't know if it really does what i need, if it can be used for extensions, or if i should look at any of the other options here instead.

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

ID: 126a27df-4ebf-8a18-cb19-cf48b9affd9a
Version Independent ID: 3ad1e8d3-365c-1b61-96b6-56d95a6a4a5a
Content: MethodType Property (Upgrade Codeunits) - Business Central
Content Source: dev-itpro/developer/devenv-methodtype-property-upgrade-codeunits.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: solsen

Hello, thanks for your feedback. We currently have this documentation on upgrading extensions. We will add a task to look into what else is needed to cover the extensions upgrade scenarios. Thanks.

So, that's it? Nothing has happened since this was reported. The topic is really not sufficient, so please get on with it.

This is still on our radar, for visibility, we've reopened the issue. Thanks.

Thanx

Hello, please, are there any news? I think it's really important to provide some details and examples to explain better this very important area.

This direly needs fixing. I cannot find any info on how to replicate the C/AL way of setting a function in an upgrade codeunit to TableSyncSetup. There is the MethodType Property doc, which says:

Sets the type of method in an upgrade codeunit.
Applies To
AL methods on upgrade codeunits. An upgrade codeunit is codeunit that has the SubType Property (Codeunit) set to Upgrade.

but that is not available in the autocomplete properties and does not work if typed... so what on Earth is it??
Does this functionality simply not exist anymore, and no one bothered to document its removal/replacement?
Should I instead use the OnCheckPreconditionsPerDatabase() trigger in the Upgrade codeunit? Who knows!

re the above, it seems MethodType is just gone in BC >14, so see here
https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb/issues/959#issuecomment-933496721


add parseXML() GREL function

Is your feature request related to a problem or area of OpenRefine? Please describe.
with parseHtml() you can parse XML in GREL. But I it is not perfect, because Jsoup interprets the string as HTML : it adds html and body elements, puts the element names in lowercase, change the encoding of accented letters...
Ex :
'<?xml version="1.0" encoding="UTF-8"?>mon corps<SOUL>mon âme</SOUL>'.parseHtml()
Resulting tree :
<?xml version="1.0" encoding="UTF-8"?>

  mon corps
  <soul>
   mon âme
  </soul>

So in this example, getting the  element of my XML won't work well, because of the  added by the parser:
```'mon corpsmon âme'.parseHtml().select ('BODY')````
Result:
[

 mon corps
 <soul>
  mon âme
 </soul>
 ]

Describe the solution you'd like
It seems that Jsoup library can have an option for using a XML parser instead of a HTML one : https://jsoup.org/apidocs/org/jsoup/parser/Parser.html#xmlParser--
So, would it be possible to implement that in Openrefine, for example by creating a new parseXML() function, based on Jsoup but using a XML parser ?  Or maybe by adding option in parseHTML() ?
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Ouch, this current behavior is just awful! What you are proposing makes a lot of sense to me.

I let the java guys writing something, I don't know the language ;-)
Note that Jsoup version used in Openrefine seems very old, so maybe it is necessary to update it to use the xml parser.

I've started some work on this
@msaby would you be able to give some test cases for parsing XML that I could include as tests to make sure this works as desired?

Hi
What do you think of this valid XML for testing?

John Doe
head1
head2
nice body

Héloïse Dupont
head3
nice body

I am not sure about the tests, but it could be something like this:
value.parseXML().select("foaf|Person")  -> an array with the 2 elements foaf:Person
foreach(value.parseXML().select("foaf|Person foaf|name"),x,innerHTML(x) ).join(|) -> "John Doe|Héloïse Dupont"
foreach(value.parseXML().select("foaf|Person head"),x,innerHTML(x) ).join(|) ->"head1head2head3"
value.parseXML().select("BODY")[1]-> "nice body"
value.parseXML().select("foaf|homepage[rdf|resource]")[0] -> "http://www.example.com"
Note that the name of innerHTML() could be strange if parseXML() is created. Maybe it is possible to create innerXML() that would just be an alias of innerHTML? Same for other ...HTML functions?

Ahhh. Github stripped my XML. here his a screenshot

<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    <foaf:Person>
        <foaf:name>John Doe</foaf:name>
        big head
        nice body
        <foaf:homepage rdf:resource="http://www.example.com"/>
    </foaf:Person>
    <foaf:Person>
        <foaf:name>Héloïse Dupont</foaf:name>
        small head
        nice body
        <foaf:title/>
    </foaf:Person>
</root>

Thanks @msaby
So I think I can improve the code, but what I have working so far is:
value.parseXml().select("foaf|Person") ->
forEach(value.parseXml().select("foaf|Person foaf|name"),x,x.ownText()).join("|") -> John Doe|Héloïse Dupont
forEach(value.parseXml().select("foaf|Person head"),x,x.ownText()).join("|") -> head1|head2|head3
value.parseXml().select("BODY")[1].ownText() -> nice body
value.parseXml().select("foaf|homepage")[0].xmlAttr("rdf:resource") -> http://www.example.com

This is close, but not identical to what you suggest, but it is close. The main difference is that you need  to use ownText() to get the text content of an XML element, and xmlAttr uses the colon after the namespace not the pipe (this is different to 'select' but seems to be how JSOUP handles it by default so I'm not inclined to change it unless there is a strong argument for changing)
This all seems reasonable and useful to me. I'll start trying to tidy up the code (basically at the moment I've duplicated a lot of code which I'd prefer not to duplicate and I need to fix that)

For the pipe after the namespace, I saw that in Jsoup documentation, so I thought it was already the case for GREL functions based on Jsoup...

In Jsoup it seems a pipe char is used when selecting elements with a namespace, but not attributes. Hence:
value.parseXml().select("foaf|homepage")[0].xmlAttr("rdf:resource") -> http://www.example.com

ah ok. And it works already like that with parseHtml(). I have just tested

Closed by #1845.


PackageId:CPython39.Exe.x64;PackageAction:Install;ReturnCode:232;

This issue has been moved from a ticket on Developer Community.

Describe your issue here
===DO NOT EDIT BELOW THIS LINE===
PackageId:CPython39.Exe.x64; PackageAction:Install; ReturnCode:232;

Original Comments
Feedback Bot on 4/18/2023, 05:46 PM:
(private comment, text removed)

Original Solutions
(no solutions)

Hi there, from reading your logs, the "pipe is being closed" message suggests that there may have been a communication issue between the installation process and a sub-process or system resource.
To fix this issue, you can try the following solutions:

Restart your computer and try the installation again.
Temporarily disable any antivirus or firewall software and try the installation again.
Verify that you have enough disk space and memory to perform the installation.
Download the Python runtime directly from https://python.org/ and install it manually.
If the issue persists, please reopen the ticket.


QuotaStatementTest: fix the method invocation verification

Quota emails are send at start of the month, that triggered the sendQuotaAlert that was not getting invoked earlier.

LGTM, let's wait for Jenkins to finish (if it does not fail due to JVM issues)
cc @DaanHoogland

Please point the PR to 4.7 branch, as this suffers from the same issue.

jenkins passed this one, please point to 4.6 if it contains the problem as well ;)

@DaanHoogland Quota is not in 4.6 afaik.

@agneya2001 Please close this PR as #1306 is already merged.


Timeout from injected HttpClient ignored

I'm using injected HttpClients and want a default timeout for all request that are shorter (about 7 seconds) than what the default HttpClient has. I've changed the Timeout property before passing them to the generated clients constructors, but this value seems to be ignored. Making the same call manually with a bare-bones HttpClient respects the timeout I have set.

I don't see anywhere where NSwag resets that timout :
https://github.com/RicoSuter/NSwag/blob/baf4fe807d2a3d0d23f3388bebe8ca49c68e175b/src/NSwag.CodeGeneration.CSharp/Templates/Client.Class.liquid#L157
Have you tried to create a HttpRequestMessage manually and see if you have the same behavior ?


Drop pointer on remaining domain fields

Dropped remaining pointer on domain related fields within internal types.
Apart from the usual changes, this PR also includes 2 behavior changes:

When registering a domain, IsGlobalDomain flag will default to false if not specified. Currently it is explicitly checked for nil and an error returned. This can be debated though. I image this explicit error could be useful if we want to avoid silently creating local domains when user forgets the flag.
When registering a domain, ActiveClusterName will be checked against empty string instead of nil. CLI updated accordingly. This should not be a problem as both can be used to represent missing value which then would default to clusterMetadata.GetCurrentClusterName(). As empty cluster name is not required this should be ok.

Coverage increased (+0.1%) to 64.702% when pulling ae27a9e9daae0d3f4849e0ac39d0b8705f56687c on vytautas-karpavicius:drop-ptr-remaining-domain into 5ffd942d386e80e9e26820149914353e181303a0 on uber:master.

Yeah, I think defaulting to false is fine. I could see making it a nullable field so callers must specify it.... but supporting global at all is optional (e.g. local ones won't have it), so I don't really think it's necessary.
Can people delete their (local) domains and create a new global one with the same name, e.g. if there have been no workflows yet? Or is the name forever claimed?

It is possible to delete it directly from DB if there is no workflows yet, but there is no cli command to support that.


Add Findbugs to Maven build process

The current maven build does not include Findbugs which is a prerequisite for release.
As usual the first threshold is "Medium" to prevent swamping the project. If "Low" is possible with little additional effort then that should be met as early as possible.

Verified working against MBHD using FEST tests. Requires manual verification with real Trezor.
Ready for review and close.

This is working from a build and automatic test perspective so I'll close it and go ahead with the release.


Change pytest pre-commit to run on pre-push stage only, not pre-commit

I run tests before every push to the repo, as opposed to every commit, since I commit much more frequently. I lint on every commit, but test on every push.

Note: when opening PRs, make sure to add "Closes #" in the description. This way, issues are closed automagically when the PR is merged.


Folding or hiding long comment thread

Long comment threads can make scrolling extra tedious. Can we get an option to fold the comment thread to hide the individual comments?

It looks like the iframe is not scrollable when max-height is set on .utterances, so it looks like this is not possible until Utterances supports custom CSS.

I think folding is already implemented and is controlled by PAGE_SIZE in github.ts. Maybe it's useful to allow users to change it?
Setting PAGE_SIZE=1:

However, the issue with this is only PAGE_SIZE comments will be loaded when Load more is clicked, in the above case only 1. One solution could be setting load callback function in utterances.ts to load a certain number of comments instead of just a single comment page. But getting the numbers right could be fiddly.
Would this be desirable?

I think folding is already implemented and is controlled by PAGE_SIZE in github.ts. Maybe it's useful to allow users to change it?
Setting PAGE_SIZE=1:

However, the issue with this is only PAGE_SIZE comments will be loaded when Load more is clicked, in the above case only 1. One solution could be setting load callback function in utterances.ts to load a certain number of comments instead of just a single comment page. But getting the numbers right could be fiddly.
Would this be desirable?

That would be still better than nothing.


HAL-1893: Fix web tests

https://issues.redhat.com/browse/HAL-1893

The test run at https://github.com/hpehl/manatoko/actions/runs/6245848231 fails with different issues. The tests pass locally. @OndrejKotek what do you suggest?

We need the CI green to be able to rely on automated regression testing. I face the same problem on EAP CI: Majority of the failing tests pass with the local profile, the rest pass when also executing tests individually (test by test from a test case). This needs to be investigated, no luck on my side so far.


Support RNAcentral IDs when loading complex portal data

In the latest Complex Portal updated, one of the complexes contains an RNA.  The loading code wasn't expecting that so it failed:
process Complex Portal data file
.../complex_portal_pombe_data.tsv:39: can't find pombe ID for URS0001BBE0D5_4896

To fix tonight's load I've changed the script to warn rather than fail in this case.


User/regisb/fix mux release pipeline fragility5

The MUX-Release pipeline recently failed because of a robocopy fragility. Sometimes its process exit code isn't 0 even though it apparently succeeded. We already had a workaround in place for code 1 and 3 but not code 2.
In this case error code 2 was returned:  [error]Process completed with exit code 2.
So I am adding the same workaround.
The MergeNupkgParts.cmd script actually had succeeded earlier in the same pipeline, so it really is a fragility issue.

/azp run


Non-compliant definitions

Some definitions in FIBO seem do not follow the rules specified in https://github.com/edmcouncil/fibo/blob/master/ONTOLOGY_GUIDE.md#definitions: they are not sentence parts ("definientia"), but full sentences or even "sentence sequences".
Using some simple NLP technique one can identify some of them - see the attachments, which refer to Q1 2022 release.
incongruent_class_individuals_in_2022_Q1.xlsx
incongruent_class_definitions_in_2022_Q1.xlsx
I am thinking about incorporating the respective check to hygiene tests, although (i) it will not be a SPARQL query (ii) it may take some time before we implement it properly. So in the meantime we might fix at least some of the issues found.
Obviously, there are some false positives in the results, so the final check should by interpreted as a warning.

Most of the class definitions that are questionable are in provisional ontologies, though there are a few in production.

@mereolog Would you please re-run these tests on released ontologies only so we can see what's left? Some of these have been corrected I think.

Here they are - from the latest commit:
possible_incongurent_definitions_for_individuals_20230208.xlsx
possible_incongurent_definitions_for_classes_20230208.xlsx

@mereolog Would you please re-run these tests again so that I can address anything remaining in production in Q2, and then maybe close this? Thanks!

@mereolog Would you please re-run these tests again so that I can address anything remaining in production in Q2, and then maybe close this? Thanks!

Here you are:
possible_incongurent_definitions_for_classes_20240425.xlsx


Improvements to target_delay conversion

target_delay has 2 values for setting the delay for some reason. The delay key takes priority over wait if both are set. If neither are set, it defaults to 1.

Can you also safely remove the target_delay entity after converting it? I am seeing some invalid entity errors on maps like precision2.


update readme with webhook walkthrough

Updated the FAQ section with info on how to test the webhook

@caseywatson Please review when you can and let me know if you have any suggestions


Capitalize properties in the remote inspector

This makes property casing consistent with the editor.
If property capitalization is disabled in the Editor Settings, the remote inspector will also disable capitalization.
Preview

This was done this way on purpose, so that the remote inspector shows the property names that you are modifying from code. I'm not against changing it but that requires discussion.

@Calinou Is this still desired? If so, it needs to be rebased on the latest master branch.

@Calinou Is this still desired? If so, it needs to be rebased on the latest master branch.
When it comes to "so that the remote inspector shows the property names that you are modifying from code", note that we also have the option to hover over each property to get the in-code name, just like in the local inspector.

I think this should go through (after rebase) unless @Faless has anything against it.

Cherry-picked for 3.4.


JupyterLab widgets fail to render if user tries to install compute explicitly

Problem
The UI breaks If the user tries to install cybergis-compute-python-sdk on top of the version that's already provided by running following cell.
import sys
!{sys.executable} -m pip install --ignore-installed git+https://github.com/cybergis/cybergis-compute-python-sdk.git

This is happening due to dependency conflicts as seen in the output for the pip command

Proposed Solution
Ask users to restart their container and avoid installing the cybergis-compute-python-sdk explicitly.

It's hard to tell exactly what causes this problem. It could be:

reinstalling dependencies (jupyter, ipywidgets, etc.)  cause conflicts between themselves.
reinstalling those dependencies clash with the Jupyter environment you're running in
reinstalling those dependencies create issues within our code

I recommend using the following to install from now on so as to not install new versions of the dependencies:
pip install --force-reinstall --no-deps git+https://github.com/cybergis/cybergis-compute-python-sdk.git

As you noted, for users on CyberGISX, we recommend restarting your container by going to "File" -> "Hub Control Panel" -> "Stop My Server". Once it stops, restart it. This works because we have configured pip to install packages into non-persistent storage by default.
Also note that the Python 0.9.0  kernel has our SDK installed by default, so this pip install is only necessary if you need a particular version of the code.
Thank you for documenting this problem. Since we have a couple of solutions that work to resolve the problem (restart container and use the flags mentioned above), I'm going to close it for now.


suggest to create data package for 3d model for holotype of

as presented by Sanaa El-Sayed at Digital Data in Biodiversity Research 2023 - 2023-06-05
in
Before the Pharaohs: Breaking New Ground in the Study of Egypt's Ancient PrehistorySanaa El-Sayed, Co-founder of the
Before the Pharaohs: Breaking New Ground in the Study of Egypt's Ancient Prehistory
Sanaa El-Sayed, Co-founder of the Mansoura University Vertebrate Paleontology center (MUVP), Mansoura University, Egypt & Department of Earth and Environmental Sciences, University of Michigan, USA
Click for Bio

see also


Add Astro as a framework too?

Hello,
Should Astro (https://astro.build/) be added also as a js framework too maybe?
On their site they call themselves as "The web framework for content-driven websites"

Hi, thanks for the notice! You're totally right. I just added it, so this should be fine.


Update dependencies

Is your feature request related to a problem? Please describe.
Update dependencies of the API. Remember, the API provide all the necessary to run in local.
Describe the solution you'd like
Use the command of yarn to update the dependencies
yarn upgrade-interactive

Describe alternatives you've considered
None

Hi, can I take this issue

Sure, thanks!

Hi @inomag, if you're busy, I can take this issue. Please, just let me know.

@Jadhielv Yes sure.

@itsalb3rt I can take this issue.

Sure, go.


[BUG] Product List SelectedRefinements shows refined attribute Value not Display Value

Summary
When refining by an attribute the value(s) selected are displayed in a breadcrumbs-like component SelectedRefinements. However the value displayed in the box is not the display value (as clicked in the refinements list) but the raw value. This may not necessarily be the same as the display value and often isn't. The raw value may be an opaque value to customers or possibly a value not intended for the given locale (i.e. display value is the localized form). Typically you will see this with enum-of-strings attribute types.
Steps To Reproduce

Visit https://pwa-kit.mobify-storefront.com/us/en-US/category/electronics?limit=25&sort=best-matches
Refine by "Type -> Internet"
See the raw "0030" value which represents "Internet" in the product data.

Expected result
See "Internet" in the selected refinement component.
Actual result
0030 seen
System Information (as applicable)
Browser:
Node version:
pwa-kit version:
Desktop OS:
Mobile Device Info:
Additional information

I could not replicate this on the current deployment on https://pwa-kit.mobify-storefront.com.
Closing as the issue seems to have been resolved.


Add persistence to services.

Suppose a user has deployed a Jupyter notebook as a service attached to some commit1 on repo.
Then a new commit, commit2 gets created on the repo. The user would like to be able to redeploy the notebook on the new data. For this they need to be able to persist the notebook somewhere (Jupyter will write the notebook to disk for you) and then get restarted with that data available to it.
On the face of it, it seems like persistence in services can use the same mechanism as persistence in pipelines. Ie your service can write data out to /pfs/out and then the next version of your service can read that data from /pfs/prev. Maybe a little kludgy but it seems to be pretty close to the right idea.

Another use case we should be considering in this issue is how to make these workflows collaborative. It probably doesn't require much different than the initial issue. If we can check point and restore a jupyter notebook then we should be able to restore 2 copies of it to let people collaborate.


Formating docstring

Here is a draft to make sure all docstrings in our project uses the same convention, we have decided to use the Numpy Style Python Docstrings.
Example here:  https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_numpy.html#example-numpy
Here's the result before merging it on the main repos : https://ando-test.readthedocs.io/en/enh-doc_standardisation/
Feel free to add documentation where it's needed.
Happy coding.

Hello @Slowblitz! Thanks for opening this PR.

In the file ando/tools/generator/AnDOGenerator.py:

Line 30:101: E501 line too long (178 > 100 characters)
Line 32:101: E501 line too long (127 > 100 characters)
Line 45:101: E501 line too long (117 > 100 characters)
Line 79:101: E501 line too long (112 > 100 characters)
Line 277:1: W293 blank line contains whitespace
Line 280:28: W291 trailing whitespace
Line 282:38: W291 trailing whitespace

Do see the Hitchhiker's guide to code style

Pull Request Test Coverage Report for Build 733312979

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 41.093%

Files with Coverage Reduction
New Missed Lines
%

ando/tools/generator/AnDOGenerator.py
2
0%

Totals

Change from base Build 722690554:
0.0%

Covered Lines:
203

Relevant Lines:
494

💛  - Coveralls

Thanks for the update  and sorry for not changing the doc style already when porting the generator code...
Do you have a readthedocs test project somewhere so we can already see the result of these changes online?

@JuliaSprenger Yes I've updated in the main description at the top but here it is : https://ando-test.readthedocs.io/en/enh-doc_standardisation/

Can you please also substitute the bit.ly link by the 'official' BIDS/BEP032 link?

Hi @Slowblitz!
Here a first list of things I noticed when scanning the documentation. We should also thing about harmonizing variable names at some point, e.g. path, dirpath, dir...

[ ] The ando.AnDOChecker.search method has no docstring yet.
[ ] ando.AnDOChecker.is_valid needs a more specific return description: it returns a tuple of size 2, the first entry being the bool value, the 2nd a list
[ ] ando.AnDOChecker.main() has inconsistent names in the example: path and directory is the same variable
[ ] ando.AnDOChecker.main() optional arguments should be ideally represented as a list and not one long string
[ ] The google doc link in the ando.AnDOChecker.is_valid docstring needs to be replaced by to the BIDS/BEP032 link
[ ] AnDOData.validate has mixed up documentation of returns: and return type.
[ ] AnDOData.register_data_files docstring is missing a space between files and are
[ ] AnDOData.register_metadata_files needs a docstring
[ ] AnDOData Parameter example for ses_id is invalid as it contains -

"The google doc link in the ando.AnDOChecker.is_valid docstring needs to be replaced by to the BIDS/BEP032 link " the link is already the BEP's one for me or is there an other link ?

here is the link to be used (cf our discussion on mattermost):
https://bids.neuroimaging.io/bep032

Thanks !

Can you add also the missing docstring to the register_metadata method? Something like
`        """
Register metadata with the AnDO data structure.
Parameters
----------
*files : path to files to be added as metadata files.
File content needs to be according with AnDO guidelines as files will only be moved to the their correct location based on the file name
"""

And I guess this PR is not a draft any more, but ready for review?

I went through the documentation on readthedocs again and found some more issues:

[ ] Main page: there are still 2 bit.ly links that needs to be replaced by the bids version
[ ] In the same paragraph there is another link to the bids get_involved page that can be removed and the surrounding text adjusted.
[ ] the copyright footer has to many parenthesis and apostropies
[ ] the example for the AnDOChecker.build_rule_regexp is not rendered properly.
[ ] the layout of the returns of the AnDOChecker.is_valid does not work properly
[ ] The documentation of AnDOChecker.search is not rendered complete, the parameters are missing. @Slowblitz are you sure the link represents the latest compilation with all current changes within this PR?

[ ] the link in AndOGenerator.AnDOData  is not rendered nicely, i.e. the link label is not used properly
[ ] generate_data_files() parameter description is missing a comma in Can be either ‘link’ ‘copy’ or ‘move’.
[ ] register_metadata_files() method has broken layout of the docstring - parameters are not recognized as parameters
[ ] AnDOGenerator.generate_Struct: Method name needs to be refactored to generate_struct for PEP8 compatiblity. Docstring is missing a dot at the end of the first sentence.  ESSENTIAL_CSV_COLUMNS = [‘sub_id’, ‘ses_id’] should read . Essential columns are 'sub_id' and 'ses_id'.
[ ] AnDOGenerator.main(): the two positional arguments should be listed in separate lines instead of squeezed in one.

Done =)


Package update for TheHive solution

Required items, please complete
Change(s):

Package update for TheHive solution

Reason for Change(s):

Playbooks add so we repackage the solution.

Version Updated:

2.0.2
See guidance below

Testing Completed:

https://microsoftapc.sharepoint.com/:w:/r/teams/SentinelCATTeam/_layouts/15/Doc.aspx?sourcedoc={49713C5F-10D3-49C8-A35D-D7DAFFFFE4BC}&file=Sentinel Solution Migration -TemplateSpec - The Hive with playbook testing.docx&action=default&mobileredirect=true&share=IQFfPHFJ0xDISaNd19r__-S8ARWCePFZdFBDiowmmw6kt90

It is in preview waiting for Kavish Bakshi

It is in preview waiting for Kavish Bakshi

It is in preview awaiting Kavish Bakshi's approval

Currently, it is in preview awaiting approval from Kavish Bakshi

It is in preview waiting for Kavish Bakshi

It is in preview waiting for Kavish Bakshi

preview waiting for Kavish Bakshi


create modal for monitoring file copying & fixes for previous solution [FIXED]

Hi guys,
made the percentage disappear at the same time as the spinner (as requested). I've pushed it to my webapp so you can check it out!

Hi @badescuga, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

@badescuga
thanks for the fix. just tried, mostly looks good. but notice one issue. If open modal dialog after reaching 100%. the Modal is empty.
see below two video for detail repro
http://1drv.ms/1G64fCH
http://1drv.ms/1G64ltO
(PS: Video in second link, i did two hard refresh ctrl+f5 at the beginning)

Am able to reproduce this. This is very probably caused by the lack of
updating the observable object. This didn't manifest itself till now
because the files that were transfered updated the observable object. At
100%, there is no one updating the observable.
Sorry for not debugging accordingly. Will have a fix shortly.
On Wed, Oct 14, 2015 at 9:53 PM, Xiaomin Wu<EMAIL_ADDRESS>wrote:

@badescuga https://github.com/badescuga
thanks for the fix. just tried, mostly looks good. but notice one issue.
If open modal dialog after reaching 100%. the Modal is empty.
see below two video for detail repro
http://1drv.ms/1G64fCH
http://1drv.ms/1G64ltO
(PS: Video in second link, i did two hard refresh ctrl+f5 at the beginning)
—
Reply to this email directly or view it on GitHub
https://github.com/projectkudu/kudu/pull/1740#issuecomment-148155348.

fixed the 100% issue. You can also check it out on my dev site.

@badescuga looks good. i will see if other ppl have any comments. if not i will integrate your changes. Thanks again for doing this.

My pleasure! Will start working on other stuff for the portal. I promise i'll be more careful with the ux, will stop testing it at 1 a.m. in the morning :).
If you'd like any specific feature, just let me know. I'm sure i can be of help!
On Thu, Oct 15, 2015 at 11:26 AM -0700, "Xiaomin Wu"<EMAIL_ADDRESS>wrote:
@badescuga looks good. i will see if other ppl have any comments. if not i will integrate your changes. Thanks again for doing this.
—
Reply to this email directly or view it on GitHub.

@badescuga
once you fixed my last comment. can you also do a "rebase -i" against our master branch, to combine all your changes into one?
i tried to integrate you PR, but there are some conflicts, i think will be good to let you resolve then.
once you did that i will integrate your PR into our master branch.

I rebased it and merged it.