🖌feat: ScrolltoBottom Style, 📱Settings tab now centered on mobile / selection fixed 🐞, 🌍 Updated Translation

Summary
Scroll button updated its style and moved its position to the middle as ChatGPT. Settings tab now centralized on mobile, fixed for light mode selection visibility, and updated Brazilian Portuguese translation.
Change Type

[x] ScrolltoBottom Style Updated
[x] Updated Settings Tab, layout, and Responsive.
[x] Selection Fixed for Light Mode

ScrolltoBottom:
Berfore:

After:

Settings Tab:
Before:

After:

@Berry-13 , do you think it would be interesting to create a pull request (PR) or implement one of the two updates I made in this same one: centralizing the settings tab on mobile for any device and fixing a bug where selecting the light mode doesn't display the chosen selection:
Before:

After:

@Berry-13 , do you think it would be interesting to create a pull request (PR) or implement one of the two updates I made in this same one: centralizing the settings tab on mobile for any device and fixing a bug where selecting the light mode doesn't display the chosen selection:
Before:

After:

yeah, that would be amazing!

I would say it's better to limit the scope of each PR

feat: ScrolltoBottom Style, 📱Settings tab now centered on mobile / selection fixed 🐞, 🌍 Updated Translation #1

Each of these should be their own PR.
Will review this soon, thank you

I would say it's better to limit the scope of each PR

feat: ScrolltoBottom Style, 📱Settings tab now centered on mobile / selection fixed 🐞, 🌍 Updated Translation #1

Each of these should be their own PR.
Will review this soon, thank you

Sure, no problem. I'll close this and create a specific one for each?

I would say it's better to limit the scope of each PR

feat: ScrolltoBottom Style, 📱Settings tab now centered on mobile / selection fixed 🐞, 🌍 Updated Translation #1

Each of these should be their own PR.
Will review this soon, thank you

Sure, no problem. I'll close this and create a specific one for each?

No worries, just for future reference!

Will be merging this later today!


Encode Failed (error 3)

I tried transcoding adding the  --handbrake-option encoder=x265 and received Error 3.
Without the x265 was able to transcode.
Here is my transcript:
`
transcode-video --handbrake-option encoder=x265 /Volumes/Untitled/Kubo_and_the_Two_Strings/Kubo_and_the_Two_Strings.mkv
[14:39:20] hb_init: starting libhb thread
HandBrake 0.10.5<PHONE_NUMBER>) - Darwin x86_64 - https://handbrake.fr
4 CPUs detected
Opening /Volumes/Untitled/Kubo_and_the_Two_Strings/Kubo_and_the_Two_Strings.mkv...
[14:39:20] CPU: Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz
[14:39:20]  - Intel microarchitecture Haswell
[14:39:20]  - logical processor count: 4
[14:39:20] OpenCL device #1: Intel Iris
[14:39:20]  - OpenCL version: 1.2
[14:39:20]  - driver version: 1.2(Dec  7 2016 18:50:33)
[14:39:20]  - device type:    GPU
[14:39:20]  - supported:      YES
[14:39:20] hb_scan: path=/Volumes/Untitled/Kubo_and_the_Two_Strings/Kubo_and_the_Two_Strings.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Volumes/Untitled/Kubo_and_the_Two_Strings/Kubo_and_the_Two_Strings.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /Volumes/Untitled/Kubo_and_the_Two_Strings/Kubo_and_the_Two_Strings.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/Volumes/Untitled/Kubo_and_the_Two_Strings/Kubo_and_the_Two_Strings.mkv) failed
[14:39:20] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[14:39:20] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Volumes/Untitled/Kubo_and_the_Two_Strings/Kubo_and_the_Two_Strings.mkv':
Metadata:
title           : Kubo and the Two Strings
Duration: 01:41:36.25, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0.000000, end 176.509667
Metadata:
title           : Chapter 01
Chapter #0.1: start 176.509667, end 430.630200
Metadata:
title           : Chapter 02
Chapter #0.2: start 430.630200, end 728.894833
Metadata:
title           : Chapter 03
Chapter #0.3: start 728.894833, end 1040.039000
Metadata:
title           : Chapter 04
Chapter #0.4: start 1040.039000, end 1300.799500
Metadata:
title           : Chapter 05
Chapter #0.5: start 1300.799500, end 1558.390167
Metadata:
title           : Chapter 06
Chapter #0.6: start 1558.390167, end 1931.596333
Metadata:
title           : Chapter 07
Chapter #0.7: start 1931.596333, end 2218.049167
Metadata:
title           : Chapter 08
Chapter #0.8: start 2218.049167, end 2553.551000
Metadata:
title           : Chapter 09
Chapter #0.9: start 2553.551000, end 2868.699167
Metadata:
title           : Chapter 10
Chapter #0.10: start 2868.699167, end 3047.711333
Metadata:
title           : Chapter 11
Chapter #0.11: start 3047.711333, end 3408.938867
Metadata:
title           : Chapter 12
Chapter #0.12: start 3408.938867, end 3776.305867
Metadata:
title           : Chapter 13
Chapter #0.13: start 3776.305867, end 4108.270833
Metadata:
title           : Chapter 14
Chapter #0.14: start 4108.270833, end 4360.689667
Metadata:
title           : Chapter 15
Chapter #0.15: start 4360.689667, end 4800.629167
Metadata:
title           : Chapter 16
Chapter #0.16: start 4800.629167, end 5062.257200
Metadata:
title           : Chapter 17
Chapter #0.17: start 5062.257200, end 5326.154167
Metadata:
title           : Chapter 18
Chapter #0.18: start 5326.154167, end 5569.564000
Metadata:
title           : Chapter 19
Chapter #0.19: start 5569.564000, end 6094.621867
Metadata:
title           : Chapter 20
Chapter #0.20: start 6094.621867, end 6096.256833
Metadata:
title           : Chapter 21
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR 16:9], 8100 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 1k tbn, 59.94 tbc
Metadata:
BPS-eng         : 6999977
DURATION-eng    : 01:41:36.256833333
NUMBER_OF_FRAMES-eng: 146164
NUMBER_OF_BYTES-eng:<PHONE_NUMBER>
SOURCE_ID-eng   : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.10.4 darwin(x86-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-12-29 18:11:52
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
Metadata:
title           : Surround 5.1
BPS-eng         : 448000
DURATION-eng    : 01:41:36.224000000
NUMBER_OF_FRAMES-eng: 190507
NUMBER_OF_BYTES-eng: 341388544
SOURCE_ID-eng   : 0180BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.10.4 darwin(x86-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-12-29 18:11:52
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.2(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title           : Stereo
BPS-eng         : 192000
DURATION-eng    : 01:41:36.224000000
NUMBER_OF_FRAMES-eng: 190507
NUMBER_OF_BYTES-eng: 146309376
SOURCE_ID-eng   : 0182BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.10.4 darwin(x86-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-12-29 18:11:52
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.3(eng): Subtitle: dvdsub (default)
Metadata:
BPS-eng         : 4328
DURATION-eng    : 01:32:29.969822222
NUMBER_OF_FRAMES-eng: 1241
NUMBER_OF_BYTES-eng: 3002806
SOURCE_ID-eng   : 0120BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.10.4 darwin(x86-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-12-29 18:11:52
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[14:39:20] scan: decoding previews for title 1
[14:39:20] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[14:39:20] scan: audio 0x2: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround)
[14:39:20] scan: 10 previews, 720x480, 23.976 fps, autocrop = 60/60/0/0, aspect 16:9, PAR 32:27
[14:39:20] libhb: scan thread found 1 valid title(s)

title 1:

stream: /Volumes/Untitled/Kubo_and_the_Two_Strings/Kubo_and_the_Two_Strings.mkv
duration: 01:41:36
size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
autocrop: 60/60/0/0
support opencl: yes
support hwd: not built-in
chapters:

1: cells 0->0, 0 blocks, duration 00:02:57
2: cells 0->0, 0 blocks, duration 00:04:14
3: cells 0->0, 0 blocks, duration 00:04:58
4: cells 0->0, 0 blocks, duration 00:05:11
5: cells 0->0, 0 blocks, duration 00:04:21
6: cells 0->0, 0 blocks, duration 00:04:18
7: cells 0->0, 0 blocks, duration 00:06:13
8: cells 0->0, 0 blocks, duration 00:04:46
9: cells 0->0, 0 blocks, duration 00:05:36
10: cells 0->0, 0 blocks, duration 00:05:15
11: cells 0->0, 0 blocks, duration 00:02:59
12: cells 0->0, 0 blocks, duration 00:06:01
13: cells 0->0, 0 blocks, duration 00:06:07
14: cells 0->0, 0 blocks, duration 00:05:32
15: cells 0->0, 0 blocks, duration 00:04:12
16: cells 0->0, 0 blocks, duration 00:07:20
17: cells 0->0, 0 blocks, duration 00:04:22
18: cells 0->0, 0 blocks, duration 00:04:24
19: cells 0->0, 0 blocks, duration 00:04:03
20: cells 0->0, 0 blocks, duration 00:08:45
21: cells 0->0, 0 blocks, duration 00:00:02

audio tracks:

1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
2, English (AC3) (2.0 ch) (Dolby Surround) (iso639-2: eng), 48000Hz, 192000bps

subtitle tracks:

1, English (iso639-2: eng) (Bitmap)(VOBSUB)
[14:39:21] 1 job(s) to process
[14:39:21] starting job
[14:39:21] Auto Passthru: allowed codecs are AAC, AC3, DTS, DTS-HD, MP3
[14:39:21] Auto Passthru: no valid fallback specified
[14:39:21] Auto Passthru: using AC3 Passthru for track 1
[14:39:21] work: mixdown not specified, track 2 setting mixdown Dolby Pro Logic II
[14:39:21] work: bitrate not specified, track 2 setting bitrate 160 Kbps
[14:39:21] sync: expecting 146163 video frames
[14:39:21] job configuration:
[14:39:21]  * source
[14:39:21]    + /Volumes/Untitled/Kubo_and_the_Two_Strings/Kubo_and_the_Two_Strings.mkv
[14:39:21]    + title 1, chapter(s) 1 to 21
[14:39:21]    + container: matroska,webm
[14:39:21]  * destination
[14:39:21]    + Kubo_and_the_Two_Strings.mkv
[14:39:21]    + container: Matroska (libavformat)
[14:39:21]      + chapter markers
[14:39:21]  * video track
[14:39:21]    + decoder: mpeg2video
[14:39:21]      + bitrate 8100 kbps
[14:39:21]    + filters
[14:39:21]      + Framerate Shaper (1:27000000:1126125)
[14:39:21]        + frame rate: 23.976 fps -> constant 23.976 fps
[14:39:21]      + Crop and Scale (720:480:0:0:0:0)
[14:39:21]        + source: 720 * 480, crop (0/0/0/0): 720 * 480, scale: 720 * 480
[14:39:21]    + strict anamorphic
[14:39:21]      + storage dimensions: 720 * 480, mod 0
[14:39:21]      + pixel aspect ratio: 32 / 27
[14:39:21]      + display dimensions: 853 * 480
[14:39:21]    + encoder: H.265 (libx265)
[14:39:21]      + preset:  medium
[14:39:21]      + options: vbv-maxrate=2000:vbv-bufsize=1000:crf-max=25:qpmax=34
[14:39:21]      + profile: high
[14:39:21]      + quality: 1.00 (RF)
[14:39:21]  * audio track 1
[14:39:21]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[14:39:21]      + bitrate: 448 kbps, samplerate: 48000 Hz
[14:39:21]    + AC3 Passthru
[14:39:21]  * audio track 2
[14:39:21]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[14:39:21]      + bitrate: 448 kbps, samplerate: 48000 Hz
[14:39:21]    + mixdown: Dolby Pro Logic II
[14:39:21]    + encoder: AAC (Apple AudioToolbox)
[14:39:21]      + bitrate: 160 kbps, samplerate: 48000 Hz
[14:39:21] reader: first SCR -2970 id 0x0 DTS -2970
[14:39:21] encx265: unknown option 'qpmax'
x265 [error]: unknown profile
ERROR: Failure to initialise thread 'H.265/HEVC encoder (libx265)'
[14:39:21] reader: done. 1 scr changes
[14:39:21] render: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[14:39:21] render: lost time: 0 (0 frames)
[14:39:21] render: gained time: 0 (0 frames) (0 not accounted for)
[14:39:21] mpeg2video-decoder done: 0 frames, 0 decoder errors, 0 drops
[14:39:21] libhb: work result = 3

Encode failed (error 3).
HandBrake has exited.
/usr/local/bin/transcode-video: transcoding failed: /Volumes/Untitled/Kubo_and_the_Two_Strings/Kubo_and_the_Two_Strings.mkv
`

@principalbean Thank you for including your error log! It indicates that you're using HandBrake version 0.10.5, which does not properly support the x265 HEVC encoder.
As it says in my "README" document, here:
https://github.com/donmelton/video_transcoding#when-will-you-add-support-for-h265-video
... Experimental HEVC transcoding should only be attempted with HandBrakeCLI nightly builds from September 29, 2016, or later.
The good news is that the HandBrake development team just released version 1.0.0 on Christmas which also contains proper support. See:
https://handbrake.fr/news.php?article=37
I'll close this now as I consider the issue resolved but feel free to comment here.


Preserve ordering of annotations in the SVG?

Hi! Annotorious is a fantastic library, and our team has found it very useful for visualizing ML model predictions.
We've noticed that the order of annotations passed to anno.setAnnotations() is not preserved in the generated SVG. Is this intentional? If so, is there a way to use the same ordering as the original array of annotations?
Our use case is that we also display labels above each annotation with the shape labels plugin, and since the labels sometimes overlap, we'd like them to stack/draw in a specific order for readability.

Hi!
Thanks! Yes, the shuffling is intentional - and I'm afraid there's no way to change it in Annotorious, except for forking it.
Annotorious sorts the shapes by size, and then stacks them so that the largest shape is at the bottom (added to the SVG first), and the smallest shape is at the top (added last). This way, no large shape will overlap a smaller shape, and all the shapes remain clickable.
If forking is an option for you, however, the change would be fairly simple (I think). Should take much more than commenting out this section in the annotation layer (or remove every call to the redraw() function).
The other alternative would be to switch to the OpenSeadragon version of Annotorious. This doesn't do any reshuffling, because it handles hit/hover detection in a different way (querying a spatial index instead of relying on mouse events.)
Hope this helps!

Thanks for the quick reply! Your explanation of how the ordering algorithm works was quite helpful.
We found a workaround by re-ordering a selected annotation to the "top" of the SVG so the label is always visible (and reseting it to its original position when deselecting). This preserves clickability and readability in our use case.

Hi @rsimon, quick follow-up question:
We switched to the OpenSeadragon version of Annotorious to be able to use zooming. You mentioned that

it handles hit/hover detection in a different way (by querying a spatial index instead of relying on mouse events.)

I just wanted to confirm that the order of .a9s-annotation elements in the SVG no longer affects hovering and clicking? This seems to be the behavior we observed during testing.

Hi, yes that's right. The order of the SVG elements in the DOM is irrelevant to hit detection in the OSD version.

Thanks for confirming! This is really useful, we no longer need to reset annotations "to its original position when deselecting" anymore.


Added TOIL_AWS_KEYNAME

The AWS keyname was hard coded to Jenkins. This PR sets the keyname by an environment variable.

Jenkins, test this please

Jenkins, test this please,

Jenkins, test this please


Please wait on itemUpdate

Hi,
I am calling updateItem as below however every so often the grid gets stuck with a "please wait" message, i'm assuming that this is because the function is supposed to return the updated item as a JSON object? The page the ajax calls should already return the object however when changing this function to return the ajax call all the fields within the grid are blank, any ideas on why this might be happening?
updateItem: function(item) {     updateCostSell();     $.ajax({         type: 'POST',         url: '<url>',         data: 'ID=' + item.ID + '&desc=' + encodeURIComponent(item.Description) + '&qty=' + encodeURIComponent(item.Quantity) + '&crate=' + encodeURIComponent(item.CostRate) + '&markup=' + encodeURIComponent(item.SellingMarkup) + '&srate=' + encodeURIComponent(item.SellingRate) + '&charge=' + encodeURIComponent(item.Chargable) + '&tsheet=' + " + TimesheetID + @"     }); },
returned json:
{"ID":1497,"EditAll":true,"Description":"Material","Quantity":2,"CostRate":0,"SellingMarkup":10,"SellingRate":0,"Chargable":0,"isMaterial":true,"isMileage":false}

Hi,
If you have async ajax request in the updateItem method, you should return a deferred that will be resolved with the resulting data. In your case just write return $.ajax..., since $.ajax already returns deferred.

I've tried doing that however all the columns in the grid row then go blank, I then tried wrapping my ajax call in a console.log but all it seems to return is {readyState: 1}

Try the following code to see if your request is done properly (check the data field, it looks incorrect):
updateItem: function(item) {
	var d = $.Deferred();

	updateCostSell();
	$.ajax({
		type: 'POST',
		url: '<url>',
		data: 'ID=' + item.ID + '&desc=' + encodeURIComponent(item.Description) + '&qty=' + encodeURIComponent(item.Quantity) + '&crate=' + encodeURIComponent(item.CostRate) + '&markup=' + encodeURIComponent(item.SellingMarkup) + '&srate=' + encodeURIComponent(item.SellingRate) + '&charge=' + encodeURIComponent(item.Chargable) + '&tsheet=' + " + TimesheetID + @"
	}).done(function(result) {
		console.log("done", result);
		d.resolve(result)
	}).fail(function() {
		console.log("fail");
		d.reject();
	})

	return d.promise();
},

Still not sure exactly how promises work but that seems to be working perfectly thanks!


Payout Prince Mendiratta for reporting Magic code bug

Slack bug report: https://expensify.slack.com/archives/C049HHMV9SM/p1675264680096279
Led to my fix PR: https://github.com/Expensify/App/pull/14730
Bug report reward due 👍

@tjferriss I filled out the checklist because this is a bug from my PR, and we fixed it already

It might be obvious, but I'm asking for a clarification on how to process this payment in Slack as I've never paid out a one off bug report like this: https://expensify.slack.com/archives/C01SKUP7QR0/p1675365431742829

@Prince-Mendiratta I've created the job post here: https://www.upwork.com/jobs/~01a36f98b52369fc1e
Can you please apply so that I can process the payment

@tjferriss Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@tjferriss Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@tjferriss Whoops! This issue is 2 days overdue. Let's get this updated quick!


Broken generation: if string contents "https"

https://github.com/shuchkin/simplexlsxgen/blob/4f375a4c30adc1d6eed2f3d1032d6673e1d607a0/src/SimpleXLSXGen.php#L499
If I try to save a string like this '\"https://test.rexx.com/de/vpos\"' the file will be broken.

I didn't debug deep, but the commenting SimpleXLSXGen.php file lines from 499 to 502 helps.

try 1.0.12


Build Definition for Notebooks

Build which runs all notebooks through pytest

Currently, the notebooks aren't working:
https://dev.azure.com/responsibleai/fairlearn/_build/results?buildId=435

Once the build is working, we should probably make this build happen for PRs (and be required)


Adding unit test for parseAlignment() function

Codecov Report

Merging #50 into master will increase coverage by 28.93%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           master      #50       +/-   ##
===========================================
+ Coverage   36.01%   64.95%   +28.93%
===========================================
  Files           6        6
  Lines         311      311
===========================================
+ Hits          112      202       +90
+ Misses        199      109       -90

Impacted Files
Coverage Δ

R/prepareHLAdb.R
90.22% <100%> (+47.7%)
:arrow_up:

R/splitTyping.R
100% <0%> (+100%)
: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 4c744f7...f8f1982. Read the comment docs.


Issue: stream.AddFollow(user);

Hello linvi. Can you please tell me how can I get the tweets of some other user.
I found this would help me
stream.AddFollow(user);
but i dont know the userID of the user whose tweets I want. So i thought I could go with user parameter. How can I use ths parameter. (Or if yo could tell me how to get the userID of some other user's account)
Thank you in advance.

You have different solutions to get the tweets from user.
First you can get a user from his screename :
IUser tweetinviapi = User.GetUserFromScreenName("tweetinviapi");
long tweetiniviapiId = tweetinviapi.Id;

Or you can get a user from your list of followers :
IUser authenticatedUser = User.GetAuthenticatedUser();
List<IUser> myFollowers = authenticatedUser.GetFollowers().ToList();

Or you can even search for them :
List<IUser> tweetinviUsers = Search.SearchUsers("tweetinvi").ToList();

When you have found the id OR screename of the user that you are interested in, you can then request their tweet using the Timeline.GetUserTimeline().
// From screename
var tweets = Timeline.GetUserTimeline("tweetinviapi").ToList();

// From id
var tweets = Timeline.GetUserTimeline(42).ToList();

Differently from the Timeline which allow you to get all the tweets posted up to now, the FilteredStream will allow you to receive the tweets posted by the user in live.
I hope this helps.

okay. thank you.
Another question I have is:
What is the maximum number of tweets that I can get from other user's account?
For example I need to fetch almost 500 latest tweets from other account.  But by using tweetinvi, i am able to collect almost 160-200 tweets.

Hello,
I would suggest that you iterate over the user timeline and set the MaxId parameter.
Below you will find a sample solution to do what you want but I would suggest that when you receive less than 200 tweets you perform the test a second time because Twitter not always return the number of tweets requested.
var authenticatedUser = User.GetAuthenticatedUser();

var timeline = Timeline.GetUserTimeline(authenticatedUser, 200).ToList();
var entireTimeline = timeline.ToList();

while (timeline.Count == 200)
{
    var lowestId = timeline.Min(x => x.Id);

    timeline = Timeline.GetUserTimeline(authenticatedUser, new UserTimelineParameters()
    {
        MaximumNumberOfTweetsToRetrieve = 200,
        MaxId = lowestId
    }).ToList();

    entireTimeline.AddRange(timeline);
}

Also note that you have to be vigilant to the rate limits.

Please let me know if this helped.

Yes it worked for me :) Thank you so much for your help, seriously.


How to quickly split an element into multiple elements？

How to quickly split an element into multiple elements by taking a text substring in an element as a separating element
for example：
source element：
012345678

separate substrings：567
objective element：

01234

567

8

Hello @NodeGreenHand ,
Your images don't work.
As asked when creating the issue, we would like to have a runnable example which at least starts your example, that will save us some time instead of redoing what you already did.
Best Regards,
Jon

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Hello
Your images don't work.
As asked when creating the issue, we would like to have a runnable example which at least starts your example, that will save us some time instead of redoing what you already did.
Best Regards,
Jon

Hello @JonathanMagnan
The problem has been revised. Please give me an idea, 3Q
Best Regards,
NodeGreenHand

Hello @NodeGreenHand ,
Besides doing something manually on your side, there is no method shortcut that allows you to do exactly what you want to do

Hello @JonathanMagnan
Q1：Which basic operation methods are the fastest in HAP？
Q2：
HtmlNode node = HtmlNode.CreateNode("
123
")；
HtmlNode span = node.FirstChild；
HtmlNode newSpan = HtmlNode.CreateNode("")；
newSpan.AppendChild(span)；
node.RemoveAllChildren()；
node.AppendChild(newSpan)；
Why? span.XPath The value of is wrong
Best Regards,
NodeGreenHand

Got it this time ;)
The problem is that you append an existing node to another parent, but the old parent keep referencing them, so when you do: pNode.RemoveAllChildren();, it removes children which is also under the aNode.
When appending an existing node, you should instead clone it.
For example, something like this:
HtmlNode aNode = HtmlNode.CreateNode("");

// pNode.ChildNodes.ToList().ForEach(x => aNode.AppendChild(x.CloneNode(true)));
var childNodes = pNode.ChildNodes;
spanNode1 = childNodes[0].CloneNode(true);
spanNode2 = childNodes[1].CloneNode(true);

Console.WriteLine("the first child parent node is aNode：{0}; xPath is：{1}", aNode == spanNode1.ParentNode, spanNode1.XPath);
Console.WriteLine("the second child parent node is aNode：{0}; xPath is：{1}", aNode == spanNode2.ParentNode, spanNode2.XPath);

aNode.AppendChild(spanNode1);
aNode.AppendChild(spanNode2);

Since they are cloned, they are not the same node as the one referenced in the pNode.
So the output is now right:
the first child parent node is null:False; xPath is:/p[1]/a[1]/span[1]
the second child parent node is null:False; xPath is:/p[1]/a[1]/span[2]

Let me know if that explains correctly your current issue and the solution.
Best Regards,
Jon

Hello @JonathanMagnan
Although this idea can solve this problem, it is not my ideal solution.
In my application scenario, such operations are frequently performed. If deep copy is carried out every time, it will be time-consuming, and I need to be more efficient.
Therefore, in this case, can we change the logic in the removeallchildren() function to transfer the previously referenced element to another element directly, and all the data is correct
I think that's the best solution. What do you think?
Best Regards,
NodeGreenHand

We will look at it,
What you are asking is a kind of StealChildren method (I will have to come with a better name but you get the idea hehe).

Hello @JonathanMagnan
Should it be more efficient，hehe
Best Regards,
NodeGreenHand

Hello @JonathanMagnan
In fact, to put it simply, it is to add a new function. The function is to "insert a child element into the parent element and move all the child elements of the original parent element to the new child element at the same time."
In this new function, use the idea I said, so it's perfect
Best Regards,
NodeGreenHand

Hello @NodeGreenHand ,
The v1.11.32 has finally been released.
We added in this version the MoveChild and MoveChildren methods.
So instead of doing AppendChildren, you should now use MoveChildren if you wish that the node get also removed from the parent.
Let me know if that works as you would have wanted.
Best Regards,
Jon

Hello @JonathanMagnan
Thank you very much for taking my advice. I'll let you know if it's what I want after I test it.
Best Regards,
NodeGreenHand

Hello @NodeGreenHand ,
A simple reminder that we are here to assist you!
Don't hesitate to contact us once you test it!
Best regards,
Jon


bypass permission not working

So I set fly as deny on my main world and then I gave the permission "worldguard.region.bypass.villes.global.fly" for the vips but they still can't fly

You should do it other way around, set fly as allow and give non vips the bypass permission


I have written a brief lie text document for Bryce Summers

I am using this opportunity to practice making a pull request.

Do you want to try and do this in a branch?


Cleanup: drop or improve pl.url

This module currently has extremely minimalistic features. Either is hsould be deprecated in favor of specialized libraries, or alternatively (since urls are very commonly used in many applications today) it should be updated to get a more feature rich implementation

Related, from the author of curl: https://daniel.haxx.se/blog/2022/01/10/dont-mix-url-parsers/

That sounds like you're in favor of dropping the module @alerque ?

Ha, maybe. I guess it depends a little bit on what the alternatives are. One reason I was strongly in favor of dropping the XML module is there were so much better options available in the Lua ecosystem, hence I didn't think it was worth any effort to fix or develop. If there are not solid upgrades for anybody that might be using pl.url module now I would not want to see it dropped until there was something at least as good or better that was easy to migrate too and proven to be robust across different platforms.
I guess the point of dropping that link was just to point out that in spite of being a "small" feature it is not that easy to get right. That goes for whether we work on improving the module or supporting an alternative.
Do we have any internal dependencies on pl.url?

a quick search did not show any dependencies. I was thinking of maybe copying an existing implementation and enable it for more flexible use, like luasocket one.


Binder

This PR

Adds infrastructure to run neo4j-community in binderhub
Adds notebook populating the database (note that we cannot create a db with the community edition)
Adds support for GitHub action so the but gets tested automatically see https://github.com/jburel/Neo4J-graph/actions/runs/785616068

This was done prior to @agiani99 changes to file uploading the persons. Some adjustments will be required.
cc @agiani99 @YojanaGadiya

Thanks @YojanaGadiya

@jburel @agiani99 Going to merge this branch and see what the binder looks like. Further we can discuss the things on Thrusday


added fill mode and var rename tests

Fixes #379.
Fixes #742.
Fixes #800.
The fill mode issue has actually been fixed for some time thanks to @wkliao. This PR adds a test which confirms that this works and continues to work.
The other test confirms that names are utf8 normalized during variable renames.
Also added documentation of attribute reserved names to users guide.

Isn't this already in docs/attribute_conventions.md

Fair enough. Want me to remove what I just added to the user manual?

Assuming the attribute-conventions is not referenced in the guide,
perhaps this should be changed to refer to the attribute conventions
document.

I have just left the documentation alone, in the end.
This PR is ready to merge. There are some failures in travis due to the HDF5 plugin file copy issue.

it is out of date wrt to master. Can you fix?

@DennisHeimbigner have updated with master, will keep an eye on Travis tests to make sure they succeed...


Add Netcore Email adapter

As I'm still yet to receive the test account and credits from Netcore I'm making this a draft PR, as I wrote the code and tests by referring to their API docs
What does this PR do?
This PR adds Netcore email adapter along with tests.
Test Plan
Check the first line I'll update once I get a Netcore account or if someone already has one test account that can be really helpful to test, As their email API doesn't include direct free testing account signups currently

Related PRs and Issues
Closes https://github.com/appwrite/appwrite/issues/6394

https://github.com/appwrite/appwrite/issues/6394

Have you read the Contributing Guidelines on issues?
Yes

Hey,
Due to time constraints, I'm going to mark this PR hacktoberfest-accepted for now so you get DO's Hacktoberfest rewards. We'll continue to work with you on this issue for review and merge.
When it is merged, we'll contact you for Appwrite-specific Hacktoberfest swag.
Thanks for helping us improve Appwrite!

What would be the next process of getting merged.. as I still haven't been contacted by the Netcore team for a free trial account to test these :(

@codingmickey Since the PR is approved, there is nothing more on your side. We will merge these PRs, nothing more required from you :D

Hey there! There were a lot of big PRs during this Hacktoberfest, and we wanted to give everyone ample time to collaborate with our engineering team. If you were able to merge your PRs during October, amazing. If it’s still not merged, don’t worry about it either. Either way, we’ve got your Hacktoberfest swag minted and ready to ship.
Please comment with your Discord username here so we can contact you about your shipping information to deliver your Hacktoberfest swag.


Brooke's Familiarizing Thread 🐈🧙♀

I'm purely using this branch as a way to make notes and get familiar with the code. Also a good way to communicate async about why things are the way they are.
I want to clarify that most/many of these questions are asked humbly, and are not criticisms. Really just looking for clarity on design decisions long before potentially suggesting anything.

Current game plan:

Break out multiple (abstract) interfaces
Parse, don't validate
async empty() -> constructor({...} = {})

Drop the async here, too
Rearrange AES keys to not reference parent

Multiple options here, including passing them in as an explicit parameter, changing the keys, &c

Abstractions

Likely tree operations, such as walk, map, and fold
Serialization, serialization functions (plural)

Break out as a separate step
Render to plain JSON -- helpful for model testing

Helpers

Why not write an asyncReduce or reduce(fn, {async: true}, collection)?

Underneath, it is just a for loop

POSSIBLY

Fold pretty and FLOOFS into the same structure, recursively
Make the entire tree fully recursive, with each branch having an optional key?

Eh, probably not. Very flexible, but fewer invariants. Worth exploring, though.
Hmm, yeah. Actually we can have optional pointers from each abstract layer.
May not be able to enforce recursive encryption in types, though 🤔

-- Something like:

data FileSystem
  = Abstract Layer (Either Pretty Private)
  | PrivateLayer Private

Yes, actually something interesting in that direction:
-- Term `Inode` comes from "index node" https://www.wikiwand.com/en/Inode
-- The following is modelled structurally rather than OO. YMMV.

data FileSystem
  | Root (Inode Public) (Inode Private) KeyExchange
  | Public (Inode Public)
  | Private (Inode Private)

data Inode a = Inode
  { meta    :: Metadata a
  , content :: Either RawFile { Text => Inode a }
  }

-- Abusing notation since this is a sketch. Would be a GADT or data family IRL.

data Metadata a = Metadata
  { bytes    :: Natural
  , event    :: Event
  , previous :: Inode a
  , special  :: a -- AES key, pretty CID, and whatnot
  }

-- partially alternate design

data PublicInode = PublicInode
  { metadata :: Metadata
  , content  :: Either RawFile { Text => PublicInode }
  , direct   :: (FileContent, CID) -- recursive "pretty" path
  }

-- Now the two parts stack directly

Primitive operations:

Network

Push
Pull

Local

Read
Write

Serialization

Serialize to IPLD
Parse from IPLD
Serialize to JSON
Parse to JSON

Inode

Mutate Inode links

Add link
Remove link
Rename link

Property: same as remove and add updated

Query Inode -- actually probably a path transform would be the primitive, to call into
-- or heck, find (a path selector)

Index (ls)
Show (cat)
Inspect (meta)
Get path segments (e.g. for building IPLD path or pretty URL)

Mutate Inode Metadata

Add
Remove
Update

Query Metadata

Read

File

Update content
Read raw

NOTE TO SELF: base64URL libarry

Performance: as an experiment, I created 500k simple (but unique) objects on my laptop, and added them to an array via a loop. It took under a second.

Performance: as an experiment, I created 500k simple (but unique) objects on my laptop, and added them to an array via a loop. It took under a second.
to a local daemon or an in-browser daemon?


Undo removal of 'Verifier.' in docs

Hey, looks like find replace in 41e5e4f086fe668e9b480a2ca553cfb9af02abc1 broke the example docs.

Oh, I just noticed all the markdown is being built from those snippets. So maybe there just needs to be a comment on the readme next to the one about implicit usings.

you mean this comment? https://github.com/VerifyTests/Verify#usage

All examples use ImplicitUsings. Ensure the following is set to have examples compile correctly enable

Yeah. A comment there that you are expecting the static using would make sense.

there is already a comment


[Bug] dynamic lease host name overwrite from static leases page no longer works

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Installed version
OPNsense 21.7.3_3-amd64
FreeBSD 12.1-RELEASE-p20-HBSD
OpenSSL 1.1.1l 24 Aug 2021
Describe the bug
Some devices are not identifiable in the dhcp leases table as they do not report a hostname. By creating a "static" lease by entering a host name/description for those devices on the 'static leases' page, while NOT entering a static IP address, it used to be possible to make such dynamic leases recognizable in the leases page.
This functionality was implemented with #839ec35 in 19.7 as a result of bug report #2946 . It seems functionality is broken with latest release.
To Reproduce

Identify a dynamic lease without hostname and description on leases page:

Create static map for mentioned lease, fill in host name and description but omit an IP, as indicated by help (see yellow marked). Save the mapping

Go back to leases page, find host by IP/MAC -> Hostname and description not updated.

Expected behavior
Dynamic lease updated with host name and description as entered on the static leases page.

@Northguy can you try https://github.com/opnsense/core/commit/8547872c4b4928668c79ea1561e864d427f640c7 ?
opnsense-patch 8547872


Support Ionic build

This adds the support for ionic build to use the custom angular builder.
Ionic uses their own class and schema. So I referenced them from their project, as anyone wants to use this builder, then it should have the @ionic dependency.

I'm not sure I understand the purpose of this pull request. Why one can't just use their builder? What is the need to reference their schema and implementation from @angular-builders.

Thanks for the Reply.
So in order to use the extra webpack and customize the build configuration, I referenced their schema and implementation.
For now, I will keep the Repo as a fork to test it more.
Will close the PR for now.
Thanks


Translations update from Weblate

Translations update from Weblate for ephios/ephios.
Current translation status:

Coverage remained the same at 91.036% when pulling e062bfdc2d905ab7a3e17f4adc721576ce8dcde8 on translations into 2ade6540e35343ed7bef96558a608bf1b7018095 on main.


Update issue template for false-positive report

The pull request should be sent to mitchellkrogza/phishing repository as discussed in #358

LGTM!


[wrt] Rename package name in .feature

The suite name has been renamed to wrt-packagemgtmanu-tests,
but not updated in Crosswalk_WebApp_Icon_Launcher.feature.
Impacted tests(approved): new 0, update 1, delete 0
Unit test platform: Crosswalk Project for Android 19.48.497.0
Unit test result summary: pass 1, fail 0, block 0
BUG=https://crosswalk-project.org/jira/browse/XWALK-6489

LGTM


Upgrade event handler attributes

Should probably review and merge https://github.com/PolymerLabs/polyup/pull/36 first.
Fixes #24

LGTM


Every new window causes workspace trust dialog to pop up

Set security.workspace.trust.emptyWindow to false
Open a new window
:bug: Workspace trust dialog pops up wanting to run tasks

My thoughts are the dialog is annoying and I'm unable to tell which tasks are trying to run.

Do you know if this only started recently? 🤔
The task changes of late have only been less eager to activate, so it would surprise me if this is new

/duplicate #224881


[non-issue] What's Omega matcher engine?

I am a big fan of comby, it save me from many tedious regex search and replace! I saw there's a -omega Use Omega matcher engine. argument on the command line but no further explanation anywhere. Just want to ask what is omega matcher engine? and is that engine better than the default one? thank you!
I post this question as an issue here (not in Gitter) is because I guess someone may have the same question as me, so this won't get asked and answered repeatedly.

It's a rewrite of the matcher engine with a different library dependency.

is that engine better than the default one?

Don't know 😅 At some point it might be. I don't think it has feature parity yet and could be slower or faster, I haven't tested thoroughly.
Feel free to reopen if this doesn't answer your question.


Update poedit to 2.0

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Removed suppress_move_to_applications because all three versions installed and started without asking to be moved to /Applications. I am on 10.11.


Add a .generated_files

What does this PR do?
This PR adds a .generated_files file at the root of the project to utilize the apigentools feature of deleting known generated files between generation runs - https://apigentools.readthedocs.io/en/latest/special_files/
Review checklist
Please check relevant items below:

[ ] This PR includes all newly recorded cassettes for any modified tests.

[x] This PR does not rely on API client schema changes.

[ ] The CI should be fully passing.

[ ] Or, this PR relies on API schema changes and this is a Draft PR that includes tests.


Add cherry-pick bot for the pulsar

Motivation
We want to make the pulsar can cherry-pick automatically. This action will make a closed PR can cherry-pick by the command /pulsarbot cherry-pick to branch-X.Y.
When a PR is merged, the bot will say,
Hey. If you want to cherry-pick this pr to a target branch, please comments '/pulsarbot cherry-pick to branch-X.Y'.
Then you can comment /pulsarbot cherry-pick to branch-X.Y, the bot will open a new PR for cherry-picking the closed PR.
If we open a new PR to do the cherry-pick, we can also use the CI to check the branch.

/pulsarbot run-failure-checks

/pulsarbot cherry-pick to branch-2.6


Lsp server request : CCLS

https://github.com/MaskRay/ccls

We already have clangd

@kabouzeid  ccls gives better completions
clangd

ccls

Can't compare this with only one example, I had the opposite experience for example. Not saying clangd is better than ccls or vice versa, but I only want to bundle one C/C++ language server, and in my personal experience clangd worked better.
This library is opinionated regarding the bundled language servers. If possible I only want to bundle a single language server per language, which should be the "best" default choice for this language.
I would consider swapping clangd for ccls if it was clearly way better, but as I said I don't think this is the case.
Of course if you prefer ccls you can just add the installer to your local config :)

Of course if you prefer ccls you can just add the installer to your local config :)

@kabouzeid In your README.md (or in the project's wiki page), can you please show how to do this? i.e. install ccls through local config.

https://github.com/kabouzeid/nvim-lspinstall#custom-installer


Resolve React cache issue preventing activity updates

Often in my own testing, the activity tab doesn't update its content (eg transaction state) unless I refresh manually or clear React cache via the developer console.

Not sure if this was addressed already but today I'm not seeing issues with stale data when testing https://github.com/hirosystems/stacks-wallet-web/pull/3198


Fix/198 Refactor faas-module to functions-module

Change faas to functions throughout the codebase. I used the plural ("functions") for the renaming.
@YourTechBud is that okay? What do you think?

Can we rename the faas folder and files as well?

Okey. Renamed the requested files and folders.

@ledex This request has got some merge conflicts. I have pulled your code locally, resolved the conflicts and am merging it directly in v0.8.0. Don't wanna delay this release any further. Hence closing.


TODO: request registerScreenshotEventListener callback with captured image result

callback is ok both on android and ios, but need get the screenshot image url, android is ok, but ios is undefined

ScreenGuardModule.registerScreenshotEventListener(async result => {
      console.log('- registerScreenshotEventListener result=', result);

"react-native-screenguard": "^0.3.6",
"react-native": "0.72.4",

may be need got the recent image from Photo library and copy to app cache library and get the url of file,
or just do a program screenshot again without any permission

remove async and you're good to go!

remove async and you're good to go!

no, still got 'undefined' @gbumps

Thanks for reporting @krmao. Currently, there are no result returned from this yet, just callback only. I'm wondering what type of data you want to receive at this point, so I can consider for the next release.

for android, should return 'file://' url, shouldn't be 'content://', because for error Only owner is able to interact with pending/trashed
a success used example is use RNFS.state(contentUrl) get a 'file://' url from callback 'content://' url
for ios should return a url just like react-native-image-picker return path
[{"creationDate": "1708764314", "cropRect": null, "data": null, "duration": null, "exif": null, "filename": "IMG_5983.HEIC", "height": 1080, "localIdentifier": "3FB0208B-D264-43E5-BF1E-2A93E26F6E25/L0/001", "mime": "image/jpeg", "modificationDate": "1708806810", "path": "/private/var/mobile/Containers/Data/Application/7FDB82C3-0626-4B3C-9116-51339383B045/tmp/react-native-image-crop-picker/74D551C9-9D26-43E9-A2BC-0728C4BE3FA1.jpg", "size": 308365, "sourceURL": "file:///var/mobile/Media/DCIM/105APPLE/IMG_5983.HEIC", "uploadingStatus": "waitUpload", "width": 810}]

now I maybe use https://github.com/bigzx/react-native-screen-capture/blob/master/ios/ScreenCapture/ScreenCapture.m first, or you got a just copy first and got beta version @gbumps

Well, I can provide you a workaround for this 1st, while waiting for new version: When callback is registered, ask for permission of Gallery, if allowed => get the path of the last file and access its info through 3rd library, if not => show any alert you want.

seems it haven’t a valid react native way https://github.com/react-native-image-picker/react-native-image-picker/issues/1377

after thinking about this for a while, I plan to release this feature on the upcoming version. Follow this thread for updates @krmao.

thanks for the reply. I will keep watching.

branch feature/event_with_captured_img_result

very nice ! thank you !

please dont' close, still WIP.

hello @krmao, released in v0.3.8. please have a look
Thanks!

Great Job ! Thank you!


Airport details page: fix wrong URL param causing 500

This fixes #1008.
The error was: template used
{% url 'airport_details' iata=airport.iata %}
instead of
{% url 'airport_details' airport_iata=airport.iata %}
which caused 500 on every airport details page.

:+1: Can you do a quick deploy this week to get this to @maneesha and others?

This week? Like before midnight today? Nope. :-)
However, Monday (tomorrow) definitely.

Sure, and thank you.

Fixes #1012


ARM Template locks

I'd like the ability to lock a keyvalue at creation and/or after creation.
Perhaps something like this (see .properties.locked):
{
    "type": "Microsoft.AppConfiguration/configurationStores/keyValues",
    "apiVersion": "2020-07-01-preview",
    "name": "[concat(variables('configStoreName'), '/environment:name')]",
    "dependsOn": [
        "[variables('configStoreName')]"
    ],
    "properties": {
        "value": "[parameters('environmentName')]",
        "contentType": "text/plain",
        "tags": "",
        "locked": true
    }
},

The alternative is that I'm able to apply resource locks to configuration keyvalues, but this would also be useful in addition to the above method.
{
    "type": "Microsoft.Authorization/locks",
    "apiVersion": "2016-09-01",
    "name": "environmentNameLock",
    "scope": "[resourceId('Microsoft.AppConfiguration/configurationStores/keyValues', variables('configStoreName'), 'environment:name')]",
    "dependsOn": [
        "[resourceId('Microsoft.AppConfiguration/configurationStores/keyValues', variables('configStoreName'), 'environment:name')]"
    ],
    "properties": {
        "level": "ReadOnly",
        "notes": "Config must not be modified or deleted."
    }
},

Hi @mattboothman
The ability to lock KV through ARM templates is not on our roadmap at this point, since we have not received this feature request from customers yet. As we are actively working on new features, this would be put into consideration for future designs. Thanks.

Hey @recao I’m a customer actively using the product, requesting the feature.

@mattboothman yes, and we always try our best to fulfill every customer's request based on our development capacity, feature priority and existing roadmap.
Add @zhenlan and @drago-draganov


modifying words 6 to 10

Well, it seems that we got a conflict.

I resolved the conflict to the "word-filled" version.


Update _index.md

"Understand the basics" to "Understand Kubernetes". There is no place in the entire docs really to go "Understand the non basics". There is one section "Concepts" for better or worse. Don't give the impression there is something else somewhere else. And anyway, this section should aspire to be that cardinal reference. Also change name of weird button "Learn" -> "View" to make it clear this is just a link to a section of the documentation, and be consistent with other weird button links.

Hey @sgpinkus,
I'm sensing that you're pretty frustrated with navigating the documentation, but keep in mind you're asking people who spend many hours per week, often unpaid, to maintain the documentation. The tone you're taking in your issue body is pretty combative and impolite to those people.
I'm going to review this change because I do think you bring up some valid points, but please remember to be kind to the maintainers of this repository and other open source repositories as well.

I'm sensing that you're pretty frustrated with navigating the documentation, but keep in mind you're asking people who spend many hours per week, often unpaid, to maintain the documentation. The tone you're taking in your issue body is pretty combative and impolite to those people.

Sorry if it came across that way, I can be a bit tone deaf sometimes but there was no malice intended. To me good docs are as important as good software, what ever form they take so I appreciate the effort and dedication of document maintainers 100%.
P.S. I think I get frustrated with pretty much all software documentation I read :). Kubernetes docs are pretty good in the scheme of things.

/lgtm


ND4J tests + Intellij IDEA

Intellij IDEA 2018.x has issues with ND4J tests, and it looks like it's not a bug.
https://github.com/deeplearning4j/nd4j/blob/12d63943d76c5152192d979beed03e39d9b1ab82/nd4j-backends/nd4j-backend-impls/pom.xml#L45
https://github.com/deeplearning4j/nd4j/blob/34fec21757695246b8a18a32812054f95b290cb0/nd4j-backends/nd4j-backend-impls/nd4j-native/pom.xml#L114
https://github.com/deeplearning4j/nd4j/blob/2138328469fc07bad0d5eed95112d73d9c445b72/nd4j-backends/nd4j-backend-impls/nd4j-cuda/pom.xml#L23
These maven properties are parsed, and imported into Intellij IDEA modules properties, causing problems with IDE.
@saudet  Can we reconsider that somehow?

Which Maven properties?

click the links. they all point to the suspected property
On Tue, May 8, 2018 at 23:56 Samuel Audet<EMAIL_ADDRESS>wrote:

Which Maven properties?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/deeplearning4j/deeplearning4j/issues/5098#issuecomment-387639480,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALru_x8RMMx5WPF_hILrNbbUUzd2IzXaks5twpMjgaJpZM4T3rdf
.

testSourceDirectory? We can't do anything about that unless we don't share the tests..

Ok, we should start looking for another IDE then. Because in 2018.x after
any reimport you must manually fix Intellij project
On Wed, May 9, 2018 at 00:02 Samuel Audet<EMAIL_ADDRESS>wrote:

testSourceDirectory? We can't do anything about that unless we don't share
the tests..
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/deeplearning4j/deeplearning4j/issues/5098#issuecomment-387640771,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALru__8-bKwZ5qJ45MsskqZTb_YB2eqeks5twpR_gaJpZM4T3rdf
.

@raver119 what does this look like for you when it fails?
It seems like I'm unable to run nd4j tests in intellij anymore, not sure if it's the same issue or not.
Previously we set "use classpath of module" to nd4j-native.
Now I do that and simply get Class not found: "org.nd4j.linalg.Nd4jTestsC"Empty test suite.

OK, seems like this is still super-flaky... but I can now run tests with the following is a workaround:
(a) install Nd4J
(b) import nd4j-tests ONLY into intellij (separate project -> forces ND4J to use maven dependencies)
(c) Select and run clean/validate/compile under Maven Projects -> Lifecycle
Running them directly (i.e., opening more than 1 project) means I get errors related to ND4J initialization (missing native libraries).
Without the clean/validate/compile I get a ton of missing dependencies.

It's getting worse guys, now on top of original issue i can't use test resources in Intellij, if nd4j is open as separate project.
We need to get these issues fixed somehow, because it seriously slows down work flow.

https://github.com/deeplearning4j/deeplearning4j/blob/0e66ef031daf88ae6f671208b85b08b5562e4b9b/pom.xml#L538-L551
I think since this is declared in top-level pom.xml, Intellij just can't see it if you open nd4j as separate project.

@rajeev3983 That'd be a bug in IntelliJ, but we can do some copy/paste there, and if it works, we can leave it like that. It wouldn't hurt other tools.

Ye, there's definitely something goes on in Intellij, they do some refinements... But since we have no other viable IDEs - we should adopt somehow 😄

https://github.com/deeplearning4j/deeplearning4j/blob/e97090b504acae2ad6d717d58ddce79af212ccab/nd4j/pom.xml#L403-L416
This copypasta seems to work fine, nd4j-tests work again in latest Intellij. Is it acceptable workaround for CI/CD compatibility? @saudet @sshepel

We've switched to profiles to address this issue.


Latest build (12.0) not working with latest angular (1.4.0) and bootstrap (3.3.4)

I've linked to a Plunker to demonstrate this. It is base on the Demo. I've changed the versions of angular, bootstrap and the ui-select.
http://plnkr.co/edit/lhAdsJs93jg8A5IgQcQF?p=preview
Thanks

it works fine you cannot use github urls inside of your html...
http://plnkr.co/edit/ZVM5qIf1Do2a7SToksPD

My bad.. Thank you for your input.
I'm still having an issue in my environment . We've upgraded from Angular 1.3.14 to 1.4.0 and the select box stop working properly. I'm using the bootstrap theme and the select box only opens after I search for something and then clear the search criteria.
Thanks

I'm having this issue as well. The search box wouldn't open for me with 1.4

I can confirm that behavior.

I have the same problem

Upgraded to angular 1.4.1, ui-select 0.12 and listing wasn't showing up randomly (and with no error) only for using directive ui-select within another directive ...
Revert to angular 1.3.16 fixed the odd behavor :/

Upgraded to angular 1.4.1, ui-select 0.12 and opening the listing were randomly not showing, but only when using the directive within another directive.
Revert to angular 1.3.16 fixed this odd behavior...

Same problem.

@YidingW @Charkhan @C00per @ManuelRauber Maybe you can try set a theme. In my case, it did not work until I set <ui-select theme="select2" .... And also you need to include two stylesheets.
  <link rel="stylesheet" href="path/to/select2/3.5.2/select2.css"/>
  <link rel="stylesheet" href="path/to/select2-bootstrap-css/1.4.6/select2-bootstrap.css"/>

It seems to come from the ng-show that hides the root ul element if $select.items is empty. It is only present on the bootstrap template, so that's why it works withe select2 or selectize themes.

I tried the $scope.$watch that @FloGou mentioned to no avail.
For whatever reason, the ng-show="$select.items.length > 0" is not evaluating in Angular 1.4:

 0">

I'm sure there's a reason for that condition, but none of the other templates have it.  If I change that expression to ng-show="$select.open", it works fine:

Also, adding an arbitrary class via ng-class using $select.items.length (e.g. ng-classz=\"'items-' + $select.items.length\") also works.

any progress on this? I'm having the same issue.

so if you are using bootstrap theme and you are not using multiselect the bandaid I've found for now is to simple put an ng-if on the directive tag that watches the length of the array that populates the list i.e.
			<ui-select ng-if="select_options.length" ng-model="query.cohort" theme="bootstrap" ng-change="cohort_changed('cohort')" style="width: 150px;">
				<ui-select-match placeholder="select a starting stage...">{{$select.selected.value}}</ui-select-match>
				<ui-select-choices repeat="hort.key as hort in select_options | filter: $select.search">

				</ui-select-choices>
			</ui-select>

The same trick does NOT work on mutliselect bootstrap theme though for some reason.

any progress on this?

+1

any news?

+1

+1

I'm affraid that I should migrate to another solution becase I can't see any progress here. ((( Can someone recommend analog for ui-select with similar functionality?

@C00per you should just go back to using the original ui-select and just make a quick directive to apply it... it's not that hard. Obviously it's less declarative than what's happening here but it won't has dependencies as closely tied to angular releases.

anyone ? :)

The 0.13 update should have already fixed the compatibility problem.
I have no problem with Angular 1.4.7, Bootstrap 3.3.5 and Select 0.13.2.

I have issues just after upgrade to Angular 1.4.7, Bootstrap 3.3.5 and Select 0.13.2.
Select not working...

Closing as this appears fixed.
Any unrelated issues should be opened separately and not polluting other issue threads.


[Bug]: StrUtf8Coder in Python can't deserialize what's encoded with Java StringUtf8Coder

What happened?
I tried to use Python StrUtf8Coder to deserialize an string encoded with Java StringUtf8Coder but couldn't work. This is because beam is using different ways of implementation in Java and Python.
In Java, bytes length is encoded into the output bytes: https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/coders/StringUtf8Coder.java#L50 while in Python encoding is simply calling value.encode('utf-8'): https://github.com/apache/beam/blob/master/sdks/python/apache_beam/coders/coders.py#L426-L439
Issue Priority
Priority: 3 (minor)
Issue Components

[X] Component: Python SDK
[X] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Thanks for reporting. I assume this has happened in an xlang pipeline?
cc: @chamikaramj  do you have  advice for best practices here?

Hi, thanks for reporting this.
According to reference encodings length should not be included for UTF-8 coders: https://github.com/apache/beam/blob/6152a70d64b08809940ec07c8df2d4f0168d49ec/model/fn-execution/src/main/resources/org/apache/beam/model/fnexecution/v1/standard_coders.yaml#L85
Also, looking at the Java implementation, length should only be included if the coder is operating in a nested context: https://github.com/apache/beam/blob/6152a70d64b08809940ec07c8df2d4f0168d49ec/sdks/java/core/src/main/java/org/apache/beam/sdk/coders/StringUtf8Coder.java#L83C3-L83C3
Do you have a test where you ran into an issues due to this ?


T-Intersection with extended approach.

🎉 New feature
Related to #44
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if it affects the public API)

I converted this map to our downstream format and have submitted it for testing.


RFP - Juju Windows Client (orchestration client)

"Juju is an application and service modelling tool that enables you to quickly model, configure, deploy and manage applications in the cloud with only a few commands. Use it to deploy hundreds of preconfigured services, OpenStack, or your own code to any public or private cloud."
Website: https://jujucharms.com
Installation instructions: https://jujucharms.com/docs/stable/getting-started-general
Releases (incl Windows): https://jujucharms.com/docs/stable/reference-releases
Downloads (incl Windows): https://launchpad.net/juju/+download
Upstream package request: https://bugs.launchpad.net/juju/+bug/1638294

@kwill this package has just been pushed to chocolatey now: https://chocolatey.org/packages/juju/2.0.2

Great thing. Thanks.

this package has been approved, it can be closed.

Updated the Launchpad bug with the package details.


Refactor in examples and helpers.

Looks great @mstechly! I've added some small comments (all minor), and wait for @mariaschuld to have a look.

@mariaschuld I think that consistency between numerical and tf is important for the beginner - it was a little bit confusing to me when I wanted to try the other backend.
Maybe we could add a commented section, which shows the alternative way? I know that leaving commented code everywhere is not the best practice, but these are examples and not production code, so I think it will be more instructive. WDYT?

Ok, you convinced me! :) Let's not leave comments, but after the pull I will mention the old version in the doc tutorials.
Happy to merge from my side, conditioned on Joshes final comments. Think he is traveling at the moment...

Just had a look. Perhaps the best approach is to use the same parameters list syntax in the basic tutorials, but have a extra section in the TF tutorial providing the alternative naming approach? Aside from that, looks good to merge from me.


Badges in Documentation and README don't match

🐞 Problem

🎯 Goal
These two set of badges should match!

💡 Possible solutions

📋  Steps to solve the problem

Comment below about what you've started working on.
Add, commit, push your changes
Submit a pull request and add this in comments - Addresses #<put issue number here>
Ask for a review in comments section of pull request
Celebrate your contribution to this project 🎉

@hrishi32 You didn't do it properly! Would you ike to give it a try?

@hrishi32 You didn't do it properly! Would you like to give it a try?

Done :)


fatal_error on a parallel_map

100,000 iota [ sqrt ] parallel-map
fatal_error: Cannot protect low guard page: 0x7f356a3a4000

Happens on Linux64 at least, probably more platforms.

Works on Linux now. Closing.
IN: scratchpad :1
Out of memory: mprotect low

Nursery: Start=7f4f647c0000, size=200000, end=7f4f649c0000
Aging: Start=7f4f643c0000, size=400000, end=7f4f647c0000
Tenured: Start=7f4f57fc0000, size=c000000, end=7f4f63fc0000
Cards:base=7f4f57ed3010, size=ca400
Aborted


Maybe an error in the flowchart

Hi I think that the box pointed here should be Container services:

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

ID: 510808e8-db5d-6b07-9a04-6edb743a2dfc
Version Independent ID: 20d098aa-ef31-cb26-d677-765cfc9a7164
Content: Choosing an Azure compute service - Azure Architecture Center
Content Source: docs/guide/technology-choices/compute-decision-tree.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @MikeWasson
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#244590

@miiitch Thanks for the feedback! We have assigned this issue to the content author to review and update accordingly.

@miiitch , this path leads to the Web App Container scenario https://docs.microsoft.com/en-us/azure/app-service/containers/quickstart-docker.  When full-fledged orchestration is not  needed, App Services  is a good Compute choice.  Let me know if this answers your question.

Thanks @absheik, but it's not consistant with the path on the right that leads to Container Instances (which, with Web App containers, is also a good choice)

@miiitch, agree.  I will add ACI to this path as well.

Thanks, any guidance between wep app container and ACI is a good addition to this diagram 👍👍


Gradle 8.0.1 & Shadow 8.0.0

Description
Update Shadow 8 to support Gradle 8.
https://github.com/gradle/gradle/releases/tag/v8.0.1
https://github.com/johnrengelman/shadow/releases/tag/8.0.0
Checklist

[x] PR description added
[ ] tests are added
[ ] KtLint has been applied on source code itself and violations are fixed
[ ] documentation is updated
[ ] CHANGELOG.md is updated

In case of adding a new rule:

[ ] Rule is added to rules documentation

Build successfully on my local.

https://github.com/pinterest/ktlint/actions/runs/4271319964/jobs/7435705427
KtLintRuleEngineTest > Given that all experimental rules are enabled() FAILED
    java.lang.UnsupportedClassVersionError at KtLintRuleEngineTest.kt:251

https://logback.qos.ch/download.html

The current actively developed version of logback supporting Jakarta EE (jakarta.* namespace) is 1.4.5. It requires SLF4J version 2.0.4 and JDK 11.


'unrecognized import path' when i install seaweedfs

how can i fix this?

package github.com/chrislusf/seaweedfs/go/weed
imports bazil.org/fuse: unrecognized import path "bazil.org/fuse"
package github.com/chrislusf/seaweedfs/go/weed
imports bazil.org/fuse/fs: unrecognized import path "bazil.org/fuse/fs"

make sure you can access bazil.org
https://github.com/chrislusf/seaweedfs/issues/106


Support Gemini Live API

Make multimodal class generic  by removing openai dependencies
Gemini Live API support

nice work!
does Gemini return user's input transcription? I didn't see we had any handling for it.
it'd be great to include docstrings and comments 🙏

Gemin does not returns transcription as of now, but I was thinking maybe we could add our stt service to maintain chat_ctx


[Event Request] Codeunit 90 "Purch.-Post" OnDivideAmountOnBeforeCalcVATBaseAmount

Describe the request
Hi, would it be possible to get an OnDivideAmountOnBeforeCalcVATBaseAmount event in codeunit 90 (Purch.-Post), like this:
procedure DivideAmount(PurchHeader: Record "Purchase Header"; var PurchLine: Record "Purchase Line"; QtyType: Option General,Invoicing,Shipping; PurchLineQty: Decimal; var TempVATAmountLine: Record "VAT Amount Line" temporary; var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary)
var
    PmtDiscountBase: Decimal;
    OriginalDeferralAmount: Decimal;
    IsHandled: Boolean;
begin
    if RoundingLineInserted and (RoundingLineNo = PurchLine."Line No.") then
        exit;

    IsHandled := false;
    OnBeforeDivideAmount(PurchHeader, PurchLine, QtyType, PurchLineQty, TempVATAmountLine, TempVATAmountLineRemainder, IsHandled);
    if IsHandled then
        exit;

    with PurchLine do
        if (PurchLineQty = 0) or ("Direct Unit Cost" = 0) then begin
            "Line Amount" := 0;
            "Line Discount Amount" := 0;
            "Inv. Discount Amount" := 0;
            "VAT Base Amount" := 0;
            Amount := 0;
            "Amount Including VAT" := 0;
            OnDivideAmountOnAfterClearAmounts(PurchHeader, PurchLine, PurchLineQty);
        end else begin
            OriginalDeferralAmount := GetDeferralAmount();
            IsHandled := false;
            OnDivideAmountOnBeforeTempVATAmountLineGet(PurchLine, TempVATAmountLine, IsHandled);
            if not IsHandled then
                TempVATAmountLine.Get(
                    "VAT Identifier", "VAT Calculation Type", "Tax Group Code", "Use Tax", "Line Amount" >= 0);
            if "VAT Calculation Type" = "VAT Calculation Type"::"Sales Tax" then
                "VAT %" := TempVATAmountLine."VAT %";
            TempVATAmountLineRemainder := TempVATAmountLine;
            if not TempVATAmountLineRemainder.Find() then begin
                TempVATAmountLineRemainder.Init();
                TempVATAmountLineRemainder.Insert();
            end;
            CalcLineAmountAndLineDiscountAmount(PurchHeader, PurchLine, PurchLineQty);

            OnDivideAmountOnAfterCalcLineAmountAndLineDiscountAmount(PurchHeader, PurchLine, PurchLineQty);

            if "Allow Invoice Disc." and (TempVATAmountLine."Inv. Disc. Base Amount" <> 0) then
                if QtyType = QtyType::Invoicing then
                    "Inv. Discount Amount" := "Inv. Disc. Amount to Invoice"
                else begin
                    TempVATAmountLineRemainder."Invoice Discount Amount" :=
                      TempVATAmountLineRemainder."Invoice Discount Amount" +
                      TempVATAmountLine."Invoice Discount Amount" * "Line Amount" /
                      TempVATAmountLine."Inv. Disc. Base Amount";
                    "Inv. Discount Amount" :=
                      Round(
                        TempVATAmountLineRemainder."Invoice Discount Amount", Currency."Amount Rounding Precision");
                    TempVATAmountLineRemainder."Invoice Discount Amount" :=
                      TempVATAmountLineRemainder."Invoice Discount Amount" - "Inv. Discount Amount";
                end;

            if PurchHeader."Prices Including VAT" then begin
                if (TempVATAmountLine.CalcLineAmount() = 0) or ("Line Amount" = 0) then begin
                    TempVATAmountLineRemainder."VAT Amount" := 0;
                    TempVATAmountLineRemainder."Amount Including VAT" := 0;
                end else begin
                    TempVATAmountLineRemainder."VAT Amount" +=
                      TempVATAmountLine."VAT Amount" * CalcLineAmount() / TempVATAmountLine.CalcLineAmount();
                    TempVATAmountLineRemainder."Amount Including VAT" +=
                      TempVATAmountLine."Amount Including VAT" * CalcLineAmount() / TempVATAmountLine.CalcLineAmount();
                end;
                CalculateAmountsInclVAT(PurchHeader, PurchLine, TempVATAmountLine, TempVATAmountLineRemainder);
                TempVATAmountLineRemainder."Amount Including VAT" :=
                  TempVATAmountLineRemainder."Amount Including VAT" - "Amount Including VAT";
                TempVATAmountLineRemainder."VAT Amount" :=
                  TempVATAmountLineRemainder."VAT Amount" - "Amount Including VAT" + Amount;
            end else
                if "VAT Calculation Type" = "VAT Calculation Type"::"Full VAT" then begin
                    IsHandled := false;
                    OnDivideAmountOnBeforeCalcAmountsForFullVAT(PurchHeader, PurchLine, IsHandled);
                    if not IsHandled then
                        if "Line Discount %" <> 100 then
                            "Amount Including VAT" := CalcLineAmount()
                        else
                            "Amount Including VAT" := 0;
                    Amount := 0;
                    "VAT Base Amount" := 0;
                end else begin
                    Amount := CalcLineAmount();
                    IsHandled := false; // New Event
                    OnDivideAmountOnBeforeCalcVATBaseAmount(PurchHeader, PurchLine, TempVATAmountLine, TempVATAmountLineRemainder, Currency, IsHandled); // New Event
                    if not IsHandled then // New Event
                        if ("VAT %" <> 0) and (TempVATAmountLine.CalcLineAmount() <> 0) then begin
                            TempVATAmountLineRemainder."VAT Base (Lowered)" +=
                            TempVATAmountLine."VAT Base" * (1 - PurchHeader."VAT Base Discount %" / 100) *
                            CalcLineAmount() / TempVATAmountLine.CalcLineAmount();
                            "VAT Base Amount" :=
                            Round(TempVATAmountLineRemainder."VAT Base (Lowered)", Currency."Amount Rounding Precision");
                            TempVATAmountLineRemainder."VAT Base (Lowered)" :=
                            TempVATAmountLineRemainder."VAT Base (Lowered)" - "VAT Base Amount";
                        end else
                            "VAT Base Amount" := Amount;
                    OnDivideAmountOnAfterCalcVATBaseAmount(PurchLine);
                    if TempVATAmountLine."VAT Base" = 0 then
                        TempVATAmountLineRemainder."VAT Amount" := 0
                    else
                        TempVATAmountLineRemainder."VAT Amount" +=
                          TempVATAmountLine."VAT Amount" * CalcLineAmount() / TempVATAmountLine.CalcLineAmount();
                    IsHandled := false;
                    OnDivideAmountOnBeforeAmountIncludingVATAmountRound(PurchLine, TempVATAmountLineRemainder, Currency, IsHandled);
                    if not IsHandled then
                        if "Line Discount %" <> 100 then
                            "Amount Including VAT" :=
                                Amount + Round(TempVATAmountLineRemainder."VAT Amount", Currency."Amount Rounding Precision")
                        else
                            "Amount Including VAT" := 0;
                    TempVATAmountLineRemainder."VAT Amount" :=
                      TempVATAmountLineRemainder."VAT Amount" - "Amount Including VAT" + Amount;
                end;

            if TempVATAmountLine.CalcLineAmount() <> 0 then begin
                if GLSetup."Adjust for Payment Disc." then
                    PmtDiscountBase := TempVATAmountLine."Amount Including VAT"
                else
                    PmtDiscountBase := TempVATAmountLine."VAT Base";
                TempVATAmountLineRemainder."Pmt. Discount Amount" +=
                  PmtDiscountBase * PurchHeader."Payment Discount %" / 100 *
                  CalcLineAmount() / TempVATAmountLine.CalcLineAmount();
                "Pmt. Discount Amount" :=
                  Round(TempVATAmountLineRemainder."Pmt. Discount Amount", Currency."Amount Rounding Precision");
                TempVATAmountLineRemainder."Pmt. Discount Amount" :=
                  TempVATAmountLineRemainder."Pmt. Discount Amount" - "Pmt. Discount Amount";
            end;
            NonDeductibleVAT.DivideNonDeductibleVATInPurchaseLine(
                PurchLine, TempVATAmountLineRemainder, TempVATAmountLine, Currency, CalcLineAmount(), TempVATAmountLine.CalcLineAmount());

            OnDivideAmountOnBeforeTempVATAmountLineRemainderModify(PurchHeader, PurchLine, TempVATAmountLine, TempVATAmountLineRemainder, Currency);
            TempVATAmountLineRemainder.Modify();
#pragma warning disable AA0005
            if "Deferral Code" <> '' then begin
#if not CLEAN23
                if UseLegacyInvoicePosting() then
                    CalcDeferralAmounts(PurchHeader, PurchLine, OriginalDeferralAmount)
                else begin
#endif
                    GetInvoicePostingSetup();
                    InvoicePostingInterface.CalcDeferralAmounts(PurchHeader, PurchLine, OriginalDeferralAmount);
#if not CLEAN23
                end;
#endif
#pragma warning restore AA0005
            end;
        end;

    OnAfterDivideAmount(PurchHeader, PurchLine, QtyType, PurchLineQty, TempVATAmountLine, TempVATAmountLineRemainder);
end;

[IntegrationEvent(false, false)]
local procedure OnDivideAmountOnBeforeCalcVATBaseAmount(PurchHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"; var TempVATAmountLine: Record "VAT Amount Line" temporary; var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary; Currency: Record Currency; var IsHandled: Boolean)
begin
end;

Thanks!
Additional context
We need to change the TempVATAmountLineRemainder."VAT Base (Lowered)" calculation and due to this, the calculation of "VAT Base Amount" will change
Internal work item: AB#504231

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 17376.


GitHub connector - userInOrg fails when user.name != user.login

If your user name does not match your login name, the userInOrg call returns 404 and fails the login
https://sourcegraph.com/github.com/coreos/dex/-/blob/connector/github/github.go#L523-524
Not sure if this is an issue with dex-example app or dex GitHub connector
How to reproduce:

Create GitHub OAuth2 app for Dex
Deploy Dex with GitHub connector and staticClients "example-app"
Deploy example dex-app with dex as it's oidc issuer
Set up GitHub Name differently from GitHub login
Log in and ask groups as an additional scope

Dex debug logs:

# sample-app without requesting "groups" scope
time="2017-08-17T08:43:28Z" level=info msg="login successful: connector \"github\", username=\"Vincent De Smet\"<EMAIL_ADDRESS>groups=[]"

# sample-app requesting "groups" scope (user.name = "Vincent De Smet", GitHub user = "so0k")
time="2017-08-17T08:49:05Z" level=debug msg="github: user \"Vincent De Smet\" not in org \"my-org\"" connector=GitHub
time="2017-08-17T08:49:05Z" level=error msg="Failed to authenticate: github: user \"Vincent De Smet\" not in required orgs or teams"

# after changing name
# sample-app requesting "groups" scope (user.name == github user == "so0k")
time="2017-08-17T08:57:01Z" level=debug msg="github: user \"so0k\" in org \"my-org\" team \"DevOps\"" connector=GitHub
time="2017-08-17T08:57:01Z" level=info msg="login successful: connector \"github\", username=\"so0k\"<EMAIL_ADDRESS>groups=[\"my-org:DevOps\"]"

Dex GitHub connector config:
connectors:
- type: github
  id: github
  name: GitHub
  config:
    clientID: $GITHUB_CLIENT_ID
    clientSecret: $GITHUB_CLIENT_SECRET
    redirectURI: "https://dex.example.com/callback"
    orgs:
      - name: my-org
        teams:
        - DevOps

Yeah we're actually putting together a fix now. this will be backported to 2.6.1 https://github.com/coreos/dex/pull/1035


VkLayerTest.CopyImageTypeExtentMismatch dies if KHR_maintenance1 is not supported

Like so:
$ build/tests/vk_layer_validation_tests --gtest_filter='*CopyImageTypeExtentMismatch'
Note: Google Test filter = *CopyImageTypeExtentMismatch
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from VkLayerTest
[ RUN      ] VkLayerTest.CopyImageTypeExtentMismatch
Unexpected: loader_validate_device_extensions: Extension 0 not found in enabled layer list extensions.
Unexpected: vkCreateDevice:  Failed to validate extensions in list
../tests/vktestbinding.cpp:295: Failure
Failed
Assertion: `vkCreateDevice(phy_.handle(), &info, __null, &dev) == VK_SUCCESS'
Segmentation fault (core dumped)

Blindly including the extension string causes device creation to fail, and things go poorly after that.

Either:

create another device for the test guts, which tries to enable the extension iff we've established that it exists, (preferred?) or

Split the KHR_maintenance1 cases into a separate test where they can be skipped together if the extension isn't supported.

Possibly ties into #1827 a bit

The intention here was as Chris' first bullet: check for existence of KHR_maintenance1, enable it if offered, and modify the test behavior to match.  This test fails on our Android farm just as Chris listed above. I talked to Cody before pushing the PR, and thought I understood that the test was passing on Google's farm, so assumed it was a local issue here. The check/enable code comes verbatim from the positive test Maintenance1Tests() - which I presume is failing the same way?
In any case the KHRm1 extension is not essential to that test, only there to include a couple new VUs that I've proposed should be removed from the spec as redundant (although feedback is that they're more likely to remove the original overlapping VU and keep these). I can solve this particular issue by stripping it out of the test.
I actually like Chris' second bullet idea, move all KHRm1 awareness into a segregated separate set of tests (better yet, in another file).

Maintenance1Tests worked because it skipped the test completely before trying to use the device it failed to create.

The test is failing on Ubuntu using mesa, not Android.  LunarG should probably hook that up.  Paging @Tony-LunarG.

Ok.  It's still not clear to me why it works in Maintenance1, because the CreateDevice() in InitFramework() happens the same way in both.  But, it's not integral to this test so I'm just going to remove it for now to close this issue.
And do some more thinking about how to deal with extension-specific testing...

Should be resolved with PR #1831.

Yes, the test passes on mesa now.  Although it crashes in the driver later in VkPositiveLayerTest.ClearDepthStencilWithValidRange, which @chrisforbes has already debugged.


Fix<EMAIL_ADDRESS>remotes

I tend to remap remotes from https:// to ssh:// so I can use SSH keys. Not sure why GitHub prefers the SCP-style format.

Thanks!


Is style correctly defined in README?

In https://github.com/rishi-raj-jain/astro-font/blob/master/packages/astro-font/README.md you are providing values like style: 'bold' and style: 'medium' when I believe the only acceptable values are style: 'normal' and style: 'italic' as per the Vercel docs: https://nextjs.org/docs/pages/building-your-application/optimizing/fonts#local-fonts
Please correct me if I am wrong.

I wrote this doc to help my team: How to Use Astro-Font to Optimize Local Font Loading in Astro and Tailwind Projects

Hey @149203,

Let me get back to you on this particular issue in about 12 hours, have been pulling an all nighter for some other work today.

I wrote this doc to help my team: How to Use Astro-Font to Optimize Local Font Loading in Astro and Tailwind Projects

Woah, that's lovely really. I'll make sure to cross post it everywhere. Thank you so much! I am glad that I can contribute to the ecosystem and it's receiving such appreciation and usage.

As I see it in https://www.channelkey.com/_astro/404.b639d0ea.css, CSS is being used to load fonts and are hashed through vite during the build. Using astro-font would definitely improve the DX a lot.

I just sent out a LinkedIn connect request.

@149203
You are correct. I've updated the weight properties per the PR from @florian-lefebvre.
Thanks to you both that astro-font is improving.

I wrote this doc to help my team: How to Use Astro-Font to Optimize Local Font Loading in Astro and Tailwind Projects

Shared this on my socials:

https://twitter.com/rishi_raj_jain_/status/1776153693756252277
https://peerlist.io/scroll/post/ACTH9OLG8RLJ88NDMC8OQJMB6QP86R
https://www.linkedin.com/feed/update/urn:li:activity:7181919478501322752/


Update js-yaml to v3.13.1

A security vulnerability was found in js-yaml; the CLI doesn't
use the affected method but out of an abundance of caution we
can upgrade anyway.

Verified that @mattwiller has signed the CLA. Thanks for the pull request!


Chisel v1.8.0 with Auth changes

Rebasing with Forked jpillora Chisel (Tag v1.8.0)
Rebasing with scaledata master branch

Upgrading Chisel to v1.8.0 tag of open source https://github.com/jpillora/chisel/tree/v1.8.0


penguin-subtitle-player: init at 1.6.0

Description of changes
Add Penguin-Subtitle-Player, an open-source, cross-platform and standalone subtitle player.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review run on x86_64-linux 1

1 package built:

penguin-subtitle-player


scroll not working

I am trying to scroll using the methods provided here but I endup with an error any Idea?
https://github.com/cloudgrey-io/appiumpro/blob/22c7344f00cfc1c228552b13832d2b2ffd2027f7/java/src/test/java/Edition107_Base.java#L23
I am calling the following in my test I am using appium java client 7.0.0
scroll(ScrollDirection.DOWN);
But I am getting following error...
org.openqa.selenium.UnsupportedCommandException: actions
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.10'
Driver info: driver.version: RemoteWebDriver
	at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:218)
	at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:117)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:152)
	at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
	at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
	at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
	at org.openqa.selenium.remote.RemoteWebDriver.perform(RemoteWebDriver.java:618)
	at com.test.qa.pages.DriverPageUtil.swipe(DriverPageUtil.java:368)

@jlipps @Jonahss If you have any leads or workarounds for this problem can you please help me with.

@jlipps and @Jonahss any help on this please?

I'm not sure. You'd have to paste your appium logs to see what the issue might be.

@jlipps thanks for the response looks like the error is thrown from appium java client side itself. I can't see anything in appium server log. May I know is this scroll function works for sepcific selenium and appium java client versions? I am using appium java client 7.0.0 and selenium java 3.141.59

I could see in your repo. you are using
testImplementation group: 'io.appium', name: 'java-client', version: '7.3.0'
testImplementation group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.13.0'

Then I guess it's a client version issue. Try using my versions instead and see? I don't really keep up with the Java client, you can report an issue at the Appium java client repo if you want.

Sure I will give a try with those versions thanks


Python: fetch trcs & cert chains for verifying SignedCtrlPlds/SignedRevInfos/etc

Currently scion_elem has support for deferring the processing of a path segment until the required TRCs and cert chains have been acquired. The same approach is needed for signed ctrl payloads and signed rev infos. For signed ctrl payloads this needs to be conditional on the contents of the payload (e.g. don't try to verify payload signatures for trc/cert chain updates), and for rev info this needs to be tied to the ttl of the rev info (there's no point in trying to indefinitely verify a rev info that has expired).

Make the cert, TRC fetching more generic. Add callback for when stuff is done, maybe add a custom timer to the item in the queue.

there is a question, however, of what it does for path requests in the meantime
i guess the ideal case is that it excludes paths that would be revoked until it knows either way
but that requires some special logic


FlowController.reserve - deadlock on acquireUninterruptibly()

The FlowController:: reserve doesn't take the initial size of the semaphore into account when blocking.
Background: trying to provide limits to the pub/sub subscriber - wanted one-at-a-time.  With the size of the semaphore set to 1, pub/sub subscriber code will usually pull back more than one message (could be as many as 1000 if I'm reading the code correctly).   Each thread that processes pub/sub messages gets stuck on this call [and will never unblock].

This should have been fixed by https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1915 .
I'll close the issue for now. Please reopen if the problem persists.


[Go Live][May 24]

Push to live

Docs Build status updates of commit 6647108:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/m365-apps/extend-m365-teams-message-extension.md
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/azure-bot-channels.png
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/outlook-desktop-compose-more-apps.png
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/outlook-office-app-store.png
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/teams-manage-your-apps.png
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/toolkit-palatte-search-sample.png
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/toolkit-zip-teams-metadata-package.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit fecc7be:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/teams-toolkit-v2/createapi-client.PNG
:white_check_mark:Succeeded
View

msteams-platform/assets/images/teams-toolkit-v2/teams toolkit fundamentals/createapi-client.PNG
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/extend-m365-teams-message-extension.md
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/azure-bot-channels.png
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/outlook-desktop-compose-more-apps.png
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/outlook-office-app-store.png
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/teams-manage-your-apps.png
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/toolkit-palatte-search-sample.png
:white_check_mark:Succeeded
View

msteams-platform/m365-apps/images/toolkit-zip-teams-metadata-package.png
:white_check_mark:Succeeded
View

msteams-platform/toolkit/TeamsFx-SDK.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 2402f34:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/sbs-notification-bot/Deploy-confirm.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/app-cloud-output.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/app-cloud-output1.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/app-installation.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/app-installation1.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/channel-notification.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/channel-output.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/cloud-final-output.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/code-add.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/create-new-app.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/create-new-teams-app.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/debug-app.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/debug-cloud.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/default-program.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/deploy-cloud.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/deploy-confirmation-cloud.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/deploy-provision-success.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/file-path.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/folder-structure.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/initialize-storage.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/local-debug.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/location-change.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/member-output.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/my-notification-bot.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-notification-bot/my-notification-output.png
:white_check_mark:Succeeded
View

This comment lists only the first 25 files in the pull request.
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Skydome projection to allow dome / box sky texture projections

Fixes #5160

skydome projection, allowing cubemap to be rendered into a dome or a box

New API
Scene.sky.type  // SKYMESH_INFINITE, SKYMESH_BOX, SKYMESH_DOME
Scene.sky.scale // Vec3, scale of the sky mesh (ignored for INFINITE)
Scene.sky.center - center of the dome (tripod)  (ignored for INFINITE)

Note that the sky settings are now in a standalone Scene.sky object. In the future, all sky properties will be moved here instead of being in the Scene directly. This will give us the option to set an instance of an object like this on a camera for example, allowing different sky settings per camera.
Skybox example with controls over the parameters:
Dome:

Box:

Infinite:

Fixes #5160

Do we plan to have a SKYMESH_CUSTOM for a user-supplied mesh?

Do we plan to have a SKYMESH_CUSTOM for a user-supplied mesh?

It's definitely an option to add that was discussed, but in a separate PR

@willeastcott thanks for all the comments, all done.


Add support for --overrideing transitive dependencies.

The deep --exclude work in #2409 opens the door to easily supporting re-writing the 3rdparty requirements Pip sees during the resolve process. This would allow loosening a 3rdparty requirement range or even completely swapping one dependency for another.
I am aware of cases where folks have wanted to loosen / expand a 3rdparty requirement to allow an impossible resolve to succeed where they know the altered requirement is valid for their use case.
I am not aware of cases where completely swapping a dependency out was needed, but you could imagine using this to publish a private wheel with a project name that bears no relation to the packaged code, which is code of some 3rdparty project with fixes. Although you could usually use a VCS requirement for this sort of 3rdparty patching, VCS requirements are sdists and require wheel builds on the fly, which can be sub-optimal.

The --override option is now available in the 2.8.0 release.


Upgrade SGE Network to v1.7.0

https://explorer.tcnetwork.io/sge/proposal/9
https://explorer.tcnetwork.io/sge/block/3976350

Converting to draft as upgrade height reached before prop ended, requiring a new prop and height


Language not showing?

Hi All,
I am not able to select a different language for my BC instance. I am doing it from below window in screenshot.
However I am able to change **Region ** in this window but I cant change language , as it is showing only English(United States) for every region.

Any help would be highly appreciated.

Since this is related to a live BC tenant you would need to contact support with this case.


opentimestamps-client: 0.6.0 -> 0.7.0

The extra git check input and the patch aren't needed anymore.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/123