Updating the PRE-IMAGE proof example in Overview page

The 'EXAMPLE OF HOW TO PROVE KNOWLEDGE OF A PRE-IMAGE' on the Overview page is outdated and doesn't run on the current version of gnark.
The old example
Circuit definition is wrong (for example mimc.NewMiMC(api.Curve()) shouldn't receive a curve as input, the API is sufficient).

The following section needs to be updated as well:
https://docs.gnark.consensys.net/HowTo/write/standard_library


EXT-X-STREAM-INF & EXT-X-I-FRAME-STREAM-INF grouping

Typically we need to slice a playlist, and I'm no HLS expert, but I noticed from other examples, it seems important that the EXT-X-STREAM-INF and EXT-X-I-FRAME-STREAM-INF are together, for e.g.
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=11301000,AVERAGE-BANDWIDTH=4248000,CODECS="mp4a.40.2,avc1.42C028",RESOLUTION=1920x822
1080p/rendition.m3u8
#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1599000,AVERAGE-BANDWIDTH=531073,CODECS="avc1.42C028",RESOLUTION=1920x822,URI="1080p/rendition-iframe-index.m3u8"`

How do people typically do this? Sort on Resolution? https://godoc.org/github.com/grafov/m3u8#VariantParams

Having a quick look at the RFC https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-<IP_ADDRESS>
   The EXT-X-I-FRAME-STREAM-INF tag identifies a Media Playlist file
   containing the I-frames of a multimedia presentation.  It stands
   alone, in that it does not apply to a particular URI in the Master
   Playlist.

So I don't think EXT-X-STREAM-INF and EXT-X-I-FRAME-STREAM-INF need to be together.

They do in a practical sense. Use case: Provide this user/client with the top two renditions, lets say 1080p & 720p. The response ideally should have both #EXT-X-STREAM-INF and #EXT-X-I-FRAME-STREAM-INF, so just slicing the []Variants might not working unless they maintained the order/grouping. See the RFC's 8.5.  Master Playlist with I-Frames section which I was unable to work out to hyperlink.

I can understand your use case might want to have them related, but as this is library provides low-level access to reading and writing HLS streams, we won't couple these two together.
I.e. Because the HLS RFC treats these separately, this library will continue to do the same. However, we wouldn't exclude be open to the idea of providing higher level abstractions, but we just haven't had the use case nor pull requests to support it.
If you have thoughts and a clear API on how this could be achieved, I'd think we'd be open to potentially merging in those abstractions, but it's not there because they are two different unrelated attributes according to the RFC.

In the meantime I am maintaining an order and slicing evenly, 2,4,6 to ensure the i-frame counterparts are together. I will think how to do it, though I must concede I am bit of a golang newb.

This is kind of an old thread but it seemed to be the only place I could find through Google searches where there was somebody who seems to know anything about the subject I'm curious about.  So I am throwing myself upon your mercy & hoping you can explain this for me.  I need to clarify I am just a user, not looking to do any programming nor to build any web sites that offer streaming media.  My favorite site to use is the Metropolitan Opera.  The m3u8 files in their On Demand area for their free nightly streams always have statements in pairs:
#EXT-X-STREAM-INF
#EXT-X-I-FRAME-STREAM-INF
To my layman's eye, these 2 statements always describe the exact same stream.  My question is simply why are there both statements in the manifest?  I've been using ffmpeg to download the non-I-FRAME streams & they seem to be perfectly fine once I get them.  I've never tried to download the I-FRAME streams, partly because they look like duplicates, partly because I don't know what they give me that the other streams do not.  Why do these I-FRAME streams exist?  How do they differ from the other streams?  What do people who construct web sites use them for?  How do they decide when to use one or the other?  In the case of the Met, they have 2 different places where you can get their nightly free streams.  The manifests in one of those places consistently does not have the I-FRAME streams, while the manifests in the other place (their On Demand area) consistently do have these pairs of streams with one member of each pair being one of these I-FRAME things.  I do hope you can enlighten me.  If you like, I can post sample m3u8 files here to perhaps clarify what I'm looking at.
Thank you for answering me . . .  he said, being a great optimist & hoping somebody will answer me.

Skipping from my understanding, the purpose of EXT-X-I-FRAME-STREAM-INF.
Essentially, an i frame contains all the information for a video frame.
When playing a video, it’s made up of differences between each frame. This
works well when playing a video from start to finish. You start a video,
and compression works well by playing a frame and then storing and playing
back the difference between each frame. Most scenes vary by very little.
I’m completely glossing over so many facts here.
But what if someone wants to skip through certain parts of a video, but see
what happens at each part? If someone skips between minute 1, to 2, to 3,
then they’d need all the frames from start to end in order to recreate a
single frame.
So, in order for them to support someone to skip through a video and show
the frame immediately, this required an index of each frame that contains
all the information. An I frame (not a p frame etc). So this tag notes all
the frames which are I frames.
Glossing over so many details here, but hoping this’d answer your question
quickly so you can Google more with some context.
See:
https://en.m.wikipedia.org/wiki/Video_compression_picture_types
https://developer.apple.com/documentation/http_live_streaming/hls_authoring_specification_for_apple_devices
On Fri, 2 Apr 2021 at 9:02 pm, GrampaWildWilly @.***>
wrote:

This is kind of an old thread but it seemed to be the only place I could
find through Google searches where there was somebody who seems to know
anything about the subject I'm curious about. So I am throwing myself upon
your mercy & hoping you can explain this for me. I need to clarify I am
just a user, not looking to do any programming nor to build any web sites
that offer streaming media. My favorite site to use is the Metropolitan
Opera. The m3u8 files in their On Demand area for their free nightly
streams always have statements in pairs:
#EXT-X-STREAM-INF
#EXT-X-I-FRAME-STREAM-INF
To my layman's eye, these 2 statements always describe the exact same
stream. My question is simply why are there both statements in the
manifest? I've been using ffmpeg to download the non-I-FRAME streams & they
seem to be perfectly fine once I get them. I've never tried to download the
I-FRAME streams, partly because they look like duplicates, partly because I
don't know what they give me that the other streams do not. Why do these
I-FRAME streams exist? How do they differ from the other streams? What do
people who construct web sites use them for? How do they decide when to use
one or the other? In the case of the Met, they have 2 different places
where you can get their nightly free streams. The manifests in one of those
places consistently does not have the I-FRAME streams, while the manifests
in the other place (their On Demand area) consistently do have these pairs
of streams with one member of each pair being one of these I-FRAME things.
I do hope you can enlighten me. If you like, I can post sample m3u8 files
here to perhaps clarify what I'm looking at.
Thank you for answering me . . . he said, being a great optimist & hoping
somebody will answer me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/grafov/m3u8/issues/91#issuecomment-812482990, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN74UPFYSKLIRBJVCG4AJ3TGWP5LANCNFSM4DO2NQGA
.

--
Bradley Falzon
@.***

Thank you so much for responding, Bradley.
Before I read the references you provided, I tried an experiment mainly to just satisfy my own curiosity.  I downloaded one of the I-FRAME streams for what was at that moment the current available Metropolitan Opera free performance.  It was first on TV in 1988 so it's not in HD, meaning it's a lot smaller file than their more modern offerings.  The first thing I noticed in the ffmpeg log is that ffmpeg had to read 23 chunks before it could display its little stream description that includes the duration, resolution, frame rate, you know, all that stuff.  Compare this with the usual thing I see, which is that ffmpeg reads 2 chunks of a stream & that's all it needs before it can report those things.  This particular stream consisted of 4012 chunks.  It took about 12 minutes to download & I got a file of 197M that claimed to be of resolution 720x486, duration 2:13:52, all about as expected, although the file size seemed a bit small to me.  Also as expected, it had a video track but no audio track.  The Met makes these shows available as separate audio & video files, so this is normal.  The curious thing is it claimed to have a frame rate of 0.  Despite that, I went ahead & tried to play it in VLC.  I got a black screen.  Skimming through the file in VLC, it appears to be a black screen for the whole 2+ hours of the file.  It so happens that they offered this same performance as a free stream one night last July & I got it then.  The video file is actually 1.21G, a hair larger than 197M.  So whatever this is, it isn't a playable video.
Your idea that the I-FRAME stream is like an index that allows a user to skip around in the stream sounds reasonable.  On the other hand, the other place on the Met web site where the same performance was currently available does not have I-FRAME descriptors & despite that, you can skip around in that player.  So even though your idea sounds reasonable, I'm a bit doubtful.  Is there a format that separates a video stream into a stream of P frames & a stream of I frames?  Like, a normal stream has the P frames & the I frames integrated but there's another format in which the 2 types of frames are separate?  If that's the case, I'd expect to see another descriptor in the manifest for the stream of P frames but I don't.  The regular #EXT-X-STREAM-INF descriptors in these manifests give playable MP4 files, which leads me to believe they have integrated P & I frames.  I've never downloaded an I-FRAME stream before just now & I've never had a problem playing back the operas.
Then I read the Wikipedia article . . . after adjusting the URL you gave to be for the desktop site instead of for the mobile site.  That made me realize that the questions I just asked about a stream of all P frames & all I frames are pretty stupid.  Given what I read there, a stream of all any kind of frame just isn't something that is done.  A stream is a combination of I frames, P frames, and something that hasn't come up in this discussion until now, B frames.  My understanding is that to encode a video, you start with a given image, but then you describe differences in that image that give the illusion of motion happening.  When you look at movements happening, a lot of what your eyes take in isn't changing moment to moment.  So a video is encoded by describing differences moment to moment rather than repainting the whole image in which maybe 90% of it is the same as the moment before.    An I-frame has nothing to do with an index.  An I-frame is a complete image.  Actually, I could put that in quotation marks because that's what it says in the Wikipedia article.  After the I-frame, there follows a sequence of some number of B-frames & P-frames.  Then at a certain point there's another I-frame followed by more of the other types of frame.  So a video has I-frames scattered throughout it in some pattern, at some frequency.  These are complete images that you can skip to & resume playback from.  But a stream of all I-frames is kind of a dumb idea.  I suppose it would be a worst-case example of a video that couldn't be compressed.
This brings me to the conclusion that I-frames in a stream & the #EXT-X-I-FRAME-STREAM-INF statement in a manifest are not related.  They don't deal with the same concept.  It also makes me think the #EXT-X-I-FRAME-STREAM-INF statement actually has nothing to do with being able to skip around from one time index to another in a stream player.  I can see where the existence of I-frames within a stream would facilitate that, but the #EXT-X-I-FRAME-STREAM-INF statement must have some other purpose.  It's probably an unfortunate coincidence that there's something called I-frames in streams & there's a statement called #EXT-X-I-FRAME-STREAM-INF in manifests.  Maybe, because HLS is an Apple invention, they call them iFrames, in the same spirit as iPod, iMac, iPhone, etc. & that's how the #EXT-X-I-FRAME-STREAM-INF statement came to exist in manifests.  Is our language really so poor that we have to resort to calling utterly different things by the same name?  (Rhetorical question.)
Hoping to gain further insight, I moved on to the Apple document.  That seems like a really high-level set of rules for constructing a stream to conform to Apple's HLS standard.  Like I said before, I'm not in that business.  The document didn't particularly move me closer to an understanding of the #EXT-X-I-FRAME-STREAM-INF statement in manifests.  But that document has links to other documents that I will, over the next few days, navigate to & see if I can make heads or tails of whatever I find.  Maybe I'll also get a clue why the #EXT-X-I-FRAME-STREAM-INF stream I downloaded isn't really playable in VLC.  It plays but there's no viewable images there.  So what good is it?  That's a question I hope to answer with further reading.

For the actual HLS specification refer to
https://tools.ietf.org/html/rfc8216
Without this playlist you certainly can skip around, the idea is that a
player could show you the frame you’re skipping to a lot quicker - it
doesn’t need to download much data (I frame and p frames, when just an
iframe would do).
I’m skipping over a lot of details here, again, on mobile and on holiday.
I don’t know exactly how this file would play, I’ve never looked at one
myself for a very long time. Perhaps play it in ffplay instead of ffmpeg.
But essentially that directive provides a URL to a file with just i frames,
what the player does is up to the player, but they use it to make skipping
forward or backward better.
On Sat, 3 Apr 2021 at 1:33 pm, GrampaWildWilly @.***>
wrote:

Thank you so much for responding, Bradley.
Before I read the references you provided, I tried an experiment mainly to
just satisfy my own curiosity. I downloaded one of the I-FRAME streams for
what was at that moment the current available Metropolitan Opera free
performance. It was first on TV in 1988 so it's not in HD, meaning it's a
lot smaller file than their more modern offerings. The first thing I
noticed in the ffmpeg log is that ffmpeg had to read 23 chunks before it
could display its little stream description that includes the duration,
resolution, frame rate, you know, all that stuff. Compare this with the
usual thing I see, which is that ffmpeg reads 2 chunks of a stream & that's
all it needs before it can report those things. This particular stream
consisted of 4012 chunks. It took about 12 minutes to download & I got a
file of 197M that claimed to be of resolution 720x486, duration 2:13:52,
all about as expected, although the file size seemed a bit small to me.
Also as expected, it had a video track but no audio track. The Met makes
these shows available as separate audio & video files, so this is normal.
The curious thing is it claimed to have a frame rate of 0. Despite that, I
went ahead & tried to play it in VLC. I got a black screen. Skimming
through the file in VLC, it appears to be a black screen for the whole 2+
hours of the file. It so happens that they offered this same performance as
a free stream one night last July & I got it then. The video file is
actually 1.21G, a hair larger than 197M. So whatever this is, it isn't a
playable video.
Your idea that the I-FRAME stream is like an index that allows a user to
skip around in the stream sounds reasonable. On the other hand, the other
place on the Met web site where the same performance was currently
available does not have I-FRAME descriptors & despite that, you can skip
around in that player. So even though your idea sounds reasonable, I'm a
bit doubtful. Is there a format that separates a video stream into a stream
of P frames & a stream of I frames? Like, a normal stream has the P frames
& the I frames integrated but there's another format in which the 2 types
of frames are separate? If that's the case, I'd expect to see another
descriptor in the manifest for the stream of P frames but I don't. The
regular #EXT-X-STREAM-INF descriptors in these manifests give playable MP4
files, which leads me to believe they have integrated P & I frames. I've
never downloaded an I-FRAME stream before just now & I've never had a
problem playing back the operas.
Then I read the Wikipedia article . . . after adjusting the URL you gave
to be for the desktop site instead of for the mobile site. That made me
realize that the questions I just asked about a stream of all P frames &
all I frames are pretty stupid. Given what I read there, a stream of all
any kind of frame just isn't something that is done. A stream is a
combination of I frames, P frames, and something that hasn't come up in
this discussion until now, B frames. My understanding is that to encode a
video, you start with a given image, but then you describe differences in
that image that give the illusion of motion happening. When you look at
movements happening, a lot of what your eyes take in isn't changing moment
to moment. So a video is encoded by describing differences moment to moment
rather than repainting the whole image in which maybe 90% of it is the same
as the moment before.  An I-frame has nothing to do with an index. An I-frame is
a complete image. Actually, I could put that in quotation marks because
that's what it says in the Wikipedia article. After the I-frame, there
follows a sequence of some number of B-frames & P-frames. Then at a certain
point there's another I-frame followed by more of the other types of frame.
So a video has I-frames scattered throughout it in some pattern, at some
frequency. These are complete images that you can skip to & resume playback
from. But a stream of all I-frames is kind of a dumb idea. I suppose it
would be a worst-case example of a video that couldn't be compressed.
This brings me to the conclusion that I-frames in a stream & the
#EXT-X-I-FRAME-STREAM-INF statement in a manifest are not related. They
don't deal with the same concept. It also makes me think the
#EXT-X-I-FRAME-STREAM-INF statement actually has nothing to do with being
able to skip around from one time index to another in a stream player. I
can see where the existence of I-frames within a stream would facilitate
that, but the #EXT-X-I-FRAME-STREAM-INF statement must have some other
purpose. It's probably an unfortunate coincidence that there's something
called I-frames in streams & there's a statement called
#EXT-X-I-FRAME-STREAM-INF in manifests. Maybe, because HLS is an Apple
invention, they call them iFrames, in the same spirit as iPod, iMac,
iPhone, etc. & that's how the #EXT-X-I-FRAME-STREAM-INF statement came to
exist in manifests. Is our language really so poor that we have to resort
to calling utterly different things by the same name? (Rhetorical question.)
Hoping to gain further insight, I moved on to the Apple document. That
seems like a really high-level set of rules for constructing a stream to
conform to Apple's HLS standard. Like I said before, I'm not in that
business. The document didn't particularly move me closer to an
understanding of the #EXT-X-I-FRAME-STREAM-INF statement in manifests. But
that document has links to other documents that I will, over the next few
days, navigate to & see if I can make heads or tails of whatever I find.
Maybe I'll also get a clue why the #EXT-X-I-FRAME-STREAM-INF stream I
downloaded isn't really playable in VLC. It plays but there's no viewable
images there. So what good is it? That's a question I hope to answer with
further reading.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/grafov/m3u8/issues/91#issuecomment-812803578, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN74UMS5Z3FMLAM7C7H5VTTG2EAHANCNFSM4DO2NQGA
.

--
Bradley Falzon
@.***

Of course!  ffplay.  Now why didn't I think of that?  Brilliant!  Give yourself a raise.
I'd never even thought to execute ffplay before.  It comes with ffmpeg & ffprobe, both of which I have used, but I've always just used VLC to play videos.  So I guessed that I needed to open a command session & run ffplay giving it the name of the MP4 file as input.  To no-one's surprise, this worked.  It opens a video player window outside the command session but there's a running time index counter in the command session while the video is playing.  The video, such as it is, consists of one frame every approximately 2 seconds.  From this I conclude that the full performance, which occupies 1.21G as I said, contains an I-frame every 2 seconds, more or less.  I imagine this is a choice the Metropolitan Opera has made.  Other sites might use a different frequency.  Yes?  The I-frames evidently occupy 197M of the 1.21G.  The Met uses the Brightcove player.  As I've been saying, they have the player embedded on 2 different pages, but only one of them (in the On Demand area) presents a manifest that has these #EXT-X-I-FRAME-STREAM-INF statements in it.  That manifest also offers more choices of video resolution than the other player.  It often shows a couple of streams at a higher resolution than you can get on the other page.  And even when they both show the same highest resolution, the On Demand area offers a stream that has a higher BANDWIDTH parameter, which I have always taken to mean it's a better quality video.  I have come to understand that resolution alone does not quantify how good a video is.  You also have to look at the bit rates.  Bit rates are shown in the file Properties dialog on Windows (and in ffprobe results).  There is a direct correlation between the file bit rates & the BANDWIDTH shown in a manifest, but I don't know what the conversion formula is to convert one unit of measure to the other . . . or even if such a calculation can be made.
OK.  You've convinced me.  I stand educated.  Thank you.  Evidently, the On Demand player can skip around within an opera better than the other player can.  I'm not sure how noticeable the improvement might be to a human, but I suppose it must be measurable.  Since I just about never stream their shows, I wouldn't be a good candidate to evaluate that.  I just download the regular streams & play them in VLC.  VLC can skip around in the videos & it doesn't need the help of the I-frame stream.  But then, we're talking about 2 entirely different situations.  One is the dynamic download in chunks & playback of the chunks of an online stream.  This process is at the mercy of the speed & quality of your Internet connection.  It makes perfect sense to me that skipping around in the online stream could use some help.  The other situation is the playback of a file that is already resident on your system.  There can't be any buffering delays in this case.  Skipping around is constrained only by the speed of your CPU & disk drives, & I believe it doesn't take a whole lot of hardware speed to do this skipping around.
Once again, thank you.  I think I get it.


Consider rewording of "Good to hear" section in answers

The phrase "Good to hear" is  confusing for native English speakers on first glance in this application's context. It's typically used in response rather than as a signal to someone that information will follow. The phrase also doesn't convey that the section is essentially a summary of the longer answer's thesis.
I suggest changing the section title to a more apt word or phrase like "In Short" or "Good to know."

Good to know might be a better header. Thankfully it shouldn't be too hard to change all instances in the snippets. I'll await final decision before doing an awk/sed replace

When I first saw it, "Good to hear" meant "It's also good [for the interviewer] to hear these points". Though maybe I've looked at it too much since.

You might be right actually. I would like to hear feedback from every member of the core team so we can decide if we're going to replace Good to hear phrase. Thanks for noticing this!
In Serbian, that phrase means the same as @atomiks said:

When I first saw it, "Good to hear" meant "It's also good [for the interviewer] to hear these points". Though maybe I've looked at it too much since.

My opinion on it is that it's "Good to hear[ for the interviewer]" but again developer bias. That may not be obvious to those that come to the site.


fix: table button multi-line execution

Description
Critical fix for table multiline execution
Fixes #11514
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: fix/table-button-multiline

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
55.72 (0)
37.06 (0.01)
35.8 (0.01)
56.08 (0)

:green_circle:
app/client/src/widgets/ListWidget/widget/index.tsx
63.34 (0)
27.64 (0.28)
58.49 (0)
62.54 (0)

:red_circle:
app/client/src/workers/lint.ts
94.87 (-5.13)
70 (-13.33)
100 (0)
94.44 (-5.56)

/ok-to-test sha=fea2bc5

/ok-to-test sha=2a2b873

/ok-to-test sha=2a2b873


Snackbar conflicts with update of prop/state

Hi all,
I have encountered an issue when using Snackbar with dynamic contents.
When snackbar is shown, any update of prop/state will render a broken snackbar.
Sometimes the snackbar never disappears, sometimes shows no text.
I have created a minimal sandbox reproducing this problem
HERE
Simply click the button, you can see a broken snackbar.
But if you remove the setState(), the snackbar renders OK.
I assume it might be triggered by unnecessary rerendering on Snackbars.
Maybe we could somehow prevent the snackbars from re-rendering with shouldComponentUpdate()?

Hi, I've opened a PR at https://github.com/prateekbh/preact-material-components/pull/317


Make filters which are valid regexps be treated as regexps

#567
Seems to work for Api Name field

Thank you! Potentially related to #567 and #307

Do you need more to merge?

Nice and clean @rcowham thank you. It should be live within 24 hours.


Fix ordering in batch requests greater than or equal 10.

Fixes the sorting introduced in #268  for batches with a size greater than or equal 10.
The currently implemented sorting mechanism relays on a String-sort which may lead to incorrect sorting behaviour for numbers greater than or equal 10. This PR will fix the sorting by transforming the discriminator to a Int before the sorting applies. In the special case of AWS SQS we should be able to do this without to worry about NumberFormatExceptions, see SendMessageBatch.
Please note that AWS SQS has currently no support for batches with a size greater than 10 by design.

Sorry @adamw that I noticed the error now, was too fast with my PR. I hope the comments and the test are sufficient enough now.

No problem - should be fixed in 0.14.10


Upgrade kryo to 5.5.0

https://github.com/EsotericSoftware/kryo/releases/tag/kryo-parent-5.5.0
Should be compatible based on the release notes.

refs #10


q: how can i display full path name of file like how vim by default does

why you have changed that feature.
it is very confusing not to seeing the full pathname of a file.

Use absolutepath component.
let g:lightline = {
      \ 'active': {
      \   'left': [ [ 'mode', 'paste' ],
      \             [ 'readonly', 'absolutepath', 'modified' ] ],
      \ },
      \ 'inactive': {
      \   'left': [ [ 'absolutepath' ] ],
      \ },
      \ }

i think you should make this default

Users can configure the behavior and I can't change the default behavior which is  used for years.

ok, can you please explain what  %F in  'absolutepath': '%F'  does?
how can i get the path in that format in normal mode?
i know that echo @% print the file path relative to the working dir.

Please refer to :h 'statusline' and search by /F S.


[stm32] clang tidy still doesn't load compilation database

Issue #200 seems not fixed properly. In stm32 project I still get clang-tidy errors caused by missing compilation_commands.json
Probably the issue is that fix checks "esp32" as target.family instead of "stm32": scargo/commands/check.py:302
Besides, compile_commands.json is inside ./build/Debug directory, not ./build/ (see: scargo/commands/check.py:298).

Fixed in https://github.com/Spyro-Soft/scargo/pull/336


Refactor spdm_get_measurement_summary_hash to spdm_device_secret_lib.

Fix for issue:
https://github.com/DMTF/libspdm/issues/267
Signed-off-by: Kong, Richard<EMAIL_ADDRESS>

looks good to me.


minor edit

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

enterprise-graph/schema-map-tutorial.md
76
36
8
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

OPS Build status updates of commit c032231:
:warning: Validation status: warnings

File
Status
Preview URL
Details

toc.json
:warning:Warning

Details

breadcrumb/toc.json
:warning:Warning

Details

enterprise-graph/schema-map-tutorial.md
:white_check_mark:Succeeded

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\4xk2\toc.json'.

breadcrumb/toc.json

[Warning] Error happen when converting breadcrumb/toc.json to Pdf. Details: Could not find a part of the path 'T:\4xk2\breadcrumb\toc.json'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

enterprise-graph/schema-map-tutorial.md
74
59
28
link
:white_check_mark:

enterprise-graph/toc.yml
100
100
0
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

OPS Build status updates of commit 78e0533:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/enterprise-graph-docs-pr, working directory: W:\vmso-s, target branch: master, target branch commit: 6d2825d1119a6dcb6fb130832cbd6562ab874a9e, source branch: 3638ce60ebef810876cd6fbb8bd88ec9/master, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 83a214b:
:warning: Validation status: warnings

File
Status
Preview URL
Details

breadcrumb/toc.json
:warning:Warning

Details

toc.json
:warning:Warning

Details

breadcrumb/toc.json

[Warning] Error happen when converting breadcrumb/toc.json to Pdf. Details: Could not find a part of the path 'T:\va5k\breadcrumb\toc.json'.

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\va5k\toc.json'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Data_Team.team_Path DoS when using non-existing team names

Here is the test that shows the problem
    using new Data_Team(), ->
      for i in [1..40]
        (@.team_Path('bsimm', 'team-A')).assert_File_Exists()           # using 'team-A' for team
      (Date.now() - start).assert_In_Between 50, 100                    # fast when team exists
      for i in [1..40]
        assert_Is_Null @.team_Path('bsimm', 'aaaa')                     # using 'aaaa' for team
      console.log (Date.now() - start)
      (Date.now() - start).assert_In_Between 400, 900                   # slow when it doesn't

Fixed,
Here is the regression test
  it.only 'Data_Team.team_Path DoS when using non-existing team names #169', ->                                                                      #   once per project (i.e. 150+ times)
    start = Date.now()
    using new Data_Team(), ->
      for i in [1..40]
        (@.team_Path('bsimm', 'team-A')).assert_File_Exists()           # using 'team-A' for team
      (Date.now() - start).assert_In_Between 10, 100                    # fast when team exists
      for i in [1..1000]
        assert_Is_Null @.team_Path('bsimm', 'aaaa')                     # using 'aaaa' for team
      (Date.now() - start).assert_In_Between 10, 100                    # was slow when it doesn't


CustomUpload component not used

Describe the Bug
A custom Upload component configured in an upload activated collection via admin.components.edit.Upload is not used. Only the default Upload component is used.
The Problem lies here: https://github.com/payloadcms/payload/blob/main/packages/ui/src/elements/BulkUpload/EditForm/index.tsx#L160
The || syntax is not valid for react components, it should be ?:.
Link to the code that reproduces this issue
https://github.com/tylkomat/payload/tree/bug-custom-upload
Reproduction Steps

run `pnpm dev:generate-importmap _community
run pnpm dev _community
visit the Media collection and upload an image to see the Upload component in the edit form

Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
Payload: 3.12.0
NextJS: 15.1.3
Nodejs: 20.12.2

Hey @tylkomat,
So this may be related to/possible duplicate of #9591. The root of the issue is that the map of components to override with, currently, does not check for or add a custom upload component. You can add one in config, have the importMap pick it up, but it will not be rendered as it's simply not included in the rendering of fields. There's a PR attached to the aforementioned issue that should do exactly that.
All the || does in the context of rendering React components is check if the first provided value is falsey, and if so, proceed with the second. As custom upload components are not included as of right now, that check will always default to the fallback of the standard Upload element.
Hopefully that PR gets looked at soon though!

Yes, it is a duplicate. Sorry, didn't see the other issue.

In the interim I have been using the below<EMAIL_ADDRESS>patch to allow the use of a CustomUpload component until the PR is merged in.
diff --git a/dist/views/Document/renderDocumentSlots.js b/dist/views/Document/renderDocumentSlots.js
index a251f39546dcfb9fc566c3d7b948bc80c66a8e00..9d2ba95113ce2579ce998954f92524355e483c8c 100644
--- a/dist/views/Document/renderDocumentSlots.js
+++ b/dist/views/Document/renderDocumentSlots.js
@@ -71,6 +71,13 @@ export const renderDocumentSlots = args => {
       }
     }
   }
+  if (collectionConfig.upload && collectionConfig?.admin?.components?.edit?.Upload) {
+    components.Upload = RenderServerComponent({
+      Component: collectionConfig?.admin?.components?.edit?.Upload,
+      importMap: req.payload.importMap,
+      serverProps
+    })
+  }
   return components;
 };
 export const renderDocumentSlotsHandler = async args => {


API Browser shows no results (including .NET, .NET Standard, UWP, Windows Desktop, etc.)

Describe the bug
Today（mostly this afternoon), whatever keyword I typed in the ".NET API broser" page, it shows no results always.
Expected behavior
It should shows api items about keyword.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 21H2
Browser: Microsoft Edge
Version: 114.0.1823.43

Additional context
I also tried it on Android(using system webview), the situation is same.
Is there something wrong with the server?

Today(2023/06/21), the ".NET API browser" is back to normal.


[18.03] geary: 0.12.1 -> 0.12.2

Motivation for this change
Geary 0.12.2 fixes an annoying bug.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build gnome3.geary

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: gnome3.geary
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: gnome3.geary
Partial log (click to expand)
Wrapping program /nix/store/jvg0qykbibshcc71whz4mc9gsd402fdl-geary-0.12.2/bin/geary
Wrapping program /nix/store/jvg0qykbibshcc71whz4mc9gsd402fdl-geary-0.12.2/bin/geary-attach
shrinking RPATHs of ELF executables and libraries in /nix/store/jvg0qykbibshcc71whz4mc9gsd402fdl-geary-0.12.2
shrinking /nix/store/jvg0qykbibshcc71whz4mc9gsd402fdl-geary-0.12.2/bin/.geary-wrapped
shrinking /nix/store/jvg0qykbibshcc71whz4mc9gsd402fdl-geary-0.12.2/lib/geary/web-extensions/libgeary-web-process.so
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/jvg0qykbibshcc71whz4mc9gsd402fdl-geary-0.12.2/lib  /nix/store/jvg0qykbibshcc71whz4mc9gsd402fdl-geary-0.12.2/bin
patching script interpreter paths in /nix/store/jvg0qykbibshcc71whz4mc9gsd402fdl-geary-0.12.2
/nix/store/jvg0qykbibshcc71whz4mc9gsd402fdl-geary-0.12.2/bin/.geary-attach-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
checking for references to /build in /nix/store/jvg0qykbibshcc71whz4mc9gsd402fdl-geary-0.12.2...

Success on aarch64-linux (full log)
Attempted: gnome3.geary
Partial log (click to expand)
Wrapping program /nix/store/ylnnzsp9azywxwsy6bx0rd3cc027fgfb-geary-0.12.2/bin/geary-attach
shrinking RPATHs of ELF executables and libraries in /nix/store/ylnnzsp9azywxwsy6bx0rd3cc027fgfb-geary-0.12.2
shrinking /nix/store/ylnnzsp9azywxwsy6bx0rd3cc027fgfb-geary-0.12.2/lib/geary/web-extensions/libgeary-web-process.so
shrinking /nix/store/ylnnzsp9azywxwsy6bx0rd3cc027fgfb-geary-0.12.2/bin/.geary-wrapped
strip is /nix/store/ppn001bfygzlqx4h50n9zgxc3kqv2d6k-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/ylnnzsp9azywxwsy6bx0rd3cc027fgfb-geary-0.12.2/lib  /nix/store/ylnnzsp9azywxwsy6bx0rd3cc027fgfb-geary-0.12.2/bin
patching script interpreter paths in /nix/store/ylnnzsp9azywxwsy6bx0rd3cc027fgfb-geary-0.12.2
/nix/store/ylnnzsp9azywxwsy6bx0rd3cc027fgfb-geary-0.12.2/bin/.geary-attach-wrapped: interpreter directive changed from "/bin/bash" to "/nix/store/1gk1g42x90yp3avlz3grxv917ppvqf5s-bash-4.4-p12/bin/bash"
checking for references to /build in /nix/store/ylnnzsp9azywxwsy6bx0rd3cc027fgfb-geary-0.12.2...
/nix/store/ylnnzsp9azywxwsy6bx0rd3cc027fgfb-geary-0.12.2

Thank you!


Request for adding paper

Thank you for maintaining this repository!
I would like to suggest a new conference paper belonging to UDA Semantic Segmentation (NeurIPS2022).
Title: Deliberated Domain Bridging for Domain Adaptive Semantic Segmentation
Link: https://arxiv.org/abs/2209.07695
Code: https://github.com/xiaoachen98/DDB

Very impressive work! I have added it to the list.


nodenv org

I spoke with @wfarr about the nodenv org. Apparently, he wasn't the org's creator, but was invited as a member. He has invited @OiNutter as an owner so we should be able to begin using the nodenv org for nodenv and all the related plugins.
Opening this issue as a place for discussion and tracking the 'migration'
@OiNutter once you are in the nodenv org, would you mind adding us maintainers, as well?

Ok, you guys are added now. Is the intention to replace the @wfarr's version of nodenv with this one? Or try and merge the 2 together?
Also thanks for keeping on top of the issues etc with this guys, sorry I've not really been around to help out. You guys are doing a great job.

I'm curious what @wfarr's opinion is. Are there features of his that aren't in ours? If so we could merge those features in. Structurally, I would prefer to modify our nodenv as little as possible since it's been kept very close to rbenv; which has enabled us to keep up to date with rbenv changes and merging in those changes from 'upstream'. But any features that wfarr's nodenv has that ours doesn't could certainly be discussed.
As for the destination of the two repositories, my personal preference is to move @OiNutter's nodenv into the nodenv org (along with all associated plugins that we intend to maintain). @wfarr's nodenv can be spun back out as a personal repo? Or kept under nodenv with a different name? Or removed altogether depending on his goals for that project. I think most of this hinges on his opinions and goals.

thoughts @wfarr on the fate of your nodenv?
And what of the existing members of the org? @ericanderson @rtgibbons @xdissent
Are you folks interested in remaining in the nodenv org and helping maintain @OiNutter's nodenv and related plugins?

I have no strong opinions either way. Unless anyone has any objections, I'm fine completely sunsetting my nodenv and pointing people at the one that's actively maintained.

I'm fine with migrating my plugins and the homebrew-nodenv tap to the nodenv org.

Do we have any idea of who, if anyone, is pointing to nodenv/nodenv? The
old homebrew formula was pointing to wfarr/nodenv and not to the nodenv
org's fork. Should it be safe to just force-push the new nodenv into
nodenv/nodenv?
Or should we attempt to delete nodenv/nodenv, and then have @oinutter
transfer oinutter/nodenv into the org?
On Thu, Nov 19, 2015 at 11:42 AM, Josh Hagins<EMAIL_ADDRESS>wrote:

I'm fine with migrating my plugins and the homebrew-nodenv tap to the
nodenv org.
—
Reply to this email directly or view it on GitHub
https://github.com/OiNutter/nodenv/issues/27#issuecomment-158113670.

Don't delete it please. Just rename it and update the README to explain the deprecation and point to the new project. Someone may still be using it, so we should keep the code around for posterity's sake.

fair. I was thinking that the one under your username would remain for
sure. that's why i was curious how popular nodenv/nodenv repo was (vs
wfarr/nodenv). But renaming is a better direction, anyway
On Thu, Nov 19, 2015 at 1:30 PM, Will Farrington<EMAIL_ADDRESS>wrote:

Don't delete it please. Just rename it and update the README to explain
the deprecation and point to the new project. Someone may still be using
it, so we should keep the code around for posterity's sake.
—
Reply to this email directly or view it on GitHub
https://github.com/OiNutter/nodenv/issues/27#issuecomment-158148071.

@wfarr care about the name?
nodenv-old nodenv-deprecated nodenv-wfarr

Any of the @nodenv/owners (@wfarr, @OiNutter, @ericanderson) care to either make me an admin or rename the nodenv/nodenv repo themselves?
My vote is to rename it as wfarr-nodenv. nodenv-wfarr could be confusing as it follows the same structure as nodenv plugins. I might even suggest just naming it wfarr, old or deprecated since it would be under the nodenv org as nodenv/wfarr (or nodenv/old, nodenv/deprecated)

@jasonkarns I think wfarr-nodenv works. nodenv should definitely be in the name somewhere to prevent confusion.

@jasonkarns I've renamed the repo to wfarr-nodenv and I've also added you to the Administrators team, (Renamed from Owners because GitHub have changed a load of stuff and suggested it was a good idea) I've also migrated the Administrators team to the new permissions.

Is there anything else or can we close this issue now?

I think we'll need to keep this open as we continue through the rest of the process.

this repo now needs transferred to nodenv/nodenv (https://help.github.com/articles/transferring-a-repository/#transferring-from-a-user-to-an-organization)
current maintainers on this repo need added as members of the nodenv group (who?)
we need to decide which plugins we'll accept ownership of. I'm of the opinion we should accept all of the nodenv plugins that are authored by current maintainers, but I don't want to presume.

 Could you list them?

@OiNutter I see that I'm a member of the Administrators team, but I still only have Member rights, not Admin rights. I attempted to transfer the first of my repos to the nodenv org, but the transfer failed because I'm not an admin of nodenv.

@OiNutter can you make me an admin in the nodenv org? (see previous comment)

ping @OiNutter ^^

alternatively @ericanderson, are you able to add me as an admin (see https://github.com/OiNutter/nodenv/issues/27#issuecomment-167722292)

Done, sorry!

@OiNutter thanks! are you also able to transfer nodenv, node-build, and nodenv-vars to the nodenv org soon?

Just moved them now


unknow option 'splitkeep' in neovim 0.8.2

Describe the bug
show unknow option 'splitkeep' error.
System information

OS: linux
Neovim version: 0.8.2
Aerial config:

require("aerial").setup {}

To Reproduce
while jumping to declaration.
Screenshots
Additional context
need to change splitkeep option checking from:
if vim.o.splitkeep and vim.o.splitkeep ~= "cursor" then

to
 if vim.fn.exists('&splitkeep') == 1 and vim.o.splitkeep ~= "cursor"

Same happens to me and above solution works

Thanks for the report! Fixed and regression tests added.


[#3629] Improve Collaborate page layout

#3629 Makes use of CSS flex to correctly display group cards at all times in Collaborate page.

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

Go to the Find Groups page
Clear your browser's cache so that group images get loaded upon next refresh.
Refresh the page and confirm that while it's loading all group cards are displayed correctly and their content does not overlap.

@maurier I see this problem in beta and production due to sheer number of groups. On the develop branch, I'm unable to replicate the issue on my laptop, short of creating a few hundred groups. Please advise.

@cuahsimarko I think that in order to test this we will need to deploy this branch to a VM with a copy of the database. Can you set one up?


Updated API docs

💡 Why
Asana Card
Since we have updated the code, we want to let customers know of the changes.

📝 What
Updated docs to reflect 9 character limit for Payout/PayoutRequests

🏚 Before
Payout

PayoutRequest

🏡 After
Payout

PayoutRequest

I can deploy this tomorrow @sharmanat0r  once we have confirmed the functionality


refactor(cdk/testing): make the protractor environment a thin wrapper around the webdriver environment

@googlebot I consent.

I'm going to hold off on this until after the webdriver environment lands on master branch


needs to move up before setting the highestBidder and highest bid

https://github.com/mutahhirkhan/auctioning/blob/b3bb01a3bb25d36b5661d68bd87ba0e8af669cfc/contracts/DAuctions.sol#L184

Update the Highest Bidder after refunding the previous Bidder.
selectedAuction.highestBidder = payable(msg.sender);
(bool sent, ) = (selectedAuction.highestBidder).call{ value: selectedAuction.highestBid }("");
require(sent, "ETH_FAILED");
Correct Implementation:
(bool sent, ) = (selectedAuction.highestBidder).call{ value: selectedAuction.highestBid }("");
require(sent, "ETH_FAILED");
selectedAuction.highestBidder = payable(msg.sender);

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
morsoli, @vbaranov, @MKagesawa, @500mi-mitsui, @veronicaz41, @SeeYangZhi, @theedtron, @ghostza1209, @gurdenbatra, @ranakun, @Samuel-Pedraza, @khuang1110, @LanfordCai, @arn-ob, @nipapadak, @liebeskind, @baumere, @mooo-ooo, @sir4ju1, @Exegetech


Outdated screenshots/docs

The screenshots here out out-of-date from the current Azure portal and should be updated

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

ID: 959916bd-1d86-83b9-55c0-f2e97c5f90fd
Version Independent ID: be424eb8-8bd5-12d3-a2bb-e1d8c3ea64c5
Content: Connect to Office 365 Outlook - Azure Logic Apps
Content Source: articles/connectors/connectors-create-api-office365-outlook.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

@brandonh-msft Thank you for your feedback! We have assigned this issue to the author to review further and take the right course of action.

@brandonh-msft, thanks for flagging this topic, which needs updating. We have a work item on the doc backlog and will bump up priority for this update.
@mike-urnun-msft: #please-close


ng test does not use --proxy-config

Spec request:
I would like to pass integration test with karma,
but ng test does not use -proxy-config.
So I have to change all mu URL + enable CORS to test my backend ... not very ptratical.
Could you activate this option ?

Do you pass the --proxy-config flag when starting ng test?

yes when i run ng test --proxy-config proxy-config.json
here is the console:
<EMAIL_ADDRESS>testp C:\me\js\Angular__tp-ng_innersource\Angular-tp-basic-http

ng test --proxy-config proxy-config.json

The option '--proxy-config' is not registered with the test command. Run ng test --help for a list of supported options.
17 03 2018 12:42:22.769:WARN [karma]: No captured browser, open http://localhost:9876/
17 03 2018 12:42:22.797:INFO [karma]: Karma v2.0.0 server started at http://<IP_ADDRESS>:9876/
17 03 2018 12:42:22.797:INFO [launcher]: Launching browser Chrome with unlimited concurrency

By now you can achieve the same result configuring the karma.conf.js 'proxies' param:
proxies: {
      '/server': {
        'target': 'http://localhost:8080/server',
        'changeOrigin': true
      }
    }

yes I know, that's what I have found and used.
Still, it would be nice to have the same API for CLI exec and CLI test.


Command enhancements

At the moment our commands are providing basic functionality with limited feedback to the user.
It would be good to include some better feedback to the user, using our existing scripts as an example.

[ ] add an ssh auth check

check_ssh_authorization() {
  local host="${target[sshHost]}"
  local user="${target[sshUser]}"

  # Try to SSH into the host with a short timeout and no command execution
  ssh -o ConnectTimeout=5 -o BatchMode=yes "${user}@${host}" exit

  # Check the exit status of the SSH command
  if [ $? -ne 0 ]; then
    errorMessage "ssh not authorized"
    infoMessage "run ddev auth ssh and try again"
    exit 1
  fi
}


[stable/nginx-ingress] Allow setting of NodePort

Allows the setting of the NodePort for the exposed service regardless
of the type that the service is being deployed as.

Reviewers per Chart.yaml: @mgoodness @jackzampolin
Special notes for your reviewer:
In our case there are issues with the NLB's ability to update the
SG IDs with the loadBalancerRanges attribute so we started creating
external security groups to manage this.  Without having a consistent
set of ports we could rely on, it became a bit of a chicken and egg
problem.  This enables us to know ahead of the creation of the
TargetGroup what ports we should be whitelisting in the ingress rules
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

@mgoodness can you please take a look when you have some time? thanks!


Add questionnaire documentation

The documentation can be accessed here. The .rst-files in the folder docs/source/wave-1/english can be generated automatically using the notebook in create-documentation in the root of this repository. We can thus easily add Dutch/German versions of the questions or future waves if we have suitable description tables for the questions.
To-Do's/Questions:

[x] Update .rst-files for question documentation with latest description table. (in progress)
[x] Add text to title page. -> What info should the title page contain, should we link to the dashboard?
[x] Should we add more information to the questions like variable names, GESIS indicator, etc. ?

Thanks for all your work! I hope i will be able to have a look tonight.
As for the routing (and other stuff), please have a look at the final questionnaire in Dutch that I just uploaded https://covid-19-impact-lab.readthedocs.io/en/latest/datasets.html

@amageh  I just had a brief look, very nice! GitHub just seems to be down, so let me comment here on two things that come to my mind:

Would it be hard to do two versions? One in the order of appearance, one in the order of groups? If you have one file per question and can just have them appear twice in the table of contents, that would be trivial. Never tried that, though. References would probably be messed up, maybe we can think of a little pre-processor there (some jinja2-magic by @tobiasraabe, maybe ?)
Would it be tough to include the screenshots on the pages themselves?
The broad thing is great, though, I will have another look once the new grouping of variables is implemented (as discussed with @roecla in the morning), else it is hard to focus.

I just realised these are in parts much shortened versions of the questions.
E.g., the 1000 € question misses almost all the relevant context. It does not become clear at all that groceries are only to be included if people have no other way of paying for them. This is also why it is way too complex to show up in the public dashboard.
Maybe in the end it is better to stick to the question text as opposed to the dashboard text?

I just realised these are in parts much shortened versions of the questions.
E.g., the 1000 € question misses almost all the relevant context. It does not become clear at all that groceries are only to be included if people have no other way of paying for them. This is also why it is way too complex to show up in the public dashboard.
Maybe in the end it is better to stick to the question text as opposed to the dashboard text?

@hmgaudecker Yes I agree, I have been holding off on touching the description table since it would have been nice to hit two birds with one stone by using the same table for both the dashboard and the documentation, but it's probably better to adjust it in order to reflect the questionnaire more closely.
I will be editing the table then, this will make it easier to implement some of the other things you touched on as well. I'll tag you again when I am done. :-).

I have updated the documentation to reflect the questionnaire more closely. There are still some bugs and things I need to fix, namely:

Some screenshots need to be added.
I plan on adding a note on routing to each question so it is clear if only a subgroup of individuals were asked to answer a question.
Some links aren't working properly yet.
I know some tables are formatted a bit weirdly, I will try to fix that, too.
The TOC tree is too long.

@hmgaudecker It would be great if you could take a look again and let me know whether the general structure is acceptable!

I have implemented the edits we discussed. I am merging this pull request and will create a new one for wave 2 tomorrow.


Docs: Landing page odd behaviour fix

https://github.com/threlte/threlte/assets/16734228/e1019aa3-1062-4f1c-abd0-c13e338f3813
I ran into this issue some time ago and I decided to take a stab at it. I can only reproduce it on 1 of my 3 mobile devices - 2019ish Honor 10X.
I'm not sure about specifics but it has to do with the implementation of implementation of the Static noise pass and/or Color Dodge blend mode in postprocessing.
Disabling the static noise pass or changing blendFunction: BlendFunction.COLOR_DODGE to another one removes this issue as well.
A workaround I found, was to set premultilpiedAlpha in the renderer options. As far as I can tell it fixes the issue and doesn't change the visuals.

Interesting, how is that the fix then? I'm failing to understand. Thanks for taking a successful stab! 🚀

Interesting, how is that the fix then? I'm failing to understand. Thanks for taking a successful stab! 🚀

Specifics are a little beyond my knowledge. I found it by commenting out random parts of Postprocessing and then found NoisePass to be the issue. I played with glsls there and then stumbled onto an unaswered stackoverflow question from years ago that mentioned something similar. Not worth going down the rabbithole for it.
The noisePass has premultiply parameter that sets a #DEFINES in the sahder. My guess is that something doesn't get applied correctly there on some devices. I checked and my old phone was using WebGL2 but maybe the hardware/firmware doesn't have some specific capabilities.

Good find 👍


Key combo to set screen brightness

When using the app on a gaming handheld such as the Odin, it blocks the ability to use the gesture bar and pull down to access quick settings.
Would it be possible to have a key combo to set brightness without navigating manually to settings?

I don't know about Odin. But on my RP2+ pull down to access quick settings is possible as well as the others device too! Is it something specifically to Odin OS thing?

Would it be possible to have a key combo to set brightness without navigating manually to settings?
I think is No. Since that is out of scope of what Daijishou should handle.

I don't know about Odin. But on my RP2+ pull down to access quick settings is possible as well as the others device too! Is it something specifically to Odin OS thing?

It is possible, but extremely difficult and takes multiple tries. Might be something to do with full-screen App behaviour  m

Thanks for bring this up. But is not planned currently.


Fix/a11y registration

Summary
Addressing some lingering issues with accessibility, specifically on the login/signup pages.
Ticket Link
https://app.zenhub.com/workspaces/riff-projects-5cb6029b4103d93ceadf001b/issues/rifflearning/zenhub/60
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Has UI changes

Although the recommendation on 2019-02 Riff Accessibility Audit was to add labels, that changes the overall design of the page, and more importantly it is difficult to label the loginId input field because what should be input in that field varies depending on the configuration and may be multiple types of values. The page deals with this by setting the placeholder value to a description of the allowed input. Using this value as the aria-label attribute value should satisfy any a11y needs.
My additional commit makes these changes.

Created a copy of the the audit page for registration; link can be found here:
https://docs.google.com/spreadsheets/d/1ED0KqU-6H1tOhUWRn38salEuRFkADdsuB5_uJK3QtUk/edit?usp=sharing
Notes:

Tested on https://staging.riffedu.com/signup_email (did not test on lti signup, but can)
Did not test the green cells
Results:
-- Password / screen reader issue: believe fixed
-- Color contrast on password (and other) error messages: believe not fixed
-- Label for form elements: unclear. More details:

Wave seems to indicate that the labels above the input fields are OK. However, Wave throws an error on the text below the input fields, saying: Broken aria reference: an aria labeledby or aria describedby reference exists, but the target for the reference does not exist.


First round of edits.

Replace "we" with "you" throughout. Use a numbered list in "Before you begin" and "Cleanup" because the order matters. Added info about the 3 versions in the Bookinfo sample. Added info about setting the default version before the command. Added a space between the number and 'qps' throughout.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: navinger
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: sdake
Assign the PR to them by writing /assign @sdake in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @navinger. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

The circleci tests indicate:
content/docs/tasks/policy-enforcement/rate-limiting/index.md:25: MD009 Trailing spaces
content/docs/tasks/policy-enforcement/rate-limiting/index.md:263: MD029 Ordered list item prefix
content/docs/tasks/policy-enforcement/rate-limiting/index.md:269: MD029 Ordered list item prefix
which you'll need to fix. The broken links however aren't related to your changes and are being addressed separately.


did_you_mean package deprecation in latest Ruby release (3.1.0)

When trying to run ceedling using the latest version of Ruby there is a deprecation warning for the did_you_mean package.
$ ceedling
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
Welcome to Ceedling!
Commands:
  ceedling example PROJ_NAME [DEST]  # new specified example project (in DEST...
  ceedling examples                  # list available example projects
  ceedling help [COMMAND]            # Describe available commands or one spe...
  ceedling new PROJECT_NAME          # create a new ceedling project
  ceedling upgrade PROJECT_NAME      # upgrade ceedling for a project (not re...
  ceedling version                   # return the version of the tools installed

Tested using ceedling version 0.31.1 and Ruby 3.1.0 releases.

Also discussed at https://github.com/ThrowTheSwitch/Ceedling/issues/211#issuecomment-1302107997. As I mentioned there:
The DidYouMean::SPELL_CHECKERS.merge deprecation warning is due to thor (https://github.com/rails/thor/issues/763) - this has been fixed and was released in 1.2.0. Ceedling's current version pin doesn't allow for this version to be installed.


Using unscoped when hard deleting an association or appending does not work as expected.

GORM Playground Link

https://github.com/go-gorm/playground/pull/1
Description
Gorm version: 1.25.2
Hello there, I cannot make this work for some reason, i have checked some issues and it looks like the unscoped function does not make my query work as expected.
here i want to delete an entry in my many2many table association.
type Calendar struct {
	UUID         uuid.UUID `gorm:"primaryKey;type:uuid;default:uuid_generate_v4()"`
	Name         string
	CalendarLink string
	EmployeeID   uint
	Private      bool
	Type         CalendarType
}

type EmployeeCalendarSubscriptions struct {
	UserID    uint       `gorm:"primaryKey"`
	Calendars []Calendar `gorm:"many2many:employee_calendar_subscriptions_calendars;"`
}

func SubscribeToCalendar(userId uint, calendarUUID uuid.UUID) error {
	db := database.ConnectToDatabase()

	calendar := Calendar{
		UUID: calendarUUID,
	}

	err := db.Model(&EmployeeCalendarSubscriptions{
		UserID: userId,
	}).
		Association("Calendars").
		Unscoped().
		Append(&calendar).Error()
	if len(err) > 0 {
		return errors.New(err)
	}
	return nil

}

func UnsubscribeFromCalendar(userId uint, calendarUUID uuid.UUID) error {
	db := database.ConnectToDatabase()
	calendarTobeDeleted := Calendar{
		UUID: calendarUUID,
	}
	err := db.Model(&EmployeeCalendarSubscriptions{
		UserID: userId,
	}).
		Association("Calendars").
		Unscoped().
		Delete(&calendarTobeDeleted).Error()
	log.Println(err)
	if len(err) > 0 {
		return errors.New(err)
	}
	return nil
}

error: runtime error: invalid memory address or nil pointer dereference
Running any of these functions gives me a nil pointer dereference. which is obvious why, because the struct does not represent the data structure saved in Postgres. In my mind, I think that if I used Unscoped it will not write to the memory address of calendarTobedeleted  or the other variable: calendar in SubscribeToCalendar.
Maybe i am doing something wrong? Anything helps!!

This was supposed to be a question not a bug(as of yet maybe?)


Add sessions status filter

Add StatusFilter component to filter sessions by status.
The below is a sample screen.

@tosametal Thanks! That's great. I will take a look.

@tosametal the function and the impl logic looks good to me. one thing is that we may need to explain what is the drop-down filter. Can we put Status:  message on the left of the drop-down button? What do you think?
@dzannotti if you get a chance, can I consult you about the look and feel of the change?
I also think that we'd better to support pagination buttons or automatic scrolling for page loading but, that would be future improvement.

@muga
Thank you for reviewing.
I agree with your suggestion. I will add Status:  message.
Also, since I noticed that status name Failed should be Failure, I will fix it.

I also think that we'd better to support pagination buttons or automatic scrolling for page loading but, that would be future improvement.

If I have a chance, I will try to send PR about this improvement!


Type safety for functions that throw errors

Search Terms

Suggestion
Error types
Error handling

Use Cases
Knowing if a called function could throw an error. As of now, it is not obvious if a function throws an error or not.

Examples
const errorThrower = (shouldThrow: boolean): boolean =>  {
    if (shouldThrow) {
        throw new Error('Hello');
    }

    return true
}

const caller = (): boolean => {
    return errorThrower(true);
}

There should be a type error in the function  caller. The type error should warn that errorThrower could throw an error and therefor the error case should be handled.

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

duplicate https://github.com/microsoft/TypeScript/issues/31329 https://github.com/microsoft/TypeScript/issues/13219


Feature request: allow manual selection of steam download region

Some users may prefer to be able to select a specific download region for various reasons such as maximising bandwidth.

Second this. If I ever get any of the LAX content servers my downloads crawl <40mb/s while others closer to me get >900mb/s.

Implementation tasks

[ ] Add a new flag --region that allows passing a cellid to specify which region to use for downloads
[ ] Update readme.md to include new flag, and how it should ideally never be specified, except in certain cases where you might know there is a better server
[ ] Add a new .md doc that lists the known servers

Updated docs : https://github.com/tpill90/steam-lancache-prefill/tree/issues/32-ChooseDownloadRegion
Test build :
SteamPrefill-1.4.0-win-x64.zip
SteamPrefill-1.4.0-linux-x64.zip


Slowness issue

JPA modeler with more than 100 entities have slowness in drawing and visualizing the connection.

OrthogonalSearchRouter.routeConnection(ConnectionWidget widget)  -> search(region) is the main root cause for slowness.
Workaround : max depth will vary based on number connection witdget.

Thanks a lot for your answer!
Great project!

Среда, 21 июня 2017, 11:03 +10:00 от Gaurav Gupta<EMAIL_ADDRESS>OrthogonalSearchRouter.routeConnection(ConnectionWidget widget)  -> search(region) is the main root cause for slowness.
Workaround : max depth will vary based on number connection witdget.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly,  view it on GitHub , or  mute the thread .

Ваганов Дмитрий Валерьевич
Сот. +79147719993


Add optional TLS spec for RouteGroups

This will allow Skipper to add TLS certs defined in RouteGroups to the certificate registry which will be used to terminate TLS based on the configured hostnames. This behaviors mimics Ingress Spec.

@rickhlx will check this as soon https://github.com/zalando/skipper/pull/2814 is merged.

LGTM, will merge after we land https://github.com/zalando/skipper/pull/2814 (please update CRD there)


Transcript based unix:rlimits test failing on FreeBSD 13.0 amd64

            ~> set unix:rlimits[cpu] = [&cur=[]]
            -want +got:
            @@ -1,2 +1,2 @@
            -Exception: bad value: cur in rlimit value must be number between 0 and<PHONE_NUMBER>3709551615, but is []
            +Exception: bad value: cur in rlimit value must be number between 0 and<PHONE_NUMBER>854775807, but is []
               [tty]:1:5-21: set unix:rlimits[cpu] = [&cur=[]]
        test_transcript.go:118:
            ~> set unix:rlimits[cpu] = [&cur=1 &max=[]]
            -want +got:
            @@ -1,2 +1,2 @@
            -Exception: bad value: max in rlimit value must be number between 0 and<PHONE_NUMBER>3709551615, but is []
            +Exception: bad value: max in rlimit value must be number between 0 and<PHONE_NUMBER>854775807, but is []
               [tty]:1:5-21: set unix:rlimits[cpu] = [&cur=1 &max=[]]
FAIL
FAIL    src.elv.sh/pkg/mods/unix        1.421s

The issue here seems to be that FreeBSD uses uint64 while other platforms use int64. Note that I get the same exception on FreeBSD prior to the recent change that introduced transcript based unit tests. The decimal value<PHONE_NUMBER>854775807 is 0x7FFFFFFFFFFFFFFF. Which matches the definition of infinity on FreeBSD:
#define RLIM_INFINITY   ((rlim_t)(((__uint64_t)1 << 63) - 1))

Note that decimal<PHONE_NUMBER>3709551615 (the expected value) is 0xFFFFFFFFFFFFFFFF which is -1, the usual value for infinity on platforms (which is most of them) that use a signed int for these values. The old tests relied on pkg/mods/unix/rlim_t_int64.go and /pkg/modes/unix/rlim_t_uint64.go to finesse the type difference between FreeBSD and all other Unix platforms.

What is perplexing is why the existing FreeBSD CI environment doesn't catch this problem. Before fixing this so the test passes on my VM we should probably figure out why the existing FreeBSD CI environment didn't catch the problem.

It seems that a bug in Go has prevented the tests from actually running. I reported https://github.com/golang/go/issues/65425.


Fix to add the generated user id claim value with the user creation db request

Purpose

https://github.com/wso2/product-is/issues/21891

This pull request to core/org.wso2.carbon.user.core includes changes to the addUserWithID method to ensure unique user ID generation and proper user object initialization when the underlying user store does not support unique ID generation. The most important changes include generating a unique ID using UUID, updating the claims with the generated ID, and initializing the User object with the correct attributes.
This pull request introduces a new feature to add a generated user ID claim value with user creation requests for non-unique ID user stores.
Changes to unique ID generation and user object initialization:

Added generation of a unique ID using UUID.randomUUID().toString() and updated the claims with the generated ID. (AbstractUserStoreManager.java)
Modified the User object initialization to set the user ID, username, and user store domain when the underlying user store does not support unique ID generation. (AbstractUserStoreManager.java)

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12419065051

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12419065051
Status: success


[Addition]:

Hotspot b58 Addresses
14nTkFpY4pNxypHMVmrxNdyvQn8b7zAUKFEhKtERwJX2J3NoZ6P
Discord Handle
Perimir#4897
Reason(s)
These hotspots (all 113) belog to the same wallet and they are not acctually located as the Helium Explorer or helium.vision is showing. They are likely in the same room as they witness only among thenseves and the RSSI are very hight, just -80~90dbm. They all supposed to have 15dbi antennas, which also does not have any sense. All these hotspots have been on the deny list few weeks ago. Why aren’t they now and why do they keep earn decent rewards?

hello, I also added the wallet address, i think the complete wallet should be added to the list. Someone should look into the complete cluster in the 50 km diameter. 95 percent of those HS are fake.

Hi there.
The thing is, that the entire wallet was on the deny list already. Now for
some reason for the last 10 days is back online and earning.
Off the topic. There is a hotspot in Sombor, Serbia called Virtual Onyx
Puma that is witnessing hotspots across the entire Europe. I have no idea
what is going on there, but its obviously impossible to witness 2400km far
away.
On Mon, 21 Mar 2022 at 08:35, mamba84 @.***> wrote:

hello, I also added the wallet address, i think the complete wallet should
be added to the list. Someone should look into the complete cluster in the
50 km diameter. 95 percent of those HS are fake.
—
Reply to this email directly, view it on GitHub
https://github.com/helium/denylist/issues/2472#issuecomment-1073556108,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYIK6MPE5DYOTJXKB4RCUWDVBARFDANCNFSM5Q5IRQMQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Best Regards,
ZUGZWANG - chess education,
Peter Kokol s.p.
Ob potoku 112212 Šentilj
Slovenia
tel.: +38640235332
e-mail: @.** @.**>


How to build

Simple. No description on how to load this into Android Studio and build it.

Just select one of the projects, not the root folder.


add iFrame to web part during onInit

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Expected or Desired Behavior
We're trying to render our actual content for the web part inside an iframe. So, what I'd like to do is add and iframe to the domElement for the web part during onInit and then reference the iframe during render (by sending it messages via postMessage)
Observed Behavior
Adding an iframe to the dom element has no effect in onInit and the iframe is not present in the dom element during render
Steps to Reproduce
In the onInit() method I have:
onInit() {

    this.iFrame = document.createElement('iframe');
    this.iFrame.src = '...';
    this.iFrame.style.width = '100%';
    this.iFrame.style.height = '100%';
    this.iFrame.style.border = '0';
    this.iFrame.style.margin = '0';

    console.log(this.domElement);
    this.domElement.appendChild(this.iFrame);
    console.log(this.domElement);

}

In the two console.log methods the domElement doesn't change suggesting that the append of the iframe didn't work.
In render() I have:
render() {

    this.domElement.style.height = `${this.properties.dashboardHeight}px`;

    if (this.iFrame.contentWindow) {
      this.loadFile();
    }

}

However, the iFrame contentWindow property is not set up since adding the iframe to the dom element during onInit doesn't seem to work.
So, my questions are:

Is adding an iframe to the web part's dom element a valid approach
If it is a valid approach then how does one do it without having to add the iframe to the dom element on every render call, which would be expensive and a pain to set up.

Cheers,
Dave

Ok.
So I found the a relevant issue which gave me some ideas:
relevant issue
Which references render() and renderCompleted()
I've now managed to do the following:

create the iframe in the render() method
attach a 'load' event to the iframe so that when the iframe is fully loaded i call renderCompleted()
use the iframe later on

Is this the appropriate way to do this? It seems to work.
Also, the docs reference the isRenderAsync property of the web part:
docs
The docs say the property isRenderAsync is meant to be override, however the property is marked read only so how is that supposed to work. It doesn't make any sense at all as described.
Cheers,
Dave

You can configure the web part to be loaded in an IFRAME instead of a DIV using the isolated web part capability. Why not use that instead of programmatically changing it?
The way you are going about it in the above comments isn't supported so you're going to have problems doing it. SharePoint will always create a DIV and put your contents there.

Hi Andrew.
If the method I am using isn't supported why is it mentioned in the documentation that I referenced in the post?
Specifically. from the documentation for BaseClientSideWebPart renderCompleted() method:

This API should be called by web parts that perform Async rendering. Those web part are required to override the isRenderAsync API and return true. One such example is web parts that render content in an IFrame. The web part initiates the IFrame rendering in the render() API but the actual rendering is complete only after the iframe loading completes.
Also, the documentation for the domain isolated web parts includes the text:

When added to the page, isolated web parts are displayed using an iframe. This iframe points to a unique domain assigned to the SharePoint Framework solution where the web part is located.
I need to be able to point to our hosted domain. How would I do that?
Regards,
Dave

I didn't say the method is not supported, I said the way you're going about it  is unsupported.
Web parts render inside of a DIV... the reference to an IFRAME in the docs is referring to isolated web parts. These web parts are rendered in their own Microsoft-managed domain to isolate the web part from the rest of the SharePoint site.
There is no facility in SPFx that allows you to point to your own domain for the contents of the IFRAME.
With that being said, if you really want to load your HTML page from your domain within an IFRAME, you should look at the older dev model: SharePoint Addins, specifically Provider Hosted addins.

So, to be as clear as possible, having a iframe in a web part is fine, however using render and renderComplete to implement it it not supported, correct?

@DaveHaasPowderSoftware said:

having a iframe in a web part is fine

Yes

using render and renderComplete to implement it it not supported

It's not that it isn't supported, it's that those methods are tied to the existing <div> or <iframe> that the web part is rendered within that Microsoft provides. You're free to add your own <iframe> to the rendered HTML in the web part like below, it's just nothing provided is going to monitor / tap into it.
public render(): void {
  this.domElement.innerHtml = '<iframe src="https://www.contoso.com/app/index.html"></iframe>';
}

Perfect. That's what I wanted know. Thanks.


No way to efficiently and safely construct a JNumber from String

In order to avoid an exception, you have to use the regex twice, once before calling the constructor and once in the constructor just to be sure (the constructor calls it for you).  It would be better if there were some way to only call the regex once and get an Option[JNumber] out.

This will be done in a new PR since it breaks source compatibility


Compiled Archives

To support efficient execution of Cicero archives it is useful to be able to pre-compile them to a target runtime offline/once.
The package.json file for the generated (compiled) archive should include an attribute (under the existing cicero attribute) for target-runtime with values such as es2016, nodejs or other suitable runtime designator, as supported by the Ergo compiler.
Also see: #258
This metadata field can then be used by the Template.fromArchive and Template.fromDirectory code to either reject loading the archive, or to specialise the handling of the resources within the archive.

Great idea. Note that we could consider removing the language tag in the package.json after that, since it would always be Ergo.

Implemented in 0.12


[Azure.AI.Inference] Update changelog

Update changelog for initial release

API change check
API changes are not detected in this pull request.


Views with icons dragged to the activity bar get their icon reset (to the original container) after a restart

Before restart -- dragged views onto the activity bar

After restart

This was causes by me having 2 versions of GitLens: 1 installed without icons, and 1 being developed with icons.


TCP Communication Protocol Version 0.0.2 (Judge <-> Runner)

Now the protocol allows the Judge server to send multiple commands at the same time.

(am still reviewing this, pls no merge yet :)


isNewUser always return for false for Microsoft and Twitter Sign In

Android
Step 2: Describe your environment

Android device: Sony ZX3

Android OS version: 9

Google Play Services version: 20.1.04

Firebase/Play Services SDK version:
com.google.firebase:firebase-auth:19.2.0
com.google.gms:google-services:4.3.3

FirebaseUI version: com.google.firebase:firebase-auth:19.2.0

Step 3: Describe the problem:
After a new user signed into my app the "isNewUser"  is only true when they have signed in using email or Google providers, both Microsoft and Twitter it is always false.
Steps to reproduce:
I have tried this on Samsung phone run from Android Studio and from an app submitted into Play Store on my Sony mobile device with the same result for both devices.
Relevant Code:
Start Sign In:
      startActivityForResult(
            AuthUI.getInstance()
                .createSignInIntentBuilder()
                .setAvailableProviders(
                    listOf(
                        GoogleBuilder().build(),
                        MicrosoftBuilder().build(),
                        EmailBuilder().build(),
                        TwitterBuilder().build()
                    )
                )
                .build(),
            SIGNIN
        )

override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
super.onActivityResult(requestCode, resultCode, data)
    if (requestCode == SIGNIN) {

        val response = IdpResponse.fromResultIntent(data)

        if (resultCode == Activity.RESULT_OK) {

            if (response == null) {
                finish()
                return
            }

            if (response.isNewUser) {

                Toast.makeText(
                    this,
                    "You are a new user",
                    Toast.LENGTH_LONG
                ).show()

                registerNewUser()

            } else {

                Toast.makeText(
                    this,
                    "You are an existing user",
                    Toast.LENGTH_LONG
                ).show()

                checkAdmin()
            }

This has been released in version 6.4.0


Error when run the sample project

Discussed in https://github.com/gerardo-lijs/CrystalReportsRunner/discussions/30

Originally posted by AmnaButt July 23, 2024
I have been getting following error when I run the sample project here, no changes has been done
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.4000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at System.Windows.Forms.WindowsFormsSynchronizationContext.Send(SendOrPostCallback d, Object state)
at LijsDev.CrystalReportsRunner.Shell.WinFormsReportRunner.ShowReport(Report report, ReportViewerSettings viewerSettings, WindowHandle owner) in C:\Users\AmnaButt\Downloads\CrystalReportsRunner-main\CrystalReportsRunner-main\src\LijsDev.CrystalReportsRunner.Shell\WinFormsReportRunner.cs:line 71
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at PipeMethodCalls.RequestHandler`1.d__7.MoveNext()

Hi, sorry for the delay, I was on holidays and catching up with stuff.
This kind of errors, usually occure when the runtime you are using does not match the Crystal Reports Runtime installed in your system. It has to match the version and the architecture (32 or 64bits). Please check which runtime you have installed in your system and use the matching Runner.
In the future, I can improve this error messages, so that I tells you what runtime you are targeting and also what runtimes are installed in your system, instead of the generic Could not load dll


Request - Allow content type to be different from request type

Hello,
At the moment I do a multipart.FORM request which allows me to send an image to the server. I require the response to be interpreted as JSON.
I've tried to create a request body by passing in the JSON content type but that seems to have no effect.
In iOS for AFNetworking, this can be achieved by the following - manager.responseSerializer = [AFJSONResponseSerializer serializer];
is it possible to get something similar in okhttp?

It's already supported. If you'd like more support, please ask on StackOverflow.


added forest gate community school

@amarfiaz First stage of verification passed, official domain is forestgatecst.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@amarfiaz Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Image error when apply lazysize

                   <img                     :data-src="product.url"                     alt="product"                     class="w-full h-full object-contain lazyload"                   />

I just add a simple lazyload into the code and this happen a second before images show up.
Anyone can tell me what's wrong with it ?

Hi, maybe this will help -> Advanced usage (optional)
If you loading images from the assets folder, you need to define custom tags via extendAssetUrls module option. Example
If this is not the case, please provide more information about your issue.

No im loading images by call API from asyndata

What do u want me provide ? :((

It would be great if you could provide a link to the repo/codesandbox with a simple example that showing your issue.
Another suggestion, try to specify styles and aspect ratio for images (lazysizes CSS API) to avoid "content-jumping" or this small "broken-image" icons. This happens because images are loaded only when they enter the viewport.

Closing this due to inactivity. Feel free to reopen it with an attached link to a minimal reproduction that shows the issue.


isin not working correctly on a filtered table?

I'm on Windows, connecting to an Oracle DB with cxOracle. When trying to filter on a specific set of ids blaze isn't returning the rows even though they exist in the DB. It may be important that calling bz.compute on the result throws a NotImplementedError
In [129]: data
Out[129]:
   cc_id    cc_reference
0  27410  FUTA6437S-Q316
1  27411  FUTA6437S-Q416
2  27412  FUTA6437S-Q117
3  27413  FUTA6437S-Q217
4  27414  FUTA7202S-Q118
5  27415       FUTA7203S
6  27428  FUTA7205S-Q218
7  27429  FUTA7205S-Q318
8  27430  FUTA7205S-Q418
9  27435       FUTA7207B

In [130]: data[data.cc_id == 27410]
Out[130]:
   cc_id    cc_reference
0  27410  FUTA6437S-Q316

In [131]: data[data.cc_id.isin({27410})]

In [132]: type(data[data.cc_id.isin({27410})])
Out[132]: blaze.expr.expressions.Selection

In [133]: bz.compute(data[data.cc_id.isin({27410})])
Traceback (most recent call last):

  File "<ipython-input-133-8b20a8ca4c59>", line 1, in <module>
    bz.compute(data[data.cc_id.isin({27410})])

  File "C:\Python\lib\site-packages\multipledispatch\dispatcher.py", line 164, in __call__
    return func(*args, **kwargs)

  File "C:\Python\lib\site-packages\blaze\interactive.py", line 168, in compute
    return compute(expr, resources, **kwargs)

  File "C:\Python\lib\site-packages\multipledispatch\dispatcher.py", line 164, in __call__
    return func(*args, **kwargs)

  File "C:\Python\lib\site-packages\blaze\compute\core.py", line 406, in compute
    result = top_then_bottom_then_top_again_etc(expr3, d4, **kwargs)

  File "C:\Python\lib\site-packages\blaze\compute\core.py", line 198, in top_then_bottom_then_top_again_etc
    return top_then_bottom_then_top_again_etc(expr3, scope4, **kwargs)

  File "C:\Python\lib\site-packages\blaze\compute\core.py", line 198, in top_then_bottom_then_top_again_etc
    return top_then_bottom_then_top_again_etc(expr3, scope4, **kwargs)

  File "C:\Python\lib\site-packages\blaze\compute\core.py", line 198, in top_then_bottom_then_top_again_etc
    return top_then_bottom_then_top_again_etc(expr3, scope4, **kwargs)

  File "C:\Python\lib\site-packages\blaze\compute\core.py", line 198, in top_then_bottom_then_top_again_etc
    return top_then_bottom_then_top_again_etc(expr3, scope4, **kwargs)

  File "C:\Python\lib\site-packages\blaze\compute\core.py", line 198, in top_then_bottom_then_top_again_etc
    return top_then_bottom_then_top_again_etc(expr3, scope4, **kwargs)

  File "C:\Python\lib\site-packages\blaze\compute\core.py", line 198, in top_then_bottom_then_top_again_etc
    return top_then_bottom_then_top_again_etc(expr3, scope4, **kwargs)

  File "C:\Python\lib\site-packages\blaze\compute\core.py", line 196, in top_then_bottom_then_top_again_etc
    "data: %s" % (expr3, scope4))

NotImplementedError: Don't know how to compute:
expr: _[cc_id.isin(frozenset({27410}))]
data: {_: <sqlalchemy.sql.selectable.Select at 0xe8fdac8; Select object>, cc_id: <sqlalchemy.sql.selectable.Select at 0x1369c860; Select object>}

Repro:
import blaze as bz
from numpy.random import randn
import sqlalchemy as sa

engine = sa.create_engine('sqlite://')
metadata = sa.MetaData(bind=engine)

table = sa.Table(
    'Test', metadata,
    sa.Column('id', sa.Integer, primary_key=True),
    sa.Column('value', sa.Float(32), nullable=False),
)

records = [
    {'id': idx, 'value': value}
    for idx, value
    in enumerate(randn(10))
]

with engine.connect() as conn:
    conn.execute(table.insert(), records)

data = bz.Data(table)
data = data[data.id > 4]
assert data[data.id.isin({5,7,9})].nrows == 3

NotImplementedError: Don't know how to compute:
expr: (nelements(_2[id.isin(frozenset({9, 5, 7}))])) == 3
data: {_2: <sqlalchemy.sql.selectable.Select at 0xe990668; Select object>, id: <sqlalchemy.sql.selectable.Select at 0xe990978; Select object>}

I am also running into this error with a Postgres backend and an isin query for an array of strings. It doesn't seem to matter whether the data is filtered or not.
Downgrading from 0.10.1 to 0.8.3 solved the problem.

I bet we have a dispatch on Select instead of Selectable


In the demi vein, there's also demigirl, demifemale, demilady, demiboy, demimale, demiman. It means partially identifying as a male or female, while retaining celebration of the genitals you're born with.

Crumbs

I've written feature spec to add Demisexual as a sexual orientation. Once an engineer frees up sometime, it will be added.
For my reference:
https://github.com/fetlife/guidelines/issues/355
*P.S. Once it's been added to FetLife we will come back here to announce it and close the issue so that everyone know. *

You can now add Demisexual as a sexual orientation!