chore: flatten_json: fix formatting

Signed-off-by: Yosi Attias<EMAIL_ADDRESS>

Codecov Report
Base: 94.48% // Head: 94.48% // No change to project coverage :thumbsup:

Coverage data is based on head (616b128) compared to base (c117dab).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #152   +/-   ##
=======================================
  Coverage   94.48%   94.48%
=======================================
  Files          17       17
  Lines        2068     2068
=======================================
  Hits         1954     1954
  Misses         80       80
  Partials       34       34

Impacted Files
Coverage Δ

flatten_json.go
95.10% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@timbray what do you mean? I have signed this commit..
Signed-off-by: Yosi Attias<EMAIL_ADDRESS>

I'm looking at this PR, https://github.com/timbray/quamina/pull/152, and seeing “Merging is blocked”, in red letters. Maybe I'm missing something obvious?

@timbray It was issue on my side.. needed to configure gpg keys.. now we should be able to merge.

OK, done.
On Mon, Nov 28, 2022 at 1:04 PM Yosi Attias @.***>
wrote:

@timbray https://github.com/timbray It was issue on my side.. needed to
configure gpg keys.. now we should be able to merge.
—
Reply to this email directly, view it on GitHub
https://github.com/timbray/quamina/pull/152#issuecomment-1329759601, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAEJEYUQMO4PXNT42WW3PLWKUM7JANCNFSM6AAAAAASMORZL4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Locally update the PNNs location when reusing the pileup cache file

This fix is mandatory for the new release. When we use TrustSitelists AND the dataset was already available in the cache, it was not getting the right PNN location for the blocks. So, in this case, we copy
the cache to the new sandbox location and update (actually, just add the site white list) the pileupconf.json for that request.
@ticoann please review but do not merge yet

Enough with tests for this. Tested and works Ok.
@ticoann please merge it and the other 2 requests (6676 and 6682), then cut a new 1.0.14 tag and also create a new branch 1.0.14_wmagent out of it.


Jigsaw endpoint

Given a base64 encoded image, this endpoint will divide the image into rows x columns (default 3 x 3), and upload all the images to S3. In response, it will return the uploaded image URLs so that they can be associated with the puzzle.
Sample POST body:
{ "encoded_image": "iVBORw0KGgoAAAANSUhEUgAAALkAAADVCAYAAAAL...."}

Sample response:
{
  "data": [
    "url1",
    "url2",
     "...."
   ]
}

@amoliksingh as a good test for this (since you are gonna be implementing jigsaw this week) is to run your backend on this branch and use it in the frontend context. See if it works as you expect.
I'll also do some testing individually but I think you will be able to test it best.


cannot specify a branch gitClient.GetItemsAsync

I am trying to retrieve items from a specific Branch on a git repo using GetItemsAsync
It looks like I should be able to specify the branch through the GitVersionDescriptor, and by setting the version type to Branch.  However, when I do so, I don't retrieve items from the branch I am attempting to get from.
my C# code is like:
GitVersionDescriptor versionDesc = new GitBaseVersionDescriptor()
{
   VersionType = GitVersionType.Branch,
   Version = "myBranchNameHere"
}
var task = gitClient.GetItemsAsync(repositoryId: <myrepoid>,
 recursionLevel: VersionControlRecursionType.Full,
scopePath: "/",
 versionDescriptor: versionDesc);

that all works and I get my Items, however, the Items I get do not match the Branch, the instead come back from the repo's master branch.
Jeff

ahh.. I found the issue.. Apparantly new-ing up the versionDescriptor as a Base object blew it for me.  changing the above code to
GitVersionDescriptor versionDesc = new GitVersionDescriptor
now works as expected


"Ruby LSP: Starting" without any output

Description
Reproduction steps
Environment
VSCode:
Version: 1.91.0
Commit: ea1445cc7016315d0f5728f8e8b12a45dc0a7286
Date: 2024-07-01T18:52:41.959Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 6.9.7-arch1-1

Ruby LSP Plugin: v0.7.8
Ruby LSP Gem:
ruby-lsp (0.17.4)
    Author: Shopify
    Homepage: https://github.com/Shopify/ruby-lsp
    License: MIT
    Installed at: /usr/local/lib/ruby/gems/3.2.0

I'm developing inside a devcontainer.

Reopen in dev container
Open any ruby file
Bottom left corner Ruby LSP: Starting
Output Ruby LSP: Is completely empty
Command Ruby LSP: Restart -> Nothing happens

Code snippet or error message
There is no error message.

Yes, I've tried both having a workspace and just a folder loaded.
It seems like I've figured out the problem. The project seems not to classify as a monorepo nor a multi-root project. When I created a Gemfile for ruby-lsb pointing to the "entry point" project containing eval_gemfile 'entry-point-project/Gemfile' everything started to work.


change user password

Hey now, I thought the bot was supposed to auto close empty issues....
Hi! Thanks for attempting to open an issue. Unfortunately, you didn't write anything in the body which makes it impossible to understand your concern. You are welcome to fix up the issue and try again by opening another issue with the body filled out.


Platform specific remappings

Following issue #288:  https://github.com/juanfranblanco/vscode-solidity/issues/288#issuecomment-1042944301
And the discussion on Discord, I have added 2 new settings:

solidity.remappingsWindows
solidity.remappingsUnix

These aim to fix any cross-platform related issues caused by, for example, Brownie.
I have also updated the README file.
Please take a look and, if possible, perform a quick test on a Unix system, since I haven't been able to do it myself yet.

Ill merge, it can be changed later on if needed.


Grouping GL Layers into OL Layers for performance optimizations

Modified the SDK GL->OL mapping to do grouping.
Modified the tests (mostly) to reflect this.
This includes PR #612 as I found it during the testing process.
This upgrades the versions of the @ahocevar library dependencies as they use a new "apply" style function which is different from previous.
Added an "mb-bright" demo that will use the example mapbox bright stylesheet for maps.

Thing that are working:

Almost everything appears to work on the surface.
Changing map.sprite does not update the underlaying layers right now.
The MVT performance is now really good, no more multi-layer stuff.

Latest update now passes all tests, good coverage, and supports everything but changing the sprites on the fly.

@theduckylittle is that something that needs to be added (changing sprites), or will you handle that in a new PR instead?

@bartvde  - I've added the sprite change code.

Are you guys aware of ol-mapbox-style's apply() function? That does the grouping already. The only thing that's currently missing is that it recognizes layers it already created when run again. That could be easily added though.

@ahocevar - I did take a look at it but had started work on this branch earlier.  I have been concerned about using apply()  before it had an "update cycle" working.  That said, I did update this code to use the newer applyStyle() function.  When the apply() + updates is working we should be able to quickly refactor our code.

Coverage decreased (-1.7%) to 93.984% when pulling 8e004f2d4b869e7cb0c27d1403f94a7bdf62e896 on theduckylittle:bug/slow-mvt into 6040bff629549763ddf071ff2e31e0063b97a24b on boundlessgeo:master.

Thanks for your continued work on this @theduckylittle I'll do another review now

Looks like something is going wrong with the sprite urls

Coverage decreased (-1.7%) to 93.984% when pulling af47ce461711a7672744c571291ab79708c2fc53 on theduckylittle:bug/slow-mvt into d985b61d546012dcda60d88a6137e19a21c53913 on boundlessgeo:master.

@theduckylittle I wouldn't worry about the decrease in coverage too much, I'd be happy to work on increasing it again after this gets merged

Alright, y'all updated this PR.
I know this has a lot of commits against it but I'll squash them during the merge once everything checks out.

Coverage decreased (-1.9%) to 93.733% when pulling 18e0aacc068fdde8acc319bcd6b6900694dd0fad on theduckylittle:bug/slow-mvt into d985b61d546012dcda60d88a6137e19a21c53913 on boundlessgeo:master.

Coverage decreased (-1.9%) to 93.733% when pulling 18e0aacc068fdde8acc319bcd6b6900694dd0fad on theduckylittle:bug/slow-mvt into d985b61d546012dcda60d88a6137e19a21c53913 on boundlessgeo:master.

This push fixes the "flashing" and constant redrawing.

Ack, do not merge, I found a separate bug with the ref layers, will push again once it's fixed.

Coverage decreased (-2.1%) to 93.553% when pulling c24efbbbf8807432bf8ffcfcf29b824de1cbbff9 on theduckylittle:bug/slow-mvt into d985b61d546012dcda60d88a6137e19a21c53913 on boundlessgeo:master.


on mac press shift+option+f error

when press shift+option+f  on mac will Identification with Ï i don't kown how to fix that.
thank you.

@zuoliang0 There is an example here without any problems:
https://codepen.io/jaywcjlove/pen/eqBabm

yes,that's ok,but why

https://codepen.io/zuoliang0/pen/JgWbGq

@zuoliang0 You can review your code carefully.

no.. i don't understand what happen .

could you tell me how to fix that ?

@zuoliang0

I don't know your operation. I don't know how to write your code. There is no way to help you.

you just press alt ？
when you press 3 key alt ,shift ,f then you can see that.
I want use this tools to catch use press , and set to them hot keys.

if you busy for work ,i'm so sorry for  disturb you .


Bot stalls

Summary
Running bot.run does nothing, keyboardinterrupt doesnt raise exception
Reproduction Steps
New venv, installed discord.py-self and discord.py, ran script
Code
import discord
from discord.ext import commands

bot = commands.Bot(command_prefix='\a', self_bot=True)

@bot.event
async def on_ready():
    print("Bot is ready")

@bot.command()
async def ping(ctx):
    await ctx.send('pong')

bot.run("token")

Expected Results
Bot logs in, prints "Bot is ready"
Actual Results
Nothing
System Information

Python v3.8.12-final
discord.py-self v1.9.1-final
aiohttp v3.7.4.post0
system info: Linux 5.11.0-1026-gcp #29~20.04.1-Ubuntu SMP Fri Jan 7 12:24:31 UTC 2022

Checklist

[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).

Additional Information
using 2fa (i made a selfbot without discord.py-self and it worked with the same token, just couldn't read any message embeds)

Hey, 1.9.1 is not being updated anymore. Could you try with the rebase branch and let us know how it goes?
python3.9 -m pip install git+https://github.com/dolfies/discord.py-self@rebase

Or, you could git clone the repository and could move the 'Discord' directory to your CWD.

And, this could also occur because the bot is caching information, how many servers is your selfbot in?
To disable guild caching -
from discord import GuildSubscriptionOptions
bot = commands.Bot(command_prefix='\a', self_bot=True, guild_subscription_options=GuildSubscriptionOptions.off())

Let us know how this goes, disabling caching makes it so that
bot.get_guild(id)

And such won't work, instead, you'll have to do
await bot.fetch_guild(id)

Thanks, I'll try it out.

Yeah, it looks like the subscriptions are the problem. However, if you disable them bot.get_guild() still works, but guild.members won't be filled.

And, this could also occur because the bot is caching information, how many servers is your selfbot in? To disable guild caching -
from discord import GuildSubscriptionOptions
bot = commands.Bot(command_prefix='\a', self_bot=True, guild_subscription_options=GuildSubscriptionOptions.off())

Let us know how this goes, disabling caching makes it so that
bot.get_guild(id)

And such won't work, instead, you'll have to do
await bot.fetch_guild(id)

Now GuildSubscriptionOptions cannot be imported from discord, still using the latest version of discord.py-self from the rebase branch

GuildSubscriptionOptions are gone. The library now "chunks" the guilds it can (which is much faster) and can be controlled with the old chunk_guilds_at_startup parameter. Still recommend setting to False if you don't need guild members/member events.
Additionally, the rebase branch has been merged into master and is no longer developed on.

Oh, ok thanks.


Config file not honored when using -o option

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'm running yt-dlp version 2023.10.13 (update instructions) or later (specify commit)
[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
When using yt-dlp to stream output to another command, the config file is ignored.
In fact, it does exactly what it states in the documentation:
if you use yt-dlp to stream to stdout (-o -), the default becomes -f best/bestvideo+bestaudio.

But i have a config file that contains:
# Prefer AV1 codec (default is vp9)
-S "+vcodec:av1,res:1440"
--netrc

These options, while it shows them in the verbose output, are not used to determine the video/audio to download.
See the output below for those details.
yt-dlp should probably honor the config file, also when -o is set.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] 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
Getting video as if i piped it to another command.
Note the user config!
It downloads a video that doesn't match the set config values (in this case downloads a 720p video while there is 1440 too).
yt-dlp -vU https://www.youtube.com/watch\?v\=PUPO2tTyPOo -o - > /dev/null
[debug] Command-line config: ['-vU', 'https://www.youtube.com/watch?v=PUPO2tTyPOo', '-o', '-']
[debug] User config "/home/mark/.config/yt-dlp/config": ['-S', '+vcodec:av1,res:1440', '--netrc']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b634ba742]
[debug] Python 3.11.5 (CPython x86_64 64bit) - Linux-6.5.7-arch1-1-x86_64-with-glibc2.38 (OpenSSL 3.1.3 19 Sep 2023, glibc 2.38)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0, rtmpdump 2.4
[debug] Optional libraries: certifi-2023.07.22, sqlite3-3.43.2
[debug] Proxy map: {}
[debug] Loaded 1890 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[youtube] Extracting URL: https://www.youtube.com/watch?v=PUPO2tTyPOo
[youtube] PUPO2tTyPOo: Downloading webpage
[youtube] PUPO2tTyPOo: Downloading ios player API JSON
[youtube] PUPO2tTyPOo: Downloading android player API JSON
[youtube] PUPO2tTyPOo: Downloading m3u8 information
[debug] Sort order given by user: +vcodec:av1, res:1440
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, +vcodec:av1(11), res:1440(1440.0), quality, fps, hdr:12(7), source, channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[debug] Default format spec: best/bestvideo+bestaudio
[info] PUPO2tTyPOo: Downloading 1 format(s): 22
[debug] Invoking http downloader on "https://rr2---sn-uhvcpaxoa-guhe.googlevideo.com/videoplayback?expire=1698379749&ei=heM6ZZj4AoLCx_AP7_6Z0A0&ip=<IP_ADDRESS>&id=o-AKd-ui9Kp7fHLE2oKdw11TMa94LGQfrNlCedjCNwiYKi&itag=22&source=youtube&requiressl=yes&mh=RD&mm=31%2C29&mn=sn-uhvcpaxoa-guhe%2Csn-5hne6nzk&ms=au%2Crdu&mv=m&mvi=2&pl=18&initcwndbps=916250&spc=UWF9fzyUgfYrQPG2MbO1w7D2mwDQEI8&vprv=1&svpuc=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=2287.281&lmt=1698263312152362&mt=1698357701&fvip=1&fexp=24007246&beids=24472437&c=ANDROID&txp=6308224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AGM4YrMwRQIhAJQbrZmsL_fC4qD0CyMLvuB3JMe4RK38nOeSRuOxNV_XAiBSCQUiafDiPBGqb2zNlGNG8XdDNF-tANUSgc4NbHMQMA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AK1ks_kwRAIgGzI9su2sctuvJaWaOtuboZnpwhAX7rupbhEAtN43BpICIGQEHi4SHQKF1IWSKnOdwUfLWWYq1BKgKI_PO4JPSfrn"
[debug] File locking is not supported. Proceeding without locking

This is just the download command. Here the config is honored and a 1440p file is downloaded.
❯ yt-dlp -vU https://www.youtube.com/watch\?v\=PUPO2tTyPOo
[debug] Command-line config: ['-vU', 'https://www.youtube.com/watch?v=PUPO2tTyPOo']
[debug] User config "/home/mark/.config/yt-dlp/config": ['-S', '+vcodec:av1,res:1440', '--netrc']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b634ba742]
[debug] Python 3.11.5 (CPython x86_64 64bit) - Linux-6.5.7-arch1-1-x86_64-with-glibc2.38 (OpenSSL 3.1.3 19 Sep 2023, glibc 2.38)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0, rtmpdump 2.4
[debug] Optional libraries: certifi-2023.07.22, sqlite3-3.43.2
[debug] Proxy map: {}
[debug] Loaded 1890 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[youtube] Extracting URL: https://www.youtube.com/watch?v=PUPO2tTyPOo
[youtube] PUPO2tTyPOo: Downloading webpage
[youtube] PUPO2tTyPOo: Downloading ios player API JSON
[youtube] PUPO2tTyPOo: Downloading android player API JSON
[youtube] PUPO2tTyPOo: Downloading m3u8 information
[debug] Sort order given by user: +vcodec:av1, res:1440
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, +vcodec:av1(11), res:1440(1440.0), quality, fps, hdr:12(7), source, channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] PUPO2tTyPOo: Downloading 1 format(s): 271+251
[debug] Invoking http downloader on "https://rr2---sn-uhvcpaxoa-guhe.googlevideo.com/videoplayback?expire=1698380010&ei=iuQ6ZfHJKZuYx_AP-oqR2A8&ip=<IP_ADDRESS>&id=o-AEJRcIdfqOTP5105i1msoIELWL9bgKP6OXdWX1aOx94B&itag=271&source=youtube&requiressl=yes&mh=RD&mm=31%2C29&mn=sn-uhvcpaxoa-guhe%2Csn-5hne6nzk&ms=au%2Crdu&mv=m&mvi=2&pcm2cms=yes&pl=18&initcwndbps=915000&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=332322138&dur=2287.243&lmt=1698263067058505&mt=1698357939&fvip=1&keepalive=yes&fexp=24007246&beids=24350018&c=IOS&txp=630F224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AGM4YrMwRAIgNxnLAxJTBICCSJWyeKqyIHCgbRgxU_imlK3ugDbV4uYCIGP0ximTFR12zRvnspnjIkHVjQkXbb7CK1ZR48ViOYmj&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AK1ks_kwRAIgWBLeDwX-PVZ48g6k_arfSzh0155iLnkcESSkVX8i9PwCIGS7-0zwpikxy8cbiDfsut2Bmw_h0aFeIrioTGJTDZsh"
[download] Resuming download at byte 180420027
[download] Destination: AutoGen Advanced Tutorial 🧠 Build Insane AI Agents (Bonus： NEW Agent Type!) [PUPO2tTyPOo].f271.webm
[download] 100% of  316.93MiB in 00:00:13 at 22.91MiB/s
[debug] Invoking http downloader on "https://rr2---sn-uhvcpaxoa-guhe.googlevideo.com/videoplayback?expire=1698380010&ei=iuQ6ZaHUMJHFgAeiroXgCA&ip=<IP_ADDRESS>&id=o-AIdKAWXoNbiKS_kku2iZ0di5McgSvsOu2fmS3okHjq0Y&itag=251&source=youtube&requiressl=yes&mh=RD&mm=31%2C29&mn=sn-uhvcpaxoa-guhe%2Csn-5hne6nzk&ms=au%2Crdu&mv=m&mvi=2&pl=18&initcwndbps=915000&spc=UWF9f5BD3HGYNjOO_SwohyFrSM_z-Zo&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=40380419&dur=2287.241&lmt=1698263284956981&mt=1698357939&fvip=1&keepalive=yes&fexp=24007246&beids=24350018&c=ANDROID&txp=6308224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AGM4YrMwRQIhAMW5Ndt9DsAzwl3EuwpDIgChZOv6rfynb_ZAAbyngLeBAiAUQWO62CZ9JryI1IMEC5SRgsmL7R6T9T2_UjKuey4sog%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AK1ks_kwRQIhAPAQSPtOq_WlcfWk1oAZveTqte5UCVVAN6X47fhbiMEDAiBiJb8EnPHeOhnOjC65pghQMA_ry-uzVjYL31ZP1zOxWg%3D%3D"
[download] Destination: AutoGen Advanced Tutorial 🧠 Build Insane AI Agents (Bonus： NEW Agent Type!) [PUPO2tTyPOo].f251.webm
[download] 100% of   38.51MiB in 00:00:03 at 10.17MiB/s
[Merger] Merging formats into "AutoGen Advanced Tutorial 🧠 Build Insane AI Agents (Bonus： NEW Agent Type!) [PUPO2tTyPOo].webm"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:AutoGen Advanced Tutorial 🧠 Build Insane AI Agents (Bonus： NEW Agent Type!) [PUPO2tTyPOo].f271.webm' -i 'file:AutoGen Advanced Tutorial 🧠 Build Insane AI Agents (Bonus： NEW Agent Type!) [PUPO2tTyPOo].f251.webm' -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart 'file:AutoGen Advanced Tutorial 🧠 Build Insane AI Agents (Bonus： NEW Agent Type!) [PUPO2tTyPOo].temp.webm'
Deleting original file AutoGen Advanced Tutorial 🧠 Build Insane AI Agents (Bonus： NEW Agent Type!) [PUPO2tTyPOo].f271.webm (pass -k to keep)
Deleting original file AutoGen Advanced Tutorial 🧠 Build Insane AI Agents (Bonus： NEW Agent Type!) [PUPO2tTyPOo].f251.webm (pass -k to keep)

But i have a config file that contains:
-S "+vcodec:av1,res:1440"
yt-dlp should probably honor the config file

yt-dlp does honor your config file -- -S only sorts the formats, it does not select them. If you want to override the default, you'll need to also pass your own -f argument

If you want to override the default, you'll need to also pass your own -f argument

Are you sure?
yt-dlp -vU https://www.youtube.com/watch\?v\=PUPO2tTyPOo does that automatically (271+251).
yt-dlp -vU https://www.youtube.com/watch\?v\=PUPO2tTyPOo -o - > /dev/null is not.
I'd think those should both download the exact same audio/video without passing -f, right?

Are you sure?

Yes

I'd think those should both download the exact same audio/video without passing -f, right?

No. In your original post you quoted this from the documentation:

if you use yt-dlp to stream to stdout (-o -), the default becomes -f best/bestvideo+bestaudio.

The default without -o - is -f bestvideo*+bestaudio/best.
So with -o -, the selection priority is being reversed: yt-dlp is looking for the best pre-merged (video and audio) format before falling back to separate video and audio formats.
Your config's format sorting is still being applied; it's just that there is no best (pre-merged video and audio) format available with your preferences.
You can override this modified default format selection if you want by passing your own -f argument -- but the reason for the modified default is because piping separate video and audio streams doesn't work

Ahh, right. Just got it. Setting bestvideo*+bestaudio/best as format (in the config file) gives me the behavior i was expecting. Thank you for your explanation!
It's a bit weird that there's different behavior though. I get it based on your reply but still...
Oh well, issue solved :)


Collect Docker metrics with Prometheus: daemon.json config

File: config/thirdparty/prometheus.md, CC @johndmulhausen
Version Info
docker --version
Docker version 17.12.0-ce, build c97c6d6

Prometheus Version: prom/prometheus:v2.1.0
Process to get Prometheus example working
I've been following along with the Prometheus metrics guide but when I set
{
  "metrics-addr" : "<IP_ADDRESS>:9323",
  "experimental" : true
}

in /etc/docker/daemon.json and start Prometheus with the given yml file (in docker-compose) I get context limit exceeded errors for both the docker and prometheus jobs.
If I replace 'localhost' in prometheus.yml with <IP_ADDRESS> the prometheus job works correctly but for the docker job I get an error Get http://<IP_ADDRESS>:9323/metrics: dial tcp <IP_ADDRESS>:9323: getsockopt: connection refused. Here is the config
# my global config
global:
  scrape_interval:     15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
  scrape_timeout:      15s
  evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
  # scrape_timeout is set to the global default (10s).

  # Attach these labels to any time series or alerts when communicating with
  # external systems (federation, remote storage, Alertmanager).
  external_labels:
      monitor: 'codelab-monitor'

# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
  # - "first.rules"
  # - "second.rules"

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
  - job_name: 'prometheus'

    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.

    static_configs:
      - targets: ['<IP_ADDRESS>:9090']

  - job_name: 'docker'
         # metrics_path defaults to '/metrics'
         # scheme defaults to 'http'.

    static_configs:
      - targets: ['<IP_ADDRESS>:9323']

I then tried setting the docker ip address to <IP_ADDRESS> (my docker0 network ip) but got the same error Get http://<IP_ADDRESS>:9323/metrics: dial tcp <IP_ADDRESS>:9323: getsockopt: connection refused.
After that I adjusted daemon.json to
{
  "metrics-addr" : "<IP_ADDRESS>:9323",
  "experimental" : true
}

and restarted the docker service. Now I can connect to both docker metrics and prometheus metrics.
Request
Clarify the project setup. Should the network be set to host for this tutorial? Otherwise, if the metrics-addr in daemon.json should be localhost how do I connect to it from within the container?

Looks like a duplicate of #6012

Ran into this when trying out on Windows 11, the following config works for me.
daemon.json
{
  "metrics-addr" : "<IP_ADDRESS>:9323",
  "experimental" : true
}

prometheus.yml
    static_configs:
      - targets: ['host.docker.internal:9323']


pod install error related to quill_native_bridge

Is there an existing issue for this?

[X] I have searched the existing issues

Flutter Quill version
No response
Steps to reproduce

一运行就会立马闪退，随后报错。“-[FlutterEngine registrarForPlugin:], FlutterEngine.mm:1338
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Duplicate plugin key: QuillNativeBridgePlugin'”
插件版本：
 flutter_quill: ^10.7.0
 flutter_quill_extensions: ^10.7.0
不使用这些插件我是运行正常的项目。
Xcode build done.                                           95.6s
(lldb) 2024-10-15 08:04:11.958526+0800 Runner[1217:367695] *** Assertion failure in -[FlutterEngine registrarForPlugin:], FlutterEngine.mm:1338
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Duplicate plugin key: QuillNativeBridgePlugin'
*** First throw call stack:
(0x18a994cb4 0x183a343d0 0x18512a54c 0x10897df9c 0x1025f4634 0x1025f48f4 0x1025f4be4 0x18cd4f054 0x18cd4e78c 0x18cd4d768 0x18cd4d3b4 0x18ca95664 0x18cdd3850 0x18cc85c5c 0x18cc85a84 0x18cc85634 0x18cc85500 0x18d372a68 0x18d411074 0x18cb32c70 0x18cfa41ac 0x18cc03c60 0x18cc03ad0 0x18cc03028 0x18cc02db4 0x1a0a102e4 0x1a0a50068 0x1a0a14120 0x1a0a4fcc0 0x191e5beac 0x191e5f91c 0x1a0a1e24c 0x1a0a1dde8 0x1a0a20694 0x18aa5e128 0x18aa6a7b4 0x18a9ef5e8 0x18aa050d4 0x18aa0a3ec 0x1c5f2035c 0x18cd96f58 0x18cd96bbc 0x1934240b0 0x1025f4d88 0x1025f4d00 0x1025f4e04 0x1a9f3cdec)
libc++abi: terminating due to uncaught exception of type NSException

thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00000001c9951578 libsystem_kernel.dylib__pthread_kill + 8 libsystem_kernel.dylib:
->  0x1c9951578 <+8>:  b.lo   0x1c9951598               ; <+40>
0x1c995157c <+12>: pacibsp
0x1c9951580 <+16>: stp    x29, x30, [sp, #-0x10]!
0x1c9951584 <+20>: mov    x29, sp
Target 0: (Runner) stopped.

Expected results
正常运行调试
Actual results
闪退崩溃
Additional Context

Screenshots / Video demonstration
[Upload media here]

Logs
[Paste your logs here]

when i use the default latest version:
flutter_quill_extensions: ^10.8.2
flutter_quill: ^10.7.6
occurre：
❯ pod install
Analyzing dependencies
[!] No podspec found for quill_native_bridge_platform_interface in .symlinks/plugins/quill_native_bridge_platform_interface/ios
such as flutter clean && flutter pub get xxxxx not useful

the xcode shows

There was no problem with flutter on android. I found that my mac version of Flutter was 3.24.0 while windows was 3.24.3. When I upgraded to the latest version 3.24.3, I found that the issue was no longer there and it worked fine on ios devices. So regardless of flutter_quill version 10.x, the issue of needing to upgrade flutter under mac will not exist

As for your minimal instance demo, using flutter version 3.24.0, you can install flutter_quill_extensions and flutter_quill directly using flutter pub get, and this will happen under ios

There was no problem with flutter on android. I found that my mac version of Flutter was 3.24.0 while windows was 3.24.3

This issue is related to iOS and specific to Xcode/Apple ecosystem, which is unsupported on Windows, so it's likely irrelevant.

the issue of needing to upgrade flutter under mac will not exist

The issue is with the plugin quill_native_bridge. Since version 10.6.2 is used in the latest version of flutter_quill, we have changes in #2230 that are unpublished yet.
Can you try with this branch and see if the issue encountered:
dependency_overrides:
  flutter_quill:
    git:
      url: https://github.com/singerdmx/flutter-quill.git
      ref: feat/default-clipboard-native-impl

I'll try it later

I was able to encounter the issue of an outdated app with #2230
The issue is that Podfile can be outdated with a newer version of Flutter, specifically this line caused the issue in the Podfile:
platform :ios, '12.0'

You can the following to ensure the issue is fixed:
flutter clean && flutter pub get && flutter pub upgrade
cd ios
rm Podfile && rm Podfile.lock
pod install --repo-update

The part that fixes the issue is to remove both Podfile and Podfile.lock (from your ios directory) and then once you run the app, Flutter CLI will generate those files once again, double-check if you have a custom configuration in Podfile since they will be undone.
The issue flutter_keyboard_visibility #52 is very similar (thanks to them, was able to identify the issue faster), it doesn't appear to be a bug from quill_native_bridge_ios, it's likely Podfile configuration issue, The error can sometimes be irrelevant or not quite specific.

I encountered the issue again in the example app and once again on that outdated app, it appears quill_native_bridge_platform_interface implemented the iOS plugin which is probably a regression and wasn't an issue before the split and moved each platform implementation into its package, the platform interface doesn't implement any platform itself, this part was causing the issue.
Run flutter pub upgrade and the issue should be fixed.

I'll try it later

Can you confirm if the issue is fixed (after running flutter pub upgrade and updating your Podfile if it was outdated)?

I think the issue should be on dead flutter version thanks。 by the way. how to preview quill json format content in a widget

how to preview quill json format content in a widget

I'm not quite sure. Do you mean parsing the JSON and loading it as a document or a widget that provides a visual preview? For JSON, there are many packages, though specifically for JSON Delta. I don't think there is a flutter package.


parse and produce rgba values - issue #4

Close #4.
Minor update to parse and produce rgba values (always produces a default alpha value of 1)

Thanks, @adamhorner. I have no questions about this change and hope this workflow can save you more time. 💯


How do I prevent the Toast UI Editor from getting focus when it is rendered

Summary
I have a NextJS app that contains the toast-ui/react-editor.
The editor is not visible and I have a button that controls visibility by toggling the show state variable this way:
export function MyEditor({placeholder}) {
const [show, setShow] = useState(false);
const editorRef = useRef(null);

  return (

        {show && <Editor
              ref={editorRef}
              placeholder={placeholder}
              previewStyle='tab'
              theme='dark'
              minHeight='300px'
              height='300px'
              initialEditType='markdown'
              hooks={{
                addImageBlobHook: onAddImageBlob,
              }}
              autofocus={false}
        />}

  );
}

Please note that I am passing the autofocus property false but the editor's text area gets activated as soon as the editor is rendered.
How do I turn it off?
Version
"@toast-ui/editor": "^3.1.0",
"@toast-ui/react-editor": "^3.1.0",

@benderillo
Can you give me your example in code sandbox?
When I tested in a react environment, there was no focus problem.

@js87zz https://codesandbox.io/s/react-typescript-forked-4exdi?file=/src/editor.tsx
When the editor is shown, the focus is in the text area.

@benderillo
I checked the issue. Thanks for reporting!

I have the same issue. This happens when previewStyle is the "tab". Seems ok with "vertical" or when initialEditType is "wysiwyg". Here's the simplest dupe code:
<Editor
	previewStyle="tab"
	initialEditType="markdown"
	initialValue={'abc'}
	events={{
		focus: () => {
			console.log('⭐ focus');
		},
	}}
	autofocus={false}
/>

Did somebody found a solution for that? :)

I am not very familiar with your codebase, but from a quick view and debug session I would assume/guess that:
https://github.com/nhn/tui.editor/blob/253a9a086f5a8ff76a1f7a4be5e104c0b0e44b8c/apps/editor/src/base.ts#L172-L178
The scrollIntoView should be probably inside the if - block.
I guess the expected behaviour of autoFocus: false would be that the page does not scroll as well (See video in #1945).
I hope that helps a little bit.

@benderillo
The bug has been fixed in v3.1.2. Thanks for long waiting!

This is very much not fixed... it auto focuses for me in 3.1.7 i have implemented several different places with several different options... and it does autofocus, is there a way to disable this?
Also, it would be epic to be able to set tab index -1

Oh, its now has an option called autofocus in the oSettings object

I have the same problem. Setting autofocus: false doesn't affect editor. It still grabs the focus.

same question

Same here

I placed autofocus: false in the middle and re executed npm run dev which is strange
this is my app.js
//tui editor
import Editor from '@toast-ui/editor'
//import 'codemirror/lib/codemirror.css';
import<EMAIL_ADDRESS>
const editor = new Editor({
  el: document.querySelector('#editor'),
  height: '300px',
  initialEditType: 'markdown',
  autofocus : false,
  placeholder: '发表见解',
  language: 'zh-CN',
})

In addition, the United States has removed the. ml domain name, which means that the website I mentioned (pilipala.ml) cannot be used. That domain name has been with me for 5 years

autofocus: false works for me!

"@toast-ui/react-editor": "^3.2.3"
autoFocus is not working for me .
I solved the problem by correcting it in the following way.
 useEffect(() => {
    if (editorRef.current) {
      const timeoutBlur = setTimeout(() => {
        editorRef.current?.getInstance().blur();
      }, 0);

      return () => {
        clearTimeout(timeoutBlur);
      };
    }
  }, [editorRef, content]);

Among the other methods I've applied, I've given focus elsewhere and removed it, but maybe because the TUI editor is slow to load, when the editor is rendered at the end, it's unconditionally focused on editor. So I chose to deal with it inside useEffect.


Clicking the Caret in a Select should display the options

Users expect that clicking the caret opens the select box and displays the options but this does not happen, the caret has no event and the text has to be clicked which is unexpected behaviour for many:
http://element.eleme.io/#/en-US/component/select
http://element.eleme.io/#/en-US/component/pagination

It's a known bug (#1220) and fixed in #1253.


Segmentation fault on pages with some ANSI escape codes

Lagrange crashes when accessing a page with some (most? not too versed in this) ANSI escape codes.
I have a PoC running at gemini://dns.eric.jetzt/cgi-bin/crash.gmi.
Source code of crash.gmi:
#!/usr/bin/env sh

echo "20 text/gemini"
echo "\033[H"

This also happens with [J, [K, [0m and possibly others. Tested on both Windows and Linux with Lagrange 1.10.2.

The commit above fixes the crash.
Lagrange will ignore all unsupported escapes on a text line. On your page, the line didn't contain anything else to show, but the parser did expect to have at least one text run at that point...

Ah, that makes sense. Can confirm it works now, thanks!


[W06] Add last year's tests and Artemis Example for MedianPivotFrontTest and Tests fot MidPivotTest

Checklist
General

[x] I confirm that my tests, if any, are correct

[x] Optional: I pass all artemis tests.
[x] Optional: I pass all tests, that are added in this PR.
[x] Optional: I calculated manually the correct solutions on paper.

[x] I chose a title conforming to the naming conventions for pull requests.
[x] The newly added tests do not reveal the solutions dynamically calculating the solutions as expected in the exercise.
[x] Other students approved this Pull Request.

Description

I have updated all tests from last year to ParameterizedTest
In the class MedianPivotFrontTest, I added the examples from artemis
in the class MidPivotTest, I added personaly new tests by my own

This is the same PR as #33 because I had dificulties to add any new commits to the PR.
I have revised the request from @meandaD.

@JohannesStoehr this PR is ready for merging


Distcp persists and reuses failed work units.

This PR adds a feature to Gobblin distcp to persist and recover late-failing work units (e.g. can't set permissions).
Change summary:

Added a guid to CopyableFile.
CopySource adds a work unit guid to each work unit.
FileAwareInputStream catches late failures and persists work units. To do this, it moves copied files to a persistent location, identified by guid and a shortened version of their original path. Furthermore, for each work unit, the writer will search the persistent location for matching files, if one is found, it is recovered instead of doing the copy.
Created DistcpConverter as a superclass for all distcp converters.

@pcadabam can you review?

Overall the approach looks good to me. I have a few comments.

Can you extract the persistence and recovery logic into its own class? The writer class seems heavy.
How is recovery managed for subclasses of FileAwareInputStreamDataWriter? For example TarArchiveInputStreamDataWriter overrides the write method to extract and write a tar ball file.
The Sha computation logic can be moved to static util class/methods

Thanks @pcadabam

Will do.
The subclass would need to do a similar implementation. Since I'm refactoring methods to a different class, it can use those same methods. I will do the changes to the untar writer as well, but in a different PR. (untar writer should persist the entire generated directory).
will do.

@pcadabam made requested changes:

Created a class RecoveryHelper containing all the logic for persisting and recovery.
Created a class Guid containing methods for creating and handling guids.

LGTM other than the small comment.

Add some unit tests for RecoveryHelper


truly support pydantic v2 without shims

to avoid vendoring or forking fastapi, we need to actually use the v2 pydantic models. this aims to detect which pydantic version is used and reimplement cog types for pydantic 2

The annotation is hopeless, typing.Annotated was added in python 3.9 and also doesn't seem to like being isinstance'd.
Tests in the commit before that are mainly failing because of openapi schema changes in 3.1.0: {'openapi': '3.1.0'} != {'openapi': '3.0.2'}, and also ge vs limit_value

Closing in favor of #1687
It's not all the way there yet, but it's the farthest along we've got so far. So let's focus on that for now.


Inquiry for a new version of Dockerfile

Hi!
I have built the docker image from the provided Dockerfile with cuda11.6. Now I am trying to run models on an H100 GPU. But it seems the corresponding PyTorch version is not compatible with the CUDA capability. As shown below:
/usr/local/lib/python3.8/dist-packages/torch/cuda/__init__.py:155: UserWarning:
NVIDIA H100 80GB HBM3 with CUDA capability sm_90 is not compatible with the current PyTorch installation.
The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_70 sm_75 sm_80 sm_86.
If you want to use the NVIDIA H100 80GB HBM3 GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/

  warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name))

Do we have a newer version of Dockerfile which is compatible? Thanks a lot in advance for the support!

some users mentioned this problem in the issues.


Move mina_version up the dependency tree

Problem: library mina_version is at the very bottom of dependency tree causing full recompilation each time the commit changes.
Solution: make only executables and a few of top-level libraries to depend on mina_version.
Explain how you tested your changes:

[ ] Check that nightly passes

Checklist:

[x] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[x] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[x] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[x] All tests pass (CI will check this if you didn't)
[x] Serialized types are in stable-versioned modules
[x] Does this close issues? None

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me


Nice!!
But the builds are failing, know why?

Skip to content:

Nice!!
But the builds are failing, know why?

No idea.

@Developerayo The issue has been fixed. It should work fine now.

@Developerayo The issue has been fixed. It should work fine now.

We are good! Thanks Man!


Griffe appears to ignore the effect of decorators that modify docstrings

Describe the bug
Docstrings in functions that have docstrings modified by a decorator are lost.
To Reproduce
Steps to reproduce the behavior:
In ibis we have an @experimental decorator that modifies __doc__ to include an admonition warning users with a generic message about APIs being subject to change.
This used to show up before mkdocstrings switched to griffe, but now it doesn't 😄.
Expected behavior
I would expect the docstring's full content to be included when rendering.
~Screenshots~ How to See the Problem
Here's a couple ways to see it

The rendered ibis docs for pivot_wider
Here's a Python session showing that Griffe has the original docstring, but Python has the computed one:

Griffe's View
>>> from griffe.loader import GriffeLoader
>>> loader = GriffeLoader()
>>> module = loader.load_module("ibis.expr.types.relations")
>>> ds = module.classes["Table"].functions["pivot_wider"].docstring
>>> print('\n'.join(ds.lines[:30]))
Pivot a table to a wider format.

Parameters
----------
id_cols
    A set of columns that uniquely identify each observation.
names_from
    An argument describing which column or columns to use to get the
    name of the output columns.
names_prefix
    String added to the start of every column name.
names_sep
    If `names_from` or `values_from` contains multiple columns, this
    argument will be used to join their values together into a single
    string to use as a column name.
names_sort
    If [`True`][True] columns are sorted. If [`False`][False] column
    names are ordered by appearance.
names
    An explicit sequence of values to look for in columns matching
    `names_from`.

    * When this value is `None`, the values will be computed from
      `names_from`.
    * When this value is not `None`, each element's length must match
      the length of `names_from`.

    See examples below for more detail.
values_from
    An argument describing which column or columns to get the cell

Python's View via __doc__
Pivot a table to a wider format.

        !!! warning "This API is experimental and subject to change."

        Parameters
        ----------
        id_cols
            A set of columns that uniquely identify each observation.
        names_from
            An argument describing which column or columns to use to get the
            name of the output columns.
        names_prefix
            String added to the start of every column name.
        names_sep
            If `names_from` or `values_from` contains multiple columns, this
            argument will be used to join their values together into a single
            string to use as a column name.
        names_sort
            If [`True`][True] columns are sorted. If [`False`][False] column
            names are ordered by appearance.
        names
            An explicit sequence of values to look for in columns matching
            `names_from`.

            * When this value is `None`, the values will be computed from
              `names_from`.
            * When this value is not `None`, each element's length must match
              the length of `names_from`.

            See examples below for more detail.

The differences in indentation aren't interesting, but this line is:
!!! warning "This API is experimental and subject to change."

System (please complete the following information):

griffe version: [e.g. 0.2.1]
Python version: 3.10
OS: Linux

Hey @cpcloud!
This is expected: Griffe by default does not execute source code (contrary to pytkdocs), it only parses it and visits the AST. I've been working on a way to selectively import objects with the hybrid built-in extension. I'll show you an example a bit later!
Griffe is still able to inspect code (like pytkdocs), so additionally/alternatively, maybe you'd prefer to tell Griffe to inspect your whole package, with a config option? I'd not recommend it though, as visiting code is required for handling stubs, type-guarded things, and ephemeral data like overloaded signatures.

@pawamoy 👋🏻 Hey!
Selective inspection sounds like a good option for this for us.
Are inspection and visitation mutually exclusive?
For example, if I tell griffe to inspect pivot_wider does that mean I'll lose the type information in the rendered docs?

Great!
No they're not mutually exclusive: it's absolutely possible to both visit and inspect an object, merging data in a way that makes sense. Currently it's actually the user's responsibility to say how to merge the data together. Maybe in the future we'll have some smart algorithm to merge visited and inspected data.
By the way, it might not even be necessary to inspect your decorated functions: we could use a visitor extension that simply detects when the decorator is used, and that updates the docstring accordingly. I'll share something later :)

Could you fix your link to the experimental decorator? I'd like to see how you use it.

Nevermind, found what I needed.
So, here's an extension example that updates docstrings when it finds a function decorated with experimental:
from __future__ import annotations

import ast

from griffe.dataclasses import Function
from griffe.extensions import VisitorExtension

from ibis.utils import append_admonition

class TypingDocExtension(VisitorExtension):
    def visit_functiondef(self, node: ast.FunctionDef) -> None:
        function: Function = self.visitor.current.members[node.name]  # type: ignore[assignment]
        for decorator in function.decorators:
            if decorator.value == "experimental" or decorator.value.endswith(".experimental"):
                function.docstring.value = append_admonition(
                    function.docstring.value,
                    msg="This API is experimental and subject to change.",
                )

You'd have to refactor append_admonition so that it takes a string a returns an updated string, rather than taking a callable directly (which does not exist when visiting code).

Neat, that works!

Thank you so much!

Great! I'll close this, this will be added to the docs soon :slightly_smiling_face:


Feature request: Option to hide default adapters from console

Is your feature request related to a problem? Please describe.
Currently, the console shows all adapters that are loaded. This includes the default adapters for WebControl- and others. These default adapters are not really relevant to show for regular operations and clutters the interface.
Describe the solution you'd like
I think these adapters should be hidden by default, and should only become visible when setting a toggle on the console.
Maybe this can be an attribute on the adapter, although it is not really necessary to hide adapters other than the default ones.
Describe alternatives you've considered
N/A
Additional context
N/A

Once we remove the old GUI all those adapters will disappear!

It is now possible to turn off the struts console by setting strutsConsole.enabled=false.
Does this solution work for you?

Yes, that will work for me.


Can't switch to non-active tab

Trying to use this extension simply for the tabs, not necessarily because I want to combine it with code highlighting.  Not sure if that matters, but thought I'd mention it.  I should also mention I'm using the Material theme.
This is what I have:
```redhat fct_label="RedHat"
something about redhat
```
```centos fct_label="CentOS"
something about centos
```
I'm seeing the tabs and they seem to have correctly generated links with anchor tags like:
https://....page#tab-0-redhat
https://....page#tab-0-centos
But when I click on a non-active tab it doesn't become active.  I've looked at the generated HTML and it looks good:

        RedHat

        CentOS

something about redhat

something about centos

Am I doing something wrong?

it seems like the #10 issue. i should add it to the doc 😅

Agree with you, the best solution is to include it. I'll try to work on it this week end :).

@otisg now with the new version the default template needs only CSS to works.
take a look to the new docs :).
I ll close this issue :)


Open in read-only designer

I'll add animated GIF's demonstrating this and the new monitoring view to the README before merging.


Need for an output_root directory

In recent CONUS baseline testing, it is realized that a specific sub-directory is needed to store the ngen output data files, which count to over a million. Current form of realization files writes these files to project directory, which makes working in the directory extrmely incovennient. For example, a simple ls command takes many minutes to complete. Then you cannot spot the file you are looking for. In general, such situation would arise for any relatively large basin.
Code exists that accommodate this. But requires the user to create the sub-directory in advance, otherwise, it default to project directory. A updated version of the code added a safety feature for case the user forget to create the needed sub-directory.
To alleviate the problem, all current realization files need to add the following line:
 "output_root": "./output_dir/"
at the top level of the realization json tree. That will make ngen to write all the output files to ./output_dir. You are free to choose your own favorite name instead of "output_dir". At the time of this writing, if you forget to create ./output_dir/ in advance before running, the default output directory is the project directory.
The updated code (to be merged) throws an error if you do not created the output_root before starting ngen to remind you to create the subdirectory before things get messy. It may require all updated realization to be merged first.
Current behavior
Large amount of output files when running ngen for CONUS or any large basin.
Expected behavior
Output files are written to a user specified directory to keep the project directory clean.
Steps to replicate behavior (include URLs)

Running ngen in framework for a relatively large basin

Screenshots

Once #744 this should no longer be an issue.

Should have mentioned #744, but this gives more complete description with
proposed solutions.
On Thu, Jul 18, 2024 at 12:27 PM Austin Raney @.***>
wrote:

Once #744 https://github.com/NOAA-OWP/ngen/pull/744 this should no
longer be an issue.
—
Reply to this email directly, view it on GitHub
https://github.com/NOAA-OWP/ngen/issues/857#issuecomment-2237128246, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACA4SRMMRJREDBWY24Y3UDDZM73JPAVCNFSM6AAAAABLDB6R5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZXGEZDQMRUGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

@aaraney Will #744 also enable a user to change the name of the output files?

@SnowHydrology, not the output file name, the output directory name.

@SnowHydrology, @program--'s write up about the feature is great and should get you up and going.

@SnowHydrology, correct.

Closed via#855.


Search page not working

I'm testing out this plugin. It works really well except on the search modal, when you click "see all results," you are taken to a page that appears to not work. If you type anything on this page in the search box, nothing is returned whereas the nav bar version works.

Is this a known issue?
In the meantime, would it be possible to hide this option?

Here is my draft site: https://psdocs.netlify.app
yarn list:
yarn list v1.22.17
├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>
node version: v16.13.2
Thanks!

I had algolia added to docusaurus.config.js which was causing issues. All set! May be worth adding to the readme that this conflicts with your plugin.

i met the same issue, has no query result  only on page /search?q= ,
i used the preset-classic theme ,didnt config anything about algolia
how did you solve your issue?


Render-props APIs

Description
Adds two new APIs using the render-prop pattern. This has many benefits over the HoC approach.
Example
<FelaComponent
  rule={...}
  render={({ className, children }) => (

{children}

  )
/>

<FelaTheme
  render={theme => (

The theme is {JSON.stringify(theme)}

  )
/>

Versioning

Major
Minor

fela-bindings
react-fela
inferno-fela
preact-fela

Patch
Checklist
Quality Assurance

You can also run yarn run check to run all 4 commands at once.

[x] The code was formatted using Prettier (yarn run format)
[x] The code has no linting errors (yarn run lint)
[x] All tests are passing (yarn run test)
[x] There are no flow-type errors (yarn run flow)

Changes
If one of the following checks doesn't make sense due to the type of PR, just check them.

[x] Tests have been added/updated
[ ] Documentation has been added/updated
[x] My changes have proper flow-types

Closing in favor of the release branch.


Park names of old records in exported reports still show outdated park names

Scenario:

navigate to the A&R on PROD: https://attendance-revenue.bcparks.ca/
Navigate to the Export report page and export the general report and check the park names.

Issue:

Some park names show both new and old park names for records in different years.

Eg: Orcs -> 3883, check for the park name in the 2022 records and 2023 records.

@manuji I think we can remove this one now right? the 3883 issue was due to a data issue not system.

Agreed, we can close this issue.


log_analyzer crash

The OPUS log analyzer is crashing when creating the session files for 12/2023. All logs and manifests are in Dropbox.

On Mon, Apr 1, 2024 at 9:42 AM Robert French @.***>
wrote:

Assigned #1352 https://github.com/SETI/rms-opus/issues/1352 to @fyellin
https://github.com/fyellin.
—
Reply to this email directly, view it on GitHub
https://github.com/SETI/rms-opus/issues/1352#event-12312986061, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABC2LIJ5FGRBSFRSW7CJ3YTY3GE67AVCNFSM6AAAAABFR3TWOOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGMYTEOJYGYYDMMI
.
You are receiving this because you were assigned.Message ID:
@.***>

python log_analyzer.py --cronjob-date 2023-12 --html --dns `cat /opus/src/pds-webserver/opus_servers/cron_files/log_analyzer_ignore_ip.txt` --sessions-relative-directory "../../.sessions/%Y/%Y-%m" -o "/tmp/log_analyzer_results_temp_refresh/logs/%Y/OPUS-log-analysis-%Y-%m.html" --manifest "/Volumes/opus/shared/manifests/*%Y-%m*" "/Volumes/opus/shared/apache_logs/tools_access_log-%Y-%m-%d" "/Volumes/opus/shared/apache_logs/tools2_access_log-%Y-%m-%d"

The bug is that we assumed that the volume name for a manifest entry was alphanumeric.  Starting in December, it seems that the volume names could contain periods and hyphens.  The regexp used turned out to be bogus for other reasons, too.
The simplest solution is to replace the regexp with PosixPath, which knows how to parse Unix path names correctly.

Nothing changed in the past year. What volume names are you seeing that are not alphanumeric?

/volumes/HSTUx_xxxx_v1.0/HSTU0_9344/DATA/VISIT_06/U6LG0609M.ASC

Ah. OK that's always been true. I guess no one ever tried to download something from a previous version of a volume before.


Unity: Unable to find NatShare

We get an error that the dll can't be found. Can you help us out?

Android API level 24

2021-03-15 22:37:50.798 4667-4897/com.twosixsevenindustries.product E/Unity: DllNotFoundException: Unable to load DLL 'NatShare': The specified module could not be found.
at NatSuite.Sharing.Internal.Bridge.CreateSharePayload (NatSuite.Sharing.Internal.Bridge+CompletionHandler completionHandler, System.IntPtr context) [0x00000] in <00000000000000000000000000000000>:0
at System.Func3[T1,T2,TResult].Invoke (T1 arg1, T2 arg2) [0x00000] in <00000000000000000000000000000000>:0        at NatSuite.Sharing.Internal.NativePayload..ctor (System.Func3[T1,T2,TResult] payloadCreator) [0x00000] in <00000000000000000000000000000000>:0
at NatSuite.Sharing.SharePayload..ctor () [0x00000] in <00000000000000000000000000000000>:0
at UnityAndroidOpenUrl._267IndustriesShare+d__1.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
at System.Array.UnsafeStore[T] (T[] array, System.Int32 index, T value) [0x00000] in <00000000000000000000000000000000>:0
at UnityAndroidOpenUrl._267IndustriesShare.SharePdf (System.String filename) [0x00000] in <00000000000000000000000000000000

Thanks! I will use the version from GitHub then.


example Makefile misconfigured

Hello,
I just git clone this repository and wanted to compile the examples. However, upon using make, I was faced with these error messages:
make: *** No rule to make target 'image_raw_importer/image_raw_importer', needed by 'all'.  Stop.
make: *** No rule to make target 'scroll_panel/gui_scroll_panel', needed by 'all'.  Stop.
make: *** No rule to make target 'text_box_selection/textbox_extended_demo', needed by 'all'.  Stop.

I each time solved these by changing the names to those of the associated directories and files inside the Makefile, but I am unsure whether this is normal behaviour or not.

@Hasdan This Makefile is not updated, feel free to chnage it and send a PR.

Hello,
I sort of forgot to check here since yesterday. ^^'
However, some examples are no longer compatible with the last version of raylib, for example
controls_test_suite/controls_test_suite.c: In function ‘main’:
controls_test_suite/controls_test_suite.c:132:35: warning: implicit declaration of function ‘LoadDroppedFiles’; did you mean ‘ClearDroppedFiles’? [-Wimplicit-function-declaration]
  132 |             char **droppedFiles = LoadDroppedFiles(&dropFileCount);
      |                                   ^~~~~~~~~~~~~~~~
      |                                   ClearDroppedFiles

I may change them this week if I find time, but I'm not sure I will.

raylib was changed yesterday with examples, they are ACTUALLY compatible with latest version of raylib from github master branch.


Create a Config Driver

What
Instead of relying on a provider api you can manually create a config file that lists available ips of vms you want beacon to communicate with. For example all you have to do is drop a config.json into the running directory of Beacon and it will take care of the rest for you. A simple  config.json can look something like this.
[
    "<IP_ADDRESS>",
    "<IP_ADDRESS>"
]

Left a comment.  Otherwise +1

+1


Edited windows-setup-guide Images are embedded now

Images are visible inside of windows-setup-guide

awesome thank you!


Implement X509_V_ERR_ACCESS_DENIED

CLA: trivial
The TLS error alert access_denied is defined since TLS 1.0. This implementation
gives applications the chance to return this error, e.g. from a certificate
verification callback, by setting X509_V_ERR_ACCESS_DENIED.

Checklist

[x] documentation is added or updated
[ ] tests are added or updated

This is definitely not a CLA: trivial contribution. Please submit a CLA. https://www.openssl.org/policies/cla.html
Also as this is a new feature this needs to be submitted against the master branch.

Well, too bad. Maybe someone else can come up with the same idea, then, but filing papers for one #define and one array addition is too much effort.

I am sorry for that, unfortunately there is no way around. I can only add that filling the paper, scanning it and e-mailing it would enable you to submit also other substantial contributions to OpenSSL.


[DO NOT MERGE] Pin deepspeed

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[Bug] GPT-3.5 Expenses Without Reason GPT-3.5 无故消耗

Bug Description
模型类型选择的是GPT-4，但是GPT-3.5也跟着产生了微小的消耗
如下图所示，GPT-3.5的费用大致跟随GPT-4的费用，但是量很少
The model type selected is GPT-4, but GPT-3.5 also produces a small consumption.
As shown in the figure below, the cost of GPT-3.5 roughly follows the cost of GPT-4, but the amount is very small.

Steps to Reproduce
No errors.
Expected Behavior
选择GPT-4的时候，GPT-3.5不产生消耗
When GPT-4 is selected, GPT-3.5 does not generate costs.
Screenshots
No response
Deployment Method

[ ] Docker
[x] Vercel
[ ] Server

Desktop OS
Windows 11 and macOS
Desktop Browser
Chrome
Desktop Browser Version
123.0.6312.58
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response

Just turn off these two options.
关掉这两个选项即可。

@chesha1 NextChat using GPT3.5 to generate chat titles, as @QAbot-zh mentioned, you can disable them in settings.

由于现在gpt-4o-mini更加便宜，可以在constant.ts中设置export const SUMMARIZE_MODEL = "gpt-4o-mini";
Since GPT-4o-mini is now cheaper, you can set export const SUMMARIZE_MODEL = "gpt-4o-mini"; in constant.ts.


Add automation support in this control

Hi,
I am trying to automate the application which have the your ribbon control and this is not being identified by automation tool like (UFT and UI automation etc). so after analysis, we have found that this control doesn't support the automation. please add the support for automation

Hi,
sorry for the late answer, but somehow I don't get notifications sometimes, so I didn't saw this until now.
As you might have probably noticed, this repo contains a fork of a project elsewhere. I didn't wrote the code, I don't understand most of it, I just fixed a few minor bugs, where I found them. Since I'm not using the Ribbon anymore, I don't plan to work on it, but feel free to fork or copy this repo, and implement automation, if you still need this.


Installation process fails when Hammerspoon is already installed

Hi,
I attempted to install ControlEscape.spoon, following the steps explained in the site. Then, the process generates an error at the stage of script/setup with the following error message in Terminal:
brew bundle can't satisfy your Brewfile's dependencies.
Satisfy missing dependencies with `brew bundle install`.
Using caskroom/cask
==> Satisfying dependencies
==> Downloading https://github.com/Hammerspoon/hammerspoon/releases/download/0.9.55/Hammerspoon-0.9.55.zip
Already downloaded: /Users/Tetsu/Library/Caches/Homebrew/Cask/hammerspoon--0.9.55.zip
==> Verifying checksum for Cask hammerspoon
==> Installing Cask hammerspoon
Error: It seems there is already an App at '/Applications/Hammerspoon.app'.
Error: Install incomplete.
Installing hammerspoon has failed!
Homebrew Bundle failed! 1 Brewfile dependencies failed to install.

Entering hs.loadSpoon("ControlEscape") in init.lua also generates an error.
Can you suggest what to do next?

Hammerspoon 0.9.55 is installed.
osMac Sierra 10.12.6

...
==> Installing Cask hammerspoon
Error: It seems there is already an App at '/Applications/Hammerspoon.app'.
Error: Install incomplete.
Installing hammerspoon has failed!
Homebrew Bundle failed! 1 Brewfile dependencies failed to install.

I'm guessing that this failure ☝ is due to Hammerspoon being installed manually (i.e., not installed via homebrew) prior to running script/setup. Can you try dragging /Applications/Hammerspoon.app to the trash and re-running script/setup?

Note: Ideally, script/setup would gracefully handle the scenario where Hammerspoon has already been manually installed. Instead of aborting the setup process, it should just keep going. If anyone knows of a way to tell homebrew to try to install the Hammerspoon cask, but keep going if Hammerspoon is already installed, I'm all ears. 😅

Thanks. I followed your instruction, and installation finished without problem with a message in Terminal:
brew bundle can't satisfy your Brewfile's dependencies.
Satisfy missing dependencies with `brew bundle install`.
Using caskroom/cask
Installing hammerspoon
Homebrew Bundle complete! 2 Brewfile dependencies now installed.
No matching processes belonging to you were found

Hammerspoon version 0.9.54 or greater required. Actual installed version:
hammerspoon: 0.9.55

Done! Be sure to verify your version of Hammerspoon above. If your version is older than 0.9.54, run 'brew update && script/setup' to install a compatible version.

Running script/setup, Hammerspoon has been updated to 0.9.56.
Adding hs.loadSpoon("ControlEscape") in init.lua does not generate an error.
However, tapping Ctrl alone does not give Escape.
I checked it using MacVim and Karabiner-EventViewer.

Thanks for following up.

Adding hs.loadSpoon("ControlEscape") in init.lua does not generate an error.

If installation succeeded fully, your ~/init.lua file should include this line:
hs.loadSpoon('ControlEscape'):start() -- Load Hammerspoon bits from https://github.com/jasonrudolph/ControlEscape.spoon

If that line is not in your ~/init.lua file, please add it and restart Hammerspoon.
If that resolves the issue for you, great! If not, please share the contents of your ~/init.lua file, and I'll try to help you figure out what's going wrong.

It worked! Thanks for your help (^_^)

It worked!

Excellent! Thanks for letting me know. 🍰


Creating a required OneToMany in the "Many" part.

If I create the example:
entity Owner {}
entity Car {}
relationship OneToMany {
  Owner{car} to Car{owner}
}

Jhipster creates Entities for Owner and Car, and I can create Cars without owner.
Is it possible to specify that the owner is required with JDL?
In the Entities annotations, I see that a ManyToOne is created for the Car Entity. I guess I would like that this relationship has (optional=false)  next to the declaration, and that Jhipster automatically cares of the front-end code validation.

Hello, you're not the first one who asked for this. We could add this for JHipster UML and the JDL if JHipster implements it.
Le 14 avril 2016 22:06:05 GMT+02:00, marcosmoreno<EMAIL_ADDRESS>a écrit :

If I create the example:
entity Owner {}
entity Car {}
relationship OneToMany {
 Owner{car} to Car{owner}
}

Jhipster creates Entities for Owner and Car, and I can create Cars
without owner.
Is it possible to specify that the owner is required with JDL?
In the Entities annotations, I see that a ManyToOne is created for the
Car Entity. I guess I would like that this relationship has
(optional=false)  next to the declaration, and that Jhipster
automatically cares of the front-end code validation.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jhipster/jhipster-domain-language/issues/8

--
Mathieu ABOU-AICHI

Thank you @MathieuAA . I created the feature request in the generator-jhipster.
Just some info: when I just add the annotation @NotNull to the @ManyToOne field and try to add a registry to the Car entity without selecting the Owner, jhipster behaves exactly as I wanted, as it tells that the field cannot be empty (jhipster 3.0).
This means that jhipster is already taking care of it, at least the bit of inserting with the entities front end. Is then just missing that the jhipster:import-jdl includes the capability of adding the @NotNull to the @ManyToOne annotation when "something" is parsed in the JDL? Or might be some unexpected consequences somewhere doing this?

@MathieuAA  would the fix in the referenced generator issue suffice for adding this to the Jhipster UML? Like adding  to the JDL in the relationships declaration?

The support is added in JHipster but we have to do some work to make it
work in JDL so it will take some more time based on our availability to
work on this.
Thanks & Regards,
Deepu
On Fri, May 6, 2016 at 5:47 PM, marcosmoreno<EMAIL_ADDRESS>wrote:

@MathieuAA https://github.com/MathieuAA would the fix in the referenced
generator issue suffice for adding this to the Jhipster UML? Like adding to
the JDL in the relationships declaration?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/jhipster/jhipster-domain-language/issues/8#issuecomment-217399625

It's easily done... I'll see about doing it today or tomorrow.

Closed as it has been added (see #22).


Field type selector default value causes a bug

Hi, I encountered several issues with selector field.

When you put default value for field type selector (i.e : 'default' => 'Choose'), it causes a bug and settings are not visible anymore. (It's written in documentation by the way)
If you remove the default value, it automatically takes the field label instead of a generic or blank default value. (Not a problem if first point is corrected in my opinion)
Then, if you select a category for example, it's impossible to remove it

Thank you!

I see, it could be great to have a 'delete' option or something else.
For the matching, i'll make some test. Do you have an exemple to give me for testing please ?


Grabbing Specific Image Size

I'd like to this plugin, because it seems like it's the most robust among jekyll + imagemagic, but there seems to be no simple way of processing/grabbing a single image size.
/assets/image1.jpg
-> /assets/resized/400/image1.jpg
-> /assets/resized/800/image1.jpg

It seems like including it in extra_images inside of _config.yml might work, but I don't want to have to define every image there, when I'm already going to be typing it in my html.
Any ideas on how to make it work simpler? I don't really need an array of sized images.

There's not currently a nice way to do this... The intention of the plugin is really that you use all of the image sizes to implement responsive images.
You could probably get a single size like this, though:
{% for i in resized %}
    {% if i.width == 400 %}

    {% endif %}
{% endfor %}


goreporter mac os cannot find  err

run command :goreporter -p ./ -r ./goreporter/
we run tools  find error :`
.//fmterr.go:6: Printf format %d has arg str of wrong type string
.//log/dev.go
.//log/encode.go
.//log/jsonstring.go
.//log/log.go
.//main.go
.//monitor/monitor.go
.//monitor/monitor_test.go
.//test.go
vet: .//test.go: .//test.go:2:5: expected declaration, found 'IDENT' sfdasfasdfsdfjl
but run : goreporter -p ./ -r ./goreporter/   cannot find :
install command : go get -u github.com/360EntSecGroup-Skylar/goreporter
anything env need ?

E0806 15:10:55.713447   11643 depend.go:81] failed to import ./: no buildable Go source files in /usr/local/opt/go/libexec/src/vendor

Sorry for later reply. But I don't understand what you mean. What is the difference between these two commands?


Question: should charts be mutable?

Repository index.yaml files contain a digest (hash) for a package. This works with provenance.
But, nothing stops an index.yaml file from updated to a new hash for a version and an updated package at the same version that matches. There's no checking or, and please correct me if I'm wrong, tracking of the hash for a version of a package.
I know systems like npm enforce immutable packages. For example, the npm documentation notes...

Once a package is published with a given name and version, that specific name and version combination can never be used again

Debian has notes such as:

It should be possible to reproduce, byte for byte, every build of every package in Debian.

and...

Packages should build reproducibly, which for the purposes of this document [20] means that given

a version of a source package unpacked at a given path;
...

My consideration comes to security (you can check hashes/changes to hashes) and reproducibility (install the same chart in multiple environments... for testing, debugging, dev/test/prod workflows, etc).
Should charts be mutable or immutable?
cc: @kubernetes/charts-maintainers as you might be interested

My view is that a chart+version should be immutable, and any system that formalizes tracking of packages may comfortably proceed accordingly. (The provenance system was designed for this scenario and will NOT work in a mutable environment). More specifically, when foo-1.2.3.tgz is released, that version string is forever allocated to the snapshot of the contents of that file. If a package maintainer discovers that 1.2.3 has a fatal flaw, the solution is to release foo-1.2.4 (or 1.3.0, or whatever).
This is also why it is an operational error to modify the values.yaml file inside of a chart with specific configuration for your installation. You should supply an external values.yaml that overrides the in-chart version. The in-package values.yaml is the default configuration, and modification of that constitutes a new version of the package.
Helm itself does not track state changes of helm index files and so on (neither, for that matter, do the apt-get, brew, npm, etc. toolchains). Enforcing immutability is an attribute of the chart release process for any given chart publisher.
Our view of this is not arbitrary. It's our best interpretation of the way other major packaging systems (such as Apt) work.

Continuing the immutability topic -
Is it a good idea not to expose docker image tags as part of values.yaml? Exposing docker image tag as part of values.yaml means that a different version of a docker image can be deployed compared to what's specified as part of a chart. Traceability is lost and from a deployment perspective, it's not immutable.
It probably makes sense to specify docker image tags as part of values.yaml when the charts are being developed, but once the charts are final and published, then the flexibility of changing the docker image tag should be removed in favor of traceability.

Interesting thoughts @ankushchadha, the main reason we decided to make image tags configurable is in cases where I want to point to a mirrored image in a private registry instead of the public one.

@ankushchadha I think we need to distinguish between immutability and configurability. The way you see it, no chart would be immutable because it can always be configured somehow. Even hard-coding the image tag may not help because tagged images can still be updated in the registry. I think immutability should just refer to taking a has from the chart.

I agree, that we need to distinguish between immutability and configurability especially for released charts.
If a docker image changes, the app version changes. IMO, the app version should not be treated as a configuration.
From traceability perspective, the image tag part of a chart should be set to a static tag instead of a dynamic tag. The other extreme is to use digest.

I think we're getting into the difference between a chart and a chart + passed in configuration. We want charts to be immutable. But, they are configurable. To make this more complicated let's look at an example. A value set on a release of a chart might be the number of replica sets. But, I might also want an outside tool to be able to alter that (e.g., kubectl). How does all of that work?
Since charts are configurable (which is useful) I think the part that's immutable is the chart package itself. Looking for mutated version can be used to check for security issues, etc.

To close this out...
As a general rule we're recommending immutable charts.


I can't login to webmail using another domain to access nextcloud

I integrated Afterlogic Webmail with nextcloud and on nextcloud I'm using two different domains to access, when I try to login using the second domain I get the following Cookies error:
"Cookies are disabled in the browser. Please enable them for this web site and reload the page."

Looks like since recently Chrome blocks cookies within cross-domain IFrame unless they have SameSite attribute explicitly disabled. We plan to add a configuration option for that, meantime you can correct the behavior by modifying statis/js/app.js file. Locate the following code in it:
return (document.cookie = [
		encode(key), '=', stringifyCookieValue(value),
		options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
		options.path    ? '; path=' + options.path : '',
		options.domain  ? '; domain=' + options.domain : '',
		options.secure  ? '; secure' : ''
	].join(''));

and adjust it as follows:
return (document.cookie = [
		encode(key), '=', stringifyCookieValue(value),
		options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
		options.path    ? '; path=' + options.path : '',
		options.domain  ? '; domain=' + options.domain : '',
		options.secure  ? '; secure' : '',
		'; SameSite=None'
	].join(''));

You'll need to set "UseAppMinJs" to false in data/settings/config.json file for this to work (so that non-minified JavaScript is loaded instead of minified one), and clear browser cache to apply changes.

I made the change to but now the same error appears on both domains

Make sure the edit is done correctly and web browser cache is purged, that's the only suggestion I have.

Note: I'm using post method
My file static/js/app.js:
return (document.cookie = [
                               encode(key), '=', stringifyCookieValue(value),
                               options.expires ? '; expires=' + options.expires.toUTCString() : '', // u>
                               options.path    ? '; path=' + options.path : '',
                               options.domain  ? '; domain=' + options.domain : '',
                               options.secure  ? '; secure' : '',
                               '; SameSite=None'
                       ].join(''));

My file data/settings/config.json:
   "UseAppMinJs": [
      false,
      "bool"
  ],

Then restarted apache2:
service apache2 restart

Still with the same error

Try removing AuthToken cookie, by either logging out or deleting it from browser console, then log in again and see if that helps.

Issued closed due to inactivity. Feel free to reopen the issue, or open a new one, if the issue persists.

For those who found this thread and looking to resolve the similar issue: it seems setting SameSite=None will only work if Secure attribute is set - which in turn only happens if the installation is accessed over https. To make this work, you need to have both the external website and the WebMail installation accessed over https rather than http.


Improve styles of several PR features to blend in better

Fix #4771
Fix #4700
Test URLs

show-associated-branch-prs-on-fork: (Link to fork where you have PR)
list-pr-for-branch: https://github.com/NixOS/nixpkgs/commits/staging
list-prs-for-file: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix
highlight-non-default-base-branch: https://github.com/EnixCoda/Gitako/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Aclosed#:~:text=2-,Add support for showing comments associated with files,-%23136 by flowforfrank
git-checkout-pr: here

Screenshot
Before:

After:

Before:

After:

Before (caret removed for demonstration purpose):

After:

Before:

After:

Before:

After:

Can you make some kind of reusable function that can be used for list-pr-for-branch. The icons are not correct there too.

I just noticed a mistake I made.
https://github.com/sindresorhus/refined-github/blob/e5149b1160e1f9056649dfe6bd7bf9dc079a947e/source/features/list-pr-for-branch.tsx#L38-L40
Can you remove the return false? (This is just for logging purposes)

show-associated-branch-prs-on-fork: (Link to fork where you have PR)

Please include a test link, I don’t think the feature depends on the current user.
Anyway I tried it here and it doesn't look like it's working:
https://github.com/bfred-it-org/github-sandbox/branches

It shows the local PR: https://github.com/bfred-it-org/github-sandbox/pull/1
Not the PR in the upstream repo: https://github.com/fregante/github-sandbox/pull/8

Also, wow, the API is slow on https://github.com/NixOS/nixpkgs/commits/staging
The button appears a few seconds later:

Also, wow, the API is slow on NixOS/nixpkgs@staging (commits)

nixpkgs is a large repo (with thousands of open PR and hundreds of thousands commits), that's expected.

Please include a test link, I don’t think the feature depends on the current user.

The changes are developed on https://github.com/kidonng/refiend-github, using my own PRs. I'm not sure how should I provided a publicly testable link.

Anyway I tried it here and it doesn't look like it's working:
bfred-it-org/github-sandbox/branches

Perhaps it doesn't work on orgs.

Please include a test link, I don’t think the feature depends on the current user.

The changes are developed on kidonng/refiend-github, using my own PRs. I'm not sure how should I provided a publicly testable link.

That page works for me too, so that's the publicly-testable link that should be added to the first post, even if it's not permanent:  https://github.com/kidonng/refined-github/branches
You could also fork https://github.com/fregante/github-sandbox and open a permanent PR if you'd like, but that's not required.

Thanks for the PR! It works great.
I opened an issue for the possible organization bug: https://github.com/sindresorhus/refined-github/issues/4822


Fallback to background color when background image not found

Confirms if the background image was actually loaded and logs a warning if not.
If no asset exists for a background image, fall back to background color.
Tested by having a background image where hyprlock expects it. Background is rendered properly. Deleted the background image from disk and hyprlock reverts to background color. Deleted background color in config and hyprlock reverts to default color.
Fixes #45
Disclaimer: I haven't written any C++ code since I was in college 20 years ago so please review this.

Now it only checks if the image file exists. If it does not, it assigns an empty resource ID allowing immediate drop to background color fallback instead of attempting a pointless asset lookup.
This won't protect against corrupt images or JPEGs pretending to be PNG files but why would someone do that for their lockscreen, they'd only be hitting themselves.
Cairo still tries to load the file that isn't there but I guess it doesn't actually care if the load succeeded or not and OpenGL doesn't seem care if it gets nothing for data and creates an empty texture. You're still paying for some empty buffers but fixing that can wait for a refactor of the resource system.
I typed my login password so many times while working on this I can no longer type it properly.

I typed my login password so many times while working on this I can no longer type it properly.

general:grace = 1000 and any mouse movement will unlock xd

This won't protect against corrupt images or JPEGs pretending to be PNG files but why would someone do that for their lockscreen, they'd only be hitting themselves.

What if, we generate the asset, but attach a flag failed or something to indicate it failed generating

Again give it a good look over if you could. I'm a Rust cultist and not having the borrow checker to slap me around when I'm playing dangerous with derefs makes me feel like I'm doing a Tom Cruise stunt with no harness.

ye uhm oops I kinda uhh conflict hehe

lol, your last few commits invalidated my reason for doing this anyway and much more elegantly. blurry screenshots are a go

Recent changes has made this PR no longer necessary. Thank for all your work @vaxerski, I don't know where you find the energy.

Recent changes has made this PR no longer necessary. Thank for all your work @vaxerski, I don't know where you find the energy.

me neither


Current page index bug fix for vertical scrolling..

Bug Details: currentPageIndex is always 0 if the scrolling directions is set to vertical.

Thanks @bilalbhutta!


Fix: Tests with local trevor

at present travis.yml includes v5 v6 v8
this repos don't exist in global node namespace of docker they are called 6 5 4

we should refactor the travis build to use docker also !
https://docs.travis-ci.com/user/docker/

travis.yml expects v and yeah with docker support something like trevor for local testing will be useful.

We only need to change the travis yml i will assign that to my self then the build works online with docker and offline no changes needed

Should be okay now.


randomFloat() does not always return a float

Summary
When using $faker->randomFloat(), sometimes an int is returned.
Versions

Version

PHP
any

fzaninotto/faker
1.9.2

Self-enclosed code snippet for reproduction
$faker = Faker\Factory::create();

$value = $faker->randomFloat();

assert(is_float($value));

Expected output
No issues in all cases.
Actual output
Fails randomly.
💡 This can likely be solved by using appropriate return type declarations in next or casting the value to a float before returning it.

@localheinz are you sure the problem you had came from randomFloat()?
The git history shows that this function always directly returns the result of round(), and round() can only return a float: https://3v4l.org/Y0Oi3
I've also tried to reproduce the problem with the script below but I only got floats:
<?php
require_once 'vendor/autoload.php';

$faker = Faker\Factory::create();

do {
    $value = $faker->randomFloat();
} while (is_float($value));

var_dump($value);

@localheinz I wonder did you used echo or something else to print it?
If randomFloatreturn a value just like 1.00 and you use echo it will seem like a int value
Just like
$lookLikeIntValue = round(0.285*100 + 0.5,0);
echo $lookLikeIntValue; //29


Automatically update requirements.txt file

Automatically updates the requirements.txt file using Github Actions when a pull request is made.
Authors do not need to update the requirements.txt file anymore.
Minimum package versions were specified for packages in setup.py which did not have any version specified previously. This helps reduce time spent by pip dependency resolver in backtracking.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Adaickalavan:x: github-actions[bot]You have signed the CLA already but the status is still pending? Let us recheck it.


decimal128 TypeNotSupported

Hi! My dataset contains decimal128(38, 9) columns.
pgpq fails to initialize the encoder:
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: TypeNotSupported { field: "FIELDNAME", tp: Decimal128(38, 9), msg: "unknown type" }', py/src/lib.rs:35:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
  File "/root/migration/load.py", line 217, in <module>
    load_parquet_to_postgres(
  File "/root/migration/load.py", line 181, in load_parquet_to_postgres
    _load_pgpq(tbl_directory, table_name)
  File "/root/migration/load.py", line 165, in _load_pgpq
    encoder = ArrowToPostgresBinaryEncoder(tbl.schema)
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value: TypeNotSupported { field: "FIELDNAME", tp: Decimal128(38, 9), msg: "unknown type" }

The error should be much cleaner (in particular without the panick) but the point still holds: pgpq doesn't support Decimal. I think it's theoretically possible to support by converting to Postgres' NUMERIC type, however, I haven't implemented that yet. I can look into it next time I have some time, but PRs are welcome in the meantime.
A workaround you could use would be to convert it to a Utf8 column before passing into pgpq, copying to a temporary table and then doing an INSERT INTO real_table SELECT thecolumn AS NUMERIC FROM temp_table or something like that.

Just ran into the samme error >>> encoder = ArrowToPostgresBinaryEncoder(dataset.schema) thread '<unnamed>' panicked at 'called Result::unwrap()on anErr value: TypeNotSupported { field: "length", tp: Decimal128(5, 1), msg: "unknown type" }', py/src/lib.rs:35:10 . I thought there was a 1-1 relation between decimal and numeric just by looking at the definition. Would be great if you found time to support it, I wish I could conribute but I can't punch my self out of a wet paper bag when it comes to Rust.

I’ll look into it when I have time, I just can’t promise any timeline.
In the meantime, does the workaround I listed above help you?

No problem @adriangb I just changed the source datatype as I had just transformed the inputdata.

Hey @adriangb ! How are you doing? Thank you very much for sharing this library. I've trying to import a parquet file into a PostgresDB and comparing with the CSV way, and the difference in time is crazy. Congrats!
In the other hand, I also find out these open issue but the suggestion you posted last year doesn't work for me, so I am thinking to implement the Decimal support.
Can you give  me some hints / advices on where to start and what to have in mind? I have almost 0 experience with Rust but it's always a good time to learn something new.
Thank you very much in advance!


add http-invoker setting for Undertow server, conflate host setting f…

…orms
@hpehl I was checking HAL-1334 and noticed one of the settings was missing in hal.next. Anyway, is there a point in implementing this RFE in HAL 2.9.x at this point?

Thanks for the contribution!
I don't think it makes sense to implement this in HAL 2.9.x. I hope we can switch to HAL.next in the near future. We make steady progress and have something around 75% of the features already migrated to HAL.next.


Draft blog post recapping design sessions and NDoCH

Posted on website and on social media http://bit.ly/2MPH6t6


Consider a new versioning scheme that includes bokeh's version

Currently bokeh-scala's version number is unrelated to bokeh's version, so in fact two versions have to be carried along. Maybe we should switch to something like bokeh's_version-rN, where N would be an integer, e.g. for bokeh 0.7.1, this would be bokeh-scala 0.7.1-r3 (r3,  because 0.3 is the version in the current scheme). One thing we shouldn't do is to make bokeh's and bokeh-scala's version exactly the same, because it should be possible to release bokeh-scala (e.g. with bugfixes exclusively related to Scala) in between bokeh's releases.

Hi Matt,
First off, great job here! I was also wondering about this versioning system. Any idea if the latest bokeh-scala is still fine with the bokeh release 0.11.* ?


Add new statements and extend functionality

This change introduces following statements:

random_client_ip(iface) - return random IP from network
interface that name matches provided pattern. Can be used
to mitigate TCP limitation on number of open conenctions.
publish_to_one(prefix, client_id, payload, qos) - publish
a message to the topic combined from prefix and client id.
forward(prefix, qos) - forward received messages to topic
combined with prefix and a client id of message sender. It
assumes that message was published to the topic which ends
with client id (see publish_to_one).
idle() - do nothing with received messages.

@p3we Thanks for your PR!
I'll look into it as soon as possible.


provide url with coordinates to pass on image

Is there any way to pass on the map with drawn circles on it ? saving it ? by coordinates + poly ? or by copy pasting the image ( html 5 data img ) ?

This would be really helpful.

Could someone provide an example of passing these arguments? I tried what I thought should work ("http://obeattie.github.io/gmaps-radius/index.html?r=100&u=nm&lat=41.6081111&lng=-88.0961944") but it had no effect.

This should now be fixed. The link example you posted above now works 😄


Add codeFlows sample.

Validates, renders in all three viewers.

I messed up the branch, need to start again.


Document the code of LOG$ and T_LOG_MESSAGE_RESOLVER

Create PL/DOC documentation for all public methods;
Provide full description of the package idea and usage;
Write as much inline comments as possible to document the idea behind the implementation.

https://github.com/svinniks/oraspect/issues/3 duplicate


Integration doesn't work on a IPv6 enabled network

Describe the bug
The integration seems to fail while connecting to my Google mines. It doesn't seem to form the URLs properly when encountering IPv6 addresses.
A manual CURLing with
curl -kv https://[2001:9b1:35f8:3700:4607:bff:feab:9091]:8443/setup/assistant/alarms/volume
seems to connect fine. So the bug is probably in the URL handling where it needs to add [ and ] around the IPv6 address and before the port number.
Version of the integration
If you are unsure about the version check the github release here.

Add version here.

Logs

Logger: custom_components.google_home
Source: custom_components/google_home/api.py:479
Integration: Google Home (documentation, issues)
First occurred: 09:30:47 (30 occurrences)
Last logged: 09:30:47
Request from Kök Mini device error: https://2001:9b1:35f8:3700:4607:bff:feab:9091:8443/setup/assistant/alarms/volume
Request from Kök Mini device error: https://2001:9b1:35f8:3700:4607:bff:feab:9091:8443/setup/assistant/notifications
Request from Husvagn Mini device error: https://2001:9b1:35f8:3700:2f6:20ff:fe46:8f16:8443/setup/assistant/alarms
Request from Husvagn Mini device error: https://2001:9b1:35f8:3700:2f6:20ff:fe46:8f16:8443/setup/assistant/alarms/volume
Request from Husvagn Mini device error: https://2001:9b1:35f8:3700:2f6:20ff:fe46:8f16:8443/setup/assistant/notifications
Add your logs here.

Should be fixed in https://github.com/leikoilja/ha-google-home/releases/tag/v1.10.1 @revellion please install the latest version and try again.

Installing and testing


Centos6 package: broken glibc dependency

# service hubble start
Starting hubble
/opt/hubble/hubble: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /opt/hubble/hubble-libs/libz.so.1

Default CentOS 6.9 has glibc 2.2 installed
Installed Packages
Name        : glibc
Arch        : x86_64
Version     : 2.12
Release     : 1.209.el6_9.2
Size        : 13 M
Repo        : installed
From repo   : updates
Summary     : The GNU libc libraries
URL         : http://sources.redhat.com/glibc/
License     : LGPLv2+ and LGPLv2+ with exceptions and GPLv2+

Proposed solution:
https://unix.stackexchange.com/questions/176489/how-to-update-glibc-to-2-14-in-centos-6-5

Thanks for testing centos 6.
I don't get the same result, though.
In my case:
# rpm -qa |grep glibc
glibc-common-2.12-1.209.el6_9.2.x86_64
glibc-2.12-1.209.el6_9.2.x86_64

Which rpm did you use for centos 6? As of this moment rpm for centos 6 isn't uploaded yet, but the Dockerfile is available here
and produces an rpm:
# /opt/hubble/hubble -v grains.item osfinger
{'osfinger': 'CentOS-6'}

My confusion I saw
https://github.com/hubblestack/hubble/releases/download/v2.2.0/hubblestack-2.2.0-1.al1609.x86_64.rpm

and thought that was el609 not al609 for Amazon Linux. The install from source works fine. I will wait for the el609 rpm build or build it myself