mongod.service fails to start, causes shutdown

Hi,
I'm trying to migrate from the previous version to :16. I've changed the folder structure and added the version file; then, when starting up the container, I see that mongod.service fails. That in turn causes systemd to wait a minute and then shut down the container. Any ideas what might go wrong here?
I'm using a fairly standard docker-compose file. Added caps are SYS_ADMIN and NET_ADMIN, tty is set to true, /run is tmpfs, /etc/localtime and /sys/fs/cgroup are mapped readonly.
Feb 10 00:01:24 mail systemd[1]: Starting High-performance, schema-free document-oriented database...
-- Subject: Unit mongod.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mongod.service has begun starting up.
Feb 10 00:01:25 mail mongod[989]: about to fork child process, waiting until server is ready for connections.
Feb 10 00:01:25 mail mongod[989]: forked process: 1106
Feb 10 00:01:25 mail mongod[989]: ERROR: child process failed, exited with error number 100
Feb 10 00:01:25 mail systemd[1]: mongod.service: control process exited, code=exited status=100
Feb 10 00:01:25 mail systemd[1]: Failed to start High-performance, schema-free document-oriented database.
-- Subject: Unit mongod.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mongod.service has failed.
--
-- The result is failed.
Feb 10 00:01:25 mail systemd[1]: Unit mongod.service entered failed state.
Feb 10 00:01:25 mail systemd[1]: mongod.service failed.

oh my bad, I just now noticed the ERROR in the log:
2017-02-10T00:14:26.611+0100 [initandlisten] ERROR: Insufficient free space for journal files
2017-02-10T00:14:26.611+0100 [initandlisten] Please make at least 3379MB available in /var/lib/mongodb/journal or use --smallfiles


Dash and HLS live stream (with 3hours DVR mode) lags in player

Have you read the FAQ and checked for duplicate open issues?
No.
What version of Shaka Player are you using?
3.2.1
Can you reproduce the issue with our latest release version?
No.
Can you reproduce the issue with the latest code from master?
Dependent on npm.
Are you using the demo app or your own custom app?
Own custom app with overlay layout from shaka
If custom app, can you reproduce the issue using our demo app?
What browser and OS are you using?
We are targeting
Browsers: Chrome, Edge, Firefox, Safari, Chromium
OS: Windows, Linux, iOS, macOS, iPadOS
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
No
What are the manifest and license server URIs?

I am going to send you a demo URL of my application with a secured password and mail where you will be able to test the player with the debug logs in the console and also the manifest URLs will be displayed while playing the content.
Please this URLS and player are confidential so keep it as secure as possible.
What configuration are you using?  What is the output of player.getConfiguration()?

You will see the player.getConfiguration() On platform
You will see the player.getAssetUri() On platform
You will see the player.drmInfo() On platform
What did you do?

I tried to load the Dash live stream manifest on the player with the defaults configuration of the shaka-player but it lags many times while performing the playback. also, we tried to play with the parameters like bufferingGoals, rebuffering Goal but it was creating more latency and not giving an appropriate playback.
When we try to downscale the bandwidth of the internet using Network throttling to fast 3G or slow 3G we have a large latency gap and the player lags a lot.
Secondly and the main issue we are facing is when we put the shaka-player on the production it was causing a lot of load on our CDN servers since we put that on the production of our client and this is only because of playing the live content on the shaka-player.
What did you expect to happen?
We what a smooth behavior of our live content to be played on the edge with as low latency as possible
We would also happy to see if our DASH manifest and HLS playlist are coded correctly is coded perfectly to provide a smooth playback
What actually happened?

Since we started using the shaka-player to play our live content it was causing many lags on the live edge of the player.
it was always staying > -4 seconds back from the live and even more as it keeps lagging.
Also sometimes in between the good performing player, it gets stuck and after 1-2 mins or a few seconds, it goes very fast to reach the content left over to reach the live back and then normalize.
I think there is something we are missing in our manifest or in the shaka-player that is not able to give the playback of our dash or hls manifest/playlist contents.
[NOTE]
When you load the URL provided in the mail on mac or in chrome it will automatically play the supported contents.

Hello @joeyparrish did you have time to see my email? for this bug report?

Hello, Did you have time to check my email regarding this bug, can you please respond to it.
Thanks.

Hello. I'm not sure if this is the same issue, but I'm getting some lag while the hls live stream is loading. It looks like 1 short video clip is played multiple times. The problem is on Samsung Smart TV. I posted the issue here #3826 but didn't get a response.

Hello, @joeyparrish can we have a look at this bug issue? I have sent a mail with all the manifest URLs for testings but I have not yet received any response can I have a status about it, please.

Can you test with v4.3.3? Thanks!

Yes, I will test at let you know by the end of the day
Thanks for you work


OGC Compliance Renewal for 1.10

Given all the work being done towards pycsw 2.0, I propose we submit 2.0 for OGC compliance renewal

@kalxas status update?  Docs/website updated.  I believe the outstanding issue was to update the date on http://www.opengeospatial.org/resource/products/details/?pid=1325 ?

Yes this is the only thing left, I will check again.


[CodeCompletion] Fix issue in dependency checking for the editing file

SM.getCodeCompletionBufferID() returns the buffer ID of the previous code completion. CI.getCodeCompletionFile()->getBufferID() always returns the original source buffer ID of the current file in the main module. The latter is needed for excluding buffer ID for dependency checking.
rdar://problem/66301353

@swift-ci Please smoke test

@swift-ci Please smoke test macOS

@swift-ci Please smoke test


All methods in LGSideMenuDelegate are required

You should mark your extension LGSideMenuDelegate with public to avoid required implementation by the user of all methods of the delegate

bump!

Done. Please verify the new version 3.1.2


[Docs]update  CODE_OF_CONDUCT.md

Enhance Code of Conduct
The current CODE_OF_CONDUCT.md file requires updates to better reflect our community standards. This pull request aims to improve the code of conduct, ensuring a more inclusive and respectful environment for all contributors.
Expected Changes
Revise the code of conduct to align with industry best practices
Clarify expectations for behavior and communication
Add or remove sections as necessary to ensure comprehensive coverage

Reference
Please review the current CODE_OF_CONDUCT.md file:

@hargunkaur286  I would like to work on this issue.

Thanks, @Swarnim114. Which aspect of the CNCF Code of Conduct doesn't cover the items in "Expected Changes"?

@Swarnim114 please if you would provide response for the question asked above?


Create an adopters file

We should have a list of all the projects/products currently using Akri and a way of adding yourself

link to current adopters.md file in the main repo -- make sure we don't have two different files and point to existing one

@EthanChangAED

@kate-goldenring, @yujinkim-msft, would like to check if the following high-level approach is what we want before I proceed.

Minor modification for the adopters.md in project-akri/akri so the content also is ready for home site.
Add a Github File Sync Action to the workflow so it auto-sync the file to akri-docs/docs/community.
For adding yourself, user will be direct to project-akri/akri for filing PR.

@EthanChangAED rather than creating an empty page on the site, for starters, i would add a section to the landing page or contributing page that says something along the lines of "are you an adopter? please add yourself here [ref out to adopters.md]"


When will be 3.0 in master?

When will be 3.0 in master?

Due to semantic versioning, the 3.0.0 release will be a rare opportunity to add API-breaking changes. Therefore, I do not want to rush the release.
However, I hope to finish the release this year.

@nlohmann thanks. Which version should I use for big network project now (2.0 (master) or (3.0 beta (develop))?

I would propose using the develop version and would ask you to open issues when you encounter problems.

@nlohmann ok, thanks.

I scheduled the 3.0.0 release for December 17, 2017.


Rename default metrics

Prometheus have some problems with suffixes '_count' and '_total' for non-summary and non-histogram metrics

https://gitlab.cncf.ci/prometheus/prometheus/commit/1faf33acacd28161ef8019e6beac68a10e524bfb


SWN Revised v1.6.0

Lots of changes!
I've added Sheet Default settings (in valid JSON), and am now hoping I did it all correctly...
This is the "Homebrew/Customisation Update", so a lot of new toggleable things. with a settings page and everything.

Oh I do remove a whole section, but it was a duplicate of somewhere else, so nothing is lost (apart from maybe having to scroll a little bit).

Wow, this json-toggleable setting stuff is all new to me, are there any documentation available to learn how to utilize this in other sheets?
Found no similar mentions on the roll20 wiki, and wouldn't know what to search for on the internet.

There is this. No, really, that's it. You'll just have to use that and the code from the 5EOGL sheet to discern it for yourself.

The link just shows "My Games"-page for me, maybe I can't see it because I'm not in the game? Whaterever they say there sure is better than having only the OGL and your sheet to look at. Are there any other sheets who successfully used this?

Yeah, sorry about the lack of documentation for this, we're aware of it and hope to be adding better documentation to the wiki in the near future.
To name a few other examples for you to look at, checkout the GUMSHOE Official sheet and Pathfinder.

@Anduh that was my bad on the forum link. The link is to the Pro forums, so you'll need a Pro subscription to read it.

Giving this concept a name and describing how it works in three sentences could be a start? And maybe copypaste whatever stuff there happened to be on the Pro forum thread?


Feature

a realeas (Jar file) was made(built) to make it easier for people who dont want to clone the whole project in order to test the game , and the link to the jar file was linked to the "realeases" button on the README file

its all good


Copying the file to running NAV Container on Windows 10 fails with "filesystem operations against a running Hyper-V container are not supported"

Environment: Windows 10 and navcontainerhelper <IP_ADDRESS>
Action: Running Import-ObjectsToNavContainer -containerName MyContainer -objectsFile "C:\WorkingFolder\MyFOB.fob"
Error: Error response from daemon: filesystem operations against a running Hyper-V container are not supported
This seems to be caused by the issue described e.g. here:  https://stackoverflow.com/questions/45654570/unable-to-copy-to-windows-container-docker-cp-in-windows-10
The suggested workaround for running container on Windows 10 might be to change the  Copy-FileToNavContainer command to make it two steps:

Use one of the mapped folders and copy the file(s) to the mapped folder
Enter PS Session and copy it from the mapped folder to the destination directory

Yes, that's actually true. You can't copy files into the containers being running.
Of course, your proposal is valid and very logical. I have another idea but the my one is really a very alternative one (I can't even test it right now as I am on vacation and don't have my laptop with me just now). It probably could work for small files but for a big FOB...??? The idea is pass the file content using docker exec ('fob content' | Set-Content target_filename).

Or maybe another option (again, not tested):
https://blogs.msdn.microsoft.com/luisdem/2016/08/31/powershell-how-to-copy-a-local-file-to-remote-machines/

Thanks, I will probably remove Copy-FileToNavContainer and Copy-FileFromNavContainer and then handle this in the 3 places where they are used. In these situations, I have all shared folders and can just use one of these very very easily (instead of using c:\run in the container).
Didn't think of it as the copy functions works fine on Windows Server 2016.

BTW - This one works like a charm (tested on Win10, WinServer 2016):
$ContSession = New-PSSession -ContainerId $cid -RunAsAdministrator
Copy-Item -Path [your_local_file] -Destination [in_container_destination_path] -ToSession $ContSession

The solution doesn't dependent on a mapped folder (docker volumes).

Basically what I will do is to replace these lines:
$containerAppFile = Join-Path "c:\run" ([System.IO.Path]::GetFileName($appFile))
Copy-FileToNavContainer -containerName $containerName -localPath $appFile -containerPath $containerAppFile
$copied = $true
with:
$sharedFolders = Get-NavContainerSharedFolders -containerName $containerName
if ($sharedFolders.Count -eq 0) {
throw "Cannot copy objects file to container when no folders are shared"
}
$destFolder = $sharedFolders.Keys.GetEnumerator() | Select-Object -First 1
Copy-Item -path $objectsFile -Destination $destFolder
$containerObjectsFile = Join-Path ($sharedFolders.Values.GetEnumerator() | Select-Object -First 1) ([System.IO.Path]::GetFileName($objectsFile))
$copied = $true
the copied file will be deleted with copied = true.

Wow - didn't see Jakub's suggestion before positing this - I will definitely use that.

    $id = Get-NavContainerId -containerName $containerName

    $session = New-PSSession -ContainerId $id -RunAsAdministrator -ErrorAction Ignore
    if ($session) {
        Copy-Item -Path $localPath -Destination $containerPath -ToSession $session
        Remove-PSSession -Session $session
    } else {
        docker cp $localPath ${id}:$containerPath
    }

Checked in, will be included in the next gallery update

Fixed in <IP_ADDRESS>
https://www.powershellgallery.com/packages/navcontainerhelper/<IP_ADDRESS>


Revisit subject availability logic in tool group annotation component

@surchs Made the following comments about the current subject availability implementation for the annot-tool-group component.

Just commenting here for the future: there is some pretty fancy magic going on to keep this guy in sync with changes outside of the component (indirect listening to changes in the missingValue store variable). Because these links are largely implicit (listenting to a local variable because it can be changed by another listener calling a method, and so on) I believe this will become hard to remember right quick, so it might be a good candidate to have another look at in the future and maybe move it to the store.

Also commenting for the future here. Currently, a subject is not available for the current tool if ANY of its values in the relevant columns are "missing". The current implementation works, but probably needs to be rewritten once we allow for other availability "rules" that have to take into consideration of the other columns (e.g. if ALL have to be missing for a subject to be not available).

The task here is to revisit the internal logic for this functionality to iron out any brittleness and make it more flexible for future availability criteria

@jarmoza, can you take a look at the code and the original context and find the code section that this comment is referencing? With this we can discuss what to do about it or if these sections have already been removed through some other PR.

@surchs Take a look at my recent comments in https://github.com/neurobagel/annotation_tool/issues/119. I note the pieces of code currently involved in subject availability there as well as the single heuristic we have implemented without other options for users.

OK, thanks! I think we can also put this one on ice for now.

Closing this because we are re-implementing the assessment tool availability workflow


Bug: json-array  type  error , for model  field casting

PHP Version
8.2
CodeIgniter4 Version
4.5.2
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
No response
What happened?

filed casting   type json-array  type casing type errorLinks? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
Steps to Reproduce
json-array filed casting casing type error
Expected Output
json-array filed casting casing type error
Anything else?

system\DataCaster\Cast\JsonCast.php   line 36  add   $value =json_decode($value, true);  working fine ,

Sorry, this is not a bug in the framework, but a bug in your code.
See the $ouput is a string, not an array.
But json-array expects an array. See https://codeigniter4.github.io/CodeIgniter4/models/model.html#data-types

We use GitHub issues to track BUGS and to track approved DEVELOPMENT work packages. We use our forum to provide SUPPORT and to discuss FEATURE REQUESTS.


Renderdoc crashes when trying to replay/open the captured scene on ubuntu

Description
I recently added a 2d display feature and found out it breaks renderdoc. I can capture it, but it crashes when open the captured scene.
The log in the terminal window shows:
Warning - Required VK Extension 'VK_AMD_gpa_interface' is not enabled.
Warning - Unable to initialize Vulkan entrypoints.
Warning - Required VK Extension 'VK_AMD_gpa_interface' is not enabled.
Warning - Unable to initialize Vulkan entrypoints.
Warning - Cannot identify graphics hardware.
Warning - Open context for counters failed. Driver Not Supported
Warning - Capture may be missing reference to VkRenderPass resource.
Warning - Capture may be missing reference to VkFramebuffer resource.
Segmentation fault
PS: I got the first 6 lines of warning all the time, even when the replay works.
The last 2 lines of warning and segmentation fault is new and only happens when there is a crash.
Any help will be appreciated.

Repro steps
press f12, click the captured image, double click mouse button, crashes

Environment

RenderDoc build:  v1.0.
Ubuntu Linux.
API: Vulkan.

thanks that's helpful. found out that i was creating fbo every frame and fixing it make renderdoc works again.

Glad you got it sorted out, indeed if you run into any problems with RenderDoc while using Vulkan (or any API) it's best to make sure you don't have any errors caught in the validation first.


fix(modal): fix wrong scrollBehavior

Closes #
📝 Description

Add a brief description

⛳ Current behavior (updates)
https://github.com/nextui-org/nextui/assets/157580465/686fc0f0-455e-4b85-b3d4-386ad2ae5555

Please describe the current behavior that you are modifying

🚀 New behavior
https://github.com/nextui-org/nextui/assets/157580465/38623446-b707-42e2-90b6-dd5b5d6ded2f

Please describe the behavior or changes this PR adds

💣 Is this a breaking change (Yes/No):

📝 Additional Information

Closed by #2739

@chirokas  sir, I am very impressed by your contributions and I want to connect with you ?
How can I connect ?


All inquieries marked as spam

No matter what I type into the default contact form, it flags as spam, and does not deliver a notification.

Probably caused by https://github.com/resolve/filters_spam/blob/master/lib/filters_spam.rb#L21-L31. Can you provide example inquiry not passing that?

author : asd ddjjjdd
message :  Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis.

remote: git@github.com:refinery/refinerycms-inquiries.git
revision: 192b4a91f4a0a5c7a8b60431f757aa8cfa8230ed
branch: master
remote: https://github.com/refinery/refinerycms
revision: 3e2002834f75a9215dbafc3ed324836b5390b399
branch: master

It also logs:    spam score was -5

As I look look at that filters_spam gem ... it seems to me like it has very little positive rules... and a lot of arbitrary rules.   S=Could we have a way to make this spam filter optional?   or use akismet?

You can stay notified by "spam" also via "
https://github.com/refinery/refinerycms-inquiries/blob/master/lib/generators/refinery/inquiries/templates/config/initializers/refinery/inquiries.rb.erb#L12"
configuration.
2015-05-26 1:39 GMT+02:00 dgm<EMAIL_ADDRESS>
As I look look at that filters_spam gem ... it seems to me like it has
very little positive rules... and a lot of arbitrary rules. S=Could we have
a way to make this spam filter optional? or use akismet?
--
Reply to this email directly or view it on GitHub
https://github.com/refinery/refinerycms-inquiries/issues/161#issuecomment-105336239
.

@dgm it should be easy to contribute config to disable default spam filter via config.

You'll need to add it here (on by default).
Add it here
Run this block only when filter is on. You can access config attributes directly on Refinery::Inquiries.

Would you mind to contribute this?

@dgm any interest in this issue anymore?

IIRC, it should be done, I just haven't had time to look at it myself.

Yeah, I agree that it would be nice.

I had a few minutes so I implemented it in #162

:+1:  looks pretty straightforward!


error: undefined symbol __log10_finite

I am tryint to run the following command and got the error. I guess I need to install additional libraries but I don't know which one.
macs2 callpeak -t treatment.bam --broad -n
 "test" -f BAM -g<PHONE_NUMBER> --outdir macs2
Traceback (most recent call last):
  File "~/bin/opt/anaconda/envs/pytools_env/bin/macs2", line 617, in <module>
    main()
  File "/~/bin/opt/anaconda/envs/pytools_env/bin/macs2", line 56, in main
    from MACS2.callpeak_cmd import run
  File "~/bin/opt/anaconda/envs/pytools_env/lib/python2.7/site-packages/MACS2/callpeak_cmd.py", line 31, in <module
>
    from MACS2.OptValidator import opt_validate
  File "~/bin/opt/anaconda/envs/pytools_env/lib/python2.7/site-packages/MACS2/OptValidator.py", line 27, in <module
>
    from MACS2.IO.Parser import BEDParser, ELANDResultParser, ELANDMultiParser, \
  File "MACS2/IO/Parser.pyx", line 27, in init MACS2.IO.Parser (MACS2/IO/Parser.c:21821)
  File "MACS2/IO/FixWidthTrack.pyx", line 31, in init MACS2.IO.FixWidthTrack (MACS2/IO/FixWidthTrack.c:20307)
  File "MACS2/Pileup.pyx", line 24, in init MACS2.Pileup (MACS2/Pileup.c:13248)
ImportError: ~/bin/opt/anaconda/envs/pytools_env/lib/python2.7/site-packages/MACS2/IO/BedGraph.so: undefined symbol
: __log10_finite

After searching the net for a while, I found a workaround by disabling libm.so* under anaconda/envs/pytools_env/lib/. The bug goes to anaconda then.

So  how to  disabling libm.so* under anaconda/envs/pytools_env/lib/.  ?please help me


missing method collect_logs

I can see several places where collect_logs is used but cannot find it defined.
Most notably app/controllers/miq_policy_controller.rb and app/controllers/miq_ae_tools_controller.rb.
@gmcculloug ,  @lpichler : any idea what that is supposed to do?
I can see only:
app/controllers/ops_controller/diagnostics.rb:  def logs_collect(options = {})

I'd like to cleanup the button methods that call it but don't know what is it supposed to be.
Related seems to be refresh_log that has several implementations and the one:
app/controllers/miq_policy_controller.rb:  def refresh_log
app/controllers/miq_policy_controller.rb-    @log = $policy_log.contents(nil, 1000)
app/controllers/miq_policy_controller.rb-    @server = MiqServer.my_server

Does not seem to check for privileges!

This seam to be a dead code:
app/controllers/miq_ae_tools_controller.rb:    if params[:pressed] == "collect_logs"
app/controllers/miq_ae_tools_controller.rb:      collect_logs
app/controllers/miq_ae_tools_controller.rb-      return
app/controllers/miq_ae_tools_controller.rb-    end
app/controllers/miq_ae_tools_controller.rb-
--
app/controllers/miq_policy_controller.rb:    if params[:pressed] == "collect_logs"
app/controllers/miq_policy_controller.rb:      collect_logs
app/controllers/miq_policy_controller.rb-      return
app/controllers/miq_policy_controller.rb-    end

There seems to be no such button that sends 'collect_logs' to miq_policy or miq_ae_tools controllers.

what about the 2 implementations? and missing RBAC check in one of them?

Not sure about collect_logs method, hoping @jrafanie or @gtanzillo can recall something.

@martinpovolny I have no idea what collect_logs does in the context of policy or ae_tools.  for app/controllers/ops_controller/diagnostics.rb, that makes sense as that's the place you would use to select which zone or server you want to collect zipped logs.  If it exists in the policy and ae_tools controllers, and you can't find where it's called, I'd guess that something was copied from ops/diagnostics to those controllers.


Create your first serverless app - Step 2 No longer available?

Using Azure Functions v1.7.4 and Visual Studio Code v1.70.2, I'm no longer prompted or able to do Step 2 in the Create your first serverless app (https://github.com/Microsoft/vscode-azurefunctions):
"2. Select a new, empty folder to contain your project"
Was this option removed and no longer part of the Create your first serverless app creation process?
I'd like to be able to select a folder to create the Function App, thanks!

I had issues with this step also

If VS Code already has a workspace folder opened, this step will be skipped automatically. Were you able to successfully create a Functions Project?

I was able to successfully create a Functions Project, thanks!
Previously, I did have a workspace folder opened to the root of my project directory and wanted to create a new Functions Project in a sub-directory of my root.
Thanks again for the clarification on when the prompt for selecting a folder will appear!


Visited sites no longer marked as visited.

Add-on version
**Add-on version:3.0
Describe the bug
Livemarks no longer marks sites as visited.  This is new behavior since the introduction of FF 84.0b3.
To Reproduce
Steps to reproduce the behavior:

Go to Firefox
Download 84.ob3
See error

Expected behavior
Each visited site should be marked accordingly.**

Can you give an example feed where it doesn't work? Do you have HTTPS-only mode enabled?

Thanks for the reply.  Here’s some info:
I keep adding sites here and they keep disappearing:
None of my feeds get marked as read after viewing.  Here’s a list of current feeds last saved in August:
This is a list of current NYTimes feeds in Livemarks:
This is a list of current NYTimes feeds in Feebro.  It’s much more up to date:
I’m not clear on your question about HTTPS?  Please help me there.
Again, thanks.
John

On Nov 27, 2020, at 10:30 AM, Tom Schuster<EMAIL_ADDRESS>wrote:
Can you give an example feed where it doesn't work? Do you have HTTPS-only mode enabled?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/nt1m/livemarks/issues/303#issuecomment-734886286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFLRX4UVHGOMVT24XOHEODSR7AXZANCNFSM4T7XKNIA.

Thanks for answering. Sadly it looks like all the feeds you provided were stripped out or something? Have a look at https://github.com/nt1m/livemarks/issues/303#issuecomment-734916491

Yes, that was me.  Livemarks is still not updating regularly and never shows sites as having been read.
Thanks again

On Nov 28, 2020, at 6:31 AM, Tom Schuster<EMAIL_ADDRESS>wrote:
Thanks for answering. Sadly it looks like all the feeds you provided were stripped out or something? Have a look at #303 (comment) https://github.com/nt1m/livemarks/issues/303#issuecomment-734916491
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/nt1m/livemarks/issues/303#issuecomment-735219767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFLRXYKJNYLU54MNHBMUGTSSDNQDANCNFSM4T7XKNIA.

This is not actionable unless we have at least one full URL of a feed that isn't working properly anymore.

Hello, I've noticed this issue, too.
One of the feeds where it happens is the Nightly Blog on the Mozilla website
https://blog.nightly.mozilla.org/feed/
But today, after I gave a "Reload Livemark", the issue seems to be solved.
Dunno if it was something related to a browser regression now corrected, or the interaction between the browser and the addon.
If you want, I can post another message if the problem arise again.


Podfile: resolve Podfile.lock fluctuations

Running pod install on one machine changes the versions in Podfile.lock. This is expected, but we also expect that other dev envs should not cause different versions in the lockfile. But it is happening - even when development environments have the same OS, X ode and flutter versions.
M:
MacOS: 12.3.1
Xcode: 13.3.1
Flutter: 2.10.3
Firebase/Auth -> 8.11.0
firebase_core -> 1.12.0

A:
MacOS: 12.3.1
Xcode: 13.3.1
Flutter: 2.10.3
Podfile.lock: does use Firebase/Storage 8.14.0
but firebase_auth is 3.3.14 and diffs to 3.3.13
firebase_core: 1.14.1 in lockfile, diffs 1.14.0
firebase_storage: 10.2.12 -> 10.2.11

Y L
MacOS: 11.6.2
Xcode: 13.2.1
Flutter: 2.10.4

Y D
MacOS: 11.6
Xcode: 13.2.1
Flutter: 2.10.4

Investigate why this is occurring and figure out a way to normalize this.

https://www.reddit.com/r/flutterhelp/comments/u4ivbi/why_does_podfilelock_versions_fluctuate/


BIMDataList fixes

[x] I have tested my component
[ ] I have updated the documentation or there is no documentation needed

Libraries that use the DS (need to merge first)

[ ] BCF Components
[ ] BIMData Components
[ ] Building maker

Repos that use the DS (and that I need to check after libraries have been merged)

[ ] Viewer
[ ] Platform
[ ] SDK
[ ] Marketplace
[ ] Documentation

:tada: This PR is included in version 2.1.0-rc.31 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update jqClock.js

Spacing required because year was displaying as though it was attached to the hour.

Spacing required.

This should be handled in the CSS rules using the "clockdate" and "clocktime" classes. Please see the example CSS included in the project files, the rules can be adapted for one's own styling purposes, but any spacing should be handled using CSS rules:
/* SAMPLE CSS STYLES FOR JQUERY CLOCK PLUGIN */
.jqclock { float:left; text-align:center; border: 1px Black solid; background: LightYellow; padding: 10px; margin:20px; }
.clockdate { color: DarkRed; margin-bottom: 10px; font-size: 18px; display: block;}
.clocktime { border: 2px inset White; background: Black; padding: 5px; font-size: 14px; font-family: "Courier"; color: LightGreen; margin: 2px; display: block; }


Array option without quotes?

If I'm understanding correctly, in order to pass an array of arguments, they have to be in quotes:
my_cmd 'foo bar quux'

Is there anyway for multiple items to be gathered up without any quoting done by the end-user?
my_cmd foo bar quux
thx

Thanks for reporting your issue! This is one of my 20 active issues. Use that link to check how soon your issue will be answered. Don't forget to check your issue against this project's CONTRIBUTING.md. Cheers.


Enable cross references from one chapter to a section in another chapter (aka deep linking)

Using the workaround described in #27, it's possible to link between chapters. However, any attempt to link to the section in a chapter from another chapter fails. It seems like the EPUB requires additional metadata in order to recognize the fragment identifiers in another chapter. Determine what is needed and either update the converter, document the solution, or both.
Running the epubcheck validator gives output like:

ERROR: Book.epub/OEBPS/Setup.xhtml(465,127): 'JPAMetamodel': fragment identifier is not defined in 'OEBPS/CriteriaQuery.xhtml'

This message is reported despite the fact that the fragment 'JPAMetamodel' does exist in the CriteriaQuery.xhtml file.

This turns out not to be a problem. The validator will often report that a reference cannot be found when there are other errors. Those are being addressed in #76.
There are a lot of restrictions in what you must do to get this to work. In particular:

The ID of the chapter file must match the root name of the file
The chapter file must be in the root folder (to be compatible with the PDF converter)
The xref must be specified as <<chapter-id#section-id>>

We'd like to loosen some of these requirements in the future.


Add sessions

This is a continuation of @fehnomenal's work in #489 that started the support for user-based sessions (ie, authentication). There are 2 parts to this feature:

Session data is set in hooks.js using the houdini client's new setSession(event, { ... }) method
Session data is passed to the client's fetch function (similar to how it was previously done)

To help everyone out, please make sure your PR does the following:

[ ] If applicable, add a test that would fail without this fix
[ ] Make sure the unit and integration tests pass locally with pnpm run tests and cd integration && pnpm run tests
[ ] Includes a changeset if your fix affects the user with pnpm changeset

What's left

[ ] Get confirmation from fehnomenal that I didn't miss anything in the transfer
[ ] integration tests for generated layout files (with typecheck for session)
[ ] add warnings (look for todo)
[x] document no more client.init
[x] update init command to not have client.init
[x] update authentication guide
[x] use App.Session type

does this need to use hooks? I think the page data is available to all children? Rich's post on the "removing sessions" discussion mentions doing like:
import type { LayoutServerLoad } from "./$types"

export const load: LayoutServerLoad = async function ({ request }) {
	return {
		token: request.headers.get("Authorization"),
	}
}

am I missing something?

does this need to use hooks? I think the page data is available to all children? Rich's post on the "removing sessions" discussion mentions doing like:
// src/routes/+layout.server.ts

import type { LayoutServerLoad } from "./$types"

export const load: LayoutServerLoad = async function ({ request }) {
	return {
		token: request.headers.get("Authorization"),
	}
}

am I missing something?

You are right, you can get the token like this.
But then, you have to pass it all the time "manually" to do graphql operations.
Like:
// +page.ts _pseudo code_

export const load: PageLoad = async (event) => {
  const { token } = await event.parent();
  GQL_GetUser.fetch({ variables: xxx, metadata: { token } })
}

// client.ts _pseudo code_

import type { RequestHandlerArgs } from '$houdini'
import { HoudiniClient } from '$houdini'

async function fetchQuery({ fetch, text = '', variables = {}, metadata}: RequestHandlerArgs) {
    const url = 'http://.../graphql'

    const result = await fetch(url, {
        method: 'POST',
        headers: {
            'Content-Type': 'application/json',
            Authorization: `Bearer ${metadata?.token}`
        },
        body: JSON.stringify({
            query: text,
            variables
        })
    })
    return await result.json()
}

export default new HoudiniClient(fetchQuery)

You have to do it like this because we can't know that you will name your token. token? superToken? Maybe you will have a lot of other things in data that are not for Houdini... you will have to await parent...
That's a lot of constraints. But it's possible 👍

With hooks and session approach, token authentication is done globally.
And usage becomes lighter focusing on variables & business logic in components.
// +page.ts _pseudo code_

export const load: PageLoad = async (event) => {
  GQL_GetUser.fetch({ variables: xxx })
}

It improves the DX a lot I think 👍
And it's enabling Houdini to generate a lot of boilerplate for you (automatic loading, component queries, ...)

I would like to provide few complete guides later on these common topics 👌
Follow our work 👍

Nice work!

I'm going to merge this so I can deploy a new version and finally start migrating my applications to the new svelte kit and houdini 🎉  Thanks again everyone for all the help!

Docs coming soon?

Actually, all PR has their own docs (check on top "the Vercel preview")
In general .next version is available here: https://docs-next-kohl.vercel.app/guides/authentication


AVRO-3266: Cast to PathOutputCommitter

Change the cast of the outputCommitter to a PathOutputCommitter.
This allows the system to use a different outputCommitter than just the
FileOutputCommitter, for example the MagicS3GuardCommitter.
Fixes Output stream incompatible with MagicS3GuardCommitter

LGTM!

Hello!  It looks like PathOutputCommitter is a Hadoop 3.0.0 addition.  Is there an EOL for Hadoop 2.x ?

are you using the new methods in PathOutputCommitter above what OutputCommitter uses? if so, you could just use reflection to invoke them. this will work with old releases and FileOutputCommitter. as well as new code with custom committers for s3a, abfs and gcs

I also interested in fixing this, so I create https://github.com/apache/avro/pull/1618 using reflection to invoke getWorkPath as suggested here. I create a new PR as it seems like this PR has gone stale.

avro has just upgraded its hadoop dependency to 3.3.3 via dependabot. not sure if that was intentional. if java 11 is wanted, it'd have to be 3.2.0+ anyway

avro has just upgraded its hadoop dependency to 3.3.3

@steveloughran Do you mean https://github.com/apache/avro/pull/1697 ?
This is just a bump from 3.3.2 to 3.3.3. I hope Hadoop didn't introduce anything concerning in a minor version.
Avro uses Hadoop 3.2.0 since at least 2020 (Avro 1.9.x, I believe).
But there is also hadoop-2 profile - https://github.com/apache/avro/blob/79976977feba9a1e77ca1d96137295bc0ab96e8a/lang/java/pom.xml#L469
I guess this one could be bumped to 2.10.2 before releasing 1.11.1.

See AVRO-6535 -- we should revisit this implementation as we drop Hadoop 2 .


fix broken urls in guidelines

page:
https://ocamlverse.github.io/content/documentation_guidelines.html
in this paragraph, both links are broken.

An example would be Simon Cruanes’ sequence documentation, where the elements are neatly organized into sections, such as “Build a sequence”, “Consume a sequence”, etc. Another example is Daniel Bünzli’s Fmt documentation.

Thanks for noticing! Fixed.


Training time

How long it takes you to train?

The training time takes about a day or two depending on your devices. The evaluation time takes much longer. You can track the training process using the logged output.

The training time takes about a day or two depending on your devices. The evaluation time takes much longer. You can track the training process using the logged output.

Thanks! Does a day or two days include the tune time?

Not included. The tuning time usually takes less than a day.

Not included. The tuning time usually takes less than a day.

Thanks very much! When I try to train, I meet a problem, that is
Original Traceback (most recent call last):
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 302, in _worker_loop
data = fetcher.fetch(index)
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 58, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 58, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/data/private/LL3DA/datasets/unified_3dllm_scene_description.py", line 135, in getitem
ret_dict['box_query'] = box_query.astype(np.float32)
TypeError: 'NoneType' object does not support item assignment
I don't know how to solve it. How could I fix it?

You should check whether you have processed the scene data right and loaded the scene data properly in ret_dict.

File "/data/private/LL3DA/main.py", line 299, in main
do_train(
File "/data/private/LL3DA/engine.py", line 160, in do_train
task_metrics = test_loader.dataset.eval_func(
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/data/private/LL3DA/eval_utils/evaluate_qa.py", line 123, in evaluate
outputs = model(model_input, is_eval=True, task_name='qa')
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 1040, in forward
output = self._run_ddp_forward(*inputs, **kwargs)
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 1000, in _run_ddp_forward
return module_to_run(*inputs[0], **kwargs[0])
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/data/private/LL3DA/models/model_general.py", line 56, in forward
outputs = self.captioner(
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/data/private/LL3DA/models/ll3da/captioner.py", line 300, in forward
return self.predict_answer(detector_output, inputs, max_gen_length=max_gen_length)
File "/data/private/LL3DA/models/ll3da/captioner.py", line 441, in predict_answer
output = generation(
File "/data/private/LL3DA/models/ll3da/generation_utils.py", line 212, in generation
outputs = beam_search_decode(transformer, **kwargs)
File "/data/private/LL3DA/models/ll3da/generation_utils.py", line 156, in beam_search_decode
output_ids = torch.cat([
File "/data/private/LL3DA/models/ll3da/generation_utils.py", line 158, in
[
File "/data/private/LL3DA/models/ll3da/generation_utils.py", line 159, in
beam_sentence.unsqueeze(0)
AttributeError: 'NoneType' object has no attribute 'unsqueeze'

You should check whether you have processed the scene data right and loaded the scene data properly in ret_dict.

Thanks! How about this problem?
File "/data/private/LL3DA/main.py", line 299, in main
do_train(
File "/data/private/LL3DA/engine.py", line 160, in do_train
task_metrics = test_loader.dataset.eval_func(
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/data/private/LL3DA/eval_utils/evaluate_qa.py", line 123, in evaluate
outputs = model(model_input, is_eval=True, task_name='qa')
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 1040, in forward
output = self._run_ddp_forward(*inputs, **kwargs)
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 1000, in _run_ddp_forward
return module_to_run(*inputs[0], **kwargs[0])
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/data/private/LL3DA/models/model_general.py", line 56, in forward
outputs = self.captioner(
File "/opt/conda/envs/ll3da/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/data/private/LL3DA/models/ll3da/captioner.py", line 300, in forward
return self.predict_answer(detector_output, inputs, max_gen_length=max_gen_length)
File "/data/private/LL3DA/models/ll3da/captioner.py", line 441, in predict_answer
output = generation(
File "/data/private/LL3DA/models/ll3da/generation_utils.py", line 212, in generation
outputs = beam_search_decode(transformer, **kwargs)
File "/data/private/LL3DA/models/ll3da/generation_utils.py", line 156, in beam_search_decode
output_ids = torch.cat([
File "/data/private/LL3DA/models/ll3da/generation_utils.py", line 158, in
[
File "/data/private/LL3DA/models/ll3da/generation_utils.py", line 159, in
beam_sentence.unsqueeze(0)
AttributeError: 'NoneType' object has no attribute 'unsqueeze'


This Is Not An Exploit

Hello. I’m making this issue to let you know that it is very misleading to label this as an “exploit.” In fact, this is just basic bot detecting.
To actually use this for anything useful, you would need to do some serious social engineering. At that point, the exploit is what you tell the person to get them to open an .exe that they thought was an image.
For people that don’t understand this repo, this looks like a bad security issue. In fact, I wouldn’t blame Discord at all for this behavior, it isn’t particularly insecure.
You really should consider changing the word “exploit” to something else if you want people to understand what this is. It’s actually pretty cool that this can act as a logger, but people are getting the wrong idea when you call it an exploit.

When you send users to uncontrolled services, this will always be a problem. Controlling what the user can see after they have connected to the service is incredibly intrusive and unrealistic on Discord's part.
Please rephrase the description(s) of what this repository actually does. It is very misleading. @TheonlyIcebear

@TheonlyIcebear We would appreciate it if you took this feedback!

Thanks for the feedback. I've removed the work exploit from the readme.

@TheonlyIcebear I also think that you should change the repository's description, as that is what many people will look to first:


UE 5.4.1 pre compiled not working.

says the following modules are missing or built different engine.       Asks to rebuild and fails to rebuild

My apologies, I had launched the wrong Unreal Engine- the "5.4.1" binaries were compiled with UE 5.3.0.  :man_facepalming:
Please try it now. I have updated the precompiled version and it is now truly compiled with UE 5.4.1.
https://github.com/nachomonkey/RefreshAllNodes/releases/download/v1.5%2BUE5.4.1/RefreshAllNodes-1.5-UE5.4.1.zip

Thank you, glad it helps :tada:


Loader animation breaks node-webkit view

When deployed with node-webkit, loading animation (rotating circle at center of viewport) won't fade away, it keeps rotating until user interact with barely visible "x" sign in upper right corner of preloader animation (visible only on mouse hover) and afterwards return to star screen (System Information). This problem persist on all three platforms, Windows, OS X and Linux, preventing Webmin with Authentic theme to be deployed as node-webkit desktop client app. After user click on preloader's "x", he will be always returned to System Information page.

Hmm. Are there any errors in console? How do you make it run as node-webkit?

It runs easily as client server platform, this is what you need:
Webmin server is installed on <IP_ADDRESS> and listening up on port 50001/tcp, (self-signed SSL cert generated with sha256 and installed in local machine Trusted Root CA to avoid questions). On the client side, this is configuration of node-webkit:
package.json
{
  "main": "https://<IP_ADDRESS>:50001/",
  "name": "webmin",
  "description": "Webmin",
  "version": "1.0.0",
  "keywords": [ ""webmin", "test", "server" ],
  "window": {
    "title": "Webmin",
    "icon": "webmin.png",
    "toolbar": false,
    "frame": true,
    "width": 1300,
    "height": 800,
    "position": "center",
    "min_width": 480,
    "min_height": 640
  },
  "webkit": {
    "plugin": true,
    "java": true,
    "flash": true
  }
}

That would be everything you need to use webim as node-webkit desktop app. With this javascript embedded in footer of webmin web interface I was able to put app in system tray:
var gui = require('nw.gui');
var tray = new gui.Tray({
    title: 'Webmin',
    icon: 'assets/css/images/menu_icon.png',
    alticon: 'assets/css/images/menu_alticon.png',
    iconsAreTemplates: false
});

var params = {toolbar: app.devMode, frame: false, transparent: true, resizable: false, show: false};
window = gui.Window.open('templates/panel.html', params);

function showPopup (x, y) {
  window.on('document-end', function(){
    window.moveTo(x - (window.window.width / 2) - 6, y);
    window.show();
    window.focus();
  });
}

tray.on('click', function (evt) {
  showPopup(evt.x, evt.y);
});

OK.

What are there errors in console/logs when you run this?

What is the practical point, to run Webmin such unusual way?

It is practical for deployment on remote XServer/MS terminal server: one installation, simle and fast browser engine, no need for web browser. One shortcut for all users and best thing is possibility to keep webin in system tray and create custom right click interface,  menus and notifications/alarms for various events.

I cant see console log atm :(

Can you click F12 to look at console? Or you said there is no browser? Original theme works with your setup or it also has issues?

Default theme works as usual.
Here is log you requested:
2
Invalid CSS property name: -webkit-overflow-scrolling default.min.css:5
2
Invalid CSS property name: moz-border-radius default.min.css:5
Invalid CSS property value: -10px default.min.css:5
2
Invalid CSS property value: transform default.min.css:5
Invalid CSS property name: backface-visibility default.min.css:5
Invalid CSS property name: -webkit-overflow-scrolling default.min.css:5
Invalid CSS property name: -webkit-hyphens default.min.css:5
Invalid CSS property name: hyphens default.min.css:5
2
Invalid CSS property name: -webkit-overflow-scrolling default.min.css:5
2
Invalid CSS property name: moz-border-radius default.min.css:5
Invalid CSS property value: -10px default.min.css:5
2
Invalid CSS property value: transform default.min.css:5
Invalid CSS property name: backface-visibility default.min.css:5
Invalid CSS property name: -webkit-overflow-scrolling default.min.css:5
Invalid CSS property name: -webkit-hyphens default.min.css:5
Invalid CSS property name: hyphens default.min.css:5
2
Uncaught ReferenceError: require is not defined

Everything before Uncaught ReferenceError: require is not defined is not fatal.
Uncaught ReferenceError: require is not defined - doesn't seem like theme error. What is the stack of this error (Are there more? I need refs to my code, otherwise I can even think of what is wrong).

Sorry, pal! I will not be able to support this, unless you provide self-made patch, as this is out of the scope of the project.
I would think this problem happens on your side and has nothing to do with the theme at all.
I will have to leave you here on your own. Good luck.


Adding a params serializer to the getOrders Axios request

No tests added for this as of yet but should be clear enough for any new tests to be added.

Thank you very much! 👍


Improve view-node-in-topo button usability

Fixes #1151

IMO it's not obvious that the shape is a control. Let alone what that control will do.

I agree, it's not clear what the control will do. The same is true for the old button, so I see no improvement here. In these situations I suggest to use a plain text label to describe what the button  will do.

navigation in a sub-view updating the whole UI, a lot of things changing in reaction to following a link.

Yes, I would find that confusing, because at that point you're in the context of a node, the change of a topology would be too big.
There is another option, let's simply remove the button, and see if anyone complains.

In these situations I suggest to use a plain text label to describe what the button will do.

"Find in Topology"? "Find in Graph"? "Find"?

There is another option, let's simply remove the button,

The fact that the single button changes a lot is exactly what makes it useful.

testing out labels. feels pretty good.

"View"? "Find"? "Locate"?

I like View! Find/Locate sound expensive like we're gonna have to do some work to perform that action... but maybe that works well in envs where it takes a couple of seconds to load up the next topo. j/k!
I like: View / Show
Also: Focus / Examine / Inspect / Select
Thesaurus provides: Behold / Witness / Scrutinise.
Wonder if there is webpack module to thesaursize all your copy.

Another variant w/ the more familiar ALLCAPS topology label.

I quite like that.

Circle fails on BE test.

Code and copy LGTM


Introduce a release schedule, and shorten the time between releases

Currently we don't have a set release schedule, which sometimes result in quite long times between releases (and also leads to issues along the lines of "When is the next stable release?").
To address this, I'm thus proposing that we first of all introduce a release schedule and secondly that we also shorten the time between releases.
In particular, I'd suggest that we basically try to follow the Firefox release schedule (perhaps with a small offset, e.g. creating a new release the weekend that follows each Firefox release); see https://wiki.mozilla.org/Release_Management/Calendar
The advantages of these changes include:

A much more predictable release schedule, reducing user confusion about when future releases will happen.
Shorter release cycles, meaning that e.g. bug fixes, performance improvements, and new features will reach users much sooner (since most users seem unwilling to utilize the pre-releases, despite those being generally very stable).
A shorter release cycle would also mean that any regression fixes would reach stable releases much faster.
Shorter release cycles would mean that there's a lot fewer changes in each release, especially e.g. api-minor ones, which should hopefully make updating easier for users.
Shorter release cycles would also reduce the total amount of time that we need to keep deprecated-functionality around, improving readability/maintainability of e.g. the API-code.

The disadvantages of these changes include:

The PDF.js release process includes a couple of manual steps, and more frequent releases would thus be taking more time overall for the contributor creating the release (which for the last few years has been handled excellently by Tim).
Shorter release cycles could possibly make it more difficult for users to keep up with updates.

/cc @timvandermeij Any ideas/opinions about these suggestions?

at the very least #12324 needs to be fixed so that we take one manual action out of the equation.

I suppose that there's a potential work-around for #12324, at least I think so, which would be to only publish a stable release.
Some of the reasons for only having a stable release (and removing the pre-release) would be:

There's essentially no stability difference between the current stable/pre-release versions, since all patches must be both tested and reviewed before they can land.
Many users seem completely unwilling to use anything except releases officially marked as stable, even after informing users (who are asking for the next stable release date) about the point above.
Without any usage statistics we cannot know how common this situation is, however based on GitHub issues, IRC conversations (back when that was used), and https://www.npmjs.com/package/pdfjs-dist?activeTab=versions it would seem that the pre-releases are mostly "unused".
The whole point of even having a pre-release in the first place, would be to actually update/re-create it when regressions are found. In practice, throughout the history of this project, that almost never happens and any regression fixes are simply included in an upcoming release instead. (Probably at least somewhat related to the manual work involved in creating a release.)
Closely related to the previous two point is that a pre-release is only useful, w.r.t. finding regressions, if a sufficient number of users are actually willing to try it out. In practice most regressions aren't reported until a release has already become the stable version, at which point it's mostly "too late" to fix a regression in that release anyway.
We're already providing preview-builds, via https://github.com/mozilla/pdf.js#online-demo and https://github.com/mozilla/pdf.js/tree/gh-pages, for users wanting to test the absolutely latest development version.
By only having one official release at a time, providing user support becomes simpler.
Having only a stable release would effectively shorten the release cycle even more, see the points in https://github.com/mozilla/pdf.js/issues/14226#issue-1043420197, meaning that improvements reach users faster.

/cc @timvandermeij Any opinions about the additional suggestion in https://github.com/mozilla/pdf.js/issues/14226#issuecomment-960955499?

In the meantime, I'm happy to give either/both of you npm access to publish releases. I'd like to fix #12324, but it is a bit painful to debug and setup everything. If anyone wants to look into #12324 themselves, I can spin up another ec2 instance where we can create a dummy repo for debugging.

@Snuffleupagus Sorry for the delay here, I was on vacation for a few days. I think https://github.com/mozilla/pdf.js/issues/14226#issuecomment-960955499 would also work just fine for me and I like the idea of simplifying the releases (in order to also put them out faster). That would indeed mean that #12324 doesn't have to be fixed anymore since publishing releases works just fine; it's only editing an existing release that causes issues there.
@brendandahl Do you have ideas w.r.t. https://github.com/mozilla/pdf.js/issues/14226#issuecomment-960955499? If you also like the idea of only one release and putting that out more often, I'd say we can get that sorted, but only if you don't have concerns.

Sorry for the delay here, I was on vacation for a few days.

No worries; I hope you had a nice time!

@brendandahl Ping, any objection only having stable releases; please see https://github.com/mozilla/pdf.js/issues/14226#issuecomment-960955499?

No objections here. Let's go for it.

In order to proceed with this, I think we first need to make the current pre-release version stable and do a manual NPM push for the last time. Once that version is stable for some time, we can then make new stable-only releases.
Alternatively, we just make a new stable version and essentially "skip" the current pre-release version, but I'm not sure if that is confusing perhaps?
In any case, we'll need to make some adjustments to the website and the botio scripts to not deal with beta versions anymore, in particular the NPM push to the next tag needs to go; it should only push to to the latest tag.

Alternatively, we just make a new stable version and essentially "skip" the current pre-release version, but I'm not sure if that is confusing perhaps?

That's my idea, for overall simplicity, since any confusion would be a one-time thing.

In any case, we'll need to make some adjustments to the website and the botio scripts to not deal with beta versions anymore,

I believe that both the gulpfile and website already handles this, given e.g. the following code:
https://github.com/mozilla/pdf.js/blob/3a8318aa1c338898961fab19d939f0d20c1606ef/gulpfile.js#L1973-L1985
However, it might not hurt to clean-up/remove all the beta-version handling there (and elsewhere) if we're indeed not going to be using it any more.

in particular the NPM push to the next tag needs to go; it should only push to to the latest tag.

Looking at https://github.com/mozilla/botio-files-pdfjs/blob/master/on_release.js it seems that we currently push a stable release without a tag. According to https://docs.npmjs.com/adding-dist-tags-to-packages#publishing-a-package-with-a-dist-tag, it appears that doing so would default to using the latest tag (unless I'm misunderstanding things completely).

Is there any additional blockers here, or could any remaining (clean-up) work be done in follow-ups?

I don't think so, and since the last release was quite some time ago I'll just carry on with the release now. If we find anything along the way that we need to fix, I'll comment that here. Let's see how it goes :-)

The stable release (version 2.12.313) is done, the release process is updated and publishing to NPM worked too. Only updating pdfjs-dist didn't work because we forgot https://github.com/mozilla/botio-files-pdfjs/blob/master/on_release.js#L20-L27 existed.
For this release the following still needs to happen:

[ ] Manually push the pdfjs-dist commit for this time (@brendandahl Could you do this? Basically https://github.com/mozilla/botio-files-pdfjs/blob/master/on_release.js#L26 on the bot.)

For the beta to be gone the following still needs to happen:

[ ] Remove the next tag on NPM since it will now never be updated anymore and we don't want to keep advertising an old version (@brendandahl Could you do this?)
[ ] Remove the beta logic from https://github.com/mozilla/botio-files-pdfjs/blob/master/on_release.js#L20-L27 and update the bots for the next time.
[ ] Remove the beta logic from the Gulpfile/website/pdfjs.config file.

Should be good to go. Let me know if there's anything else.

Great, thank for you doing this! Overall the release process is now easier and more automated, so that's really good.


Revert "Respect size limits in read_seq and read_map."

This reverts commit 45fcb1cebc4247a47d6d88f9e6057315237e4c03.

@canndrew @nyx
Since the fix landed in upstream rustc-serialize, the size checking to prevent OOM crashes are unnecessary.  Please review when you have time!

Looks good to me!

:tada:


:terminal emacs doesn't work

:terminal emacs

got error
emacs: Could not open file: /dev/tty

but spawn emacs from :terminal bash works fine.

vim doesn't bind slave fd for stdin/stdout/stderr.

diff --git a/src/os_unix.c b/src/os_unix.c
index fb2628c..e96c3ff 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -5361,10 +5361,7 @@ mch_job_start(char **argv, job_T *job, jobopt_T *options)
 	if (fd_err[1] >= 0)
 	    close(fd_err[1]);
 	if (pty_master_fd >= 0)
-	{
 	    close(pty_master_fd); /* not used */
-	    close(pty_slave_fd); /* duped above */
-	}

 	if (null_fd >= 0)
 	    close(null_fd);
@@ -5378,6 +5375,10 @@ mch_job_start(char **argv, job_T *job, jobopt_T *options)
 	     * unless run by root) */
 	    ioctl(pty_slave_fd, TIOCSCTTY, (char *)NULL);
 #  endif
+	    while (dup2(pty_slave_fd, STDIN_FILENO) == -1 && errno == EBUSY);
+	    while (dup2(pty_slave_fd, STDOUT_FILENO) == -1 && errno == EBUSY);
+	    while (dup2(pty_slave_fd, STDERR_FILENO) == -1 && errno == EBUSY);
+	    if (pty_slave_fd > 2) close(pty_slave_fd);
 	}

 	/* See above for type of argv. */

Yasuhiro wrote:

vim doesn't bind slave fd for stdin/stdout/stderr.

This deserves an explanation.
Why use dup2() after already doing a normal dup()?
Why would dup2() be needed, this is in the child were we don't really
expect any race conditions.
Actually, the problem is that pty_slave_fd is closed before doing an
ioctl() on it.  Even though it's duped does not mean that works.
It's probably best to do the ioctl() before dup'ing.
--
ARTHUR:  Well, I AM king...
DENNIS:  Oh king, eh, very nice.  An' how'd you get that, eh?  By exploitin'
the workers -- by 'angin' on to outdated imperialist dogma which
perpetuates the economic an' social differences in our society!  If
there's ever going to be any progress--
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

closed by v8.0.0842


azure.identity ManagedIdentityCredential doesn't allow to specify AuthorityHosts, preventing Azure Function Apps in China or Azure Gov to Authenticate using MSI

Package Name:  azure.identity ManagedIdentity
Package Version: All
Operating System: Azure Functions
Python Version: 3.9

Describe the bug
ManagedIdentitytCredential Class doesn't expose a way to specify the Authority and it uses https://management.azure.com by default. The reason this is a problem is because Function Apps deployed in either Azure Gov or Azure China are unable to retrieve a token when using MSI (either system or user assigned)
To Reproduce
Steps to reproduce the behavior:
Create a function app that creates a credential using ManagedIdentity class and use that credential to authenticate to other Azure services. Deploy the function app in either Azure China or Azure gov. Following is a code sample:
import json
import logging
import os
import azure.functions as func
import urllib3
from azure.identity import ManagedIdentityCredential
from azure.mgmt.resource import SubscriptionClient

def function_handler(event):
    func_client_id = event["func_client_id"]

    credentials = ManagedIdentityCredential(client_id=func_client_id)
    subscription_client = SubscriptionClient(credentials, base_url='https://management.core.chinacloudapi.cn')
    subscription = next(subscription_client.subscriptions.list())
    subscription_id = subscription.subscription_id

    return subscription_id

def main(req: func.HttpRequest) -> func.HttpResponse:
    logging.info("HTTP Trigger Processed")

    event = {
        "func_client_id": os.environ["func_client_id"]
    }
    try:
      logging.info("Invoking Function Handler")
      cred = function_handler(event)
    except Exception as err:
      logging.exception(f"Error has occurred: {str(err)}")
      return func.HttpResponse(
        "Oops, something went wrong",
        status_code=500
    )
    return func.HttpResponse(
         body=json.dumps(cred),
         status_code=200,
         mimetype="application/json"
     )

Expected behavior
The function app successfully retrieves a token and is able to authenticate with other Azure services
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
After adding a lot of instrumentation to debug the issue I could see that ManagedIdentity() is trying to retrieve a token for resource https://management.azure.com; there is no way to specify the endpoints for Azure China or Azure Government
Subscription Client Object:
{'_client': <azure.mgmt.core._pipeline_client.ARMPipelineClient object at 0x7fce4a43da60>,
'_config': <azure.mgmt.resource.subscriptions._configuration.SubscriptionClientConfiguration object at 0x7fce4a43d6d0>,
'profile': <KnownProfiles.default: <azure.profiles.DefaultProfile object at 0x7fce4a707bb0>>}
DEBUG:azure.core.pipeline.policies._universal:Request URL: 'http://<IP_ADDRESS>:8081/msi/token?api-version=2017-09-01&resource=https://management.azure.com&clientid=ba2xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
Request method: 'GET'
Request headers:
'secret': '9edxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
'User-Agent': 'azsdk-python-identity/1.7.1 Python/3.9.16 (Linux-5.4.0-1098-azure-x86_64-with-glibc2.31)'
Request body:
This request has no body
INFO:azure.core.pipeline.policies.http_logging_policy:Response status: 500

I think you may also need to specify credential_scopes in the SubscriptionClient as it seems the default credential scope is ["https://management.azure.com/.default"].
subscription_client = SubscriptionClient(
    credentials,
    base_url="https://management.core.chinacloudapi.cn",
    credential_scopes=["https://management.core.chinacloudapi.cn/.default"]
)

Can you try that out?

Thanks for your prompt response @pvaneck . I tested with that argument and it is now working.


Add a "Contact Me" section

Should be a form that allows user to enter name, email, subject and body message

closed by #21


Notebook GPU usage

I just installed the Kubeflow 1.4 charm bundle on my K8s 1.21 cluster and am seeing the same issue as #10 where the Notebook spawner is saying the number of GPUS needs to be a string not an int. It looks like the PR to Kubeflow fixing this was: https://github.com/kubeflow/kubeflow/pull/5891. This PR looks like it is pushed in to Kubeflow v1.4-rc0.0 which means it should be merged in the code this charm is running. The code that is changed is on the frontend, so I am not sure if what is changed ends up being in the dashboard or jupyter-ui image.
I am running jupyter-ui v21 and kubeflow-dashboard v64 which are the latest from what I can see. I did notice that the kubeflow-dashboard charm is using the v1.4-rc0.0 version of the dashboard image instead of the full release image v1.4. Not sure if that is causing it?
Thanks for the help!

Hi @SpontaneousDuck , thanks for reporting this. This appears to be an upstream issue that has been reported several times in kubeflow/kubeflow in our charm repos. In most of the issues they mention kubeflow/kubeflow#5891, though that doesn't seem to resolve it.
I've came across kubeflow/kubeflow#6014, in particular this comment. After changing form.py as suggested there, re-building the container image, and re-deploying, the issue is not present anymore for me.
There is a PR#6051 that introduces that exact change.

Ok! Took me way too long to figure out since I am new to charms but I got it working. I was able to build my own image from kubeflow/kubeflow#6014 and use that with the jupyter-ui charm. Here's what I did for anyone else with the issue:

git clone https://github.com/edhenry/kubeflow.git
cd kubeflow/components/crud-web-apps/
git checkout ae2b87653a29e747c27a524e2e39556ed08b43d1
docker build -t <docker_hub_credentials>/jupyter-web-app -f ./jupyter/Dockerfile .
docker push <docker_hub_credentials>/jupyter-web-app
juju remove-application jupyter-ui
juju deploy jupyter-ui --resources oci-image=<docker_hub_credentials>/jupyter-web-app
juju relate istio-pilot jupyter-ui

If you have a single-node setup I believe you could just build the image locally and not push it to a hub. Might be wrong about that though. My setup is multi-node so this worked for me.

Thanks for the update @SpontaneousDuck. We are working on a fix for Charmed Kubeflow whilst the issue in upstream gets resolved, in the meantime, we'll have to workaround it as you described.
My suggestion is, instead of using @edhenry's fork and checking out to the commit hash, you clone kubeflow/kubeflow, checkout to v1.4.0 and cherry-pick the change or edit form.py manually and build the image (you could even use theMakefile provided in kubeflow/components/crud-web-apps/jupyter), that way you don't miss any important commits that have been added since July '21.

FYI, #6051 will get merged soon.

I've been create kubeflow bundle to follow this installation instructions.
but I have problem that can't creating notebook with gpu with this issue
Any updates for this? I think PR #6051 will get merged soon. and I also hope that. but I think this issue can be more longer.
How soon will fix this issue for cherrypick .../jupyter/backend/apps/common/form.py?

@phyyou thanks for raising this again, we will make sure this PR gets merged for the next upstream Kubeflow release (1.6) and will include it with our release too. You can expect that release to happen around July.

#6051 has been merged, this fix will be included in Charmed Kubeflow 1.6 (release soon), thus I am closing this issue. Feel free to re-open if you find any issues.


inferno-motion - production Webpack bundle is incorrect.

Inferno Motion - production Webpack issue.
Observed Behaviour
inferno-motion's production Webpack build is not exporting Inferno libraries correctly.

@nilz3ro is this something you could pick up? I've battled with the webpack config to get it working, but I had no luck. :(

@trueadm yes definitely, I'll work on it this week. By the way, I think the modules in create-inferno-app need to be re-published. I'm getting errors on npm install because there's no name property in the package.json file. I think someone may have run npm publish instead of the custom publish script npm run publish.

@nilz3ro I've republish create-inferno-app, can you let me know if everything works okay now?

@trueadm npm install create-inferno-app works fine now, along with all of the generated npm scripts including eject. 💯


Remove AIX specific definition of sigval

AIX definition of sigval is actually the same as other unix. Remove the union definition as other platforms treat it like a pointer after #3185.

Thanks! @bors r+

:pushpin: Commit 7a1d2c6f9daa45f88810b93d6e28ed612a001397 has been approved by JohnTitor
It is now in the queue for this repository.

@bors retry

:hourglass: Testing commit 7a1d2c6f9daa45f88810b93d6e28ed612a001397 with merge c1a63d502f166e44cdd30ab95f9ac86954bf8bea...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing c1a63d502f166e44cdd30ab95f9ac86954bf8bea to master...

:eyes: Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request.


add token to codecov

Resolves #19264
See how the tests goes to decide if this can be merged.
We may need to add the secret to the repo if it is not there yet.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 54.46%. Comparing base (c8700f4) to head (0c139a4).
Report is 98 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #19312       +/-   ##
===========================================
- Coverage   80.14%   54.46%   -25.68%
===========================================
  Files         341      366       +25
  Lines       36163    40071     +3908
  Branches     7116     7769      +653
===========================================
- Hits        28982    21825     -7157
- Misses       5578    16655    +11077
+ Partials     1603     1591       -12

Flag
Coverage Δ

keras
54.46% <ø> (-25.53%)
:arrow_down:

keras-jax
?

keras-numpy
54.46% <ø> (-2.63%)
:arrow_down:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Groundtruth creation

Currently we use a majority vote of mapswipe users to decide the ground-truth of a tile.
From looking at some tiles which we classify as "boring" in the current setup I noticed a few contain things that should be mapped. The mapswipe user votes might also be noisy.
How to improve the ground truth?
One idea is to use OSM QA tiles. If the corresponding QA tile contains something this is a tile that is "interesting", if not we assume it is empty because it is boring (not because it hasn't been mapped yet).
Next step: download a country extract of QA tiles and see how easy it is to determine if a tile is "empty"

Another approach could be to use the rendered OSM tiles and and do pattern matching to decide if they are "empty" or not.
A further advantage of using QA tiles or OSM tiles is that we are not limited to training data that has been mapswiped.


How do I modify the default maven repository path？

@ZhiYinZhang almond uses Coursier for dependency resolution. So if you'd like to add or set maven repositories, have a look at the Coursier docs: https://get-coursier.io/docs/api.html#repositories.

This page, linked from the one that @sbrunk linked, mentions COURSIER_REPOSITORIES, which can be useful for that.


REQUEST: enable mysqlDebug runtime

as title suggest, it could be really usefull to create a server-side command to enable debug.

Will add this with the next update, if I do not forget.


Problem with width if I use chosen on a modal form

I'm very happy with the directive. Current I do have a small problem if I try to use it on a modal form (with bootstrap) as the width is always 0.
I'm able to reproduce it http://plnkr.co/edit/NPdH9wBrXBLiAjE5yMlN?p=preview and on the example I show on the first screen a "regular" chosen that is working and if you press the button you will see that it's not working the same.
I did have a look inside of the chosen.jquery.js file and I found that on the line 433 may I have the possibility to handover some options but I could not find out how I can use / set the options. I always fall into the else case and the >>this.form_field.offsetWidth << is always 0 in this case.
Any idea would be really great
Dirk

I noticed that the chosen element gets the width of the select .. so e.g. if you have a select with the bootstrap class 'form-control' the width of the chosen will always be 100%..
but if you want your chosen to be exactly the width of the content you can do this:
.chosen-container{
    width: auto !important;
}

or you give the container a min-width..

I tried a couple of solutions but using this script on top of my html was the only thing that worked for me.
$("select:not('.chosen-specify-width')").chosen({width: '90%'});
$(".chosen-specify-width").chosen({width: '90%'}).show();
$("div").show();

http://jsfiddle.net/geJ7t/1/

This worked for me
.chosen-container{
  width: 100% !important;
}

To fix this issue which is duplicate of #42 you can set the  width="'100%'" and it'll fix your issue:
Your plunkr with the solution http://plnkr.co/edit/XcQzmH?p=preview


Nothing Happens when added to Raindrop

Nothing Happens when added to Raindrop No Error. No raindrop in tabs

see #2


mods

i don't  know how the mods get installed  i have them in the folder just not working

Open the mods folder and move the downloaded zip there. There's a link for instructions when you download a mod

i put it in the folder it does not work but do i have to code anything?

No. Follow the instructions again


ScaffoldNetwork not in C# wrappers

What does this implement/fix? Explain your changes.
Exposes ScaffoldNetwork, TautomerQuery and RGroupDecomposition to SWIG C# wrappers.
Any other comments?
I can't get ScaffoldNetwork.counts to wrap properly in C#, so I added an helper extension method.
On Linux building the C# wrappers does not wrap std::vector<unsigned>.  Adding a SWIG template for std::vector<unsigned> breaks the build because of conflicts with the template for std::vector<boost::uint32_t>.  Other than the extension method I was unable to find a workaround.  Interestingly, the Java wrappers do not have this problem with the std::vector<boost::uint32_t> template applied to std::vector<unsigned>.

This reminds me that I should get a C# build working on my Linux box and try it out occasionally.
Would also be worth adding the new MolEnumerator.i here too


Close down Jira tickets for content style issues

What
We have some old tickets in Jira for content style issues. They should all be in the GitHub backlog now.
Why
We should have only one backlog so that people know where to go and can find the most up to date information.
Must do

[ ] Check with Editorial Content Manager first to make sure that closing down Jira content style tickets does not cause problems - from 14 January
[ ] Make sure that all issues are captured in GitHub
[ ] Close down Jira tickets

@sarawilcox did we manage to do this?

No, afraid not yet, @chrimesdev


Setting ENV vars for server via lxc.environment?

Is there currently a way to set env vars for the server? Unfortuneately i can't see a way to set an ENV variable to be set when booting a server. If i understand correctly its trivial to add it it via config.set lxc.environment=RAILS_ENV=production but why isn't there are simple config env call ?

So I do have a branch which adds support to set environment variables for LXD. Those variables will be set for pid1 (lxc.environment) and on any exec command.
However note that init systems typically strip the environment they receive, so don't expect the environment to survive for things that are spawned by the init system of the container.

Thanks for your quick response! I also want to thank you for building this simple tool. Especially after trying to port existing solutions such as my rails environments to this and the least amount of pain compared to docker/rocket/insert something here.
I'd love to check that branch if possible. Also i am wondering even though im feeding raw lxc settings why doesn't it show up? Is it because init strips the ENV settings like you explain? I've used this:
lxc config set my-container raw.lxc 'lxc.environment = RAILS_ENV=production'

?

Hi,
Yes, you're hitting the case where init ignores its own environment and doesn't propagate to the child processes.
My branch will make it possible to do "lxc config set my-container environment.RAILS_ENV production" which will expand to lxc.environment as you're currently doing as well as set the environment variable for you in any exec call.
I've been working on that mostly to have http_proxy and https_proxy set properly for the user. The fact that init systems don't propagate their environment to their children makes the feature not nearly as useful as it could be for other cases (like yours).

True, but having the env available in both init (even if its ignored) and in the exec calls really makes it a lot easier to come to a simple painless solution. Since we're migrating from heroku (which uses LXC and env variables for setting configuration in their apps, it brings us closed to a painless experience migrating.  We have about 20 env vars for a typical rails app.
I think however other uses might want to be able to kill the default env vars in lxc exec calls just to start clean maybe.
I would love a workflow like this:

lxc config container set environment.RAILS_ENV=production (repeat until done)
lxc exec  container rake (passes the env varibales)

and optionally uses lxc exec container -strip-env in order to start clean exec not passing the default variables.
Where can i checkout the branch?


Adds spot-pricing flag for quick best effort calculation + docs

What this PR does / why we need it:
Adds spot-pricing flag to cluster apply command. This will apply a best effort spot price to each instance pool based on an average of the last 3 days pricing + 25%.
Adds documentation for spot pricing.
fixes #451
fixes #452
Adds spot-pricing flag to cluster apply

/assign @mattbates
/cc @mattbates


Is there a safe/recommended way to upgrade yt-dlp before xklb has quite caught up?

Or is that unwise?
(Many thanks @chapmanjacobd for your suggestions and/or recommendation here!)
Related:

https://github.com/yt-dlp/yt-dlp/releases/tag/2023.11.16
https://github.com/yt-dlp/yt-dlp/releases/tag/2023.11.14
e.g. xklb currently includes yt-dlp 2023.10.13: https://github.com/chapmanjacobd/library/blob/e96edb0a80337bffa316562e719765aeeca55131/pdm.lock#L2533-L2549

hey Adam,
You should be fine doing:
pip install --upgrade xklb

And then months later:
pip install --upgrade yt-dlp

Things should just work. Even though library and yt-dlp depend on having a common interface in one or two places--it is unlikely to break. If things break, open a specific issue for it and I'll try to get things back on track ASAP :-)
Personally, I update yt-dlp each week as a cron-job but if there is a platform change then sometimes I will do the above pip install --upgrade yt-dlp.
You can also try yt-dlp --update-to master and I think it should be fine assuming it uses the same python environment that xklb is installed in (I haven't tried this yet).
The pdm.lock file is mostly aspirational. So don't take it too seriously :)


Adding a collapsible button

Is your feature request related to a problem? Please describe.
The left section is static and is covering extra area.
Describe the solution you'd like
Collapsible button can be used and the extra area and be utilized in some other way
Describe alternatives you've considered
Transitions and hover effects can be added on images and buttons
Additional context
Add any other context or screenshots about the feature request here.

Hey 👋🏻 can I give this one a shot?

Yes this feature should be there.Hope, it will help to view full page.

So Can I work on it?

@monizb  take a look into this

@monizb then remove up for grabs tag.


XML was designed to be self-descriptive,

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Congrats @yuktaanand on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


url request does nothing on ios/ mac

I'm trying to do a simple url request to post to facebook and twitter. It works on Android, Windows, blackberry and Neko. On ios and mac it does not work but it doesn't crash neither.
The code is really simple. I uploaded a demo here:
https://github.com/Tembac/HaxeFlixelSocialMediaDemo/tree/master

This is fixed in newer builds


Validate parameters in body

Is there a way to validate parameters in the body?, if I have for example the following schema:
post:
      description: Creates a new pet in the store.  Duplicates are allowed
      operationId: addPet
      parameters:
        - name: pet
          in: body
          description: Pet to add to the store
          required: true
          schema:
            $ref: '#/definitions/NewPet'

Here is the link of the example I am using: https://github.com/swagger-api/swagger-spec/blob/master/examples/v2.0/yaml/petstore-expanded.yaml
There is a way to validate that the parameters received in the body of the post are right?
I saw in the documentation that this is not explicit so I think that maybe this feature don't exist.

body and formData are not yet implemented.
https://github.com/pipermerriam/flex/blob/master/flex/validation/operation.py#L94
Getting those in is high on my priority list, but finishing https://github.com/pipermerriam/flex/pull/42 is my first priority.

Great!
Thanks for the quick response @pipermerriam

closing as this is a duplicate of #9


Too many file importing will lock the ui

Player.async
https://github.com/itchyny/ChromePlayer/commit/04ef38784b7ba8986649df745146e41c6aa9cbf5


Docutils code directive is not recognized.

Hi,
And first of all thanks for this amazing extension.
While writing non-sphinx reStructuredText documents i noticed that the basic code:: directives were not recognized, only the sphinx extension code-block:: is recognized.
For the purpose of highligthing they seem to perform the same task (the sphinx one has a bit more options), at least that is the conclusion i made from comparing the docutils documentation with the sphinx documentation.
Now i am not sure if support for the original docutils implementation is desired for this extension. If so you might want to consider changing all code-block-* modules in rst.tmLanguage.json (using the shell one as example):
"code-block-console": {
-			"begin": "^(\\s*)(\\.{2}\\s+code-block::)\\s*(console|shell|bash)\\s*$",
+ 			"begin": "^(\\s*)(\\.{2}\\s+(code|code-block)::)\\s*(console|shell|bash)\\s*$",
			"while": "^\\1(?=\\s)|^\\s*$",
			"beginCaptures": {
				"2": {
					"name": "keyword.control"
				},
-				"3": {
+ 			        "4": {
					"name": "variable.parameter.codeblock.console"
				}

Or something similar (this is how i 'fixed' it on my end).

You should create a pull request for this as well.


irmin-bench: use the latest version of Printbox

Usage of PrintBox_text now uses UTF-8 box-drawing characters by default, and the previous optional printbox.unicode library no longer exists.
This should fix the CI, which is currently failing on main due to the release of printbox.0.6.

Codecov Report

Merging #1733 (3715f69) into main (ddf0ec9) will decrease coverage by 0.02%.
 Consider uploading reports for the commit ce7c953 to get more accurate results

@@            Coverage Diff             @@
##             main    #1733      +/-   ##
==========================================
- Coverage   60.66%   60.63%   -0.03%
==========================================
  Files         102      102
  Lines       12920    12919       -1
==========================================
- Hits         7838     7834       -4
- Misses       5082     5085       +3

Impacted Files
Coverage Δ

bench/irmin-pack/trace_stat_summary_pp.ml
0.18% <ø> (-0.19%)
:arrow_down:

src/irmin-git/atomic_write.ml
82.11% <0.00%> (-1.33%)
:arrow_down:

src/irmin-unix/fs.ml
65.16% <0.00%> (-0.65%)
:arrow_down:

Continue to review full report at Codecov.

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

I'm unable to install printbox 0.6 locally. It also doesn't show on https://opam.ocaml.org/packages/printbox/
Is there a problem on the opam side?

Is there a problem on the opam side?

There is indeed. The opam repository cache has frozen for several days, but the CI is unaffected as it has its own cache. You can bypass this locally by using the Git repository directly:
; opam repo set-url default git+https://github.com/ocaml/opam-repository.git


mapping and rfc7946 ring ordering

RFC7946 specifies an ordering for rings:

A linear ring MUST follow the right-hand rule with respect to the
area it bounds, i.e., exterior rings are counterclockwise, and
holes are clockwise.
Note: the [GJ2008] specification did not discuss linear ring winding
order.  For backwards compatibility, parsers SHOULD NOT reject
Polygons that do not follow the right-hand rule.

Currently, mapping does not change / correct the ordering of rings. Should there be an option in mapping to generate GeoJSON Polygons according to RFC7946?
E.g. by orienting the rings first using something like
    if isinstance(geometry, Polygon):
        return orient(geometry, sign=1.0) # type: ignore
    elif isinstance(geometry, MultiPolygon): # type: ignore
        return MultiPolygon([orient(geom, sign=1.0) for geom in geometry.geoms]) # type: ignore

That sounds as a useful option, yes.
I was looking at GEOS if they actually also support this, but it's not exposed in the C API. It is a bit unfortunate that the normalize() method (GEOSNormalize) seems to do the exact opposite than what we want here (outer ring clockwise, inner rings counter clockwise)


[ignore] HADOOP-19087. Release Hadoop 3.4.1: test branch

PR to help test this against asf staged artifacts

closing; all good now


can't login to get image by kitemetic

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

Please try to login using your Docker ID (hub username) instead of your email. This should fix the issue.


Touch event issues duplicate elements

Problem
Currently touch events are freezing up due to the nature of Sortable, Swappable and Droppable. Draggable itself is not affected as it does not move the source/target element around while dragging.
The spec says that touch events (touchstart, touchmove, touchend/touchcancel) keep dispatching touch events on the original TouchEvent.target, which means when you remove the active target from the DOM between touchstart and touchend, no touch events should bubble in the DOM.
In draggables case the original target is not completely removed or replaced, but instead just moved around in the DOM with the same reference. This seems to sometimes freeze up touch events, i.e. no touchend or touchcancel is called at all, so there is no way to clean up the mirror gracefully.
Currently we can’t find a good fix for this issue as we want to move the source/target element as you drag. And I don't seem to be able to find a browser bug or documentation around it, which baffles me.
Some potential fixes:

Queue up DOM manipulations and execute in a different frame than the touch handlers
Attach touchstart on draggable elements (rather than container) and attach touchmove, touchend and touchcancel after the first touchstart fired, so events should fire even when not attached to the DOM

We are working towards a fix and will close this issue once resolved
Some resources on Touch events:

https://developer.mozilla.org/en-US/docs/Web/API/Touch_events
https://w3c.github.io/touch-events

Same bug on iOS 11.0.1 iPhone 8+
https://s3.amazonaws.com/x01/bug-reports/shopify-draggable-too-fast.mov (11mb)


HIco_single_test

Nice work.
I make the hico_single_test, but why i get map all zero, and my test image has 4773 images, while yours 573 in readme file.
Thank you.

Hello.
Have you solved the problem of demo? I also need a demo, but I don't know how to make it.


Do not elevate unless necessary

This changes elevate.cmd to first try to execute the requested command without elevation. If the command failed (i.e., ERRORLEVEL was non-zero), then retry the command with elevation.
Fixes #510

I've tested that this works on Windows 10.0.18363 with Developer Mode enabled and %NVM_SYMLINK% set to %APPDATA%\nodejs.


AdjVectorBQM.to_file() fails

Right now using AdjVectorBQM.to_file fails with TypeError: to_file() takes no keyword arguments, and even if we resolved that there would a recursion error. Even though AdjVectorBQM is deprecated, we should support file-view for backwards compatibility.

See https://github.com/dwavesystems/dwave-cloud-client/pull/471/commits/8d86adde1f3dd025e9f6cdac5393061eb1cc52cc in https://github.com/dwavesystems/dwave-cloud-client/pull/471


Add Tiktok and Flickr icons to footer

The icons are available here: https://www.figma.com/file/RRxsfLNxjoypKrfJg1EwJf/ILO_Components_Library_LIVING?type=design&node-id=5949-9510&mode=design&t=FrbmSe9vSeJIAbKD-0

@wc-lei We just noticed the Linkedin icon is also missing. Is this something you could add to both the footer and the new component you're creating?


feat: add C implementation for stats/base/dists/uniform/variance

Resolves #3837
Description

What is the purpose of this pull request?

This pull request:

adds C implementation for stats/base/dists/uniform/variance along with relevant docs, tests, examples and benchmarks.

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #3837

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

@aayush0325 @Planeshifter  js native benchmarks ( benchamark.native.js ) are get skipped


Bluetooth: Mesh: Fix broken proxy adv test

Relaxes test requirements for proxy_adv_multi_subnet_coex to resolve failing test on CI.

@Andrewpini @alxelax When you realize about a bug in main which blocks CI, please create a bug report (even if just a quick one). When main is broken many people will try to find out why. Not having a bug report means several people will waste their time reproducing and debugging what you already know.


tree-sitter: 0.22.5 -> 0.22.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for tree-sitter is: A parser generator tool and an incremental parsing library
meta.homepage for tree-sitter is: https://github.com/tree-sitter/tree-sitter
meta.changelog for tree-sitter is: https://github.com/tree-sitter/tree-sitter/blob/v0.22.6/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.22.6 with grep in /nix/store/0ifjqydlk7sziq42r3xiv5z67pgwmiy1-tree-sitter-0.22.6
found 0.22.6 in filename of file in /nix/store/0ifjqydlk7sziq42r3xiv5z67pgwmiy1-tree-sitter-0.22.6

Rebuild report (if merged into master) (click to expand)

8100 total rebuild path(s)

8100 package rebuild(s)

First fifty rebuilds by attrpath

aerc
afew
agda
agdaPackages._1lab
agdaPackages.agda
agdaPackages.agda-categories
agdaPackages.agda-prelude
agdaPackages.cubical
agdaPackages.functional-linear-algebra
agdaPackages.standard-library
alot
astroid
auctex
cflow
cscope
cutter
cutterPlugins.jsdec
cutterPlugins.rz-ghidra
diffsitter
easycrypt
emacs
emacs-gtk
emacs-lsp-booster
emacs-nox
emacs29
emacs29-gtk3
emacs29-nox
emacs29-pgtk
emacsPackages.a
emacsPackages.aa-edit-mode
emacsPackages.aangit
emacsPackages.aas
emacsPackages.abc-mode
emacsPackages.abgaben
emacsPackages.abl-mode
emacsPackages.abridge-diff
emacsPackages.abs-mode
emacsPackages.abyss-theme
emacsPackages.ac-alchemist
emacsPackages.ac-c-headers
emacsPackages.ac-capf
emacsPackages.ac-cider
emacsPackages.ac-clang
emacsPackages.ac-dcd
emacsPackages.ac-emacs-eclim
emacsPackages.ac-emmet
emacsPackages.ac-emoji
emacsPackages.ac-etags
emacsPackages.ac-geiser

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0ifjqydlk7sziq42r3xiv5z67pgwmiy1-tree-sitter-0.22.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A tree-sitter https://github.com/r-ryantm/nixpkgs/archive/693471128715a7ea020ac4c81c3b03db33b8387b.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/693471128715a7ea020ac4c81c3b03db33b8387b#tree-sitter

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0ifjqydlk7sziq42r3xiv5z67pgwmiy1-tree-sitter-0.22.6
ls -la /nix/store/0ifjqydlk7sziq42r3xiv5z67pgwmiy1-tree-sitter-0.22.6/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @Profpatsch for testing.

Closing in favor of: https://github.com/NixOS/nixpkgs/pull/312415
Updating without updating grammars is pointless


IP Range support

Managed to get your original code rebased to current trunk.

Added support for StandardACLAuthorizer for Kraft
Added tests for above

@rgo - to make the PR more readable I can update your fork trunk to current Kafka trunk and cherry pick the commits - if you can give me write access to your fork :)

@flyingcougar I have added you as collaborator (after merging 😓).

@flyingcougar below commits in the URL, should be the commits to be cherry picked, right?
https://github.com/apache/kafka/compare/trunk...rgo:kafka:KAFKA-4759-acl-authorizer-subnet-support