[MaskToolsWidget] load & save in Fit2D mask format

Request by ID22 -> straight forward if FabIO is available.

I would put as a runtime dependency but not hidden. I mean, the option to save in that format explicitly shown, independently of FabIO being installed or not, and coupled with an exception informing the user to install FabIO if option activated without fulfilling the dependency.

BTW,

is there a way to know all supported extensions of FabIO
Is there a function to check if a file is supported by FabIO

On Tue, 18 Oct 2016 23:49:02 -0700
Valentin Valls<EMAIL_ADDRESS>wrote:

BTW,

is there a way to know all supported extensions of FabIO

this is defined here:
https://github.com/silx-kit/fabio/blob/master/fabio/fabioutils.py#L79
It would probably be better that every class registers itself the extension it supports but this is not yet done.

Is there a function to check if a file is supported by FabIO

try:
fabio.open(filename)
except:
pass
Typical example is Tiff where the overall format may be supported but not the compression scheme underlying.
Cheers,
--
Jérôme Kieffer
tel +33 476 882 445

For a generic load/save, It would be nice to wait for the next fabio release, cause available formats are better structured.
But if we only consider loading/saving masks only (and obviously Fit2D .msk is a format for masks), maybe only a subset of formats are needed. Then is there a subset of FabIO formats we should support for masks only?

Do we need a settable list of supported formats? Or just provide a dialog that propose to save in all available format?

I think, this issue is about a very specific part of the widget: the import/export of a mask. Then i think i will only try to add msk files. It is enough while there is not request.
But for the generic load/save dialog, i guess we can try to expose all supported formats.

It have to be done for this release. I we check next week.


Will test in usability...


Incorrect data in lease table

I have change trigger enabled for a table which has composite primary keys.
I was testing my SQL Trigger function app locally in visual studio. I got below error.
[2023-05-07T23:46:01.681Z] Failed to check for changes in table 'HVR_EVOLVE.a540' due to exception: Microsoft.Data.SqlClient.SqlException. Exception message: Violation of PRIMARY KEY constraint 'PK__Leases_8__DC1D7EDCF98F01B5'. Cannot insert duplicate key in object 'az_func.Leases_893c239e26e566c7_405223773'. The duplicate key value is (99991231,  ,  , MPN13,  ,  ,  ,  ,  ,  , 9MI,  , ZCUD, V, 100).
When I checked lease table, I found keys are stored incorrectly in the table.
Actual Table:

Lease Table:

Hi @hidhana, could you share more about the operations performed on the table while the trigger was running (Ex. inserts, updates, deletes)? Was the table schema modified at any point (Ex. primary key changed)?


Local firesim simulation, packetize bugfix dump, and better multithreading support

Awesome, thanks for putting all this together :-)
I'll let you know if I have any questions about the MIDAS sims or the scheduling logic.


Further attempt to get netCDF4 working on RTD

The idea came from here: https://github.com/Unidata/netcdf4-python/issues/574#issuecomment-235435628
I could test it on another repo, so I'm confident that this should work here too. Obviously, this is a temporary solution.
hopefully fixes https://github.com/pydata/xarray/issues/1106

Okay, let's try it.

Yep, that did the trick: http://xarray.pydata.org/en/latest/examples/multidimensional-coords.html

Note that probably some other package than hdf4 might do it, as long as it ships that libmfhdf.so.0 library...
CC @ocefpaf

TL;DR you may consider making this change  permanent.
@fmaussion the problem is that latest conda-forge's hdf4 does ship with libmfhdf.so.0 but either defaults' version does not or an old version in conda-forge is broken. (I am traveling but I'll confirm that as soon as I get back.)
Adding hdf4 at the env creation  forces the solver to get the latest version/build number and prevented the downgrade in the subsequent conda install call. So you should probably leave hdf4 there even if it is over specifying deps because the issue may resurface.
I say that b/c, if the bad version is in conda-forge we can remove it. But if it is in defaults we have no control.


Won't detect Twitch channel?

Hello,
I've been trying to get the script running, but whenever I put in my channel as "twitch.tv/[channelname]" or "[channelname]" under channel_url, it comes out with the "Did you specify the URL" error every time.
I can't find a fix for this. I've looked through the rest of the issues, and none of the solutions worked.
Please help me. Thanks.

I'm closing this issue because the project is currently not maintained and it will unlikely to be resolved.
For more, please read this: https://github.com/ohyou/twitch-viewer/blob/master/README.md#project-state


Podcast Addict only plays one podcast, no interactions function

It only plays a podcast. It won't allow FF or rewind, either with left/right arrow buttons under center display or by steering wheel up/down media buttons. When it's interrupted by any other message, it stops and won't start again, even with the media power button cycling.

It's hard to debug this, since the Podcast Addict app is responsible for offering or handling the commands such as skipping tracks. It doesn't even provide a seek command for Android Auto like PocketCasts does, which AAIdrive includes support for (#350).
It looks like playing a single episode is the default behavior in Podcast Addict itself, with a separate Add To Playlist button to queue up multiple episodes, and such extra buttons are not generically available over the Android MediaController API.
It's weird that an interruption causes Podcast Addict to stop, but that shouldn't be AAIdrive specific. The Power Off/On button triggers the car to ask the app to go back to its previous playback state, which won't help if it was already paused. Try selecting Podcast Addict again from the main Media menu to start playback.

Walter, first of all, thank you for the massive effort to build this
amazing app! It's been a fantastic addition to my new Mini. Being able to
send destinations from plugshare or ABRP is priceless.
The podcast app I use has been less great, but that's clearly not because
of you. I did find that there are actions in the podcast addict player, but
they are like 4 clicks to get to using either touch or iDrive interfaces.
I also can't assign those actions individually to the 6 preset buttons
below the display. Is this all podcast addict's choices?
I'll try out the other podcast app to see how it is integrated.
Thanks again!
Christian
On Sun, Aug 7, 2022, 3:47 PM Walter Huf @.***> wrote:

It's hard to debug this, since the Podcast Addict app is responsible for
offering or handling the commands such as skipping tracks. It doesn't even
provide a seek command for Android Auto like PocketCasts does, which
AAIdrive includes support for (#350
https://github.com/BimmerGestalt/AAIdrive/issues/350).
It looks like playing a single episode is the default behavior in Podcast
Addict itself, with a separate Add To Playlist button to queue up multiple
episodes, and such extra buttons are not generically available over the
Android MediaController API.
It's weird that an interruption causes Podcast Addict to stop, but that
shouldn't be AAIdrive specific. The Power Off/On button triggers the car to
ask the app to go back to its previous playback state, which won't help if
it was already paused. Try selecting Podcast Addict again from the main
Media menu to start playback.
—
Reply to this email directly, view it on GitHub
https://github.com/BimmerGestalt/AAIdrive/issues/600#issuecomment-1207482830,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEAGGGKGUTZ3NA2ZHNUCLVLVYAOHNANCNFSM55WTM2GA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Unfortunately, the car protocol doesn't allow me to easily allow Actions to be added to the preset buttons.
Hopefully other podcast apps work better for you! The main project README lists a few other podcast apps that are able to be launched by AAIdrive and should work well.

I have switched to pocket casts and it works much better with the mini
using aaidrive. Great work! Thank you.
Christian
On Fri, Aug 12, 2022, 7:13 PM Walter Huf @.***> wrote:

Unfortunately, the car protocol doesn't allow me to easily allow Actions
to be added to the preset buttons.
Hopefully other podcast apps work better for you! The main project README
https://github.com/BimmerGestalt/AAIdrive#implemented-features lists a
few other podcast apps that are able to be launched by AAIdrive and should
work well.
—
Reply to this email directly, view it on GitHub
https://github.com/BimmerGestalt/AAIdrive/issues/600#issuecomment-1213605803,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEAGGGLYNJ3STNYND6F7TUDVY3SC5ANCNFSM55WTM2GA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Glad to hear it!


@JuliaRegistrator register()

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/113755
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.0.0 -m "<description of version>" c74cdcff2ca57644a68c0afb8741a458524ab99b
git push origin v1.0.0


ToC operation links not working

The links for the /staticroutes operations in the post-processed definitions ToC don't work - i.e. clicking on them does nothing

Commit - https://github.com/kubeshop/kusk-gateway-dashboard/commit/87f38d63b319324b0066d1dfc90181234bab36d6


yt-dlp can't seek in streams.

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
It is not possible to locate the position of the video during the playback of live streaming video, for example, fast forward, rewind, jump to a certain time period of the video according to the specified time, and other functions.
For example, the following operations:
yt-dlp -f bestvideo+bestaudio "https://www.youtube.com/watch?v=y6oMutwJQCw" -o - | "F:\tool\Player\mpv.exe" -

yt-dlp is a very good video player software, thanks to all of you who keep contributing to the yt-dlp project!🎉👍🏆🌹
Windows 10 19044
mpv v0.38.0-512-gbab9b2cf Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
built on Jun 20 2024 14:28:45
libplacebo version: v7.349.0 (v7.349.0-rc1-3-g1fd3c7b-dirty)
FFmpeg version: N-115967-g35df214a7
FFmpeg library versions:
libavutil 59.24.103
libavcodec 61.8.100
libavformat 61.3.104
libswscale 8.2.100
libavfilter 10.2.102
libswresample 5.2.100
yt-dlp Latest nightly version
Introduced in version: Video specs are Vertical 4K 60 FPS https://www.youtube.com/watch?v=y6oMutwJQCw
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
Windows 10 19044

mpv v0.38.0-512-gbab9b2cf Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
built on Jun 20 2024 14:28:45
libplacebo version: v7.349.0 (v7.349.0-rc1-3-g1fd3c7b-dirty)
FFmpeg version: N-115967-g35df214a7
FFmpeg library versions:
libavutil 59.24.103
libavcodec 61.8.100
libavformat 61.3.104
libswscale 8.2.100
libavfilter 10.2.102
libswresample 5.2.100

yt-dlp Latest nightly version

Introduced in version: Video specs are Vertical 4K 60 FPS `https://www.youtube.com/watch?v=y6oMutwJQCw`

C:\WINDOWS\system32>yt-dlp -f bestvideo+bestaudio "https://www.youtube.com/watch?v=y6oMutwJQCw" -o - | "F:\tool\Player\mpv.exe" -
[youtube] Extracting URL: https://www.youtube.com/watch?v=y6oMutwJQCw
[youtube] y6oMutwJQCw: Downloading webpage
[youtube] y6oMutwJQCw: Downloading ios player API JSON
[youtube] y6oMutwJQCw: Downloading m3u8 information
[info] y6oMutwJQCw: Downloading 1 format(s): 315+258
[download] Destination: -
Input #0, matroska,webm, from 'https://rr3---sn-oguesndr.googlevideo.com/videoplayback?expire=1719086629&ei=xdl2Zp-_BcDO2roP99KZ2AY&ip=<IP_ADDRESS>&id=o-AADcTyI4Gf1F38zE42QgNLJbTQbPznPrzG_8lqvPKrms&itag=315&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303%2C308%2C315%2C394%2C395%2C396%2C397%2C398%2C399%2C400%2C401&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=xb&mm=31%2C26&mn=sn-oguesndr%2Csn-npoe7nsr&ms=au%2Conr&mv=m&mvi=3&pl=24&initcwndbps=2026250&bui=AbKP-1N37vmWHXmCD9JOx7U0Q6Mhk8hMEz_6ai6rFNXg45m1obeMXMNcH68_0izicppD_OLtsfeFS073&spc=UWF9f73mCI2EJI5RNxe407U83hRRaAMOXibiKF2ja5ggkpPDv0ylC41LMonl&vprv=1&svpuc=1&mime=video%2Fwebm&ns=Rg7BxhXHLy87rg3ngzzu0yIQ&rqh=1&gir=yes&clen=5004916807&dur=1503.249&lmt=1712377863019563&mt=1719064623&fvip=5&keepalive=yes&c=WEB&sefc=1&txp=4432434&n=VLaFfDQeFiX1pA&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgRe93vjNvnPMNg8dDIZF-hbfNxYUFP_5sIkZYZxSbWd0CIQCzJf_p_IUG1Un4ODUTnrr8QSfg8H-OSyQ_JEwuhUIJMA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRQIgF3uh4YmTS70E-ynSdUuNBtqrZczOU76rZSOl-8yx67QCIQCnQnXsr_GXJw6LFjsdmfmgCJzYSi2sUIyR1UzF3a3iUw%3D%3D':
  Metadata:
    encoder         : google/video-file
  Duration: 00:25:03.25, start: 0.000000, bitrate: 26635 kb/s
  Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 2160x3840, SAR 1:1 DAR 9:16, 60 fps, 60 tbr, 1k tbn (default)
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'https://rr3---sn-oguesndr.googlevideo.com/videoplayback?expire=1719086629&ei=xdl2Zp-_BcDO2roP99KZ2AY&ip=<IP_ADDRESS>&id=o-AADcTyI4Gf1F38zE42QgNLJbTQbPznPrzG_8lqvPKrms&itag=258&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=xb&mm=31%2C26&mn=sn-oguesndr%2Csn-npoe7nsr&ms=au%2Conr&mv=m&mvi=3&pl=24&initcwndbps=2026250&bui=AbKP-1N37vmWHXmCD9JOx7U0Q6Mhk8hMEz_6ai6rFNXg45m1obeMXMNcH68_0izicppD_OLtsfeFS073&spc=UWF9f73mCI2EJI5RNxe407U83hRRaAMOXibiKF2ja5ggkpPDv0ylC41LMonl&vprv=1&svpuc=1&mime=audio%2Fmp4&ns=Rg7BxhXHLy87rg3ngzzu0yIQ&rqh=1&gir=yes&clen=72900704&dur=1503.701&lmt=1703058811780795&mt=1719064623&fvip=5&keepalive=yes&c=WEB&sefc=1&txp=5432434&n=VLaFfDQeFiX1pA&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgHO1qW9HNfSjHFRaeqF0Uh4A0y8Keo6r6INBErAQrhWICIQCpngFKDTfo1E91M8YvtXMjgo8SVt6OqG3cHavnuuauNg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRQIgF3uh4YmTS70E-ynSdUuNBtqrZczOU76rZSOl-8yx67QCIQCnQnXsr_GXJw6LFjsdmfmgCJzYSi2sUIyR1UzF3a3iUw%3D%3D':
  Metadata:
    major_brand     : dash
    minor_version   : 0
    compatible_brands: iso6mp41
    creation_time   : 2023-12-20T07:41:32.000000Z
  Duration: 00:25:03.70, start: 0.000000, bitrate: 387 kb/s
  Stream #1:0[0x1](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 386 kb/s (default)
      Metadata:
        creation_time   : 2023-12-20T07:41:32.000000Z
        handler_name    : ISO Media file produced by Google Inc.
        vendor_id       : [0][0][0][0]
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #1:0 -> #0:1 (copy)
Output #0, matroska, to 'pipe:':
  Metadata:
    encoder         : Lavf61.3.104
  Stream #0:0(eng): Video: vp9 (Profile 0) (VP90 / 0x30395056), yuv420p(tv, bt709), 2160x3840 [SAR 1:1 DAR 9:16], q=2-31, 60 fps, 60 tbr, 1k tbn (default)
  Stream #0:1(und): Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, 5.1, fltp, 386 kb/s (default)
      Metadata:
        creation_time   : 2023-12-20T07:41:32.000000Z
        handler_name    : ISO Media file produced by Google Inc.
        vendor_id       : [0][0][0][0]
Press [q] to stop, [?] for help
[vost#0:0/copy @ 000001f3cc7ae840] Error submitting a packet to the muxer: Broken pipe
    Last message repeated 1 times
[out#0/matroska @ 000001f3cc6f9980] Error muxing a packet
[out#0/matroska @ 000001f3cc6f9980] Task finished with error code: -32 (Broken pipe)
[out#0/matroska @ 000001f3cc6f9980] Terminating thread with return code -32 (Broken pipe)
[out#0/matroska @ 000001f3cc6f9980] Error writing trailer: Broken pipe
[out#0/matroska @ 000001f3cc6f9980] Error closing file: Broken pipe
[out#0/matroska @ 000001f3cc6f9980] video:24035KiB audio:343KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
size=   24106KiB time=00:00:07.23 bitrate=27302.2kbits/s speed=0.39x
Conversion failed!

ERROR: ffmpeg exited with code<PHONE_NUMBER>

C:\WINDOWS\system32>

Yes, when you pipe output from yt-dlp it is not seekable. This is expected, since it is a linear stream of video data being piped to your media player.
If you want seekable video in your player, then either 1. use mpv directly (since it uses yt-dlp under the hood) e.g. mpv "ytdl://URL", or 2. --print urls with yt-dlp and pass the direct stream URL(s) to your media player

Thank you very much for your help! 😜🏆👍🎉💗 I don't want to use the mpv "ytdl://URL" method because it's slow and requires waiting for the video to buffer.
I want to use yt-dlp -f bestvideo+bestaudio "https://xxxxxxx this way to play the stream directly because it is direct piped and very fast thus not needing to wait for the video to buffer to play the video, which on my computer it is such a satisfying result.

Seeking isn't possible with piped input

Hello! I use this way yt-dlp -f bestvideo+bestaudio --print "https://www.youtube.com/watch?v=y6oMutwJQCw" -o - | "F:\tool\Player\mpv.exe" - why the error is always. Can you give example syntax?

Hello! I use this way yt-dlp -f bestvideo+bestaudio --print "https://www.youtube.com/watch?v=y6oMutwJQCw" -o - | "F:\tool\Player\mpv.exe" - why the error is always. Can you give example syntax?
Thank you very much!

mpv "https://www.youtube.com/watch?v=y6oMutwJQCw"


Interlock -- Core-Command AdminState / OperatingState Endpoint Changes

Please see the source issue in the edgex-go repo https://github.com/edgexfoundry/edgex-go/issues/1244 for context.
Core-command blackbox tests for these API endpoints will need to be refactored to support the new request format

/device/{id}/adminstate/{adminState}
/device/{id}/opstate/{opState}
/device/name/{name}/adminstate/{adminState}
/device/name/{name}/opstate/{opState}

NOTE: Work hasn't yet begun on the above issue in edgex-go.

FYI -- I had to go ahead and approve the PR https://github.com/edgexfoundry/edgex-go/pull/1278 due to some merge timing/sequencing. That means there will be a few tests related to updating Admin/Operating State on devices until changes for this issue are completed. @AnthonyMBonafide @cloudxxx8

add @cherrycl for awareness

I have changes ready to go. I am just waiting on changes in edgex-go for issue #1285(https://github.com/edgexfoundry/edgex-go/issues/1285) since that fixes issues which will cause these updated tests to incorrectly fail.

fixed by #206

reopen this until edgexfoundry/edgex-go#1296 resolved, and we will create another PR to fix it

Closing this issue b/c we decided to remove the endpoints from core-command after all. Thus the following PR actually removes these tests altogether.
https://github.com/edgexfoundry/blackbox-testing/pull/227


Make AST nodes monomorphic.

Part of #58928 - Only make AST nodes monomorphic.

@typescript-bot perf test this


Testnet managed miners getting killed

Description
We've lost a handful of managed miners in the current testnet (tn134). The pattern in the logs is very similar:
(killed)
Jul 1, 2021 @ 00:28:42.890 | miner-7 | DEBUG | got new connection | dd94d.p2p .tcpnet
Jul 1, 2021 @ 00:28:42.535 | miner-7 | WARN | incoming connection failed | dd94d.p2p .tcpnet
The memory logs look okay, I don't see any unexpected spikes in memory usage nor any slow leaks. There are no panic logs to rely on to see why they're being killed.
ex1
ex2
ex3
miner-80 failure.csv
Environment
Please complete the following information:

OS: Linux
Node Version: v0.1.43

Possible cause: https://github.com/spacemeshos/go-spacemesh/issues/2508


How can I use w/ TLS, a subdomain, and set my own port?

Hello,
I am a pro plan user of ngrok which allows me  to have "End-to-End TLS Tunnels".
When I fire up ngrok to work on a project, this is the command I run from Windows Terminal (or PowerShell, or CMD)
ngrok tls -subdomain=mysubdomainname 8000

I don't see how I can call ngrok using your extension and pass along those settings.
Is it possible?
If so, can you please let me know how?
Thank you.

Hey @markcerv,
Good question, I normally use ngrok to open http tunnels, so that's what I mainly built this to do by default.
What I would recommend is creating a named tunnel in your ngrok config that you can open with the plugin. You can define tunnels in your ngrok config as described in the documentation here.
With the latest version of this extension, you can open your ngrok config file for editing from the command palette (ngrok: edit ngrok settings) and then, when you have named tunnels in your config, when you run ngrok: start from the command palette you will see the option to start one of your named tunnels. This will use the settings from the config file.
I will consider adding commands to start a tls or tcp tunnel in addition to http tunnels, but for more complex tunnels, with subdomains, host headers and the like, I recommend creating named tunnels in your config.
Let me know if that helps!

@philnash
Thank you for your reply.    From your hints/notes above, I was able to add to my ngrok configuration file so that it looked like:
Inside Windows 10
authtoken: 12345secret12345secret
tunnels:
   somename:
        proto: tls
        addr: 8000
        subdomain: mysubdomainname

Then from the windows terminal, I was able to run:   ngrok start somename and that named configuration worked!
Inside Visual Studio Code
Lastly, from inside of Visual Studio Code, I chose View -> Command Palette , then typed in: ngrok: edit ngrok settings  and modified the ngrok.yml that it opened.
To run that tunnel, I chose View -> Command Palette, then type in ngrok: start and the named tunnel(s) that I had configured showed up, and I retyped in the name and pressed enter.
NOTES
The config file that appears when you run ngrok: edit ngrok settings  could very well be a totally different ngrok.yml than the one you have configured in your main OS.
The config file that I edited from Visual Studio Code is inside of a Ubuntu WSL 2 instance that I run inside of Windows 10.
Which is NOT the same config file that I run from Windows 10 terminal/command line.
Hopefully the above notes will help others!
mark

Thanks for following up with this @markcerv. I use a Mac, so I'm not used to VS Code in WSL 2 on Windows!
If it helps, you can set the path to the config file that ngrok for VSCode uses in the VS Code settings. I've never used WSL 2, so I don't know if this helps, but you may be able to point to the same config file as the Windows 10 environment here.


Enabling memory management from Client

Additional parts of the memcached API needed to be implemented to allow manual memory management from the Client.  In most cases these changes are incredibly simple.  The only core change required was that command arguments in _fetch_cmd always be sent in the order in which they are passed by the caller (arguments were pulled from a dictionary in arbitrary order), which has been implemented.

This looks great, thanks for implementing it, can we get a test?

@bsb20 Would you be able to update your contribution with a test? Then we'd be happy to merge in for the next release.

Closing this due to inactivity.


Oh my glob!

Why you guys removed an old supercool gif logo? :))
I used glob only because of it)

I second this. At least slap it in the wiki.

I like it too.

Please bring it back...

Duplicate of #396


Whether the sent video can be realized is: directly playing the video instead of the file

能否考虑实现发送视频时候，收到的是可以直接播放的视频、而不是文件。如下图

pls check again, we have resolve this issue already. thx.


Make invalid cli args throw.

We made it so invalid cli args only warn instead of throwing which isn't what any other CLI tool does. Back then I was worried we may break some flow for some users but since we've had these warning messages for six months I think we should change it to throw finally.
@thymikee do you think you could get rid of all references to warnAboutUnrecognizedOptions and make all the three clis (jest-cli, jest-runtime and jest-repl) throw?

As soon as jest-validate gets merged, so we can print these pretty little errors 😉


Improve the Electric Arc Furnace textures

The Arc Furnace textures are really ugly IMO, and I thought I'd improve them.
Screenshots:

Compared to other bricks:

I'm willing to make changes to the texture on request.
This commit only affects the RoundPlanets1_10 branch. It will need to be ported to other branches. (I can make additional pull requests as well if needed.)

Just as food for thought, Arc Furnaces are usually made of metal. Would it be a good idea to rename the machine to an "Alloy Crucible" or something similar?

I'll take a look at the textures during the day, idk if it's my monitor or if the images are really dark.  You do have a point about the EAFs normally being made out of metal.  Chromite I think?  I didn't really have a way to work that in without more complex recipes and opted to go for brick with a potion applied.
Real brick furnaces can be used up to ~1580C, not much above the melting point of steel.  Real arc furnaces usually operate around 1800C, a decent bit higher than real brick.  I'd like to keep the function the same as a real arc furnace so I'd like the name to stick too.
I could possibly add a tooltip to the brick blocks that says it's "extra heat resistant with the potion", or "melting point: very high".  Even so that still keeps an element of "magic", which I'm nort sure really fits the theme of the mod.
I suppose I could work chromite in and let it also be used in some teir of rocket engines, that way it's not a one time use material and the bricks can later be replaced with that.
I'll get back to you on the merge for the textures within the hour hopefully though.


if I go to nested route directly, error ReactJS

Hej,
I can go to a nested route by starting from the entry point e.g. localhost/, step by step to http://localhost:8080/huge-apps/course/0/assignments, but if I copy this link and paste to browser, it will give me error.
app.js:1 Uncaught SyntaxError: Unexpected token <  the page is not render at all, with this info it is really hard to tell where goes wrong.
I was wondering if it is caused by webpack configuration, as before I had the problem with require.ensure([], (**require**) 0 => {}) as the second require in parameter caused problems.
Any idea?

You probably need to configure your server appropriately. See the guides.

Hej, can you please be more specify, like which guides? I use express server, do you mean the server route?

Hey @Kenzku what did you mean with ok, never mind, it was the . in the index.html page where it fetches the entry point causing the problem. ?
How did you get it works?

since this page comes up near the top of searches for “react router redux Uncaught SyntaxError: Unexpected token <”, I'll add my 2 cents. Like @rizkiandrianto, my problem was in the script tag. The tutorial I was following used src='./bundle.js' which was fine until new routes were introduced. Dropping the . and going with src='/bundle.js' was the solution.

add '/' before importing bundled js in  static html file solved my problem , thanks!

@shoesandsocks You're a life saver man!!

@shoesandsocks this has solved it for me.


Bugfix/#359 should delete constraint not checked on remove control

I have added a small fix for #359.
The RemoveControl is now checking if the "ShouldDelete" constraint is fulfilled before deleting node-models or links.
I have actually prepared the same change for groups too, but not added it to the PR because the behavior is actually different for groups, depending on the children (should they be removed, what if they have constraints, ...).
The current behavior for groups is to use the same path as node models (because they effectively are), which means that they aren't deleted because they are not in the NodeLayer. Also they don't use the "ShouldDeleteGroup" constraint, but the "ShouldDeleteNode" constraint.
Please let me know which group behavior you want to have implemented:

Delete checks the "ShouldDeleteGroup"-constraint and if fulfilled removing group from group layer
Checking the "ShouldDeleteGroup"-constraint and if fulfilled deleting group with all children recursively
A different behavior
No changes

Sure.
Seeing that these deletion checks are used at least two times (in the KeyboardShortcutBehavior and now in the RemovalControl), it would maybe make sense to add this functionality to the diagram (e.g. as an extension). I'll see what I can come up with.


feat: Allow users to override secure boot key and password

Purpose
This PR is allowing a user to override the secure boot key and secure boot password to allow them to enroll their own key.
Fixes: #32
What I did

Updated tests to include a test for secure-boot ISOs
Removed unneeded hardcoded files
Added Variables for SECURE_BOOT_KEY_URL and ENROLLMENT_PASSWORD
Added checks to pull down secure boot key from SECURE_BOOT_KEY_URL

crap, not ready for review. disregard.

OK ready for review. For now I am going to stick with a URL since the primary purpose of enrolling a key is to allow our kmods to work. Most users will not require this level of customization and would use our key anyway if they were building off any of our base images with our kmods.


Move max_concurrency to evaluator classes

@dmorton2297 @adamnolte updated this to handle concurrency in the online evals as well


6634 remove name property from FHIRtoHL7 conversion

This PR gets rid of the name field from configuration files. This field was primarily used for debugging, and is now replaced with references that use the file's name.
Test Steps:

Run the converter with the fhirdata command. e.g. ./prime fhirdata --input-file src/testIntegration/resources/datatests/HL7_to_FHIR/sample_co_1_20220518-0001.fhir -s metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml --output-format=HL7.
Verify the output is valid HL7.
Check the debug output and verify it's readable.

Changes

Remove enforcing of a name field for the conversion config files
Remove all existing uses of the name field
Change logger calls in the changed methods to still be readable

Linked Issues

#6634

The changes in this PR overreached and caused issues with some tests. See #6935 for a saner version


malloc crash

I updated recently to 1.10 and ran into this issue
gulp(1166,0x7fff7db64310) malloc: *** error for object 0x1044a9d3d: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

Shortly there after, a day later 1.20 was released and I upgraded to that but still run into the same error. Is there something I can do to remedy this?
I am calling sass() without any options.

For reference, I also had this error. My problem was that I missed some ;s at the end of @import statements in main.scss. Adding these solved the issue. Cheers!

If you could supply a piece of Sass code that produced a malloc due to malformed @import that would be hugely useful.

@xzyfer Of course! I created a repo with an isolated case that you can use for debugging at:
https://github.com/DrummerHead/sass-malloc-error
Cheers!

Thanks @DrummerHead this is perfect.

I've managed to get back around to this. This issue appears to have been fixed in successive node-sass releases.

This happened for me recently after upgrade, fix: rm -rf ./node_modules && npm cache clean --force && npm rebuild


Create properties page in the UI

Create new pages in the WebUI to allow the display, creation & update of property units

Functionally Completed. UI design will need to be revisited.


Stop Interactive Mode from Throwing errors from Validation completions

Mutes the Validation error thrown when attempting to find completions for interactive mode.
fixes #3552

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[x] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[x] Each command and parameter has a meaningful description.
[x] Each new command has a test.

(see Authoring Command Modules)

Codecov Report

Merging #3570 into master will increase coverage by <.01%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master    #3570      +/-   ##
==========================================
+ Coverage   71.55%   71.56%   +<.01%
==========================================
  Files         420      420
  Lines       26132    26133       +1
  Branches     3973     3973
==========================================
+ Hits        18700    18701       +1
  Misses       6270     6270
  Partials     1162     1162

Impacted Files
Coverage Δ

...s/azure-cli-interactive/azclishell/az_completer.py
60.27% <50%> (+0.18%)
:arrow_up:

Continue to review full report at Codecov.

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

@derekbekoe can you take another look?


[DS-2690] Remove deprecated org.dspace.administer.DCType

Tested by building all of DSpace from source.  There are no references to this class anywhere that I can find.

+1 seems like an obvious fix. Should be merged post-services-api refactor.

Obvious fix. Merging.


Special characters in buffer become unknown

Hello. I've been using simplecrawler to great success crawling our old archive site but I just noticed that the HTML I'm getting back out has all special characters (ä, à, etc.) converted into unknowns: � a.k.a �.
My code for getting the HTML is straight forward.
// On complete, if the URL matches our scrape rules add content to DB
spider.on( 'fetchcomplete', function( queueItem, responseBuffer, response ) {
		console.log( responseBuffer.toString().trim() );
} );

I've tried both ascii and utf8 with my toString but neither translates the characters correctly. How do I preserve my special entities in the HTML? Thank you!

I had a similar problem, which turned out to be caused by the fact that the web page I was retrieving wasn't actually UTF-8 encoded. I don't know if this is the same problem you're having, but it's worth a shot if you're still interested.
I used iconv-lite to convert the response buffer content to UTF-8. Here's an example:
var iconv = require("iconv-lite");

/**
 * Decode string buffer based on a Content-Type header. Meant for HTTP responses.
 * @param  {Buffer} buffer
 * @param  {String} [contentTypeHeader] - Eg. "text/html; charset=ISO-8859-1"
 * @return {String}
 */
var decodeResponse = function (buffer, contentTypeHeader) {
	contentTypeHeader = contentTypeHeader || "";

	var encoding = contentTypeHeader.split("charset=")[1] || contentTypeHeader;
	encoding = (iconv.encodingExists(encoding)) ? encoding : "utf-8";

	return iconv.decode(buffer, encoding);
};

And this is how I used it in action:
crawler.on("fetchcomplete", function (queueItem, responseBuffer, response) {
	var body = decodeResponse(responseBuffer, response.headers["content-type"]),
		$ = cheerio.load(body);
});

Thanks! After a bit more searching I too came across iconv-lite and it's working well for encoded characters. Looks like it even fixes some that broken on the pages I'm crawling!


Enables to get a SparkContext and to use a running R Backend

This PR tries to extend the flexibility of sparklyr in two aspects:

Get rather than create a SparkContext if there is already one in the background
Can connect to a running R backend if the user provides the port number

@junyangq: We are currently in the process of submitting sparklyr to CRAN and therefore, we've closed api/config/documentation changes until the CRAN version is released a few weeks from today. We are planning on keeping this PR open and take this feedback after the CRAN release.
In the meantime, could you explain in which cases you are planning to manually specify the ports number? Ideally, users shouldn't need to deal with the ports number themselves; therefore, I would like to understand in which cases this is useful and explore if there are different ways to accomplish this.

@javierluraschi Thanks for your quick reply. It is common for businesses to have a running Spark cluster managed by some cluster manager. In many cases, the backend has already been started and multiple users may want to share the same SparkContext. So I think it would be great if sparklyr can support this mode. What do you think?

@junyangq appart from reusing the SparkContext we would need a way to allow multiple clients to connect to the sparklyr backend. We have a proposed change to support this multiple-client architecture under PR https://github.com/rstudio/sparklyr/pull/238. Therefore, planning to close this PR and address any feedback in https://github.com/rstudio/sparklyr/pull/238 instead, let us know your thoughts to iterate over them if needed.

Thanks for the PR -- I think this would will effectively be subsumed by https://github.com/rstudio/sparklyr/pull/238, so I'm going to close this. Thanks!


New Rubric System

Need to finish up the new rubric system.
Tasks for it:

[ ] Remove rubric_number for the system. All references should just use rubric_id instead
[ ] Allow for custom rubric_name for all created rubrics.
[ ] Allow for custom rubric_submission_id for all created rubrics (to properly reference folders on the submission server)
[ ] Allow for custom rubric_parts_submission_id for parts (with each part potentially having it's own unique id). This should just be a comma separated list in the one column.
[ ] File Viewer when grading (don't display any files in the tabs on the left pane, just have a list of files underneath with each file being clickable to view it)
[ ] Save used assignment number when grading and then load that number for subsequent regrades. Allow for TAs to manually change the assignment numbers though that they're grading.
[ ] TA grading access to submitted homeworks before deadline (#117)
[x] Deadline other than midnight (#121)

Test cases:
Multi Part Assignments:

[ ] All parts submitted on time
[ ] One part submitted on time, one part submitted late (but not too late)
[ ] One part submitted on time, one part submitted too late
[ ] One part submitted on time, one part submitted late, one part submitted too late
[ ] One part submitted on time, one part not submitted
[ ] One part submitted on time, one part submitted late, one part not submitted
[ ] One part submitted on time, one part submitted too late, one part not submitted
[ ] All parts submitted late (but not too late)
[ ] One part submitted late, one part submitted too late
[ ] All parts submitted too late
[ ] No parts submitted

Single Part Assignments:

[ ] Submitted on time
[ ] Submitted late
[ ] Submitted too late
[ ] Not submitted

Should be further tested with extensions for students on the homework assignment.

Rubric name and submission_ids handled now in creation/editing of rubric as of 318ac81b488826b7f7231442ef4ef7e1998fde4f

Proposed (and tentatively agreed) on a significant design simplification:
Parts will actually be grouped together for version history & submission date.
All parts are submitted together so they have the same due date and the same # of late days.

@MasterOdin Can we close this issue?


Does tensorflow use custom SSL for azure blob storage access?

Click to expand!
Issue Type
Others
Source
source
Tensorflow Version
2.4.4
Custom Code
Yes
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
I added some custom code to tensorflow to access azure blob storage using oauth token via tfio and found that it run into
Problem with the SSL CA cert (path? access rights?)
Does tensorflow use custom ssl?
Standalone code to reproduce the issue
I hack the code here

https://github.com/tensorflow/io/tree/master/tensorflow_io/core/filesystems/az

        std::string tenantId = "";
        std::string activeDirectoryApplicationId = "";
        std::string activeDirectoryApplicationSecret = "";
        std::string storageUrl = "https://storage_name.blob.core.windows.net";

        auto clientCertificateCredential
            = std::make_shared<Azure::Identity::ClientSecretCredential>(tenantId, activeDirectoryApplicationId, activeDirectoryApplicationSecret);

        std::string storageContainerUrl = "https://storage_name.blob.core.windows.net/container_name";

        auto blobclient = std::make_shared<Azure::Storage::Blobs::BlobContainerClient>(storageContainerUrl, clientCertificateCredential);

    	for (auto blobPage = (*blobclient).ListBlobs();
    	   blobPage.HasPage();
    	   blobPage.MoveToNextPage())
    	{
    	for (auto& blob : blobPage.Blobs)
    	{
    	  TF_VLOG(3, "Blob %s\n", blob.Name);
    	}}

Relevant log output
No response

@probtask Could you refer to this thread and try with the latest TF version?
Please let us know if it helps? Thank you!


Nexus Plugin improvements

[ ] Proper error handling (e.g. when metadata is missing to be able to generate the plugin)
[ ] Dev experience.

[ ] Storybook. Develop using story book approach. (Initial version with basic set up): 2 SP
[ ] Cover cases where providing static resource is not an option. (instigate and develop) . 3 SP.
[ ] Get a dev client id and fix token management.  1 SP.
[ ] A public example repo. 1 SP.

[ ] Move the repo to Private Github with CI/CD. (3 SP).

[ ] Automate the package version for each individual package using CI.

[ ] Optimize build script and bundling. 2 SP

Would be great to still have separate public/private plugins. Plugins such as image, markdown, and notebooks should be publicly available.

Added proper error handling for plugins, to be discussed

Ad more parameter in the manifest, e.g. for image plugin or download plugins, if we make them defaults


understanding and working with javascript cookies

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines
This fixes #2951

Good afternoon and thank you for submitting your article for publishing.
Your article has been entered into our queue and should be reviewed (and published pending any changes) as soon as a peer reviewer is finished with the ones in the queue before it. :rocket:
Thank you. @fabulousDesigns

Noted, @ahmadmardeni1

@geoffrey45 @fabulousDesigns it seems like a similar article has already been published.
https://www.section.io/engineering-education/what-are-cookies-nodejs/

plagiarism check done 👍

@geoffrey45 Thanks for the recommendations; I've made the necessary modifications.

Hi @fabulousDesigns
Thanks for joining section and we look forward to getting more awesome content from you.
Great job on this article.
cc: @geoffrey45


Improviments

#31 Bug has Fixed.

https://pipeline-sha-improvimen-pnh2dm.herokuapp.com/

Ok, Done.


Collaboration between Dask and Modin Dataframe

Hi folks, I'm Devin from the Modin group.
Between our groups, I believe there's a high potential for collaboration and improving the data science experience for Dask and Modin users. Due to the complexity/differences in the architectures of Dask and Modin Dataframes, there's a lot to consider. I'll outline a proposal for next steps here.

Step 1: Interoperability between Modin and other Dask libraries

Conversion of Modin Dataframe to:

Dask Dataframe
Dask Array
Other useful structures? There's a power law with Dask's other structures so it probably makes sense to prioritize based on commonality

Interoperability between Modin Dataframe and Dask XGBoost

Step 2: Learn from each other

Are there issues that are unable to be compromised (e.g. must sort row label values, must support certain operators, etc.)?
What do Dask/Modin Dataframe users care about?
What does Dask/Modin Dataframe allow that Modin/Dask does not?
Is there enough overlap in our goals to combine forces?

Step 3: Combining forces

How to do this will be based on Step 2 outcomes

Steps 1 and 2 can be worked on simultaneously. Regardless of the Step 2 outcomes I think Step 1 is a no-brainer.

Here are my high level thoughts:

I would like Modin's users to be able to use other Dask objects and utilities
I think Dask Dataframe users would benefit from the academic research work we've done (some yet unpublished)
I also think there are engineering features that Modin has that would interest Dask Dataframe users as well

Regarding dask-xgboost it seems like the easiest solution would be to make it easy to convert a Modin dataframe into a Dask dataframe and then use the existing solution. My guess is that this is relatively straightforward.

Yes, I agree it would likely be straightforward. There are other options, like adding the ability to create a DaskDMatrix from a Modin Dataframe. I'd personally be in favor of the latter, but those changes would likely go in xgboost itself.

Regarding conversion, my understanding is that you care about cases where there are very many columns.

Not completely. Modin is designed to scale horizontally, but there is more to the design than handling a large number of columns. Dask Dataframe can handle hundreds of columns, and we don't see many users who have much more than that (maybe a handful have in the low 1000s). Conversion to/from Dask Dataframe and Modin would benefit everyone. I am familiar with Xarray, I point people there from time to time, but I believe we're solving different problems.

I don't think that there are cohesive answers to these questions.

I'm sure there are concrete answers to the first and last question. The second question is perhaps too broad, and maybe could be phrased as "Are there any features that any Dask/Modin users could not operate without?".  I do think the questions are important to consider, not as pitting Modin vs Dask rather in the interest of learning from each other. Comparisons are hard, but there's some common ground and it's likely a good place to start if we want to "combine forces" (do we?). It'd also be good to get acquainted with each other's way of thinking.

I would love to hear more about these.

I think there's a cost/benefit to be considered here, so I'd first like to list a couple of the lowest hanging fruits 😄. These are also mutually beneficial.

Conversion to and from Modin from Dask Dataframe
a. Should be easy for no-copy partition conversion
b. Modin can handle the partitions Dask gives it and provide the partitions in a layout Dask can directly consume
c. (Downside) Metadata might be hard (e.g. unsorted row labels)
Add ability to query Dask dataframe directly using Modin
a. Benefit of Modin's architecture without directly changing Dask
b. (Downside) Not everything will be supported in Dask dataframe that Modin on Dask currently supports

I think it's easier to justify the non-trivial time spent on building these features if there's some common middle-long term goal in mind for collaborating. Expectations should be set first, I believe.

Hi folks, it's been a while since opening this issue :) 3 years later Modin added support for conversion of a Modin DF to a Dask DF and vice versa. By converting a Modin DF to a Dask DF, there will be opportunity for conversion to other Dask data formats, as well as for usage of Dask XGBoost. We are going to open a PR to update the Dask documentation so after that one can consider this issue as resolved.


Handle missing images from deactivated mods

In the save load screen, if a save tries to display an image from a mod that's no longer active, it'll crash, making it impossible for the user to load some other save that does not require the deactivated mod. Should probably show a placeholder image.

A very basic solution has been implemented in th latest release.


Production

Is the application is production ready for android ? please guide ? can we integrate the firebase ? how ? how to send the queries to Linux server ?

No it is not. It's a proof of concept to explain socket.IO and TypeScript with Angular.
You could use the code as a basis to understand how to write your own chat app for android if you wanted to use Angular and Cordova or similar but it's totally out of scope for the developers to explain all the work necessary to take what they have to a production environment.

Closing since the issue is out of the scope of the project and it's a proof of concept.


Issues with .env in Docker image build

Hej Plausible Team,
I'm curious that I am totally missunderstanding your doc's but I'm currently running into issues with my .env setup.
Currently following is the base:
.env
NUXT_PUBLIC_PLAUSIBLE_DOMAIN="webpage.com" NUXT_PUBLIC_PLAUSIBLE_API_HOST="https://plausible.webpage.com" //just examples
.env is placed in project's root. Other variables in .env file are working well like
NUXT_PUBLIC_SUPABASE_URL="" NUXT_PUBLIC_SUPABASE_KEY=""
in nuxt.config.ts (also root of the project)
modules: [
[...],
"@nuxtjs/plausible",
],
I tried different approaches like:
plausible: {     domain: process.env.NUXT_PLAUSIBLE_DOMAIN,     apiHost: process.env.NUXT_PLAUSIBLE_API_HOST,   },
or accessing via runtimeConfig:
  runtimeConfig: {     public: {       PLAUSIBLE_DOMAIN: process.env.NUXT_PUBLIC_PLAUSIBLE_DOMAIN,       PLAUSIBLE_API_HOST: process.env.NUXT_PUBLIC_PLAUSIBLE_API_HOST,     },   },
or even both combined.
If I place the URL and apiHost hardcoded in the plausible section it works fine. If I run my application with
yarn run start
Also fine (will be set in nuxt.public plausible section) ain't tracking because of settings to ignore localhost.
Building the docker image on server, it runs. Going trough a Gitlab Pipleline, these values are setted to default.
Please Can you help me?
Best Regards,
Chris

Hi there!

Building the docker image on server, it runs.
Unfortunately, I don't understand what the issue is.

Hej @johannschopplich thanks a lot coming back at me with this:
I apologize if my previous messages were unclear. I'll try to provide a clearer explanation of the issue I'm facing. I'm encountering problems with the values from my .env file in the Production Build using a Gitlab Pipeline. Below is my Dockerfile:
// dockerfile

# syntax=docker/dockerfile:1.4
ARG NODE_VERSION=18.14.2

FROM node:${NODE_VERSION}-slim as base

ARG PORT=3000

WORKDIR /src

# Build
FROM base as build

COPY --link package.json yarn.lock ./
RUN yarn install

COPY --link . .

RUN yarn build

# Run
FROM base

ENV PORT=$PORT

COPY --from=build /src/.output /src/.output

CMD [ "node", ".output/server/index.mjs" ]

According to the Plausible module documentation, it should work if I set these values in my .env file:
NUXT_PUBLIC_PLAUSIBLE_DOMAIN="abschlussfeier.criation.de"
NUXT_PUBLIC_PLAUSIBLE_API_HOST="https://plausible.criation.de"

However, when I do this, the default values are used in my Nuxt application:
// Script Tag in Pageheader
window.__NUXT__={};
window.__NUXT__.config={
  public:{
    // ...
    plausible:{
      hashMode:false,
      trackLocalhost:false,
      domain:"",
      apiHost:"https://plausible.io",
      autoPageviews:true,
      autoOutboundTracking:false
    }
  },
  app:{
    baseURL:"/",
    buildAssetsDir:"/_nuxt/",
    cdnURL:""
  }
}

I've tried the following in my nuxt.config.ts:

Adding the Plausible module:

// nuxt.config.ts

modules: [
    "@nuxtjs/tailwindcss",
    "@nuxtjs/supabase",
    // ... other modules
    "@nuxtjs/plausible",
  ],

Omitting the Plausible config.

Adding the Plausible config:

// nuxt.config.ts
plausible: {
  domain: 'abschlussfeier.criation.de', // process.env.NUXT_PLAUSIBLE_DOMAIN
  apiHost: 'https://plausible.criation.de', // process.env.NUXT_PLAUSIBLE_API_HOST,
},

When adding the Plausible config, the values are only read when hardcoded. If I use process.env, the value defaults again. It's worth noting that I also use the Supabase module in my project, and it works perfectly when I include only the module in nuxt.config.ts and set the variables in .env.
Any guidance on resolving this issue would be greatly appreciated.
Thank you!

This doesn't seem like a bug related to this module, honestly. Setting up the environment variables in GitLab and accessing them in Docker can be tricky. You're right, for GitLab the .env auto-discovery won't work and you have to link your process.env.xyz variables manually.
I think you have a typo in your code. If this is your configuration:
NUXT_PUBLIC_PLAUSIBLE_DOMAIN="abschlussfeier.criation.de"
NUXT_PUBLIC_PLAUSIBLE_API_HOST="https://plausible.criation.de"

Then this should be your Nuxt config:
plausible: {
-  domain: process.env.NUXT_PLAUSIBLE_DOMAIN
+  domain: process.env.NUXT_PUBLIC_PLAUSIBLE_DOMAIN
-  apiHost: process.env.NUXT_PUBLIC_PLAUSIBLE_API_HOST,
+  apiHost: process.env.NUXT_PUBLIC_PLAUSIBLE_API_HOST,
},

Note that PUBLIC_ was missing in your provided configuration.

Yes sir, there was a typo. I think I tried too much last days.
Now, following Setup:
// nuxt.config.ts
plausible: {
    domain: process.env.NUXT_PUBLIC_PLAUSIBLE_DOMAIN, // 'abschlussfeier.criation.de',
    apiHost: process.env.NUXT_PUBLIC_PLAUSIBLE_API_HOST, //'https://plausible.criation.de',
  },

//.env
NUXT_PUBLIC_PLAUSIBLE_DOMAIN="abschlussfeier.criation.de"
NUXT_PUBLIC_PLAUSIBLE_API_HOST="https://plausible.criation.de"

The result in Page header again:
window.__NUXT__={};
window.__NUXT__.config=
  {
  public:{
    [...],

    plausible:{
      hashMode:false,
      trackLocalhost:false,
      domain:"",
      apiHost:"https://plausible.io"
      ,autoPageviews:true,
      autoOutboundTracking:false
    }
  },
  app:{
    baseURL:"/",
    buildAssetsDir:"/_nuxt/",
    cdnURL:""
  }
}

Maybe it's necessary to say that the variables are not set in the pipeline. If I understood it right, as working with supabase as well, it shall be possible to access the .env variables after build on the server via .env file, right?

Okay, this seems to be an issue with the current setup based on gitlab pipelines and watchtower api.
After manually starting the docker-compose manually again the variables seem to work fine.
@johannschopplich thanks a lot for your help and patience!

Glad you found the solution!


Move away from global config

We are currently using a global  viper instance to setup our config, which complicates testing and results in unpredictable behaviour, such as:

Whenever we initialize or load a repo, the repo's configs are feed into the same global viper instance which replaces any default configuration. Meaning any repo loaded after the first one, will use the first repo's config as its own defaults
Calling global getters, such as config.GetClientID() wouldn't necessary return the ID of the client that will issue the requests. If another repo was loaded at a later point, then it will replace the global value of the client ID and the requests will be submitted using the latter one.
I've tried creating a repo per node in devstack, but couldn't get that to work mainly because of the uncertainty on which clientID will submit the requests , which caused this test case to fail https://github.com/bacalhau-project/bacalhau/blob/badd1ce5fd9508bd615f9a8e08bd8ce44d2eceb7/pkg/test/devstack/timeout_test.go#L112

via https://github.com/bacalhau-project/bacalhau/pull/3959


FEATURE: Auth Basic API Module

Still WIP
@KDKHD check folder naming conventions, see if you are happy with it

Added /modules/shared that can be used to add functions, classes and types that are used across modules and are also part of the main node-ts template
Added JWT token manager
Added /schemaValidators to the registry which will be used to implement schema validators for the API modules
Add tsup to the Node.JS template and use it to make prod builds and replace nodemon with tsup --watch
Update NGINX docker-compose file to work with the include docker element used by the CLI to merge compose files
Added data source repositories and implemented a Postgres User repository for auth basic

@KDKHD added tests for auth-basic controller; implemented user PG repository and added PG config files (docker-compose; .env)


Update ingress api version, extension/v1beta1 will not be supported i…

…n new k8s version, this change keep backward compatibility for lower kubernetes version
Fixes #157
Motivation
The ingress api extensions/v1beta1 version will not be supported in k8s version 1.22+, need to update to new networking.k8s.io/v1.
This PR also keep support for old k8s version, to provide enough compatibility.
Modifications
Updated the api version for below 4 components:

dashboard-ingress
grafana-ingress
proxy-ingress
pulsar-manager-ingress

Verifying this change

[ ] Make sure that the change passes the CI checks.

Could anybody in the team please review this PR? Thanks.

@lhotari - do you know why the CI checks wouldn't have run for this PR? I haven't seen that happen before.


Use pytest file discovery logic to apply PT rules

For additional context, refer to https://github.com/astral-sh/ruff/issues/8145#issuecomment-1817657808 and the following comments.

For me that would not help as I do not have a tests/ directory. Instead, I have test files next to the files to be tested. e.g. mypkg/util/string.py has its test in mypkg/util/string_test.py and so on. I think for larger applications this is not uncommon.
I think ideally it would apply the pytest rules for test discovery, ideally with override settings or parsing of the respective pytest.ini options.

I think mirroring the pytest rules for discovery would be sensible. It would also solve #8703, and arguably solve #6474.

However, I definitely want to avoid parsing pytest.ini and interpreting pytest configuration -- it's just a huge pain to implement and maintain (and also requires that we know the pytest version and keep our settings in-sync with pytest's settings). So if we did do this, we'd need to stick to the defaults, or add our own limited configuration.

And the other way around, some rules never make sense for pytest,
and should always be disabled:
[tool.ruff.lint.per-file-ignores]
'tests/**/*.py' = [
    'INP001', # Test directories are not namespace packages
    'S101',   # Pytest tests should use `assert`
    'RUF018', # Assignment expressions in assert are fine here
]


FAILED: splitgain_kernel.cuda.o

Describe the bug
nvcc error
To Reproduce
Steps to reproduce the behavior:
from pgbm.sklearn import HistGradientBoostingRegressor, crps_ensemble
from pgbm.torch import PGBMRegressor # If you want to use the Torch backend
from sklearn.metrics import mean_squared_error
from sklearn.model_selection import train_test_split
from sklearn.datasets import fetch_california_housing
import numpy as np
Using /home/algo/.cache/torch_extensions/py39_cu118 as PyTorch extensions root...
Detected CUDA files, patching ldflags
Emitting ninja build file /home/algo/.cache/torch_extensions/py39_cu118/split_decision/build.ninja...
Building extension module split_decision...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/3] c++ -MMD -MF splitgain_cuda.o.d -DTORCH_EXTENSION_NAME=split_decision -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/TH -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /usr/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -c /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/pgbm/torch/splitgain_cuda.cpp -o splitgain_cuda.o
[2/3] /usr/local/cuda/bin/nvcc  -DTORCH_EXTENSION_NAME=split_decision -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/TH -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /usr/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_80,code=compute_80 -gencode=arch=compute_80,code=sm_80 --compiler-options '-fPIC' -std=c++17 -c /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/pgbm/torch/splitgain_kernel.cu -o splitgain_kernel.cuda.o
FAILED: splitgain_kernel.cuda.o
/usr/local/cuda/bin/nvcc  -DTORCH_EXTENSION_NAME=split_decision -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/TH -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /usr/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS_ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_80,code=compute_80 -gencode=arch=compute_80,code=sm_80 --compiler-options '-fPIC' -std=c++17 -c /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/pgbm/torch/splitgain_kernel.cu -o splitgain_kernel.cuda.o
/home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/pybind11/cast.h: In function ‘typename pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type::type>::cast_op_type pybind11::detail::cast_op(make_caster&)’:
/home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/pybind11/cast.h:42:120: error: expected template-name before ‘<’ token
42 |     return caster.operator typename make_caster::template cast_op_type();
|                                                                                ^
/home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/pybind11/cast.h:42:120: error: expected identifier before ‘<’ token
/home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/pybind11/cast.h:42:123: error: expected primary-expression before ‘>’ token
42 |     return caster.operator typename make_caster::template cast_op_type();
|                                                                                ^
/home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/pybind11/cast.h:42:126: error: expected primary-expression before ‘)’ token
42 |     return caster.operator typename make_caster::template cast_op_type();
|                                                                                ^
ninja: build stopped: subcommand failed.
Expected behavior
expect it to build
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
alma8
nvcc 12.1
(.venv) algo@ch3li-fs03:/usr/local/cuda-12.1/bin$ ./nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:16:06_PDT_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0
gcc12
algo@ch3li-fs03:~/code/cqg/bts/spark/ml$ gcc --version
gcc (GCC) 12.1.1 20220628 (Red Hat 12.1.1-3)
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Add any other context about the problem here.

sorry for the long paste, going to try with nvcc11.8 next.

no dice with 11

usr/local/cuda-11/include/crt/host_config.h:132:2: error: #error -- unsupported GNU version! gcc versions later than 11 are not supported! The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk. 132 | #error -- unsupported GNU version!

Hi, sure, I have pytorch cu118
cuda toolkit 12.1, upgrading to 12.2 (where they say this is fixed: https://github.com/pybind/pybind11/issues/4606)
SKLearn works, but I have a big dataset so I wanted to try the cuda backend.  It's just from a notebook I'm working on
I'll try the 12.2 pybind fix, and if that doesn't work I'll try to see if there are nightly builds of pytorch cu122

cuda 12.2 fixed it

/home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/cuda/init.py:107: UserWarning: CUDA initialization: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 803: system has unsupported display driver / cuda driver combination (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:109.)
return torch._C._cuda_getDeviceCount() > 0
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-12'
Using /home/algo/.cache/torch_extensions/py39_cu118 as PyTorch extensions root...
Emitting ninja build file /home/algo/.cache/torch_extensions/py39_cu118/split_decision/build.ninja...
Building extension module split_decision...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/2] c++ -MMD -MF splitgain_cpu.o.d -DTORCH_EXTENSION_NAME=split_decision -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/torch/csrc/api/include -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/TH -isystem /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/include/THC -isystem /usr/include/python3.9 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -c /home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/pgbm-2.1.1-py3.9-linux-x86_64.egg/pgbm/torch/splitgain_cpu.cpp -o splitgain_cpu.o
[2/2] c++ splitgain_cpu.o -shared -L/home/algo/code/cqg/bts/spark/ml/.venv/lib64/python3.9/site-packages/torch/lib -lc10 -ltorch_cpu -ltorch -ltorch_python -o split_decision.so
Loading extension module split_decision...
Using /home/algo/.cache/torch_extensions/py39_cu118 as PyTorch extensions root...
No modifications detected for re-loaded extension module split_decision, skipping build step...
Loading extension module split_decision...

Ah, great, did not (yet) know about this issue of cuda 12.1 but good to hear that it is fixed. Does it work now for your dataset?

It does, this is a really nice tool.
There is a slight issue in installing from source on GCC12
I think it is cython is being strict about noexcept
so one has to change splitting.pyx and add the noexcept to compare_cat_infos

cdef int compare_cat_infos(const void * a, const void * b) noexcept nogil:

I can write this up separately if you'd like

P.S. have you ever thought about using a similar method to fit a (vine) copula that captures the relationship between the marginals?
It's my hunch that for some data, the copula itself is more stable than means / vars

Regarding the cython part: yes, that would be great! I ported sklearn's implementation and have a bunch of tests running automatically, so could be that there are errors with certain versions of gcc. I guess a pull request is the best idea then.
Regarding last part: good point, and nice idea, no did not yet try this (tried many other variants to e.g. take away the loc, scale distribution assumption, none of which I could satisfactorily get to work :) There are more methods of doing this; it's a bit of a tradeoff between simplicity (i.e. high training speed and low storage requirements) and performance (i.e. distributional and point accuracy). I very much value the speed of GBMs, especially for large-scale settings, so our solution kind of leans towards being a bit more efficient rather than squeezing every inch of performance (I'm generally of the opinion that it's better to have a 90% good answer quick, rather than a 100% good answer slow, as quickly iterating over solutions is more valuable than just trying out a single solution)


Announcing: WinUI 3 in Windows App SDK 1.1 Preview 2 🌼

1.1 Preview 2 Release of Windows App SDK
We've just released our second preview of the 1.1 release of the Windows App SDK! This preview includes several new capabilities for WinUI 3 apps, including:

Additional windowing functionality (see Windows and Messages) available in AppWindow APIs.
Tall title bar support for apps drawing custom title bars with AppWindowTitleBar.ExtendsContentIntoTitleBar.
Improved usability and troubleshooting in Bootstrapper APIs for deployment.
Several bug fixes across the WinUI and Notifications areas.
Performance improvements in C# applications.

Regression from 1.1 Preview 1: Push notifications are not supported for unpackaged apps. This is expected to be restored in the next release.
To see everything that's new and changed, see the full release notes here.
What's next
To keep up with progress being made on the Windows App SDK, please see our feature roadmap, which gets updated regularly.
Providing feedback
As we introduce new & upcoming features in our preview releases, we appreciate all of your feedback as we work towards a stable release:

For WinUI 3 feedback, please open an issue here, on the WinUI repo.
For feedback regarding all other Windows App SDK components, please open an issue on the Windows App SDK repo.

When using drag & drop with WinUI App SDK 1.1 Preview 2 I still face hard exceptions in KernelBase.dll for get_DataView() and get_Modifiers() with An application-internal exception has occurred (parameters: 0x0000018DB3F5ABF0. The same code works nicely with WinUI App SDK 1.0.2. I couldn't find any hint that the drag & drop issues of Preview 1 have been solved and thus assume they are still the same issues. @gabbybilka Could you confirm my observation?
I would love to try out the fixes and new functionality of Preview 2, but with drag & drop failing that hard the app is not very useful.

@jschwizer99 Just checked in with our eng team - the drag and drop issue is not yet fixed in Preview 2. I'll update the rel notes to clarify.
However, they noted that your issue looks different/has a different cause than the one they are tracking. Can you open an issue tracking the bug found in Preview 1 with your usecase and exceptions? Thanks for letting us know.

I suspect this version is still not available。 i'm debuging my app to find out what's wrong?

Can't believe it's true，I think I'd be happy to be a microsoft-ui-xaml tester.

Can you open an issue tracking the bug found in Preview 1 with your usecase and exceptions? Thanks for letting us know.

@gabbybilka Many thanks for the fast response. I've opened a new ticket https://github.com/microsoft/microsoft-ui-xaml/issues/7002 related to the crash. When trying to break it down to a minimal version I had quite some difficulties as it turned out that the effective drop area was also far off the expected layout boundaries of the drop element.

@gabbybilka will ShouldConstrainToRootBounds="False" be fixed in Preview 3?

Will we see WinUI 2.7 updates to WinUI 3 in Win App SDK 1.1 for example InfoBadge?

Where is the best place to track AOT support? Is it this repo, or https://github.com/microsoft/CsWinRT, or https://github.com/microsoft/WindowsAppSDK .

@nlogozzo at the time, InfoBadge is not supported, not even in preview 3 :( I'm also needing this.

I've long switched to GNOME and GTK for application development. Windows doesn't attract me anymore

@bogdan-patraucean I've long switched to GNOME and GTK for application development. Windows doesn't attract me anymore


vscode does not respect GIT_AUTHOR_NAME/EMAIL in pre-commit hook failures, setting git.requireGitUserConfig=false has no effect

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: Version: 1.92.1 (Universal)
OS Version: Mac OS Sonoma 14.6.1

Steps to Reproduce:

add a pre-commit hook that exits 1 (for whatever reason)
do not set git config for user.name or user.email
set configs using GIT_AUTHOR_NAME / GIT_AUTHOR_EMAIL
Try to commit using the source control pane
See error about user.name/email despite being set

Notes:

This only fails if a pre-commit hook fails (which is valid!)
If the configs are set directly using git config, you get the output of the pre-commit hook instead of the screenshot above
git.requireGitUserConfig is set to false
The issue is in these lines of code https://github.com/microsoft/vscode/blob/07e6c39831b3ac1cabc1c228502a48788c4244c8/extensions/git/src/git.ts#L1743-L1754 which make a false assumption about how these are set
Similar yet separate issues:

https://github.com/microsoft/vscode/issues/128704
https://github.com/microsoft/vscode/issues/173442

To respond to vs-code-engineering, I read the source code and it persists until main branch.


V2X FASM support for module arrays

Based on #685 which has to be merged first (!)
This PR adds support for FASM attributes on module arrays (multiple instance of the same module). So the following verilog statements:
 (* FASM_PREFIX = "GATE_A" *)
 and_gate gate_a(I0, I1, O0);
 (* FASM_PREFIX = "GATE_B" *)
 and_gate gate_b(I0, I1, O1);
 (* FASM_PREFIX = "GATE_C" *)
 and_gate gate_c(I0, I1, O2);
 (* FASM_PREFIX = "GATE_D" *)
 and_gate gate_d(I0, I1, O3);

Are translated to:
  <pb_type blif_model=".subckt and_gate" name="and_gate" num_pb="4">
    <xi:include href="../common/and_gate.pb_type.xml" xpointer="xpointer(pb_type/child::node())"/>
    <metadata>
      <meta name="fasm_prefix">GATE_A GATE_B GATE_C GATE_D</meta>
    </metadata>
  </pb_type>

@litghost Actually I started this PR basing on #685. So issues you are referring to actually should be referred in #685. We should focus on completing #685 first, then this one.
In this PR I added the fasm_features_array plus some functionality to V2X. Please look only at changes introduced by b2daede

@litghost Your review seems to come from the future "6 hours from now" ;P so my answers to your comments appear above them.

Closing, same reason as in #685

Just FYI - I'll land an updated version of this after https://github.com/SymbiFlow/symbiflow-arch-defs/pull/703


Sequence Masking

Often in training we need to mask out pad tokens within the attention module. Is there a plan to add support for this?

@calclavia Hi Henry! That's #3 on my todo list! It's tricky because I have to account for reordering with the sorting matrix. Feel free to keep this open until it is resolved

@calclavia I think it's done! You can try it by passing in your mask as the input_mask keyword

Thanks!


How to use API requests on the side?

Description
How to use API requests on the side?
await getTranslete - error NEXT_NOT_FOUND
Verifications

[X] I've verified that the problem I'm experiencing isn't covered in the docs.
[X] I've searched for similar, existing issues on GitHub and Stack Overflow.
[X] I've compared my app to a working example to look for differences.

Mandatory reproduction URL
https://sada.ru
Reproduction description
export async function POST(request: Request) {
const errors: ErrorMessage[] = [];
try {
    const data: requestState = await request.json();
    const t = await getTranslations()

....
Return Error - NEXT_NOT_FOUND
Expected behaviour
Work

Founded answer https://github.com/amannn/next-intl/blob/main/examples/example-pages-router-advanced/src/pages/api/hello.tsx - example

and docs https://next-intl-docs.vercel.app/docs/environments/core-library


Urgent! Hiding "Refund" button for other payment methods!

https://github.com/checkout/checkout-woocommerce-plugin/blob/b979290f3492aa11483dab087dfaf3d152797873/woocommerce-gateway-checkout-com/woocommerce-gateway-checkout-com.php#L269
This code is hiding the refund button for other payment methods! Please fix it asap.
Thanks,
Tony

Hey @valmedia
Thank you for reporting an issues.
We have just released new version 4.4.0 with new improvements. One of them is we have now enabled refund functionality for APMs.
We are closing this issue for now as its resolved. If we missed something please leave comment and we will take a look.

This is not the same. The problem is your code is hiding the refund button for other plugins' payment methods.

Hey @valmedia Thank you for reporting an issues.
We have just released new version 4.4.0 with new improvements. One of them is we have now enabled refund functionality for APMs.
We are closing this issue for now as its resolved. If we missed something please leave comment and we will take a look.


Adding resiliency checks for alz services

Description
Adding checks to align to proactive resiliency library for services that are part of alz architecture.
Related Issue
N/A

Checklist

[x] I've tested my changes to ensure they are ready for review.
[x] I've read the CONTRIBUTING.md guide.
[ ] I've updated the documentation (if applicable).
[x] Resource Graph queries have been included (and tested) for recommendations where ever possible[^note].
[ ] Resource Graph queries have NOT been included (please explain below).

Additional Information
Reviewer Notes
[^note]:
Details on how to add Azure Resource Graph queries to recommendations can be found here.

Wouldn't the ALB checks not rather be part of the individual landing zones, and as such be in https://github.com/Azure/review-checklists/blob/main/checklists/network_appdelivery_checklist.en.json?

Wouldn't the ALB checks rather be part of the individual landing zones, and as such be in https://github.com/Azure/review-checklists/blob/main/checklists/network_appdelivery_checklist.en.json?

I agree - we wouldn't deploy ALBs in the Hub network.

Wouldn't the ALB checks rather be part of the individual landing zones, and as such be in https://github.com/Azure/review-checklists/blob/main/checklists/network_appdelivery_checklist.en.json?

Hi @erjosito & @brsteph, customers may have ALBs has part of their platform landing zone, example being IaaS NVAs. The idea being that if this is the case, the checklist can provide recommendations to achieve a resilient by default architecture.

@erjosito @brsteph, the thinking behind this PR is that we don't leave any gaps in resiliency when conducting an ALZ assessment / review.

Wouldn't the ALB checks rather be part of the individual landing zones, and as such be in https://github.com/Azure/review-checklists/blob/main/checklists/network_appdelivery_checklist.en.json?

Hi @erjosito & @brsteph, customers may have ALBs has part of their platform landing zone, example being IaaS NVAs. The idea being that if this is the case, the checklist can provide recommendations to achieve a resilient by default architecture.

Could we include that NVA element as part of it?  Instead of it being general load balancer guidance, being specific for the NVAs in line.

We met to discuss and based on needs, we are good to proceed with these.  We might tweak the language a bit later, but the recommendations are needed for the focus on resiliency.


Add NotSerializableExceptionWrapper to exceptions to unwrap

If a ShardNotFoundException was wrapped into a
NotSerializableExceptionWrapper it didn't recognize it as
shard-failure and therefore the "retry-on-shard-failure" logic didn't
trigger.
This could cause tests like testFetchPartitionedTable to fail because
there is no additional ensureYellow guard to prevent shard failures.
(This happened very rarely).

Codecov Report

Merging #4922 into master will decrease coverage by -0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4922      +/-   ##
============================================
- Coverage     82.08%   82.06%   -0.02%
+ Complexity    10675    10673       -2
============================================
  Files          1294     1294
  Lines         44533    44533
  Branches       5631     5631
============================================
- Hits          36553    36545       -8
- Misses         5340     5345       +5
- Partials       2640     2643       +3

Impacted Files
Coverage Δ
Complexity Δ

.../src/main/java/io/crate/exceptions/Exceptions.java
67.01% <ø> (-3.1%)
33 <ø> (-1)

...n/java/io/crate/exceptions/JobKilledException.java
0% <ø> (-66.67%)
0% <ø> (-1%)

...a/io/crate/exceptions/ContextMissingException.java
81.81% <ø> (-18.19%)
1% <ø> (-1%)

...crate/executor/transport/TransportShardAction.java
77.5% <ø> (-12.5%)
8% <ø> (-1%)

...te/executor/transport/SubSelectSymbolReplacer.java
68.88% <ø> (-11.12%)
3% <ø> (ø)

...rc/main/java/io/crate/analyze/UnboundAnalyzer.java
75% <ø> (-10%)
2% <ø> (ø)

...eration/projectors/ColumnIndexWriterProjector.java
73.33% <ø> (-8.89%)
7% <ø> (-1%)

.../distributed/TransportDistributedResultAction.java
77.27% <ø> (-4.55%)
9% <ø> (ø)

...io/crate/protocols/postgres/types/VarCharType.java
87.5% <ø> (-4.17%)
9% <ø> (-1%)

... and 23 more

Continue to review full report at Codecov.

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