Add client API and example for connecting to self signed server via serverCertificateHashes

Use case:
I am building an application that will use wtransport on native clients and the web apis on browser clients. Servers are self hosted by players and ephemeral, meaning that I can't expect them to have valid domains to issue LetsEncrypt certs to. Instead I am relying on the serverCertificateHashes feature the browser apis expose to bypass public key infrastructure, and I send the digest instead via other out-of-band mechanisms (which themselves are signed and have a web-of-trust approach).
I don't see a way to construct a wtransport client that uses these self-signed keys, unless I fully disable tls checks via the dangerous with_no_cert_validation option.
How can I create a client that allowlists a particular self-signed certificate hash a-la serverCertificateHashes?

Hi,
Today, wtransport should already provide a way to cover your use case.
In particular, wtransport exposes TLS configuration backed by rustls. When creating your wtransport client configuration, a custom TLS configuration can be set with with_custom_tls. This allows you to fully customize the TLS layer.
rustls::ClientConfig allows you to create a custom certificate validator using set_certificate_verifier.
A verifier is quite easy to implement, and you can place the custom logic for certificate validation here.
Inside wtransport, the same mechanism is used to create a NoCertVerifier. You can have a look here.
Of course, in your case, your verifier can simply check against hashes.

Having said that, I am curious about the use case. I am wondering if the application is self-hosted, with_no_cert_validation should not have security implications (if machine-local).
Moreover, your feedback makes me wonder if wtransport might expose some wrapper around that to emulate the serverCertificateHashes.
Feel free to ask if something is not clear or if you need more information.
Thank you for your feedback.

Additional tips you might need:

wtransport re-export rustls with the correct version. You should be able to get access to rustls directly via wtransport::tls::rustls See doc here.
When creating a custom TLS layer, you should remember to set the correct ALPN. See here. It is just a "binary string". See here

expose some wrapper around that to emulate the serverCertificateHashes.
adding that to the builder would definitely be useful!

Before modifying wtransport interface, I would like to better understand the possible usage and use case.
Asking because W3C serverCertificateHashes has some security concerns and forces some constraints.
For example:

[...] the total length of the validity period MUST NOT exceed two weeks.

I would expect that because this is a helper function, the constraints on the native api match the constraints on the browser api.
In my case, I am using wtransport because I want my game to support web clients. Therefore I want my native clients and web clients to work similarly (so I don't find out later down the line that I'm doing something on native that is prevented in the browser apis).

I've opened a PR: https://github.com/BiagioFesta/wtransport/pull/131
If you want to have a look and provide some feedback. Thanks


Fix race condition with concurrent connection attempts

Hello :wave:
I think I found a race condition that happens when you try to open a lot of concurrent connections at once.
I was working on an application that uses lapin, where there are quite a few tests that run concurrently (and each test connects to Rabibt using lapin), but sometimes I got spurious connection issues in CI, in particular, lapin::Connection::connect sometimes just hanged.
After a bit of debugging, I discovered that the hang was caused by a pinky::Pinky inside the ConnectionStep being dropped without being resolved. This happened both here and here (randomly). For some reason that's still not 100% clear to me, the ConnectionStep has the wrong value and the resolver gets silently dropped.
My guess is that when we enqueue a frame to be sent to the server (like here) for some reason, sometimes, this triggers a synchronous chain of calls that causes the next handler down the chain to see an invalid ConnectionStep. I'm absolutely not sure this is the correct root cause, this is just a wild guess, but updating the ConnectionStep before enqueuing the write actually solves the issue.
I'm not sure of the implications of this change, also because changing the template file also changed other code paths like for basic.ack and basic.nack that are not related to the initial phases of the connection.
If you want to try reproducing the race by yourself, I've written a small binary that attempts 100 concurrent connections for 100 times, just to stress test the library.
Thank you!

Hello,
Will give a look at this later, I must admit I've always used a single connection per program.
We definitely want to call the _sent hooks after actually sending the frames though.

https://github.com/amqp-rs/lapin/commit/258edb1c1a1ee487f1926e8bccb0ab985e97c797
This doesn't fix the issue, but at least there shouldn't be any more hang, can you confirm, as a first step?

With more logging, I can confirm part of your diagnostic: we need to set the new step before sending the packets. This is most likely the only counter example though (which I why I said we shouldn't do that everywhere).
What actually happens here is that the state is actually None when this happens, so we don't disscard the Pinky, it's just not there yet we we look

Can you retry with 2.1.0?

v2.1.0 works great, thank you :rocket:


feat: resolve #169

This is implementing ISR for better performance

I only add this for page which is for specific document page.
This is not applicable for the list view page.
(Because it needs to support filger)


Error when clonig executing new configurations on arch linux

Hello good evening I am having a problem and I don't see or understand why I am trying to use this configuration but once I make a backup of my current configuration. I proceed to clone the repository, make the backups, the environment becomes useless, only a hyprland window appears showing errors like
config error in file /home/lot/,config/hypr/UserConfig/UserSettings.conf at line 26:config option general:sensitivy does not exist and 3 other errors more

DEBIDO A ESOS errores no he podido hacer uso de esta configuracion Dotfiles : https://github.com/ahmad9059/dotfiles

Same error , @aemg93  @ahmad9059  can u please tell did u fix the error .

@VINODvoid  Good afternoon no sir, I didn't solve it at the moment, I'm still using another setting, if I get to solve it, I will gladly share with you how to solve it.
@ahmad9059

Can u please give me your settings dotfiles

Open your .config/hypr/UserConfigs/UserSettings.conf in nano or vim (your choice), then comment out these lines. This will solve the problem.

@v1pinx  Thank you very much, I will do the relevant tests.

@v1pinx  Well, paying attention to what you advised me, the error certainly disappeared but the graphical environment that is supposed to be seen is not what was expected since only the error disappears but what appears in the images of the project and/or in the video does not It is nowhere to be seen. I would appreciate it if you could detail better if you achieved it and how to do it, thank you.


Example of nuget

Hi, can you give an example of nuget? I use it, but it's not normal. I can't reset it. There is no figure above
Especially if it is placed separately, the window can't be put back. I simulated the Notepad project.

Can you show what is not working regarding nuget?

There is no figure above

I think he is trying to point out that the reset buttons in the samples do not work. Don't know what this has to do with nuget, probably a misunderstanding

Without sample repro I have no idea what the issue is.

@HendrikMennen yes,thanks

@jinyuttt @HendrikMennen The issue turns out is with ribbon control custom Window intercepting pointer events from dock control. Fix https://github.com/jinyuttt/PlatApplication/pull/2


[MRG] Get multiple spaced events from single annotation

This PR adds a parameter to events_from_annotation so that if this parameter
None, events correspond to the annotation onsets (as was happening until nos).
But if not, events_from_annotations returns as many events as they fit within
the annotation duration spaced according to this new parameter (right now is
called chunk_duraiton but we should discuss it before merging).
This PR needs to go in before #5718

Things that are not in this PR (it will be done in subsequent PRs):

allow slicing of Annotations
update the documentation of events and annotations

@Slasnista you should be able to get the psg events just by doing the following:
raw = mne.io.read_raw_edf(psg_fname, stim_channel=False)
annotations = mne.read_annotations(hyp_fname)
desc2int = {'Sleep stage W': 5,
￼             'Sleep stage 1': 3,
￼             'Sleep stage 2': 2,
￼             'Sleep stage 3': 1,
￼             'Sleep stage 4': 1,
￼             'Sleep stage R': 4}
events, event_id = mne.events_from_annotations(raw, event_id=desc2int, chunk_duration=30)

I've reverted the last commits where I refactored the code to be simpler because it was messing up with EDF and to fix it would complicate the PR. I'll get back to it once EDF #5741 is in and find_edf_events is out.

@massich you have some pep8 errors.

@massich you need to rebase

@larsoner can you merge?

After a talk IRL with @agramfort we decided to set back regexp to None instead of '.*'. And revoked the possibility of warning/raising to avoid the parameter at the API.
I see the value of on_missing (that was not the case for the None) but I agree that havning on_missing, verbose .. it keeps polluting the API. But if someone things that would rather have warning instead of error I don't mind revert 71623e8 ( and add a good first issue for someone to factor the code).

Did I forgot to take them out from the signature? I'm AFK. Feel free to
take them out and merge if you want.
Other wise if you think that we should revert the last commit, feel free to
do so.
If not I'll remove the on_missing once I get back
On Wed, Dec 19, 2018, 19:20 Eric Larson<EMAIL_ADDRESS>wrote:

@larsoner commented on this pull request.
In mne/tests/test_annotations.py
https://github.com/mne-tools/mne-python/pull/5795#discussion_r243023592:

@@ -530,7 +551,7 @@ def test_events_from_annot_in_raw_objects():
assert_array_equal(expected_events5, events5)

 with pytest.raises(ValueError, match='not find any of the events'):

   events_from_annotations(raw, regexp='not_there')

   events_from_annotations(raw, regexp='not_there', on_missing='error')

on_missing is still here
In mne/annotations.py
https://github.com/mne-tools/mne-python/pull/5795#discussion_r243023660:

@@ -701,9 +701,47 @@ def _ensure_annotation_object(obj):
'mne.Annotations. Got %s.' % obj)

+def _select_annotations_based_on_description(descriptions, event_id=None,

                                        regexp=None, on_missing='ignore'):

on_missing is still here
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/pull/5795#pullrequestreview-186683096,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGt-44bbw-0QdHZPHibxayU0sFievb2Oks5u6oNSgaJpZM4ZV5Fb
.


IE6 on Windows 2000 is installing English only

Installing Legacy Update on localized builds of Windows 2000 without IE 6 SP1 always updates IE to English version. Installing an MUI does not solves the problem, as MUI support is available only when Windows 2000 language is English. So user gets a mix of localized and English interface. Windows Explorer also became English.
However, the Legacy Update still working correctly, except some glitch on layout.

Looked into source, seems that activex/build/Download2KXP.nsh have hardcoded path to MSIE 6 installer.
Online installers of IE6 are preserved in Web Archive, and they can be installed by some kind of overriding http://www.microsoft.com/windows/ie/ie6sp1/download/rtw/x86/ie6sites.dat file. I've successfully do this via own proxy, but without it the only way is HOSTS file spoofing and some fake server, which will return patched file.
I hope, full installers are also saved in some archives, but I is unable to find their URLs.
The good news is that after reinstalling localized (Russian in my case) IE6 SP1, all 15 its updates successfully found and re-installed again. But the interface glitch is still here.

Some googling found, that Windows Update v4 was distributed MUIs for IE 5/5.5/6 too:

http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2KAR_25FF0E79CAECA33461F0476E9B2ECB9DD1D0DE37.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2KBR_DFC2E0488A125CDFDA4E87516D2012821B8EC883.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2KCN_BD30911DB41ABFD255F7DCFF598CF3D959448B15.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2Kcs_929122A24FE68A4D2EEA252A2FA6F90FF5B87BAF.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2KDE_88D6105BFF12C948CB6EE3D74A6723188F61B1E7.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2Kel_268DB1F705AE38E665B0B5AC346E5000D986AF32.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2ken_46D9DB4A219386B17AFEF8B45BE8036B9140895C.exe
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2Kes_6A0553D4A52CF2543461A408F4D3C4A2900A854C.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2Kfi_F5A284E574ECAAB7265AA14934C4072D6E80ACE2.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2Kfr_B90349373ED24D6491CE1A59F6995268F4F6CC20.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2KHE_2BC573C110C828DD27808F1A674C35E647C353D3.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2Khu_C61EB62139E3BA08D7A13BBD486A72CC91F6B9C1.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2Kit_34AD6D2B9C87952238EDABDFE5D1870D1BED11FF.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2KKO_AB57C24FE1071B47F476244B3876A96ED1D326ED.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2Knl_42CF8D0A2612E59B16035103BE28B7D278CAFBD8.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2Kno_54371B3324962FA62ECDCACB0461AF3213E5277B.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2Kpl_ABAB09CC9D27C2DCDE19F38FC642DBE3432374D2.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2Kpt_12F6E901E2F15D520157224EA84EA79F38609754.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2KRU_177C3CF17C343A932CACD5368485ECA9A18C61B5.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2Ksv_FDC2564E9632FB51B9D733709BC141FEB1500E55.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2KTR_F909C38EF4B4275AC6570FCA8E46810E5178DEEB.EXE
http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ieui2KTW_BB46F0033615E91F2C7919419788502F0D5E41D8.EXE
Some 5.01/5.5/6.0 RTM MUI links: http://forum.ru-board.com/topic.cgi?forum=5&topic=0115&start=320#9

What about to add them to Legacy Update?

Thanks heaps for being so detailed! Really appreciate it.
Sidebar section headings is probably my fault from a CSS change I made a week or two ago, now you mention it I don't think I tested it in IE6... I'll fix that, thanks. The icons being in weird locations seems to be a bug with the JS library I use to work around the IE6 PNG transparency issues, haven't figured that one out just yet.
I did try mirroring the IE installer files on my server, which should have allowed non-English/non-Win2k installs to work, but the flag documented in KB200007 just doesn't seem to work for some reason. Feel free to play around with getting the installer to download from http://content.legacyupdate.net/legacyupdate/ie/ie6sp1/x86/ie6sites.dat if you'd like. It seems what I have (which is a mirror of what Wayback Machine has) should be everything for English and Russian. (Other languages are mostly incomplete.) I was trying with iewz6d.exe /L:"http://content.legacyupdate.net/legacyupdate/ie/ie6sp1/x86/ie6sites.dat", which is correct according to the KB, yet it insisted on connecting to the official microsoft.com url anyway. I wrote a Fiddler rule to replace the response with a local copy of ie6sites.dat, which worked, but again it never loaded ie6sites.dat from the site itself.
Unfortunately it seems there never was a "full" installer, they just expected you to run the web installer with specific flags to make a full download of the cabs (e.g. see here). Seems to be the case for all of IE 4 - 6.
So do you suggest it should be fine installing IE6 as it does now, and then installing the matching MUI update over the top? Or should I make language-specific SFXes? (Will be a challenge to cover every language, will need to scour the internet for the cabs not archived by Wayback Machine)

According to KB264550, IE MUIs are working only with an "MultiLanguage version of Windows 2000" (probably meaning English version with an MUI pack installed over it). So on non-English systems MUI packs are useless.
Tried to install Russian IE MUI over English IE on Russian Win2k and over English IE on English Win2k with MUI. In first case I'm got almost nothing, in second a perfectly localized everything. So said in KB264550 is confirming.

Unfortunately it seems there never was a "full" installer

Yeah, all offline IE installers I've known are set of ~80 files, zipped or sfx-zipped together. Sometimes with a This folder is safe to delete.txt file. And not a single Microsoft-signed EXE.

So do you suggest

I think it will be better to make IE6 SP1 installation optional with an warning message if user unchecks IE option.
Also I've remember that in ~2008 the Windows Update v4 worked in IE 5.0, 5.5 too. WUv6 on Win2k also fully worked via IE 5.5 without problems (finds updates, installs them), and at least successfully displayed an error in IE 5.01. :) So probably it will be possible to made some support for IE 5.x (if Update Agent can work without IE6).

Thanks for testing, so separate IE installers for each language is definitely necessary then. Hopefully better archives of the non-English cabs are out there somewhere, because the Wayback archives are very incomplete.
The site definitely works on IE5.5, though I figured it's just less work for me on the site maintenance, and more likely what the user wants anyway, to update to IE6.

WU links still works for IE6 SP1
http://www.techtalk.cc/viewtopic.php?p=19526#p19526
taken from iebatch.txt included with ie6setup.exe
IE6 SP1
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-ara_b1720a72becd05142cb4ccbb23205c76b51d29e2.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-chs_6d93ab8525d3b6f775faf692caaa4c8267c8a22b.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-cht_1899bffb8ebf36c0a58686f04cc1d721c419792d.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-csy_2789a030bba2128fc90e0475e2530c300ed5defc.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-dan_0c178b2634a97a4879c172797b21a59e567d18e6.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-deu_2a13ac14e403ad4a1c6877fe478067e81ac20da8.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-ell_15a4e43c8922f658eddd5d57d23c11e0fa55dce9.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-enu_91192253c8d3cf7beff22e68ae1fdff9638bf546.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-esn_a9c53ad93bae78becf2b06f6d317ef7ef66a2abe.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-fin_1a369fcc86e803128144e17246e16d0a27a8c35b.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-fra_0bc4219b3119a127503cd93863cfedfb1e37bd55.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-heb_70518dd1d09d702975b8e44a22c88e139f168975.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-hun_1eeed3e7b3e6bd311c17c0d97f67ec12df8b4b85.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-ita_2c6ab20b41114e53646ebb56ff6d269fd86fba36.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-jpn_b1e1e8b9dbbf440d8964ec375348674502ef0728.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-kor_f61474b056ae37c5e9670978c6d3b24f4800d7f5.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-nld_3fd676fe34f93471f4db9a0a1f3ef5c3ed8e5f43.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-nor_72a81d06462c5a66f9531f4f226b13463698dd24.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-plk_14889750985a9d29490886c2e901ef3bc69c4ff5.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-ptb_448df44aea5d853e4954d48411b1953569df23c2.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-ptg_5892593c72f702ba6c7d88b47c2bd7c5707081fd.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-rus_842c289d0887bbe2e4edea1ff3763addc8d77db5.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-sve_db8dcfef073f2df327fc3706d9a141b6124cfed0.cab
http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/ie6sp1-wucab-trk_64479241feb2f783f851b16791d5d1c684d94a66.cab

/L:""ie6sites.dat"" indeed not working, but using /B:""iebatch.txt"" work
IE5 (all versions) WU links also still working
e.g.
http://www.download.windowsupdate.com/msdownload/update/v3/static/ie55sp2/x86/en/ie5setup.exe
http://www.download.windowsupdate.com/msdownload/update/v3/static/ie55sp1/x86/en/ie5setup.exe
http://www.download.windowsupdate.com/msdownload/update/v3/static/ie55rtw/x86/en/ie5setup.exe
http://www.download.windowsupdate.com/msdownload/update/v3/static/ie501sp2/x86/en/ie5setup.exe
http://www.download.windowsupdate.com/msdownload/update/v3/static/ie501sp1/x86/en/ie5setup.exe
http://www.download.windowsupdate.com/msdownload/update/v3/static/ie501/x86/en/ie5setup.exe
http://www.download.windowsupdate.com/msdownload/update/v3/static/ie50b/x86/en/ie5setup.exe

@stdin82 Where did you find the list of wucabs? I can't seem to find where they came from, WU catalog only lists the ENU build (https://www.catalog.update.microsoft.com/Search.aspx?q=KB326489). I'm surprised you found them!
I don't suspect there's a separate cab for NEC98-JPN given the urls don't include "x86" ("NEC98" takes the place of "x86" in Win2k patch filenames for the NEC PC-98 variant), would you know?


Support shorthand notation for scheduling pokes

Right now, users can schedule pokes with the following syntax:
!in <duration> poke|tell [nick] [message]

A shorthand of !in <duration> could imply !in <duration> poke. The matching rule will need to explicitly check that the input does not contain "tell" or "poke", or else input like !in 2 seconds poke me could ambiguously match both the new and old handlers.

!in <duration> is now supported, though !at <date> is not which is OK.


Make CodeDeploy DeploymentID an environment variable

With this the deployment id can be passed to another build to check for successful instances using this:
aws deploy list-deployment-instances --deployment-id $DeploymenID --instance-status-filter Succeeded

Thanks for the feature request. I've added it to our backlog.


fix field name collision

if findOneHandler() gets called with a JOIN construction,
multiple fields with the same name will prompt a disambiguation
error from the underlying database. (observed in postgres)

Thank you for your PR

Very welcome! Thanks for this great system!


Revisit use of drawers and dialogs

Some of the sub-screens we have are a bit sparse. One of the suggestions was to use a drawer on desktop instead of a full-screen navigation.
In this mock-up, we see a settings screen on the left. If the user clicks "Detailed settings", the middle screen slides up from below. The alternative would be to use a drawer instead, which is what the third screen shows.

Considering the question of consistency, would we just always use a drawer or only if the screen is somewhat empty? We'd have to figure out a logic for that. If we sometime use full screens, and sometimes drawers, we'd have to ensure that the UI feels intuitive (predictable in this case).
Drawers exist as a mobile UI pattern, but are not very common. So far, we just kept everything consistent across desktop and mobile, for simplicity of design and coding. Because of this, I think it can be good to revisit some of the patterns as we keep working on the app. Especially as we start using it heavily, we may realize that some design choices did not pan out as we thought they would. For this specific one, it would be good not to make a change on the worst-case scenario (the most empty screen in the app), but all uses of this pattern, and take it from there.

Why don't we close this issue, so it's not clogging up our issue list? No one has brought this up since. If we want to keep a list of "considered ideas", we can track that somewhere else. For example, we have discussed keeping linking relevant issues and PRs in the respective pages of the design docs.

Added to the bottom of the navigation page in the design docs, so we can close this issue.


[Pager] Zoomable Content In Pager

Description
Not a bug but mostly Horizontal pager is used to display images and I want them to be zoomable individually inside the horizontal pager which led me to ~research and I found this solution
https://stackoverflow.com/questions/71156016/how-to-use-detecttransformgestures-but-not-consuming-all-pointer-event
which is like a hack to make pager zoomable with each image in it. The problem is some solutions cut some of the image and some mess with the way pager scrolls and make it worse.
I would love it If you guys could provide a proper solution on how to use pager with zooming. To disable scrolling a state is being used and some are using screen width to prevent image from getting out of the bounds , I think these solutions could be improved , Could you please provide a solution for this.

Not stale

Alo Hamora

Accompanist Pager has now been deprecated as we have upstreamed it to the main Compose library and so I am closing this request sorry. We won't be updating the documentation here but you can file a request for this at goo.gle/compose-feedback if it's still needed when using the Compose Foundation Pager.


Open method

"Currently Modaal only supports a close method which can be called like so."
Why does it only support close instead of supporting open & close ? open method is useful when we want to trigger the modaal's open programatically

You can trigger the modaal to open like $("#my-modaal").trigger("click");

hi @bersujamu sorry for the delay in responding to this, did you manage to find a solution for your problem, or were you asking for further flexibility in the plugin?

Hi, thank you @mycaravam :D yes, useful basic method.
@danhumaan : Thank you for responding Dan! Maybe it's also for flexibility. Hmm i think, adding open makes the methods more complete and semantic

Is there possibility to create modal without link? Something like $.modaal.open({...});

It's not have method to open confirm modal without link?

It's been a long time coming, but thank you to everyones patience while we look for opportunities to continue to work on Modaal. As of the next release there will be a new method for opening modals via $('.trigger').modaal('open'). Thank you @james2doyle for your PR which was the basis for this implementation.


returns UnauthorizedAccessException

I have an app with capabilities of "systemManagement". But anyway on windows 10.0.17763.316 the app returns with the exception on call of DateTimeSettings.SetSystemDateTime:
Message = "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"
But the code works on the raspberry 3.
Complete capabilities:
<Capabilities>
<Capability Name="privateNetworkClientServer" />
<Capability Name="internetClient" />
<iot:Capability Name="systemManagement" />
</Capabilities>

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

ID: 99ce488b-a880-e9e1-8566-d144ff8b9870
Version Independent ID: 83c07d66-3098-9a16-fc25-93a95886e369
Content: DateTimeSettings.SetSystemDateTime(DateTime) Method (Windows.System) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.system.datetimesettings.yml&version=GBlive&_a=contents
Product: uwp
Technology: winrt-reference
Git Login: hickeys
Microsoft Alias: hickeys

Thanks for reaching out with your feedback. Issues opened on the docs GitHub are meant for documentation feedback, and unfortunately we cannot provide technical support. For community assistance with development questions I recommend that you ask on our forums or StackOverflow. For other support options, check out the developer support page. If you get assistance through these other resources and believe a documentation change is required, please come back and let us know.
Thanks,
Shawn

Please forward this error to your internals, since I have no ability to provide this error to microsoft.

was this solved? I am experiencing the same issue

If you experiencing it, I guess no. Feel free to report it as mentioned in first reply.


Ppoblems getting this to work

Theo, I've tries implementing this and I am unable to get it to work at all.  I'm not sure what I am doing wrong here.  I've tried following the exact same method that worked fine with PDFObject, but no success.  Also tried using this method (where pdfo.js is the sample.pdfo.min.js code)

Any suggestions?

I use pdfo with a bundler. If you want to use it directly, like how PDFObject works, see the pdfo.min.js file that I just added to the repo. Below is a minimal working example of what you would need to do in HTML.
This assumes that pdfo.min.js is in the same directory as the HTML file, but of course you could change that. Also note the type="module" attribute on the
    <title>pdfo demo</title>

Theo, It works perfectly now!  I tested it on Win10-Edge  109.0.1518.52 and
on iPhone Safari 16.1.1.  I also tried passing pdfOpenParams: {view:
'fitH'} and that also worked without any issues.
Only thing I run into occasionally is Google occasionally does not respond
and the page needs to be refreshed to display the PDF.  Not a pdfo issue!
Regards,
Gary
On Sun, Jan 15, 2023 at 2:48 PM Theo Beers @.***> wrote:

I use pdfo with a bundler. If you want to use it directly, like how
PDFObject works, see the pdfo.min.js file that I just added to the repo.
Below is a minimal working example of what you would need to do in HTML.
This assumes that pdfo.min.js is in the same directory as the HTML file,
but of course you could change that. Also note the type="module"
attribute on the
pdfo demo

—
Reply to this email directly, view it on GitHub
https://github.com/theodore-s-beers/pdfo/issues/30#issuecomment-1383261427,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3Q5TO5XSF6T6H5K75ABCDWSRWDJANCNFSM6AAAAAAT35VGYE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Train on the Occ-ScanNet Dataset

Appreciate for your excellent work. Can you provide relevant code and config to train the model on Occ-ScanNet?

We are organizing that part code, and we'll update in recent weeks.

Relevent codes and configs are updated, please have a look at it. If you have any problem during the process, just let me know.


add a required command in README.md in the getting started section

i added a required command in README.md in the getting started section


refactor: change xID to xId

Please describe the changes this PR makes and why it should be merged:
I think you have heard of https://github.com/discordjs/discord.js/pull/6036, well, I ported the changes here so the names are consistent between the two.
I also didn't update v6 since those don't seem to be changed, but I can update them if requested.
Reference Discord API Docs PRs or commits:
N/a.

Just close your eyes and merge it quick 👍


Always on screen "Run Utility" Suggestion

It would be nice to get a feature to keep this search bar always available on the desktop. It's incredibly useful.

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

ID: 0b951899-69ca-9057-f799-14491e1b0a74
Version Independent ID: 18e0202f-3e91-a5b9-62f2-6cd40e5661a8
Content: PowerToys Run utility for Windows
Content Source: hub/powertoys/run.md
Product: dev-environment
Technology: powertoys
GitHub Login: @alvinashcraft
Microsoft Alias: aashcraft

This feels not so much like feedback specifically about the documentation, but rather feedback about the product. I don't have any additional content for your scenario, over and above what's in the documentation. So, it might be worth your time pursuing this as a feature suggestion for the product. You can do this by visiting the PowerToys product repository to leave product questions/feedback as a new issue. Thanks you!


Bug fixes for ISV CR issues.

Updated code to fix a bug  that allowed Quickstarts, Tutorials, or How tos to be shown if features.json was enabled and the ISV wasn't installed.

Fixed typo with features.json

Fixed bug where Quick starts showed if ISV was not installed.

Fixed bug where Quick starts showed if ISV was not installed.

When you say "not installed", do you mean that the OdhApplication corresponding to the App of QuickStart is not present? It can be confusing because an ISV whose operator is not installed in OCP cluster but is among the RHODS partners will still show up in Explore section.

Fixed bug where Quick starts showed if ISV was not installed.

When you say "not installed", do you mean that the OdhApplication corresponding to the App of QuickStart is not present? It can be confusing because an ISV whose operator is not installed in OCP cluster but is among the RHODS partners will still show up in Explore section.

I mean where OdhApplication is not present, the CR is deleted.

@bdattoma Alternatively if you want to remove an ISV you can just add a featureFlag to one of the ODHApplications CR and not add that to features.json and the everything for the ISV will be removed from the dashboard.


Problem 2, solution 3 Most Optimized solution constant space and line…

Optimal method for reversing the array in linear time and constant space.
code contains appropriate comments.

@Code-Recursion Thanks for the PR!!


Following Getting Started Crashes with Simple Apollo Server

Hi,
I have a very basic Apollo server (literally hello world using "apollo-server-express": "^2.4.8"), followed the very first steps of the guide (using gql-gen init) from here: https://graphql-code-generator.com/docs/getting-started/
Upon running gql-gen --config codegen.yml I get the following error:
$ yarn generate
yarn run v1.12.3
$ gql-gen --config codegen.yml
  √ Parse configuration
  > Generate outputs
    > Generate src/generated/graphql.ts
      × Load GraphQL schemas
        → write EPROTO 14220:error:1408F10B:SSL routines:ssl3_get_record:wrong version numb
e…
        Load GraphQL documents
        Generate
    > Generate ./graphql.schema.json
      × Load GraphQL schemas
        → write EPROTO 14220:error:1408F10B:SSL routines:ssl3_get_record:wrong version numb
e…
        Load GraphQL documents
        Generate

  Found 2 errors

   × src/generated/graphql.ts
    Error: write EPROTO 14220:error:1408F10B:SSL routines:ssl3_get_record:wrong version num
ber:openssl\ssl\record\ssl3_record.c:252:

   × ./graphql.schema.json
    Error: write EPROTO 14220:error:1408F10B:SSL routines:ssl3_get_record:wrong version num
ber:openssl\ssl\record\ssl3_record.c:252:

Something went wrong
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Package.json:
{
  "name": "my-apollo-server",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "dev": "nodemon -w src/**/*.ts --exec ts-node --files ./src/index.ts",
    "generate": "gql-gen --config codegen.yml"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@types/node": "^11.11.3",
    "apollo-server-express": "^2.4.8",
    "express": "^4.16.4",
    "express-session": "^1.15.6",
    "graphql": "^14.1.1",
    "graphql-codegen-typescript-server": "^0.18.0",
    "nodemon": "^1.18.10",
    "ts-node": "^8.0.3",
    "typescript": "^3.3.3333"
  },
  "devDependencies": {
    "graphql-code-generator": "^0.18.0",
    "graphql-codegen-introspection": "^0.18.0",
    "graphql-codegen-typescript-common": "^0.18.0",
    "husky": "^1.3.1",
    "prettier": "^1.16.4",
    "pretty-quick": "^1.10.0"
  },
  "husky": {
    "hooks": {
      "pre-commit": "pretty-quick --staged"
    }
  }
}

codegen.yml
overwrite: true
schema: "https://localhost:4000"
documents: null
generates:
  src/generated/graphql.ts:
    plugins:
      - "typescript-common"
  ./graphql.schema.json:
    plugins:
      - "introspection"

index.ts
import express from "express";
import { ApolloServer, gql } from "apollo-server-express";

const typeDefs = gql`
  type Query {
    hello: String
  }
`;

// Provide resolver functions for your schema fields
const resolvers = {
  Query: {
    hello: () => "Hello world!"
  }
};

const server = new ApolloServer({ typeDefs, resolvers });

const app = express();
server.applyMiddleware({ app });

app.listen({ port: 4000 }, () =>
  console.log(`🚀 Server ready at http://localhost:4000${server.graphqlPath}`)
);

Ah.. Okay I think I have worked it out. Its an SSL error so the config schema should read this:
schema: "http://localhost:4000/graphql" perhaps the cli init should hint at this?
the cli also defaults to the generated files going in src/generated/graphql.ts but then errors if that folder doesnt exist, it probably should create the folder for you no?

@mikecann I create an issue for the directory: https://github.com/dotansimha/graphql-code-generator/issues/1482
Regarding the SSL error, how can we handle it? It looks like your GraphQL endpoint should work with SSL, but something it wrong with it's configuration.

@dotansimha not sure. I guess this error just looks odd:
Error: write EPROTO 14220:error:1408F10B:SSL routines:ssl3_get_record:wrong version num
ber:openssl\ssl\record\ssl3_record.c:252:

It probably should be something like "cannot find endpoint, are you sure you have the path to the graphql server correct" or something instead?
But not a big deal. Feel free to close.

This might help someone.
https://www.spektor.dev/apollo-client-and-ssl-handshake-failure/
Credits to Yossi Spektor.
TLDR. passing the entire header to apollo is the exact cause of this error in my case


Feature/editor save events

Jira
https://app.asana.com/0/1126340469288208/1145996329931297/f
Summary
Editor close now awaits response from drupal.
Details
Previously, editor save events utilized a Custom Event, and the editor closes with no knowledge or feedback on it's success.   This approach awaits a function attached to the window object, allowing the editor to reliably save knowing that the drupal update was successful, or to display an error and remain open if it fails.
There is an example function provided which includes asyc simulation.  It should be overwritten by Drupal.
How to test
Open the micro journeys page in pattern lab, edit a page and then save.  To see a failure, update  const shouldThisFailToDemo = false; on line 68 in /packages/editor/src index.js and repeat the process.

Also, one last thing, ideally this wouldn't include changes to the .incache file.  @sghoweri, is there a reason that's not excluded in git?
https://github.com/boltdesignsystem/bolt/pull/1552/files#diff-645222a46eb9ed6e19866a193c62e0f2

Also, one last thing, ideally this wouldn't include changes to the .incache file. @sghoweri, is there a reason that's not excluded in git?
https://github.com/boltdesignsystem/bolt/pull/1552/files#diff-645222a46eb9ed6e19866a193c62e0f2

@remydenton the short answer: we're including that in Git to speed up local development + avoid hitting API rate limits with Github.
I've considered adding it to our .gitignore however we'd need to test to make sure non-authenticated Github API requests aren't going to come back and bite us :)

We regenerate with every new release anyways so I'm not worried

PR was released with v2.11.0

@remydenton don't hesitate to reach out to me with any implementation questions

Heads up, I'm going to try testing out some fixes to my last two comments directly on the Drupal end in hopes of avoiding more than one more Bolt release.  I'll create a PR against this repo if my changes work.


CiviForm Logo as "home" navigation to program page

Description
CiviForm Logo as "home" navigation to program page.
Release notes
CiviForm Logo as "home" navigation to program page.
Checklist
General

[x] Added the correct label: < feature | bug | dependencies | infrastructure | ignore-for-release >
[x] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

User visible changes

[x] Wrote browser tests using the validateAccessibility method
[x] Manually tested at 200% size
[ ] Manually evaluated tab order

New Features

[ ] Add new FeatureFlag env vars to server/conf/application.conf
[ ] Conditioned new functionality on a FeatureFlag
[ ] Wrote browser tests with the feature flag off and on, etc.

Issue(s) this completes
Fixes #3935

Codecov Report

Merging #4075 (df2cd5c) into main (cb7e9cf) will decrease coverage by 0.62%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #4075      +/-   ##
============================================
- Coverage     80.08%   79.46%   -0.62%
- Complexity     2454     2503      +49
============================================
  Files           298      307       +9
  Lines          9803    10112     +309
  Branches        667      676       +9
============================================
+ Hits           7851     8036     +185
- Misses         1696     1813     +117
- Partials        256      263       +7

Impacted Files
Coverage Δ

...s/admin/AdminProgramBlockPredicatesController.java
44.26% <0.00%> (-23.23%)
:arrow_down:

server/app/services/program/BlockDefinition.java
80.00% <0.00%> (-10.48%)
:arrow_down:

...rvices/applicant/predicate/PredicateEvaluator.java
81.25% <0.00%> (-5.42%)
:arrow_down:

...ces/program/predicate/PredicateExpressionNode.java
53.12% <0.00%> (-2.88%)
:arrow_down:

server/app/services/applicant/Block.java
89.83% <0.00%> (-1.55%)
:arrow_down:

server/app/services/MessageKey.java
100.00% <0.00%> (ø)

server/app/services/program/predicate/OrNode.java
100.00% <0.00%> (ø)

server/app/services/program/predicate/AndNode.java
100.00% <0.00%> (ø)

...ervices/program/predicate/PredicateDefinition.java
100.00% <0.00%> (ø)

...rs/applicant/ApplicantProgramReviewController.java
100.00% <0.00%> (ø)

... and 18 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Implement TraceContext header

Fixes #43

Doh, looks like we can't be storing the span id as an int as we're testing against 32-bit versions of PHP as well and the span id is a 64-bit integer (8 bytes).


Move any dirs within assets to root public

I noticed that my img within assets was being placed into public/assets/img. I think it would be better in public/img. What are your thoughts on this?

I disagree with your suggestion.  I don't want to make any assumptions about what assets people have.
static-lite doesn't even know that images exist within assets.  It's really just a folder copy.
This PR is good though 👍


Add pass to bubble-up extract_slice operations.

This adds pass to replace a tensor.extract_slice operation with a
slice of the producer. In general there might be more opportunities to
use this pass more aggressively (like when an operation has a single
use which is a slice), but for now this is being done only for
bit-extend operations.
Fixes #18254
Signed-off-by: MaheshRavishankar<EMAIL_ADDRESS>

I tried https://gist.github.com/monorimet/3a0a4310c1ed09265353ce747599d502 but it seems like there is a collapse_shape in the way:
  %4 = linalg.generic {indexing_maps = [affine_map<(d0, d1, d2) -> (d0, d1, d2)>, affine_map<(d0, d1, d2) -> (d0, d1, d2)>], iterator_types = ["parallel", "parallel", "parallel"]} ins(%collapsed : tensor<24x4608x128xf16>) outs(%3 : tensor<24x4608x128xf32>) {
  ^bb0(%in: f16, %out: f32):
    %21 = arith.extf %in : f16 to f32
    linalg.yield %21 : f32
  } -> tensor<24x4608x128xf32>
  %expanded = tensor.expand_shape %4 [[0, 1], [2], [3, 4, 5]] output_shape [1, 24, 4608, 64, 1, 2] : tensor<24x4608x128xf32> into tensor<1x24x4608x64x1x2xf32>
  %extracted_slice_7 = tensor.extract_slice %expanded[0, 0, 0, 0, 0, 1] [1, 24, 4608, 64, 1, 1] [1, 1, 1, 1, 1, 1] : tensor<1x24x4608x64x1x2xf32> to tensor<24x4608x64xf32>
  %expanded_8 = tensor.expand_shape %extracted_slice_7 [[0, 1], [2], [3, 4]] output_shape [1, 24, 4608, 64, 1] : tensor<24x4608x64xf32> into tensor<1x24x4608x64x1xf32>

also, iree/compiler/Dialect/Flow/Transforms/test/bubble_up_extract_slice.mlir just needs to be updated to use --iree-flow-bubble-up-extract-slices

Probably needs more tests. I added a rank reduced slice test, we want without rank reduction

Someone else should review this since I co-authored this commit. Probably needs more tests. I added a rank reduced slice test, we want without rank reduction slice test always

@ScottTodd test_einsum_inner_prod is timing out in onnx regression tests https://github.com/iree-org/iree/actions/runs/10585615045/job/29333076426?pr=18332 the message is:
FAILED iree-test-suites/onnx_ops/onnx/node/generated/test_einsum_inner_prod/run_module_io_flags.txt::model.mlir::gpu_rocm_rdna3 - Failed: Timeout >30.0s
I don't think it is related to this pr because I was getting a segfault during torch conversion, Should the rdna3 config be updated similar to what was done in #18357?

THis is existing error. We've been hitting this all week

Oh, you can merge even with the failure

Oh, you can merge even with the failure

Great, I wasn't sure!


AOS does not detect element in viewport if they're in a transformed div instead of classic body scrolling

I'm trying to use AOS in addition with Locomotive Scroll.
It looks like the AOS script is not detecting element in the viewport because they're all located in a div that is transformed. (Locomotive Scroll smooth scroll behavior)
This is:

Bug

Specifications

AOS version: 2.3.2
OS: Windows
Browser: Chrome

Expected Behavior
Elements having the data-aos attribute should be animated when they enter the viewport.
Actual Behavior
AOS does not detect elements in the viewport.
Steps to Reproduce the Problem

Setup a basic site with a locomotive scroll container
Create a 100vh div
Create a second div that have an AOS animation

Detailed Description
I didn't dig too much into the AOS script code, but I suspect you use elements offset positions to calculate when it enters the viewport.
Possible Solution
I don't have a solution right now but I have an ugly fix.
In my project I don't include the AOS javascript anymore and only use this:
let observer = new IntersectionObserver( (entries, observer) => {     entries.forEach(entry => {        if(entry.isIntersecting){          entry.target.classList.add('aos-animate');        }else{          entry.target.classList.remove('aos-animate');        }    }); }); document.querySelectorAll('[data-aos]').forEach(aosElem => { observer.observe(aosElem) });
Now the animations are played. I think using my script will break a lot of AOS attributes functions but that's the only way I found so far to make it works in my case.

@MathieuTristan82 I think I found a better variant of your JavaScript fix:
                let observer = new IntersectionObserver((entries, observer) => {                     entries.forEach((entry) => {                         if (entry.isIntersecting) {                             Aos.refresh();                         }                     });                 });                 document.querySelectorAll('[data-aos]').forEach((aosElem) => {                     observer.observe(aosElem);                 });
This way, it will not break the attributes.

😉 For all future users, there's now an NPM package which uses the code above to solve this issue by making an alternative AOS Initialiser -> https://www.npmjs.com/package/locomotive-aos
Works in exactly the same way, here's how you could use it in NextJS with React:
"use client"
import "./Aos.scss"
import Aos from "locomotive-aos";
import {
    useEffect
} from "react";

export default function () {
    useEffect(() => {
        Aos.init({
            duration: 1000,
            easing: "ease-in-out"
        })
    }, [])

    return <></>
}


Share types between Touca Server components

Currently we have two separate files api/src/types/commontypes.ts and app/src/app/core/models/commontypes.ts with duplicate content that allow Touca frontend understand API response from the backend.
We'd like to create a private npm package @touca/server-types so that we can share these TypeScript types without duplicating them.

Thank you so much! LGTM. Added a comment to the PR.


NIFI-4914

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[x] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[x] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

The pull request title and the commit is missing the JIRA number, could you add that?

Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

Any update on this? I don't want to miss another release window if possible... =)

sorry @david-streamlio  i def would like to get it in as well.  i will try to help soon

Any update on this? Am I safe to assume we are going to make the 1.8 release?

not clear when we'll be cutting a 1.8 release so i'm not sure about safety
but this is clearly a cool capability and it is just a matter of finding a committer to review it with sufficient bandwidth and expertise. things impacting security are super important and not being record oriented makes it less useful for sure.  I haven't looked at the details in a while to see if you added that.  I'd go so far as to recommend not offering a non record approach but i wouldnt say that is a rule - just a recommendation

Hi @david-streamlio - sorry it took so long, I've been busy with a lot of things...
I've not been able to complete all my tests successfully but I wanted to give a status with my tests so far. All the code changes I did are available here: 8ca2db6712b9fc843a3d2ee7917ecc6db2dd54f2 Most of the changes are just to be consistent with the code base but some have been required to make things work.
In addition to that, I have the following comments: if we leave the ack timeout to 0sec, we get the following error
2018-10-22 08:23:18,998 WARN [Timer-Driven Process Thread-8] o.a.n.controller.tasks.ConnectableTask Administratively Yielding ConsumePulsar[id=1a70a923-0166-1000-e698-63a0160cc922] due to uncaught Exception: java.lang.IllegalArgumentException: Ack timeout should be should be greater than 1000 ms
java.lang.IllegalArgumentException: Ack timeout should be should be greater than 1000 ms
at org.apache.pulsar.shade.com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
at org.apache.pulsar.client.impl.ConsumerBuilderImpl.ackTimeout(ConsumerBuilderImpl.java:147)
at org.apache.nifi.processors.pulsar.AbstractPulsarConsumerProcessor.getConsumerBulder(AbstractPulsarConsumerProcessor.java:361)
at org.apache.nifi.processors.pulsar.AbstractPulsarConsumerProcessor.getConsumer(AbstractPulsarConsumerProcessor.java:338)
at org.apache.nifi.processors.pulsar.pubsub.ConsumePulsar.onTrigger(ConsumePulsar.java:46)
at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1165)
at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:203)
at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Is it something that changed with the latest version of Pulsar?
In the consume processors, I'd add the topic name as attribute of flowfile and possibly other attributes that could be useful for later routing/filtering.
When stopping the processors or stopping NiFi, some processors does not stop cleanly and it requires a process kill for NiFi to shutdown. During my last test, it was on ConsumePulsar but it could be on other processors as well.

@pvillard31 Thanks for taking the time to review my PR.

How should I go about applying your changes to my branch?  Would "git cherry-pick 8ca2db6" work?

Regarding the " the ack timeout to 0sec", yes that is a new change in Pulsar. So we will need to make that property required.

Great suggestion on the consume processors attributes. I will review these and add some more of these for the downstream processors to use.

Re: "stopping the processors or stopping NiFi".  I have noticed that behavior as well and am not 100% sure what is causing it. AFAIK, on shutdown I am explicitly stopping all of the running threads in the executor service, waiting a few seconds for them to complete and then doing a "shutdown now".  Any ideas on what might be causing the issue?  Have you seen this behavior before in other processors?

Is there an estimation when this may be merged? I'm also very much interested in using Pulsar within NiFi, so I can provide some application testing, if needed...

@rumbin I am merging in changes from @pvillard31, and correcting some minor issues that cause the processors to hang in certain situations. ETA is by Monday 11/12 for my next commit with these changes

travis and local builds dont work due to some parent relative path issues.  can you please confirm you're following the pattern that other components follow with regards to pom contents

Thanks @joewitt I was double comparing the nifi-pulsar-bundle/pom.xml to other bundles in the nifi-nar-bundles, e.g. nifi-redis-bundle/pom.xml, nifi-rethinkdb-bundle/pom.xml, and nidi-parquet-bundle/pom.xml and they all define their parent module as follows:
<parent>
    <groupId>org.apache.nifi</groupId>
    <artifactId>nifi-parquet-bundle</artifactId>
    <version>1.8.0-SNAPSHOT</version>
</parent>

Which is what I have as the definition in the nifi-pulsar-bundle/pom.xml file

the build doesn't work...at least for me or travis.  also not with the new patch.  i've not looked into why yet but we dont use relative paths anywhere that i know of so not sure what the latest change was for/doing

@joewitt So the build doesn't work for you locally?  I am able to build it locally.
The latest commit was  trying suggestion number 2 from the following wiki page that is given in the build output:
https://cwiki.apache.org//confluence/display/MAVEN/ProjectBuildingException
https://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
"You intent to use a parent POM from the local filesystem but Maven didn't use that. Please verify that the  element in the child is properly set and that the POM at that location has actually the version you want to use."

As a sanity check I did the following on my local MacBook, and was able to build NiFi successfully from my branch:
cd /tmp
git clone git@github.com:david-streamlio/nifi.git
cd nifi/
git checkout NIFI-4914
mvn clean install -DskipTests
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:48 min
[INFO] Finished at: 2018-11-16T12:45:01-08:00
[INFO] Final Memory: 318M/1815M
[INFO] ------------------------------------------------------------------------

am building against master - is 1.9.0.  changing it to 1.9.0-SNAPSHOT and ignoring last commit addresses it.  travis fails for a similar reason i'd guess.  Probably makes sense to ditch the merge commits, squash, rebase to latest.  But in any case is building now i think

Is there a way to get this into a 1.8.x release rather than the 1.9.x?

@david-streamlio why did you close it? Will you submit a new PR?

@rumbin I am going to submit a new PR, it is just easier to create a fresh branch than rebasing to a new version of NiFi.

@david-streamlio its not likely we'll put a feature like this into an already released line.  It doesn't fit our semver scheme.
Also, on my local branch i have the changes i needed from your last commit so this would actually build against master.  However, if I do parallel builds the build gets hung up.  Single threaded builds are fine.  I cannot tell why yet.  If I do a full clean build parallel just on master things are fine.
So, i believe there is something in the way these tests run that break parallel builds

Created new PR after rebasing to NiFi 1.9.0-Snapshot branch.
https://github.com/apache/nifi/pull/3178


algorithm-debug

This change is

/deploy

/deploy

/deploy

/deploy

/deploy

/deply

/deploy

/deploy

/deploy

/deploy

/deploy

/deploy

/deploy

/deploy

/deploy

/deploy

/deploy

deploy

/deploy

core/task-executor/lib/reconcile/reconciler.js, line 578 at r9 (raw file):
Previously, golanha (Golan Hallel) wrote…
Done.

Deep scan found it was not used, this is why I removed it

/deploy

core/algorithm-debug/lib/index.js, line 26 at r15 (raw file):

 ws.on(messages.outgoing.streamingInMessageDone, ({ sendMessageId }) => {

Line 19: "events.removeAllListeners();" So the events are not triggered many times.

core/algorithm-debug/lib/index.js, line 26 at r15 (raw file):
Previously, golanha (Golan Hallel) wrote…

 ws.on(messages.outgoing.streamingInMessageDone, ({ sendMessageId }) => {

Line 19: "events.removeAllListeners();" So the events are not triggered many times.

My mistake that's events not ws, adding a fix


In Visual Studio 2019, the editor says that it uses a deprecated API and then disables the extension

After you install this extension to Visual Studio 2019 it complaints that the extension uses a deprecated API and can only be loaded if you enable synchronous loading of extensions. By default, it disables the extension.
I don't know what particular part of the API has been deprectated by Microsoft, but to enable this with asynchronous extension loading, I think the fix would be to get the deprecated code updated.

@jakubbielawa, is is possible for you to update your awesome extension to support this behavior? Since the change in policy at Microsoft, it is not possible anymore to use it, unless you use the non-recommended option to synchronously load all extensions, but that seriously adds to the overall start-up time.
I don't know if this is simple or hard, but I really love your extension, and now I really miss it since with VS2019 it cannot be used. If there's something I can do to help, please let me know.
More info on this policy and behavior:

Notification from Microsoft
Migrate to AsyncPackage for Marketplace

While I agree an update would be great, I have also found that the extension does work in VS2019.  Doing so requires waiting for a banner to appear then accepting asynchronous autoload, restart, wait for banner, accept legacy API, restart, wait for banner, accept asynchronous autoload, restart (and possibly one more repeat, I lost count TBH).  Then it seems to work fine.

@MatthewT123, yes, using the deprecated api and synchronous load it works, but that shows down start up times significantly. The asynchronous feature requires an update as described by Microsoft.

Can the commit in the fork from @liulex be pulled in to fix this?
https://github.com/liulex/LineEndingsUnifier/commit/902c65f773a79d9a5ed393dc300bb917246ba229

Can the commit in the fork from @liulex be pulled in to fix this?
https://github.com/liulex/LineEndingsUnifier/commit/902c65f773a79d9a5ed393dc300bb917246ba229

@chasingcode, I've created a pull request. Hopefully @jakubbielawa can take a look. I didn't yet do a full test if the fix, hopefully it works. Cudos and thanks to @liulex for doing the heavy lifting here.

This is now solved. Tx!


cftime convention for noleap

I added some checks to the cftime convention based on #99 but I don't have much confidence whether this is robust enough for other options than noleap. If others think this PR is good to merge, I'll merge it and work on releasing a new version #97.

@rabernat Is it ok for me to merge this??

@rabernat Is it ok for me to merge this??

No. Someone needs to review your PR. I appreciate all your work on this. Please try to be patient.


CA1724 documentation should describe the cases where naming collisions would cause confusion

The documentation for CA1724 says "Before you suppress the warning, carefully consider how the users of your library might be confused by the matching name." However, there is no example of how the naming collision could cause confusion.
I understand that a class named BusinessDomain.BusinessObjects.Display.Display is a bad idea, but in my particular case, I am building a library for my business domain, and I have a conflict between the type BusinessDomain.BusinessObjects.Display and the namespace Serilog.Formatting.Display. Under what circumstances would this or similar naming conflicts cause confusion?

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

ID: 91945e5b-8c25-f409-fc76-e57bdf58cb15
Version Independent ID: 5cfb7f25-82e3-5d35-f798-12c2e0396f19
Content: CA1724: Type Names Should Not Match Namespaces - Visual Studio
Content Source: docs/code-quality/ca1724.md
Product: visual-studio-windows
Technology: vs-ide-code-analysis
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@DaleStan It sounds like you have carefully considered whether users of your library might be confused, and you've concluded that they will not be confused. For a long discussion of the issue, I'd suggest this post: https://social.msdn.microsoft.com/Forums/en-US/86c94c19-8ba5-44db-84d6-61469b38c520/typenamesshouldnotmatchnamespaces-aka-ca1724?forum=vstscode

I looked at this more closely to see whether it makes sense to add an example to show how confusion might result. Here's a naming collision, flagged in the IDE by CS0104, an ambiguous reference, in addition to CA1724.
using System;
using MyContainers.Array;

namespace MyNamespace
{
    class Program {
        public void Main()
        {
            Array arr;
        }
    }
}

namespace MyContainers.Array
{
    public class Array
    {
    }
}

The article doesn't actually mention "naming collisions", however, just confusion to users by the matching names, so I'm not sure this example ought to go in the docs. Closing for now. Let me know if you have any additional thoughts about it.

@Mikejo5000 Your example doesn't answer the question I was trying to ask. It demonstrates confusion between two different types both named Array, and presents a strong case for "Do not use type names that are used in the System namespace." It also violates the guideline "Do not use the same name for a namespace and a type in that namespace."
As far as I can tell, CA1724 is not trying to enforce either of those guidelines. Rather, it says that Alice should not write a library containing:
namespace Alice.Library
{
    public class Server
    {
    }
}

She should not do this because Bob might get confused when writing:
namespace Bob
{
    class Program
    {
        static void Main()
        {
            // Bob gets confused here because he doesn't know whether "Server" means
            // the type Alice.Library.Server or the namespace Microsoft.SqlServer.Server.
        }
        // Bob might get confused here also/instead.
    }
}

I'm looking for an example that expands on Bob's file to demonstrate his confusion.

Thanks for clarifying. My impression of this rule, reading through the doc and various discussions, is that the level of confusion that results from this situation may vary quite a bit.
In the forums thread I linked to about CA1724, it is stated:
"Given that a type and a namespace are not likely interchangable, it's reasonable to expect that the namespace System.Security.Util, for example, would never be mistaken for a type such as WindowsApplication1.Util; especially once a compile takes place." (Which I think is also what you are saying when you ask for an example?)
I don't see in the response a suggestion that customers actually will mistake a namespace for a type. Instead, the response is:
"The issue arises when users import (via an using statement for C#, or imports statement/default imports for Visual Basic) namespaces with types that contain the same name, or you need to use a namespace that contains the same name as a type or vice versa. Although you may like to fully qualify types to distinguish between these types/namespaces, other users may not and do not. However, by naming them the same as other types your forcing your consumers to do this."
In the thread, it is also stated in a later response:
"Although, after re-reading the guidelines there is no explicit guideline stipulating that a type should not be named the same as a namespace, we have decided to keep this rule. We only rip rules if they don't provide useful analysis, we feel that this rule does;  naming your type 'System' or 'Windows' or 'Drawing' is just bad."
.NET made some changes to the rule implementation at that point, but it looks to me that the preceding appears to still apply.

The section you bolded in the referenced thread is talking about "Do not use the same name for a namespace and a type in that namespace". I stand corrected; CA1724 does enforce this rule. I understand that rule, but I'm trying to understand a different rule that CA1724 is also enforcing.

"Given that a type and a namespace are not likely interchangable, it's reasonable to expect that the namespace System.Security.Util, for example, would never be mistaken for a type such as WindowsApplication1.Util; especially once a compile takes place." (Which I think is also what you are saying when you ask for an example?)

I'm not entirely sure what Peter meant by "especially once a compile takes place." but I think that's the sort of example I'm looking for.

"we feel that this rule does [provide useful analysis]; naming your type 'System' or 'Windows' or 'Drawing' is just bad."

Creating a type named System is definitely a Bad Thing, but I feel like Windows would be a reasonable name for a collection type in a library that interfaces with X, and WPF has a System.Windows.Media.Drawing class.
Is there a way Bob could confuse the namespace Microsoft.SqlServer.Server and the class Alice.Library.Server? If not, I now think CA1724 should be relaxed to enforce the rule "Type names should not match top level or ancestor namespaces". In application, this would mean that no one should ever name a class System or Microsoft, and Alice should not name any of her classes Alice or Library, but she can name a class Server without conflicting with the Microsoft.SqlServer.Server namespace.

OK, although that makes sense to me, it's a change in rule implementation (vs. doc issues here). So, you could open the request here to move it forward:
https://github.com/dotnet/roslyn-analyzers


padding for the legend

Feature Proposal
the legend does not have a padding property, specifically the space between the legend and the graph area can't be changed (unless there is a graph area padding that i haven't found)
Possible Implementation
No response

+1 on this.
https://stackoverflow.com/questions/42585861/chart-js-increase-spacing-between-legend-and-chart
This problem has already appeared in stack overflow, and there are multiple old solutions that involves using plugins. even though I can do the same in my code, it would be better if options.plugins.legend could have a padding option to just set that, natively.


Data persistence with mocked authentication

I don't have any experience with data persistence and real authentication, so I began to look for information and found about localStorage. Seemed to be a good fit for this mock app, so I used it.
Also, I tried to mock a simple token for maintaining minimal security in the persistence between sessions. Made a validateSession method in the fake API that I'm using. It works but I know that it's not real security. The real way would consist of having a server that generates a JWT token, encrypts it, and having a secret environment key shared between in the server API and in the app with a persistent key between them. But still, I don't know how to make a real server so I did this. I think it is a pretty good mockup and with some changes, it could have real authentication.

Also, since I wasn't able to make codecov to work properly, I'm removing it now.


Add GNU/Hurd support

error: this loop never actually loops
    --> test/sys/test_socket.rs:1305:9
     |
1305 | /         for _ in msg.cmsgs() {
1306 | |             panic!("unexpected cmsg");
1307 | |         }
     | |_________^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop
     = note: `#[deny(clippy::never_loop)]` on by default

This is unrelated. This actually looks to me like a false positive from clippy: this does mean not to loop and just panic if we make even just one iteration.

Hi, thanks for your contribution to nix! Unfortunately, our Cirrus CI is running out of its credits, so I manually stopped the CI for this PR.
After our migration to GitHub action, I will take a look at this PR and re-run the CI job

I  have rebased on top of the github action commit

And I have now added i686-unknown-hurd-gnu as tier3 in CI. Obviously, in the meanwhile some errors have popped up, I'll have a look.

Some fixes need to be done in libc (and wait for a libc release...)

Some fixes need to be done in libc (and wait for a libc release...)

Ok, then I will label this W-blocking-upstream

You'll have to rebase to fix CI.

You'll have to rebase to fix CI.

ok, done so!

@SteveLauC do you need to change the minimum libc version?  CI's minver check won't catch an error there, if the error only affects Hurd.

hi @sthibaul, is this PR blocked by these changes?

libc#3430: hurd: Fix C API interface completion
libc#3428: hurd: Complete C API interface

These changes haven't been released yet, so I guess we still need to wait for a new libc release

hi @sthibaul, is this PR blocked by these changes?
* [libc#3430: hurd: Fix C API interface completion](https://github.com/rust-lang/libc/pull/3430)

* [libc#3428: hurd: Complete C API interface](https://github.com/rust-lang/libc/pull/3428)

Yes, it is.

These changes haven't been released yet, so I guess we still need to wait for a new libc release

Yes, we'll have to wait for 0.2.151

Hi @sthibaul, now we are ok to use the libc dependency from git so that we don't have to wait for a libc release.
And, rebasing your branch should make the CI pass since the commit used already has these 2 PRs covered
I am sorry about those merge conflicts, we have switched to cfg alias to make our code clean, and this PR is mostly about cfg, so...

Ok, at last it does pass...

AIUI it is waiting for @asomers ' ack?

AIUI it is waiting for @asomers ' ack?

Yeah, that would be best, let's wait for asomers's review:)


Added return value for Mail::send with log driver

Mailer::send now returns true when using the log driver
fixed #9935

Oh I just checked
$this->swift->send() returns an int
should I change this to return 1

The return type of this method is void.

That means anything returned shouldn't be used.

so then to check if Mail::send was successful we have to check the count of Mail::failures()?


feat: move the previous/next buttons further up

moved the previous/next buttons further up

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1206308458323180

thanks 👍  If I remember correctly this was before we had a home button and it was meant that the home button should be aligned with the language select, but placed on the left-hand side of the screen (how it is by now). I used the same ticket for different PRs.

@all-contributors please add @aeschi  for code, review, design


Unit test coverage

@kaitlin @jworcestBAH or @nmonga91
This request re-factors the DATA Act validator unit tests to route requests through the Flask application (instead of directly through the requests library) so that we can get an accurate baseline coverage number (DB-196.
At a high level:

Move app creation code to a separate method in app.py so the unit tests can create a Flask instance
Add coverage and webtest libraries
Move setup and teardown activities to unittest setUp and tearDown methods (with a goal of laying the groundwork for a potential future use of fixtures)
Move testUtils.py methods to a base test class
Invoke validator functions via the Flask app
Switch to unittest assert methods to take advantage of the built-in specific error messages
Mark skipped tests as skipped instead of passed

A few things that were out of scope for DB-196 but should be addressed in the future:

Tests are hitting production database names, and running them will delete existing data (see DB-237 and DB-308)
Tests are uploading to S3. Added DB-309 as a reminder, in case this change isn't part of the impending "local" branch merge.
There are a few hard-coded surrogate keys I'd prefer to remove when setting up test data, though given that the test data are created on empty tables, the code should work consistently in its current form.

Resolved the two tests that were still failing when I demo'd to @kaitlin earlier today:

@jworcestBAH thanks for your review comments. Made some recent commits that address some of the things we spoke about:

re-instate file size checks
when a test fails on a status code check, add debug info to test output
add a comment to runTests.py showing how to run a single test
specify the webtest and coverage versions in requirements.txt

Looks like there are now some merge conflicts to resolve...will do that next.

@jworcestBAH merge conflicts fixed--should be ready to go. Thanks again for the suggestions and feedback!

Thanks for the changes, everything looks good now and is being merged.


PySPARQL Anything Entry Point/CLI

The title explains it.
Experimenting with the Python build tools I noticed that we can specify an entry point to the library. This in theory would allow the user to for example be able to call the SparqlAnything.run method directly from the command line without running the Python shell, import statements and create an object.
@enridaga Would you like me to look into this further?

Why not, what would be the advantages compared to the java cli?

One would be that one should be able to do something like
$ sparql-anything -q query

rather than
java -jar sparql.anything-null  -q query

A second advantage would be that if one downloads the Python library, then they have access to the CLI, the Python library and possibly also the fuseki server with one download.

I've uploaded a little test in tests/cli.py (commit 3f2bc8c).
It passes all the usual tests.
Does require <IP_ADDRESS> to run though.

Solved in commit 5053c94


move token-operator-p near the rest of the functional abstraction

Move this token-operator-p function
https://github.com/hamzashahid-blit/Claculator/blob/46a307a4e6443bac3fe3f8ae3b68d552ec237634/src/lexer.lisp#L3
near define-operators and operators-count.
When you modify a functional abstraction, you should have to modify only one source file.

Done! Thanks PJB.
Regards, Hamza Shahid


Fix for ambiguous tupler

Resolves #713

oops, had origin pointing to julienrf

oops, had origin pointing to julienrf

Pardon, this doesn't quite work. I was expecting Travis or GitHub Actions to run the full test suite. I'll reopen when it's ready for review.

Pardon, this doesn't quite work. I was expecting Travis or GitHub Actions to run the full test suite. I'll reopen when it's ready for review.


llgo run pydemo(matrix,tensor) get stuck on MacOs M3

The _demo example works fine, but matrix and tensor get stuck in _pydemo
llgo/_pydemo/matrix on  main [$?⇣] via 🐹 v1.20.14
❯ llgo run .
^C

llgo/_pydemo/tensor on  main [$?⇣] via 🐹 v1.20.14
❯ llgo run .
^C

Environment
mac version: MacOS 14.2 M3 MacBook Pro (2023)
uname -a
Darwin ... 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:55 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8122 arm64

go version
go version go1.20.14 darwin/arm64

clang version
clang -v
Homebrew clang version 17.0.6
Target: arm64-apple-darwin23.2.0
Thread model: posix
InstalledDir: /opt/homebrew/opt/llvm@17/bin

❯ echo $LIBRARY_PATH,$C_INCLUDE_PATH,$LIBRARY_PATH
/usr/local/lib,/usr/local/include,/usr/local/lib
❯ echo $LLGO_LIB_PYTHON
/opt/homebrew/Frameworks/Python.framework/Versions/3.12/lib/python3.12

After installing pandas and pytorch, I can use them normally

After installing pandas and pytorch, I can use them normally


help

想问一下源文件放进vivado之后该如何跟板子互动？

@youngbeauty 不好意思 因为距离写的时间很久 这个我已经忘记啦

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!

$BNB Airdrop: Claim Your $1000 in BNB Now!
🎉 Congratulations! You've been selected to receive a portion of the $1.5k Binance Airdrop. We're thrilled to offer you $1500 in BNB. But wait, there's more—connect now, and instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1000 in BNB! Additionally, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, take the opportunity to win up to $20,000—it's your golden chance!
Winners: @kaiser-9527, @meta-bowen, @xingyinwang, @0xe89, @chengongpp, @yuankeon, @DevDavid1307


Update: Documentation

Update

User Guide
PPP

Pull Request Test Coverage Report for Build 459

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.486%

Totals

Change from base Build 458:
0.0%

Covered Lines:
2370

Relevant Lines:
2709

💛  - Coveralls

Pull Request Test Coverage Report for Build 460

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.486%

Totals

Change from base Build 458:
0.0%

Covered Lines:
2370

Relevant Lines:
2709

💛  - Coveralls


App crashing during the following step (collectionView.selectDelegate = self)

i tried to implement as explained in the instructions. but the app crashes as the ViewController implementation when using (collectionView.selectDelegate = self)
Error : Thread 1: EXEC_BAD_ADDRESS(code=2, address = 0x.....)

Thanks for reporting this, I made a note about this on the usage section on the Readme file.
The collectionView IBOutlet class must be declared as MVCarouselCollectionView in Interface Builder, otherwise this will crash:


feat: Hover support for StreamLit

Extending the Language Server utils with hover support.
It uses jedi to get the information and maps back to VS code or language-server-protocol standard.
I added some tests as well.
There is another PR related to this one in the fusion monorepo
How to test

If you want to test it locally, make sure that you run build first for both kernel and mountable. Ex: Inside kernel, run npm run build and do the same of mountable
After that you can run mountable npm run start

I think my comment https://github.com/cognitedata/stlite/pull/34#issuecomment-2058677407 holds here as well - how do we ensure this is maintainable :) ?

I think my comment https://github.com/cognitedata/stlite/pull/34#issuecomment-2058677407 holds here as well - how do we ensure this is maintainable :) ?

Replied in #34

Not able to test this, but approving. Create a task in cog-ai for migrating these customizations upstream.


list resource with a given resource type under a certain resource group

Is your feature request related to a problem? Please describe.
Under a certain resource group, a specific bicep function can list/get resource(s) filtered by a given resource type
It's similar to az resource list az cli command, for example:
az resource list --resource-type Microsoft.Network/virtualNetworks -g <resource group> --subscription <sub id>

Can you provide a code snippet of how you would expect this to be used?

For my specific case. in creation of AKS cluster(managedCluster) with bicep, a certain NSG (network security group) created by AKS creation is under the AKS node resource group, NSG resource name is uncertain, I need to get this NSG and apply a new rule to it for an existing virtual network instance.
Thus, I would like to ask a function to list/get NSG from a given resource group, (For this case, NSG instance is only one under the AKS node resource group)
For now, the work around is deployment script to execute az resource list instead.

It's hard for me to imagine how this would work, which is why I was asking if you have a code sample/pseudocode in mind. The challenge is that bicep is not interactive, so what information would you provide in order to select the NSG? What would you do if multiple NSGs are returned?

Here is deployment script with bicep. First NSG instance just returns as it is only one in my case.
@description('app deployment name')
param appDeployName string

@description('AKS node resource group')
param resourceGroupName string

@description('Timestamp - utcNow can only be called as a default value of a parameter.')
param timestamp string = utcNow()

@description('The location to run the deployment script in')
param location string = resourceGroup().location

@secure()
param deployAppId string

@secure()
param deployAppSecret string

var scriptToExecute = '''

$securePassword = $Env:DEPLOY_APP_SECRET | ConvertTo-SecureString -AsPlainText -Force
$pscredential = New-Object -TypeName 'System.Management.Automation.PSCredential' -ArgumentList $Env:DEPLOY_APP_ID, $securePassword

Connect-AzAccount -ServicePrincipal -Credential $pscredential -Tenant $Env:TENANTID -SubscriptionId $Env:SUBSCRIPTIONID
$output = Get-AzResource -ResourceGroupName $Env:RESOURCEGROUP -ResourceType Microsoft.Network/networkSecurityGroups

Write-Output $output
$DeploymentScriptOutputs = @{}
$DeploymentScriptOutputs['text'] = $output[0].Name

'''

resource script 'Microsoft.Resources/deploymentScripts@2020-10-01' = {
  kind: 'AzurePowerShell'
  name: '${appDeployName}-get-nsg-script'
  location: location
  properties: {
    forceUpdateTag: timestamp
    azPowerShellVersion: '7.2.0'
    retentionInterval: 'PT1H'
    scriptContent: scriptToExecute
    cleanupPreference: 'Always'
    environmentVariables: [
      {
        name: 'RESOURCEGROUP'
        value: resourceGroupName
      }
      {
        name: 'SUBSCRIPTIONID'
        value: subscription().id
      }
      {
        name: 'DEPLOY_APP_ID'
        secureValue: deployAppId
      }
      {
        name: 'DEPLOY_APP_SECRET'
        secureValue: deployAppSecret
      }
      {
        name: 'TENANTID'
        value: subscription().tenantId
      }
    ]
  }
}

output result string = empty(script.properties.outputs.text) ? '' : script.properties.outputs.text

I am following now. It would be cool if we could somehow query for a list of resources (possibly with Resource Graph syntax). The concern I have is with this line:
$DeploymentScriptOutputs['text'] = $output[0].Name

What if more than resource is returned by the Get-AzResource command? How do you know which one to pick? PowerShell offers functionality for doing that, but that doesn't exist in bicep. I suppose with the implementation of #4691, we could do that.

For multiple ones returned, lambda function is a good option for me, that is very cool actually

What if more than resource is returned by the Get-AzResource command? How do you know which one to pick? PowerShell offers functionality for doing that, but that doesn't exist in bicep. I suppose with the implementation of #4691, we could do that.


Bump kube-burner version

Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] Optimization
[ ] Documentation Update

Description
Bumping kube-burner version
Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

LGTM

This version not relevant from a CPT side, but it ships some features I need for Service Mesh testing

LGTM

This version not relevant from a CPT side, but it ships some features I need for Service Mesh testing

Anyhow merging these changes shouldn't effect our CPT runs I believe, as we have version locking enabled over there.

LGTM

This version not relevant from a CPT side, but it ships some features I need for Service Mesh testing

Anyhow merging these changes shouldn't effect our CPT runs I believe, as we have version locking enabled over there.

correct, I was just adding some context on why we shouldn't consider using this version in CPT


feat. Issue templates

gh bug report template
gh feature request template

Please take me off this thread
Get Outlook for iOShttps://aka.ms/o0ukef

From: Albert LI @.>
Sent: Monday, September 26, 2022 1:08:25 PM
To: microsoft/vscode-powerquery-sdk @.>
Cc: Subscribed @.***>
Subject: [microsoft/vscode-powerquery-sdk] feat. Issue templates (PR #125)

gh bug report template
gh feature request template

You can view, comment on, or merge this pull request online at:
https://github.com/microsoft/vscode-powerquery-sdk/pull/125
Commit Summary

e2fe1cdhttps://github.com/microsoft/vscode-powerquery-sdk/pull/125/commits/e2fe1cd6e0723b9e025ebbcec227a53ff113acb0 feat. initial draft version of issue templates v1

File Changes
(2 fileshttps://github.com/microsoft/vscode-powerquery-sdk/pull/125/files)

A .github/ISSUE_TEMPLATE/bug-report.mdhttps://github.com/microsoft/vscode-powerquery-sdk/pull/125/files#diff-5870a741e2fa8d0b03a88d7b036d408ee7e6954051fcc5d7978269bf6d1ff242 (129)
A .github/ISSUE_TEMPLATE/feature_request.mdhttps://github.com/microsoft/vscode-powerquery-sdk/pull/125/files#diff-148870715557a13127284f8aeaa28002ed6b034268af13c5d030ab59fd078220 (20)

Patch Links:

https://github.com/microsoft/vscode-powerquery-sdk/pull/125.patch
https://github.com/microsoft/vscode-powerquery-sdk/pull/125.diff

—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-powerquery-sdk/pull/125, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APB7FA2CTN4NCZVPVA5LXMLWAHKATANCNFSM6AAAAAAQV72GXU.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Please take me off this thread Get Outlook for iOShttps://aka.ms/o0ukef
…
________________________________ From: Albert LI @.> Sent: Monday, September 26, 2022 1:08:25 PM To: microsoft/vscode-powerquery-sdk @.> Cc: Subscribed @.> Subject: [microsoft/vscode-powerquery-sdk] feat. Issue templates (PR #125) * gh bug report template * gh feature request template
________________________________ You can view, comment on, or merge this pull request online at: #125 Commit Summary * e2fe1cd<e2fe1cd> feat. initial draft version of issue templates v1 File Changes (2 fileshttps://github.com/microsoft/vscode-powerquery-sdk/pull/125/files) * A .github/ISSUE_TEMPLATE/bug-report.mdhttps://github.com/microsoft/vscode-powerquery-sdk/pull/125/files#diff-5870a741e2fa8d0b03a88d7b036d408ee7e6954051fcc5d7978269bf6d1ff242 (129) * A .github/ISSUE_TEMPLATE/feature_request.mdhttps://github.com/microsoft/vscode-powerquery-sdk/pull/125/files#diff-148870715557a13127284f8aeaa28002ed6b034268af13c5d030ab59fd078220 (20) Patch Links: * https://github.com/microsoft/vscode-powerquery-sdk/pull/125.patch * https://github.com/microsoft/vscode-powerquery-sdk/pull/125.diff — Reply to this email directly, view it on GitHub<#125>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APB7FA2CTN4NCZVPVA5LXMLWAHKATANCNFSM6AAAAAAQV72GXU. You are receiving this because you are subscribed to this thread.Message ID: @.>

@AlchemyIntel Please read the documentation from GitHub on how to address your notification settings:
https://docs.github.com/en/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions


Add support for socks proxy

I'm trying to help with docker/docker#18373

ping @nathanleclaire :smile:

Oh, nice!

What's the vendoring like for this repo?  I didn't notice any vendor or Godeps file and golang.org/x/net/proxy isn't in the standard library.

LGTM

@nathanleclaire we're not doing vendoring for libraries

I just tagged the version 0.2.0 with this in. Feel free to vendor that tag with your PR.

:+1:


Fix shebang on shell scripts

The first line of many shell scripts are missing the "!" character,
which make them not to be taken as proper shebangs.

Good catch!


Add new pre-signed pauses for Sepolia

Description
The Deputy Guardian Module was updated which broke the previous pre-signed pause transactions.
This generates new presigned pauses for Sepolia.
Tests
Simulation will be run by @Ethnical
Additional context
Metadata

See also https://github.com/ethereum-optimism/security-pod/issues/137

Nice @pauldowman Thanks!
We need to rename the folder from  015-presigned-pause -> 017-presigned-pause ( I didn't saw that there is already PR executed from proof 15 & 16 so we have to choose the 17).

Simulation has been done using the command:
forge script /Users/ethnical/sec/ethereum-optimism/superchain-ops/tasks/sep/015-presigned-pause/PresignPauseFromJson.s.sol --sig "sign()" --rpc-url https://ethereum-sepolia.publicnode.com --chain-id 11155111 --sender 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --via-ir -vvvvvvvv

This modify the superchain config PAUSE_SLOT located at bytes32(uint256(keccak256("superchainConfig.paused")) - 1)
The state change of the pause can be seen on this tenderly simulation for the storage bytes32(uint256(keccak256("superchainConfig.paused")) - 1) value:

Also the forge logs show the simulation the pause happened correctly with the event pause emitted successfully!

So the PSPs are valid.

Renamed folder to 017 to fix conflict with other open PRs, and rebased onto latest main.


chore: promote test15 to version 0.0.11

chore: promote test15 to version 0.0.11
this commit will trigger a pipeline to generate the actual kubernetes resources to perform the promotion which will create a second commit on this Pull Request before it can merge

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign q1323829945
You can assign the PR to them by writing /assign @q1323829945 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

@q1323829945: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

verify
aa4ae777659ab8a9258b9973b87f84a1ab307268
link
/test verify

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 jenkins-x/lighthouse repository. I understand the commands that are listed here.


Redundant dependencies in layer.conf

LAYERDEPENDS_xilinx-tools  = "core xilinx meta-python"
LAYERDEPENDS_xilinx-tools  += "meta-python"
LAYERDEPENDS_xilinx-tools += "xilinx"

Aren't the latter two lines redundant? I can submit a PR to remove them.

Whoops, never mind, I see this was mentioned in the other open issue.


Periodically call irmtrash for Fedora LLS and Services

Trash is only cleaned up manually now and has started to accumulate. Instead of adding a cron to the system configuration, we can add a call to irmtrash within the relevant modules.
Fedora LLS might incorporate a timer and a task that takes out the trash once a day, for instance. CDR Services could have a similar timer or incorporate the task into the queue system.

The alternative is to simply schedule trash removal within iRODS. This reflects a clean separation of concerns. LLS doesn't really operate on trash except indirectly. There's really no need to tie up a CDR services thread for trash removal.


register

Let's see if this works:
@JuliaRegistrator register()

@JuliaRegistrator register()

Error while trying to register: Project file not found on branch master

@JuliaRegistrator register()

Registration pull request created: nkottary/General/19
Optionally, you can create a tag and release on this repository for the above registration.