Homework 11

Video:
https://drive.google.com/file/d/1Dj-W-8wSY4mUNhplpNS-WJbXDH9cXeCa/view?usp=sharing
Screenshots :
https://docs.google.com/document/d/1b1kytBwclI8z1mPCIoqfGBu6GD41y5332-cUMAy9AkY/edit?usp=sharing
Lessons learnt:
Transactional
JDBC

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
17

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

The remaining code sniffs are because of the use of depreciated .query()


Referencing volume with wrong capitalization causes duplicate mount point error

Version - v1.0.1
Steps to Reproduce:

Add glusterfs and convoy glusterfs catalogs
Go to Storage Pools and Add Volume
Make the Volume Name = Testvolume
Create a service (or a container) and point the volume to testvolume:/newfolder, and volume driver = convoy-gluster

Results: Service fails and says " Error (500 Server Error: Internal Server Error ("Duplicate mount point '/newfolder'"))
Expected: In Add Volume, the Name is case insensitive (I can only add testvolume once no matter if I change to anything to be capital or not), we should recognize that for the service as well.

Legit bug, but I don't think it is critical enough to keep in 1.2.0. Can we bump out?


chore(main): release 1.0.4

:robot: I have created a release beep boop
1.0.4 (2024-01-25)
Bug Fixes

trigger build (87e39b3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ProxityStudios/freshland/releases/tag/v1.0.4 :sunflower:


BUG in bubble-sort.js

Bug detail
file name : bubble-sort.js
Counter example
bubbleSort([23, 34, 25, 12, 54, 11]));
should return // [11, 12, 23, 25, 34, 54]
instead it returns [23, 25, 12, 34, 11, 54]
it just pushes the biggest number to the end and does not sort the array.
I would like to submit the pull request for the same.
Additional context
Add any other context about the problem here.

Can you assign me this issue

Can you assign me this issue

This is the pull request #647 for this issue


ApiBehaviorApplicationModelProvider overwrites existing BindingInfo in entirety when inferring binding sources

Problematic code: https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.Core/Internal/ApiBehaviorApplicationModelProvider.cs#L180-L186
More details:
ApiBehaviorApplicationModelProvider attempts to infer BindingSource for parameters that do not already have a BindingSource specified. Typically a BindingSource is calculated for a parameter, when it has attribute such as FromQuery or it's a special type that ModelMetadata knows about (such as CancellationToken, IFormFile) or has a ModelBinderType specified (e.g. [ModelBinder(typeof(SomeBinderType))].  When a BindingSource is inferred, the provider overwrites the BindingInfo for the parameter, discarding other pieces of BindingInfo such as BinderModelName, IPropertyFilterProvider, and IRequestPredicateProvider.
Here's a scenario that's broken:
[ApiController]
public class TestController
{
    [HttpGet("api")]
    public IActionResult ModelBinderAttribute([ModelBinder(Name = "top")] int value);
}

The resulting BindingInfo for value would have a null BinderModelName

Change ModelBinder to FromQuery as a workaround
[ApiController]
public class TestController
{
    [HttpGet("api")]
    public IActionResult ModelBinderAttribute([FromQuery(Name = "top")] int value);
}

Looks like it affects more scenarios than I had originally accounted for. See https://github.com/aspnet/Mvc/issues/7799. More specifically, when specifying a custom binder type, the binder name is not passed through (it's always empty). You have to account for it in the binder which is ugly. Filed https://github.com/aspnet/Mvc/issues/7804 to port this to the patch release.

Looks like it wasnt fixed in 2.1.1?
I tried removing
[FromForm(Name = "formfile")]
And it it doesn't work. I have to add this attribute, and the property that matches the variable name.


Invalid column name: orderby uses a column alias that does not exist

Under rather peculiar circumstances, orderby tries to use a column alias in the ORDER BY clause that is not present in the SELECT clause.
Exception:
fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
      Failed executing DbCommand (29ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [item].[Id], [item].[Name] AS [AnotherName]
      FROM [Items] AS [item]
      ORDER BY [item].[Id], [SomeName]
System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'SomeName'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues)

Steps to reproduce
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;

namespace EFCoreBugTest
{
    class Program
    {
        static void Main(string[] args)
        {
            using (var context = new Context())
            {
                context.Database.EnsureDeleted();
                context.Database.EnsureCreated();

                var problem = from item in context.Items
                              orderby item.Id, item.Name
                              select new SomeOtherObject
                              {
                                  Id = item.Id,
                                  SomeName = item.Name,
                                  AnotherName = item.Name
                              };

                var boom = problem.ToList();
            }

            Console.ReadLine();

        }
    }

    public class Context : DbContext
    {
        public static readonly LoggerFactory logger = new LoggerFactory(new[] { new ConsoleLoggerProvider((_, __) => true, true) });

        public DbSet<Item> Items { get; set; }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseLoggerFactory(logger);
            optionsBuilder.UseSqlServer("Data Source=(localdb)\\MSSQLLocalDB;Initial Catalog=master;Database=demo;Integrated Security=True");
        }
    }

    public class Item
    {
        [Key]
        public int Id { get; set; }
        public string Name { get; set; }
    }

    public class SomeOtherObject
    {
        public int Id { get; set; }
        public string SomeName { get; set; }
        public string AnotherName { get; set; }
    }
}

Expected result
SELECT [item].[Id], [item].[Name] AS [AnotherName]
FROM [Items] AS [item]
ORDER BY [item].[Id], [item].[Name]

Actual result
SELECT [item].[Id], [item].[Name] AS [AnotherName]
FROM [Items] AS [item]
ORDER BY [item].[Id], [SomeName]

Further technical details
EF Core version: 2.1.0
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 7
IDE: Visual Studio 2017 15.7.2

@mcorthout Do you know if this was working with 2.0 release?

@ajcvickers - Its a regression from 2.0.2

@divega Looks like a reasonably common case--should we patch?
@smitpatel Do you know if there is a workaround?

It is slightly uncommon to include same property multiple times in the selector. (alongwith the same property being used in ordering which is necessary for bug to reproduce)
The easiest work-around would be to remove duplicated property reference. (In this case remove AnotherName = item.Name line). In case of DTO like above it may not be always possible in that case the query could be rewritten like following:
                var problem = from a in
                              (from item in context.Items
                               orderby item.Id, item.Name
                              select new { item.Id, item.Name }
                              ).ToList()
                               select new SomeOtherObject
                              {
                                  Id = a.Id,
                                  SomeName = a.Name,
                                  AnotherName = a.Name
                              };

It cause client eval for DTO part but it will not pull any additional data from server. In case of the DTO is inside subquery it is going to cause client eval anyway so above work-around does not worsen the query.

Triage: after considering the fix, we think the risk is low enough that we can take this as a patch.

I also has this issue. The workaround works, but keep in mind that this :
context.Address.Select(a => new
                    {
                        a.ClientFk,
                        a.ClientFkNavigation.Id,
                    });

Will also throw the error because it is effectively the same property, even though it is not obvious at first glance.

This is approved for 2.1.3. Do not merge yet; branch is expected to open Monday.
Given these issues have been parked for some time, please be careful to ensure the correct commits get into the correct branches.

@smitpatel This issue is approved for patch and the release\2.1 branch is now open for merging. Please ensure:

The appropriate changes get into both the release and dev branches
Quirking is included for the release branch only

Ported to release in 23e9fc8d841828e051c8f655825656ab7d356ad7
Already merged to dev in 995822a14ee160d178cc97e6b80500cdfb86b9ee


Fixed a couple of formatting issues in tutorial

Andrew, thanks very much
For future ref any PRs should target the "development" branch, so I will make these changes myself. thanks


Update and rename mycodelab.is-cool.dev.json to codelabworks.is-cool.…

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] Your website is not hosting on the following due to SSL issues: Vercel, Netlify

Description

i have my subdomain with nameserver record if i change the subdomain name still the same domain, can i keep the ns record.
Link to Website

the reason is because i am planning to change the name of the subdomain to a better one in my opinion


set-xcode-plist-value 1.0.0

I have added a new step which allows users to modify a key value in a plist, this is great if you wish to inject build specific variables into a property list.

@Reedyuk
LGTM! Thanks for the contribution! 🚀


Doctool regression: multiline description formatting is broken

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Any OS, current master (2e89dd19)
Issue description:
Doctool outputs a wrong formatting for multiline descriptions, likely a regression from a recent change (@LeeZH). Example:
diff --git a/doc/classes/AStar.xml b/doc/classes/AStar.xml
index 10ca3035f..1ff58bb57 100644
--- a/doc/classes/AStar.xml
+++ b/doc/classes/AStar.xml
@@ -5,7 +5,8 @@
 	</brief_description>
 	<description>
 		A* (A star) is a computer algorithm that is widely used in pathfinding and graph traversal, the process of plotting an efficiently directed path between multiple points. It enjoys widespread use due to its performance and accuracy. Godot's A* implementation make use of vectors as points.
-		You must add points manually with [method AStar.add_point] and create segments manually with [method AStar.connect_points]. So you can test if there is a path between two points with the [method AStar.are_points_connected] function, get the list of existing ids in the found path with [method AStar.get_id_path], or the points list with [method AStar.get_point_path].
+
+You must add points manually with [method AStar.add_point] and create segments manually with [method AStar.connect_points]. So you can test if there is a path between two points with the [method AStar.are_points_connected] function, get the list of existing ids in the found path with [method AStar.get_id_path], or the points list with [method AStar.get_point_path].
 	</description>
 	<tutorials>
 	</tutorials>
@@ -45,12 +46,18 @@
 			</argument>
 			<description>
 				Adds a new point at the given position with the given identifier. The algorithm prefers points with lower [code]weight_scale[/code] to form a path. The [code]id[/code] must be 0 or larger, and the [code]weight_scale[/code] must be 1 or larger.
-				[codeblock]
-				var as = AStar.new()
-
-				as.add_point(1, Vector3(1,0,0), 4) # Adds the point (1,0,0) with weight_scale=4 and id=1
-				[/codeblock]
-				If there already exists a point for the given id, its position and weight scale are updated to the given values.
+
+[codeblock]
+
+var as = AStar.new()
+
+
+
+as.add_point(1, Vector3(1,0,0), 4) # Adds the point (1,0,0) with weight_scale=4 and id=1
+
+[/codeblock]
+
+If there already exists a point for the given id, its position and weight scale are updated to the given values.
 			</description>
 		</method>
 		<method name="are_points_connected" qualifiers="const">
@@ -82,15 +89,24 @@
 			</argument>
 			<description>
 				Creates a segment between the given points.
-				[codeblock]
-				var as = AStar.new()
-
-				as.add_point(1, Vector3(1,1,0))
-				as.add_point(2, Vector3(0,5,0))
-
-				as.connect_points(1, 2, false) # If bidirectional=false it's only possible to go from point 1 to point 2
-				                               # and not from point 2 to point 1.
-				[/codeblock]
+
+[codeblock]
+
+var as = AStar.new()
+
+
+
+as.add_point(1, Vector3(1,1,0))
+
+as.add_point(2, Vector3(0,5,0))
+
+
+
+as.connect_points(1, 2, false) # If bidirectional=false it's only possible to go from point 1 to point 2
+
+                               # and not from point 2 to point 1.
+
+[/codeblock]
 			</description>
 		</method>
 		<method name="disconnect_points">

Steps to reproduce:
Run godot --doctool . in Godot's source and see the results.

Regression from #12025.


New Soda csi-plug-n-play | experimental feature

What type of PR is this?
/kind new feature
What this PR does / why we need it:
This PR brings in the new soda-csi-plug-n-play feature which will enable user to provision heterogenous storage.
Detail design for this feature is available here :  https://github.com/sodafoundation/design-specs/master/specs/csi-plug-n-play/alternate-design/
Usage of this feature can be demonstrated with an example over here
A demo video of this feature is available here
Note : This feature was developed seperately in csipnp_dev branch and now this PR aims to brings in thoose changes to master as well.
Which issue(s) this PR fixes:

Fixes #377
Test Report Added?:
/kind TESTED
Test Report:
A sample test and demo video link has been shared above

/cc @kumarashit @skdwriting @sushanthakumar


Line should work inside containers

https://forum.babylonjs.com/t/gui-line-in-rectangle/1279

Done: https://github.com/BabylonJS/Babylon.js/commit/9909855b90353e75019da334552d6ed4b5156aaf


Package "sqlsrv" Version "5.9.0beta2" does not have REST xml available

.+Please check the FAQ (frequently-asked questions) first. If you have other questions or something to report, please address the following:
+## PHP Driver version or file name

sqlsrv-5.9.0beta2
+## SQL Server version
5.9.0beta2 and 5.9.0
+## Client operating system
Docker in mac os Catalina
+## PHP version
8.0.2
+## Microsoft ODBC Driver version
sqlsrv-5.9.0beta2
+## Table schema

+## Problem description

When I try sqlsrv using pecl, I am got this error: Package "sqlsrv" Version "5.9.0beta2" does not have REST xml available
+## Expected behavior and actual behavior

+## Repro code or steps to reproduce

Hi @caiovncius , have you tried the production release 5.9.0 (instructions here)?

Yes, but no without success. I got the same error

I have the Same issue! Running Docker on Big Sur.

Hi @RonaldMones and @caiovncius, I think the issue is PECL, not Big Sur. It also happened to me when I was testing with Ubuntu 18.04 yesterday. I tried again after about 5 minutes or so, and pecl install worked again.

Hi @RonaldMones and @caiovncius, I think the issue is PECL, not Big Sur. It also happened to me when I was testing with Ubuntu 18.04 yesterday. I tried again after about 5 minutes or so, and pecl install worked again.

Thank you for your answer! But we are both using it on Docker, not direct on MacOS.

Theoretically, it shouldn't make a difference, @RonaldMones
However, If pecl install still fails, what's the outputs of running the following commands?
pecl channel-update pecl.php.net
pecl search sqlsrv

There's a workaround that's worth trying:
pecl download sqlsrv
tar xvzf sqlsrv-5.9.0.tgz
cd sqlsrv-5.9.0/
phpize
./configure --with-php-config=/usr/bin/php-config
make
sudo make install

Closing this issue due to inactivity @caiovncius
Please feel free to reopen if necessary

Theoretically, it shouldn't make a difference, @RonaldMones
However, if pecl install still fails, what's the outputs of running the following commands?
pecl channel-update pecl.php.net
pecl search sqlsrv

There's a workaround that's worth trying:
pecl download sqlsrv
tar xvzf sqlsrv-5.9.0.tgz
cd sqlsrv-5.9.0/
phpize
./configure
make
sudo make install

I've tried this as well, same error message. I installed on Docker as well.
Running pecl download sqlsrv in MacOS no issues. I can download it.
But running on Docker pecl download sqlsrv, return the following errors:
 > [6/8] RUN pecl download sqlsrv:
#10 1.963 Package "sqlsrv" Version "5.9.0" does not have REST xml available
#10 1.965 download failed

My docker image based on ubuntu 20.04.

At the moment, workaround I downloaded the tar files from PECL website, and store it my repository, and do the following in the Dockerfile:
COPY ./.docker/ext/sqlsrv-5.9.0.tgz .
COPY ./.docker/ext/pdo_sqlsrv-5.9.0.tgz .

RUN tar xvzf sqlsrv-5.9.0.tgz \
    && cd sqlsrv-5.9.0/ \
    && phpize \
    && ./configure \
    && make \
    && make install

RUN tar xvzf pdo_sqlsrv-5.9.0.tgz \
    && cd pdo_sqlsrv-5.9.0/ \
    && phpize \
    && ./configure \
    && make \
    && make install

RUN printf "; priority=20\nextension=sqlsrv.so\n" > /etc/php/8.0/mods-available/sqlsrv.ini \
    && printf "; priority=30\nextension=pdo_sqlsrv.so\n" > /etc/php/8.0/mods-available/pdo_sqlsrv.ini

RUN phpenmod -v 8.0 sqlsrv pdo_sqlsrv

Hope this help others having same issue.

[6/8] RUN pecl download sqlsrv:
#10 1.963 Package "sqlsrv" Version "5.9.0" does not have REST xml available
#10 1.965 download failed

My docker image based on ubuntu 20.04.

Hi @nasrulhazim
So your docker image is based on Ubuntu 20.04 but you're using Docker for macOS?

run this command solved to me pecl channel-update pecl.php.net

That's great, @caiovncius
Thanks for your confirmation

[6/8] RUN pecl download sqlsrv:
#10 1.963 Package "sqlsrv" Version "5.9.0" does not have REST xml available
#10 1.965 download failed

My docker image based on ubuntu 20.04.

Hi @nasrulhazim
So your docker image is based on Ubuntu 20.04 but you're using Docker for macOS?

Yes

@nasrulhazim what are the versions of your Docker for macOS and the Linux kernel?
Have you tried installing another pecl package lately?

I just did a quick test @nasrulhazim in macOS Catalina with the latest Docker installed. Instead of Ubuntu I simply used one of the php official images (Debian 10), like this:
FROM php:7.4-buster
RUN apt-get update && apt-get install -y gnupg2 apt-transport-https \
    && curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
    && curl https://packages.microsoft.com/config/debian/10/prod.list > /etc/apt/sources.list.d/mssql-release.list \
    && apt-get update \
    && ACCEPT_EULA=Y apt-get install -y msodbcsql17 mssql-tools \
    && apt-get install -y unixodbc-dev \
    && pecl install sqlsrv \
    && pecl install pdo_sqlsrv \
    && docker-php-ext-enable sqlsrv pdo_sqlsrv

Closing this again due to inactivity.


Searching for an Arabic phrase with diacritics returns "Phrase not found"

Arabic tashkeel is supplementary diacritics that describe how Arabic text is pronounced. When searching for an Arabic text those diacritics should be ignored. The case now is no match would be found.
Ref.
https://en.wikipedia.org/wiki/Arabic_diacritics

Firefox now has "Match Diacritics" as an option for searching which is a really great feature. pdf.js should follow that. Now that attachments are allowed here is a PDF with a couple of Arabic words.
basmala.pdf
Searching for
بسم الله
or any part of it should match while "Match Diacritics" is not selected. Whereas, searching for
بِسْمِ اللهِ
or any part of it should match while "Match Diacritics" is selected.

Firefox now has "Match Diacritics" as an option for searching which is a really great feature. pdf.js should follow that. Now that attachments are allowed here is a PDF with a couple of Arabic words.
basmala.pdf
Searching for
بسم الله
or any part of it should match while "Match Diacritics" is not selected. Whereas, searching for
بِسْمِ اللهِ
or any part of it should match while "Match Diacritics" is selected.

I think it can be done in https://github.com/mozilla/pdf.js/blob/master/web/pdf_find_controller.js.
I think an algorithm could be:
i) get diacritics positions in the string but only for already decomposed forms
ii) normalize the text in using NFKD (?) to have decomposed forms
iii) strip out the diacritics and get their positions
Now we can search in the string without any diacritics and get the original position of the substring in the original string using diacritics positions.
I wonder how are the performances for such an algo... and maybe we've better (faster) functions in firefox to do that stuff (at least for the firefox version).

I think it can be done in https://github.com/mozilla/pdf.js/blob/master/web/pdf_find_controller.js.
I think an algorithm could be:
i) get diacritics positions in the string but only for already decomposed forms
ii) normalize the text in using NFKD (?) to have decomposed forms
iii) strip out the diacritics and get their positions
Now we can search in the string without any diacritics and get the original position of the substring in the original string using diacritics positions.
I wonder how are the performances for such an algo... and maybe we've better (faster) functions in firefox to do that stuff (at least for the firefox version).


Fix current command README.md

changing kool init laravel to kool preset laravel

@renan-s-oliveira thanks!


HBASE-26963 ReplicationSource#removePeer hangs if we try to remove bad peer.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 57s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
3m 20s
branch-2 passed

+1 :green_heart:
compile
2m 17s
branch-2 passed

-0 :warning:
checkstyle
0m  6s
The patch fails to run checkstyle in hbase-server

-1 :x:
spotless
0m 39s
branch has 24 errors when running spotless:check, run spotless:apply to fix.

+1 :green_heart:
spotbugs
1m 15s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m  1s
the patch passed

+1 :green_heart:
compile
2m 12s
the patch passed

+1 :green_heart:
javac
2m 12s
the patch passed

+1 :green_heart:
checkstyle
0m 29s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
8m  2s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

-1 :x:
spotless
0m 33s
patch has 65 errors when running spotless:check, run spotless:apply to fix.

+1 :green_heart:
spotbugs
1m 19s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 10s
The patch does not generate ASF License warnings.

28m 33s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4413

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile

uname
Linux 65c7c27bad7c 5.4.0-1025-aws #25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 91eab0b657

Default Java
AdoptOpenJDK-1.8.0_282-b08

checkstyle
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/1/artifact/yetus-general-check/output/buildtool-branch-checkstyle-hbase-server.txt

spotless
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/1/artifact/yetus-general-check/output/branch-spotless.txt

spotless
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/1/artifact/yetus-general-check/output/patch-spotless.txt

Max. process+thread count
60 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 41s
Docker mode activated.

-0 :warning:
yetus
0m  6s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
3m 47s
branch-2 passed

+1 :green_heart:
compile
0m 35s
branch-2 passed

+1 :green_heart:
shadedjars
3m 53s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 24s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m  5s
the patch passed

+1 :green_heart:
compile
0m 34s
the patch passed

+1 :green_heart:
javac
0m 34s
the patch passed

+1 :green_heart:
shadedjars
3m 52s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 21s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
178m 16s
hbase-server in the patch passed.

195m 55s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4413

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 96110dc7da99 5.4.0-1071-aws #76~18.04.1-Ubuntu SMP Mon Mar 28 17:49:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 91eab0b657

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/1/testReport/

Max. process+thread count
2694 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  5s
Docker mode activated.

-0 :warning:
yetus
0m  5s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
2m 48s
branch-2 passed

+1 :green_heart:
compile
0m 46s
branch-2 passed

+1 :green_heart:
shadedjars
3m 51s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 28s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 32s
the patch passed

+1 :green_heart:
compile
0m 47s
the patch passed

+1 :green_heart:
javac
0m 47s
the patch passed

+1 :green_heart:
shadedjars
3m 48s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 26s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
193m 26s
hbase-server in the patch passed.

211m 56s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4413

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 7267dcc78f98 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 91eab0b657

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/1/testReport/

Max. process+thread count
2376 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

branch-2 PR is also ready for review and merge. @Apache9  @apurtell

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 49s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
3m 43s
branch-2 passed

+1 :green_heart:
compile
2m 17s
branch-2 passed

+1 :green_heart:
checkstyle
0m 31s
branch-2 passed

-1 :x:
spotless
0m 39s
branch has 24 errors when running spotless:check, run spotless:apply to fix.

+1 :green_heart:
spotbugs
1m 19s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m  6s
the patch passed

+1 :green_heart:
compile
2m 14s
the patch passed

+1 :green_heart:
javac
2m 14s
the patch passed

+1 :green_heart:
checkstyle
0m 28s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
8m  4s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotless
0m 38s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
1m 19s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m  9s
The patch does not generate ASF License warnings.

29m 38s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4413

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile

uname
Linux 4b692fb6110c 5.4.0-1043-aws #45~18.04.1-Ubuntu SMP Fri Apr 9 23:32:25 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 91eab0b657

Default Java
AdoptOpenJDK-1.8.0_282-b08

spotless
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/2/artifact/yetus-general-check/output/branch-spotless.txt

Max. process+thread count
65 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/2/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Looks like there are 2 spotless checks happening, one for the branch and other for the patch.
The branch one is failing but the patch one succeeded. So there is nothing for me to do ?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 46s
Docker mode activated.

-0 :warning:
yetus
0m  5s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
2m  7s
branch-2 passed

+1 :green_heart:
compile
0m 34s
branch-2 passed

+1 :green_heart:
shadedjars
3m 51s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 20s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m  3s
the patch passed

+1 :green_heart:
compile
0m 35s
the patch passed

+1 :green_heart:
javac
0m 35s
the patch passed

+1 :green_heart:
shadedjars
3m 53s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 22s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
178m 15s
hbase-server in the patch passed.

194m 14s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/2/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4413

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux e65448cdda35 5.4.0-1071-aws #76~18.04.1-Ubuntu SMP Mon Mar 28 17:49:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 91eab0b657

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/2/testReport/

Max. process+thread count
2363 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/2/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 21s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
2m 41s
branch-2 passed

+1 :green_heart:
compile
0m 48s
branch-2 passed

+1 :green_heart:
shadedjars
3m 55s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 28s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 34s
the patch passed

+1 :green_heart:
compile
0m 49s
the patch passed

+1 :green_heart:
javac
0m 49s
the patch passed

+1 :green_heart:
shadedjars
3m 50s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 26s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
197m 37s
hbase-server in the patch passed.

216m 27s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4413

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux bb1db8c4f040 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 91eab0b657

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/2/testReport/

Max. process+thread count
2543 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4413/2/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Please set separate about: for openjdk

Since this feedstock has an output that coincides with the main builds from https://github.com/conda-forge/openjdk-feedstock, this cause the description of that package to be wrong, see https://github.com/conda-forge/openjdk-feedstock/issues/116.
Please add a separate about: to the openjdk output which matches the summary from that feedstock (which IIUC correctly, should be enough to ensure that the artefacts get the correct description again).

I can copying the about section, but isn't the issue already with the openjdk-feedstock itself? Right now when I visit https://anaconda.org/conda-forge/openjdk I see

So I guess the non-Linux build was uploaded last. But when I actually get an OpenJDK on Linux, I will not get a Zulu build at all. 🤔

Sidenote: for the same reason as openjdk here, the python should also get an about: that matches what python-feedstock does.

PyPy also provides a python output, and no separate about: section for it (https://github.com/conda-forge/pypy-meta-feedstock/blob/main/recipe/meta.yaml). So are we saying all packages that provide matching outputs need to copy their about sections around? That seems suboptimal :-/

There something else going on with that website. Right now the latest build is a graalvm openjdk from this feedstock here:

But the description is

Which is not even the description for the previous linux uploads of the openjdk package. So I'm not convinced about how this works.


docker -H / --host does not accept an IPv6 address

Description of problem:
When using docker -H or --host, an IPv6 address cannot be used.  I have tried the industry standard format of [] and that does not work either.  Here are two examples: One with no brackets and one with brackets.  Also, if i use a DNS name vs. IPv6 address, I get an error that the daemon is not running (which it is works fine over IPv4).
root@swarm-master-00:~# docker -H tcp://fd15:4ba5:5a2b:1009:20c:29ff:feaf:81c3:8333 info
invalid value "tcp://fd15:4ba5:5a2b:1009:20c:29ff:feaf:81c3:8333" for flag -H: Invalid bind address format: fd15:4ba5:5a2b:1009:20c:29ff:feaf:81c3:8333
See 'docker --help'.
root@swarm-master-00:~# docker -H tcp://[fd15:4ba5:5a2b:1009:20c:29ff:feaf:81c3]:8333 info
invalid value "tcp://[fd15:4ba5:5a2b:1009:20c:29ff:feaf:81c3]:8333" for flag -H: Invalid bind address format: [fd15:4ba5:5a2b:1009:20c:29ff:feaf:81c3]:8333
See 'docker --help'.
root@swarm-master-00:~# docker -H tcp://swarm-master-v6:8333 info
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
docker version:
Client:
Version:      1.9.1
API version:  1.21
Go version:   go1.4.2
Git commit:   a34a1d5
Built:        Fri Nov 20 13:12:04 UTC 2015
OS/Arch:      linux/amd64
Server:
Version:      1.9.1
API version:  1.21
Go version:   go1.4.2
Git commit:   a34a1d5
Built:        Fri Nov 20 13:12:04 UTC 2015
OS/Arch:      linux/amd64
docker info:
Containers: 1
Images: 13
Server Version: 1.9.1
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 15
Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-74-generic
Operating System: Ubuntu 14.04.3 LTS
CPUs: 2
Total Memory: 1.948 GiB
Name: swarm-master-00
ID: N2EK:5XBF:XVEG:6O3E:MU5I:PKVN:22SS:3AMT:RHVG:MGFU:DGSV:MJCA
WARNING: No swap limit support
uname -a:
Linux swarm-master-00 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Environment details (AWS, VirtualBox, physical, etc.):
VM running in Fusion 8.1.0
How reproducible:
Easily
Steps to Reproduce:

Enable IPv6 on host
Install Docker Engine
Enable IPv6 for Docker (Use this for reference: https://docs.docker.com/engine/userguide/networking/default_network/ipv6/)
Enable docker swarm
Try to connect to swarm and get basic info

Actual Results:
docker -H tcp://[fd15:4ba5:5a2b:1009:20c:29ff:feaf:81c3]:2375 info
invalid value "tcp://[fd15:4ba5:5a2b:1009:20c:29ff:feaf:81c3]:2375" for flag -H: Invalid bind address format: [fd15:4ba5:5a2b:1009:20c:29ff:feaf:81c3]:2375
Expected Results:
Full output of docker swarm info
Additional info:

Hasn't https://github.com/docker/docker/pull/16950 probably made it yet into a release?

It's not in a release yet, but will be in 1.10.
Closing as this was fixed already by #16950


TEST PR - DON'T TOUCH

This PR:

adds/changes/removes etc

Testing
Description on how {APP-NAME} can be tested.

[ ] fresh install works
[ ] upgrade from previous version works

Checklist

[ ] Update changelog in CHANGELOG.md.
[ ] Make sure values.yaml and values.schema.json are valid.

/run cluster-test-suites

/run cluster-test-suites

let's try again
/run cluster-test-suites

last time
/run cluster-test-suites


Any plans for PK chunking support?

Are there any plans to support PK chunking via the Bulk API? This technique is mainly used to query object types with many millions of records and is described here:
https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/async_api_headers_enable_pk_chunking.htm
It's obviously only available for certain standard objects, but it appears to support all custom objects as well. By sending the Sforce-Enable-PKChunking header with the API request, Salesforce will automatically use the primary key of the table (Id) to split the batch into smaller batches and query a specific range of base-62 Ids based on chunk size. Since this is a primary key and therefore extremely well-indexed, it allows queries on large data sets to proceed extremely quickly.
I see no option to pass this into the Bulk implementation in jsforce (neither high or low level). It seems like this could be implemented in the low-level implementation by calling Bulk#createJob() with operation set to "query" and then creating a batch from that job with the appropriate header(s) sent across in the POST (note that you can pass over an optional startRow if you're retrying/resuming a previously failed job).
It appears that creating a batch with the PK chunking header will force Salesforce to create many sub-batches, each of which can be monitored and retrieved separately. Once all batches have been downloaded, the job can be closed.
I don't mind implementing this using the low-level API on my own, but I don't even see any support for passing in those headers into a bulk job. Do you have any plans to support this in the near future? Thanks!

+1

I've proposed a PR to add support for this feature, please take a look & comment if you feel there is something missing or to be improved
https://github.com/jsforce/jsforce/pull/780


[feature][bugfix] Support unbound 1.6 and OpenBSD 6.1

fixes #34
OpenBSD 6.1 box

due to an issue in our Jenkins slaves, the PR cannot built and will be renamed.


Allow digits 0-9 in include guards

Without this change, headers generated for tables foo0 and foo1 in the same namespace have clashing include guards.

Thanks!


Include a more prominent "Contribute" button on the front page

Right now we just have a $ icon at the very bottom of the page, which might be confusing to some, especially older visitors.
From Sandy's comment on Slack:

Suggestion to the techie people... some of us older folks (who me?) don't recognize those great icons at the bottom for what they are. Someone needs to put a "CONTRIBUTE" button on the page.
On the top...front and center!

I can try this. Should it actually be front and center? Would probably have to shrink the find your city button and either put one above the other, or side by side. Which is best?
One could also work under the "Get ready for the most beautiful campaign ever." if we move that text up a little.

Based on the suggestions we've gotten today I feel like the traditional "3-column marketing site" layout would be good for us, e.g.
| Find Your City Main CTA |
| Sign up CTA | Volunteer CTA | Contribute CTA |

There seems to have been a lot of discussion on the homepage recently and I know @saikat has also been doing some work on it as well, so maybe it involves a more organized discussion where we can give it a proper design treatment. That being said please feel free to try out something you think might work!

Yup I have a work in progress here. Will show you guys once I get on my
computer
On Sun, Jun 19, 2016 at 7:15 PM Travis Kaufman<EMAIL_ADDRESS>wrote:

Based on the suggestions we've gotten today I feel like the traditional
"3-column marketing site" layout would be good for us, e.g.
| Find Your City Main CTA |
| Sign up CTA | Volunteer CTA | Contribute CTA |
There seems to have been a lot of discussion on the homepage recently and
I know @saikat https://github.com/saikat has also been doing some work
on it as well, so maybe it involves a more organized discussion where we
can give it a proper design treatment. That being said please feel free to
try out something you think might work!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BrandNewCongress/website/issues/67#issuecomment-227029023,
or mute the thread
https://github.com/notifications/unsubscribe/AAFHRs1Ga0jTniFq7aYFoo8eYEmVxcl0ks5qNduOgaJpZM4I5Nxp
.

This was fixed a while back.


Documentation issue: sample code incorrectly uses "parameter_name" instead of "parameter_key"

In the March 2021 developer guide, all the example code for inline parameter usage incorrectly use "parameter_name" to reference the key, which triggers an error in the pipeline build process.  The syntax documentation properly refers to this as "parameter_key".

Thanks for bringing this our attention. We will update the guide with the "parameter_key" in the examples.

This change was released in v2.1.0


Bind mount for /dev not handled correctly

After passing host /dev as a volume to a container, I was seeing issues accessing certain devices within the container. Inspecting the config.json for the container, revealed that two mounts had been added with destination /dev.
 {
                        "destination": "/dev",
                        "type": "tmpfs",
                        "source": "tmpfs",
                        "options": [
                                "nosuid",
                                "strictatime",
                                "mode=755",
                                "size=65536k"
                        ]
},
...
 {
                        "destination": "/dev",
                        "type": "bind",
                        "source": "/dev",
                        "options": [
                                "rw",
                                "rbind",
                                "nodev",
                                "rprivate",
                                "bind"
                        ]
},

Shouldn't the config.json just contain the second bind mount?

cc @mythi
cc @mrunalp

Took a brief look at how the mounts are added to the spec:
https://github.com/kubernetes-sigs/cri-o/blob/master/server/container_create_linux.go#L844
I think its necessary to override the mount created by the spec generator by user supplied mount.
In case of /dev,  I think it is necessary to filter out all the mounts under /dev that have been created by spec generator.

We're getting hit by this too with Rook&Ceph:
2018-11-01 07:16:15.909661 I | rook-discover: failed to probe devices: failed initial hardware discovery. failed to list all devices: Failed to complete 'lsblk all': open /dev/null: permission denied.
2018-11-01 07:16:15.909738 I | rook-discover: failed to update device configmap: failed initial hardware discovery. failed to list all devices: Failed to complete 'lsblk all': open /dev/null: permission denied.
failed initial hardware discovery. failed to list all devices: Failed to complete 'lsblk all': open /dev/null: permission denied.

Affects versions >= 1.11.7, 1.11.6 works fine.
My guess it's cause of this: https://github.com/kubernetes-sigs/cri-o/pull/1831

Affects versions >= 1.11.7, 1.11.6 works fine.

our issue is seen with 1.11.6 too.

Looks like must be because of nodev. We will fix and add a test so we don't regress on this. Thanks!

@runcom @amshinde the bug I saw (I worked with @amshinde) is at least gone.
crio version 1.11.9-dev
commit: "c22b5ef27271152006998e8345414b208dc16a62"

awesome, that has been fixed by #1884 when I backported that fix to 1.11 and 1.12, we're going to release new tags hopefully by end of the week. Thanks a lot for checking.

cc @lsm5

@amshinde Make sure you have https://github.com/kubernetes-sigs/cri-o/releases/tag/v1.12.1.


parse configs

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@abhishekkrthakur Hi, this change:
https://github.com/huggingface/autotrain-advanced/pull/614/files#diff-2f47c23122ba39298a8d6243f20cc82e153896067b90440b97ad3dcf31cc986dR80-R82
        if _params["quantization"] == "none":
            _params["quantization"] = None

made the quantization config parameter required. It throws KeyError when it's missing.
Is it intended? Should it be something like this?
        if _params.get("quantization") in ["none", None]:
            _params["quantization"] = None

yes. its only used for ui. cli remains unaffected.

Right. I noticed it, because I wasn't able to use training parameters for UI you provided in the tutorial as is. Maybe it's worth to update the article.


python312Packages.tencentcloud-sdk-python: 3.0.1149 -> 3.0.1150

Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1149...3.0.1150
Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1150/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 313064 run on x86_64-linux 1

4 packages built:

python311Packages.tencentcloud-sdk-python
python311Packages.tencentcloud-sdk-python.dist
python312Packages.tencentcloud-sdk-python
python312Packages.tencentcloud-sdk-python.dist


Initializing JS/TS language features spinning constantly #103740 still happening

VSCode Version:1.50.0
OS Version:Windows 10 Home

Steps to Reproduce:
1.Install VSC or update to version 1.50.0
2.Open some Help pages.
3.Click on the tab for an existing file ("Interactive Playground").
Observe that the purple status bar has a spinner "Initializing JS/TS..." at the left. It never stops spinning.

Does this issue occur when all extensions are disabled?: Yes!
See #103740.

I recently saw this too, and only got it to stop by disabling TypeScript and JavaScript Language Features (the "rich" plugin) entirely. Not that I care, since I don't use TS/JS much anyway. But obviously, that shouldn't be required to not make it do that

I don't have such a Typescript plugin. My VSC contains Insert Unicode, PHP interphense, Restore Editors, and Save All only.

Click "Extensions" > "Filter Extensions..." (the left-most icon on the top of the extensions search window) > "Built-in" to see it, it doesn't normally show in the regular list

There are a lot of these. What is the exact name, please?

As I already wrote above it is named: TypeScript and JavaScript Language Features
The list is alphabetical, so with a bit of scrolling you should hopefully find it

Oh, I disabled "TypeScript Language Basics" before I saw the screenshot. My bad. I've corrected it. For future reference, it is in the Extensions > Features section, as shown clearly in the screenshot. Thanks.

Closing this as:

It only effects the interactive playground
The interactive playground is not much used

@mjbvz is the playground to be removed then? Otherwise this decision would seem pretty inconsistent

Actually this effects other in-memory resources too so reopening. To verify:

Use the Fs provider extension sample
Open

This strange bug thread is one reason I've decided not to use VSC as my code editor. I don't want to use an editor, no matter how otherwise functional, that can't fix its own bugs in an intelligent and timely way.

Somedays you just can't win at open source :)

mjbvz,. I think that is true. Only when there are good bug fixers and good documentation writers and good designers and good coders in the active community does Open Source really shine. Otherwise, I've evaluated 14 code editors and discovered that those that are sold by a single developer for money are freest of bugs and the best documented. In may cases, they are also the most functional products.

It may be of interest to those who have been following my search for a code editor to know that I've given up my search as fruitless and plan to write my own. It will be lightweight, easily extendible, and work with all OSs because it will be an Ajax/JavaScript/PHP/Bootstrap self-hosted website. It will welcome an Open Source community for extensions and suggestions only, and I will fix any bugs and document it myself.


Add Arc Ultra support

The new Arc Ultra devices identify themselves as "Sonos Arc Ultra". This adds support for the soundbar-related controls.

Thanks for adding this. It's now released in SoCo v0.30.6.


localci as a pipeline with support of CodeBuild

Usage:
Prerequisites:

Install docker client on your machine.
Build an docker image from Official AWS CodeBuild repository for managed Docker images:

git clone https://github.com/aws/aws-codebuild-docker-images.git
cd aws-codebuild-docker-images
cd ubuntu/docker/17.09.0
docker build -t aws/codebuild/docker:17.09.0 .

After building an docker container image, it is a perfect moment to execute a statically linked localci binary or use go run magic when building from source:
go run -v ./cmd/localci/main.go \
    codebuild run \
        --basedir ./_examples/aws-codebuild/sample/ \
        --file ./_examples/aws-codebuild/sample/buildspec.yml \
        --image aws/codebuild/docker:17.09.0 \
        --env "SOME_VARIABLE=Hello World" \
        --env CODEBUILD_RESOLVED_SOURCE_VERSION=`git rev-list --all --max-count=1`

Errors:

[x] There is an error reported when running aws/codebuild/docker:17.09.0  image:

time="2018-04-15T16:58:17.820815736Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
can't create unix socket /var/run/docker.sock: device or resource busy

[x] Volume after mounting on guest docker (golang:1's in example) are empty, so it reports following error:

stat main.go: no such file or directory

Fixes #1


test: don't use <experimental/filesystem> on macOS.

Xcode 11 requires at least macOS 10.15 (upcoming) in order to use
either <experimental/filesystem> or C++17 .
Signed-off-by: Piotr Sikora<EMAIL_ADDRESS>

cc @asraa @lizan


Login Error

Hello, you all have done a great job with Jina and I'm really excited to get started with it, particularly with your finetuner.
I am trying to log in to Jina through the login portal using my email and password but when it redirects me to cloud.jina.ai, the login button is still active at the top indicating that it never logged me in. I click the login button and it brings me back to the login portal and restarts the loop, never actually letting me login.
Please help. Thank you!

hi @jjohn485 thanks for reporting, we have fixed the google colab, hopefully it works for you know, I'll close this PR and feel free to raise a new one if you have further questions!


Translate tutorial/views

Finally finished the translation of the whole tutorial.

@FesonX Thanks for the review!


Systems page- Created Atdropdown is incorrect

The created at dropdown in the systems page seem to be wrong. They are currently showing metrics.

😂 This list is supposed to show all things that you can sort by. But I agree, this is probably confusing (even though I designed this UI).

Another problem: the changing sort direction button doesn't work.
Steps to reproduce:

Filter the systems by tasks: choose test-classification
Choose 'Accuracy' in the 'Create At' dropdown
Click the changing sort direction button and the systems are not sorted by accuracy


Private audience to work/school account

We are releasing to a private audience but some of the emails are work/school account. Those user can not see the listing. It works fine for personal emails.

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

ID: fe1cc4da-53ea-e79d-c59a-c213e75db486
Version Independent ID: b56a46e7-785a-6bd1-030c-8c500c268bfc
Content: Choose visibility options - Windows UWP applications
Content Source: windows-apps-src/publish/choose-visibility-options.md
Product: uwp
Technology: publish
GitHub Login: @hickeys
Microsoft Alias: hickeys

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


Unit tests for the component

help wanted for jest unit test

Code Coverage:
https://codecov.io/gh/cn-wx/vue-hotspot/src/master/src/components/VueHotspot.vue
Any contribution is welcomed


Sanity check on rational literals

tests/type-errors/invalid_rational_literal.arl
archetype invalid_rational_literal

variable r : rational = 2 / 0


[WEB] Select Answer in Positions If Many Answers

If more than 4 answers on multiple choice, hide carousel and use select instead.

Nice, looks good, and sorely needed!

Thanks for working on this, it's pretty unusable atm! Just one problem with the UI as you have it now, on mobile it's wider than the page:

@IanPhilips My bad, just pushed a fix for that overflow issue

Looks great, thanks @casesandberg!


boot_write_swap_size() works incorrect with align 1 and/or 2

boot_write_swap_size() API calculates swap_size offset inside boot_swap_size_off();
This one uses BOOT_MAX_ALIGN, which is allowed to be from list of [1, 2, 4, 8].
In case of values 1 and 2 writing swap_size (which length is 4-bytes) will corrupt neighbor values - copy_done, image_ok, magic.

This one uses BOOT_MAX_ALIGN, which is allowed to be from list of [1, 2, 4, 8].

BOOT_MAX_ALIGN is fixed at 8: https://github.com/JuulLabs-OSS/mcuboot/blob/master/boot/bootutil/include/bootutil/bootutil.h#L61

Closing, not a defect.


Remove inline styling and change CSS to SCSS

I notice that codacy did not process your config file specifying an intent level of 4.  So I poked around in codacy and discovered that I can change it there.  And I did.  If we can figure out how to make codacy reevaluate we can determine it will honor the project's setting of 4.

Coming along nicely!

I notice that codacy did not process your config file specifying an intent level of 4. So I poked around in codacy and discovered that I can change it there. And I did. If we can figure out how to make codacy reevaluate we can determine it will honor the project's setting of 4.

I notice that codacy did not process your config file specifying an intent level of 4. So I poked around in codacy and discovered that I can change it there. And I did. If we can figure out how to make codacy reevaluate we can determine it will honor the project's setting of 4.

So it should be fine for me to delete the .stylintrc file? Also if it is possible is there a way to ignore that mainv2_3.css file since that shouldn't be looked at by Codacy, it just get's compiled by the mvn plugin.

I suppose so, unfortunately.  Codacy reports that it didn't find it.


MDE AV download options

Hello folks
I would like to know which option to download MDE AV protection updates is the latest/best.
Option 1:
It looks like a general download option for the protection updates full/delta
https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/manage-protection-updates-microsoft-defender-antivirus?view=o365-worldwide#create-a-unc-share-for-security-intelligence-and-platform-updates
This article refers to a script available at PowerShell gallery -> SignatureDownloadCustomTask/1.4 that downloads the update to a x64/x86 directory as a full and delta version. It appears no longer maintained.
Option 2:
Targeted to VDI environment and only updates the signatures as delta.
https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/deployment-vdi-microsoft-defender-antivirus?view=o365-worldwide
Which option should be used in production for general and for VDI?
Thank you for the clarification.

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

ID: 0f9be21b-f9c7-5022-4389-5f860847ffb3
Version Independent ID: 42a36c44-baf3-419d-b4ff-0a205f2ac8f8
Content: Manage how and where Microsoft Defender Antivirus receives updates
Content Source: microsoft-365/security/defender-endpoint/manage-protection-updates-microsoft-defender-antivirus.md
Service: microsoft-365-security
Sub-service: mde
GitHub Login: @denisebmsft
Microsoft Alias: deniseb

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Is sytemd needed?

If there were a forum/IRC or anything, I'd ask there, but afaict there is none. The packages automatically generate a systemd service. So it won't be compatible with other init systems like OpenRC or runit? Or am I misunderstanding anything about init daemon services or the infnoise driver? Will this differ when compiling from source (because e.g. Gentoo and Void don't have suitable packages anyway)?

Hi,
the systemd service is not required at all.
It's just for convenience: to start the driver when the device is plugged in.
There's also an openrc config in the repo: https://github.com/13-37-org/infnoise/blob/master/software/init_scripts/infnoise.gentoo.openrc, but I don't think it's used in any build steps so far.
The install target however installs the systemd files and while I guess this doesn't cause any issues on systems with openrc, it should probably be changed.


Dragging problem

Hi, I have a recurring bug. Sometimes, after dragging one item, the drag function is disabled. The cursor goes into edit mode and does not allow you to grab any element. The bug disappears after collapsing-expanding the parent node.
Screenshots
https://user-images.githubusercontent.com/784452/198878057-f6691c34-0fc8-45b3-8c63-0988850a3a9d.mp4
Desktop (please complete the following information):

OS: [e.g. iOS] Windows10
Browser [e.g. chrome, safari] Chrome
Version [e.g. 22] 106.0.5249.119

@EugeneLobski Thanks for the report.
What version of the package are you using? (e.g<EMAIL_ADDRESS>

Merged: https://github.com/minop1205/react-dnd-treeview/pull/163

@EugeneLobski We have fixed a code issue related to this problem. We have released a corrected package today as v3.2.2, so please install and try the latest version.
npm i @minoru/react-dnd-treeview@latest
```

If you still have problems, please reopen this Issue.

Thanks for your report.


Syntax error for both [>] and [<]

Nither >, nor < can be placed inside character range:
#include <ctre.hpp>

using namespace ctre::literals;
constexpr auto mini1 = "[>]"_ctre;
constexpr auto mini2 = "[<]"_ctre;

See also Compiler Explorer and Regex 101.
My setup:
$ git -C external/ctre describe --always
v2.3-46-g7a975b0
$ c++ --version
c++ (Ubuntu 8.1.0-5ubuntu1~14.04) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Fixed in commit 36eccc92d5a433de91fa47f0c28770b00fa0ebfa. Sorry for inconvinience.


No triples are generated if file construct.sparql is not present

File construct.sparql is optional, yet if it is not present the service will not generate any triple.

Fixed in v0.4.3.


Exception messages from _doRcptToCommand should not be discarded

AbstractSmtpTransport::_doMailTransaction catches instances of Swift_TransportException yielded by calls to _doRcptToCommand and handles them by only listing a failed recipient while simultaneously discarding the exception message.
This hides information the mail server is trying to convey about the reasons for rejecting a recipient. This makes debugging harder and hinders informative error reporting.
A possible solution would be to either change the filling of $failedRecipients (which could break legacy client code) or extend the interface definition by (a) an additional feedback array or (b) an optional flag to select an "extended" format for $failedRecipients.

Probably a duplicate of #353 and #424


Latency under load

This adds the automatic filters for tshark and the latency under load.  I do not understand why it is not allowing automatic merge, here.

Yeah, I would run it ... every other hour?  Daily?  Since it has a "load" it's not negligible for users.
One other thought is that some speedtest tests were shot today, and so I used iperf.
But we could / should switch this to speedtest, to get the load off of our own servers.


Add AbstractNamespaceChangedRector

To reflect changes like:
"If you write your own extensions, you should know that these namespaces was renamed: Nette\Config → Nette\DI and Nette\Utils\PhpGenerator → Nette\PhpGenerator."
Source: https://doc.nette.org/en/2.4/migration-2-1#toc-dependency-injection-di-2

Final Rector should be able to handle changes like PHP_CodeSniffer upgrade 2 to 3: https://github.com/slevomat/coding-standard/pull/151/files


added convertions from hex and cmyk colors to decimal value

same as rbg function gives abilities to use colors of such formats in embeds.

Please DONT use . as a commit message, and repeat commit messages! These show in our changelogs! :( In the future please use proper descriptive commit messages.

Please DONT use . as a commit message, and repeat commit messages! These show in our changelogs! :( In the future please use proper descriptive commit messages.

Sorry. in future I will not use "."

Are you uo to make a unit test for them?


Exception in code generation on Java 22 - NoSuchMethodError: void sun.misc.Unsafe.ensureClassInitialized

I created a minimal Gradle project to demonstrate the issue. https://github.com/edward3h/pkl-java22-unsafe
When using the pkl code generator in Gradle, on Java 22, I get an exception where this is the root cause:
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchMethodError: 'void sun.misc.Unsafe.ensureClassInitialized(java.lang.Class)' [in thread "Execution worker Thread 2"]
        at org.pkl.thirdparty.truffle.api.library.LibraryFactory.ensureLibraryInitialized(LibraryFactory.java:384)
        at org.pkl.thirdparty.truffle.api.library.LibraryFactory.getUncached(LibraryFactory.java:364)
        at org.pkl.thirdparty.truffle.api.library.LibraryFactory.<init>(LibraryFactory.java:210)
        at org.pkl.thirdparty.truffle.api.interop.InteropLibraryGen.<init>(InteropLibraryGen.java:178)
        at org.pkl.thirdparty.truffle.api.interop.InteropLibraryGen.<clinit>(InteropLibraryGen.java:169)
        at org.pkl.thirdparty.truffle.api.library.LibraryFactory.loadGeneratedClass(LibraryFactory.java:791)
        at org.pkl.thirdparty.truffle.api.library.LibraryFactory.resolveImpl(LibraryFactory.java:740)
        at org.pkl.thirdparty.truffle.api.library.LibraryFactory.resolve(LibraryFactory.java:733)
        at org.pkl.thirdparty.truffle.api.interop.InteropLibrary.<clinit>(InteropLibrary.java:2941)
        at org.pkl.thirdparty.truffle.polyglot.PolyglotValueDispatch.<clinit>(PolyglotValueDispatch.java:170)
        at org.pkl.thirdparty.truffle.polyglot.PolyglotImpl.initialize(PolyglotImpl.java:166)
        at org.pkl.thirdparty.graalvm.polyglot.impl.AbstractPolyglotImpl.setConstructors(AbstractPolyglotImpl.java:288)
        at org.pkl.thirdparty.graalvm.polyglot.Engine$1.loadAndValidateProviders(Engine.java:1107)
        at org.pkl.thirdparty.graalvm.polyglot.Engine$1.run(Engine.java:1067)
        at org.pkl.thirdparty.graalvm.polyglot.Engine$1.run(Engine.java:1061)
        at org.pkl.thirdparty.graalvm.polyglot.Engine.initEngineImpl(Engine.java:1061)
        at org.pkl.thirdparty.graalvm.polyglot.Engine$ImplHolder.<clinit>(Engine.java:143)
        at org.pkl.thirdparty.graalvm.polyglot.Engine.getImpl(Engine.java:367)
        at org.pkl.thirdparty.graalvm.polyglot.Engine$Builder.build(Engine.java:665)
        at org.pkl.core.runtime.VmUtils.<clinit>(VmUtils.java:74)

My projects work ok on Java 21.

This is a bug report for GraalVM/Truffle, I'm afraid. Pkl runs on GraalVM 23, which is compatible with JDK 17-21. I expect this to simply go away when we bump to a future GraalVM version that supports Java 22.

FYI, based on this page it appears that Truffle 24+ supports Java 23 now: https://docs.oracle.com/en/graalvm/jdk/23/docs/release-notes/#platform-and-distributions

I think the problem is that Truffle 24+ doesn't support older Java versions.
I have some ideas on how to support a wider range of Java versions and avoid getting stuck on EOL'd Truffle/Graal versions.
I'll start a discussion after the 0.27 release.

I just bumped into this. I "solved" it by forcing the resolution of the two GraalVM dependencies to 24.1.1 in my project.
What could be blocking a jump from GraalVM 23.0.6 to 24 in general? Is it just a matter of updating the version here and the hashes below?

Understood. What's the policy for Pkl on supporting older Java versions? Is it "last two LTS versions"?

I haven't heard an official statement, but Pkl only raised the baseline from 11 to 17 a couple of months ago.
Without any changes, Pkl will always stay years behind an actively maintained GraalVM version, which is undesirable for many reasons. I can think of two solutions:

Change Pkl's release model to tip and tail.
This is the change that Oracle would like to see in the Java OSS community.
A good example for a project that has adopted tip and tail is Spring Boot.
Require the latest Java LTS release if the Pkl interpreter itself (not just the Java language binding) is run as a Java library.
I think this option could be very attractive for Pkl, especially if it offered a native library in addition to the native executable.

I guess we should move this to a discussion as we're already diverging from the original issue.
I personally find value in embedding the interpreter in apps, to be able to treat the Pkl input as untrusted user input, or put another way, not to rely on an external process to do the validation and produce a well-formed JSON, YAML, etc. for consumption by the software piece that initially needed it. It's as if YAML libraries required anchors and pointers in inputs to be resolved and expanded before consuming them (on another scale).
Maybe the potential native library should be used also in Java apps, then? If so, there shouldn't be a need for a specific JDK/JRE at all for consumers.

I think there should be a Java language binding, eventually superseding pkl-core, that enables Java users to transparently run the Pkl interpreter as a Java library, native library, or external process. If users choose to run the interpreter as a Java library (which is extremely slow, very heavy on the JVM in terms of class loading and garbage collection, and isn’t an option for other language bindings), it should hopefully be OK to require the latest LTS JDK version. This would mean that the interpreter implementation can

use the latest LTS JDK features.
use the latest GraalVM version (which requires the latest LTS JDK version).
support the latest LTS and non-LTS JDK versions (which requires the latest GraalVM version and is what this issue is about).

How would a user on an incompatible Java distribution use the Java library? Does this mean they would need to spawn a sub-process like we do in pkl-go and pkl-swift?

How would a user on an incompatible Java distribution use the Java library? Does this mean they would need to spawn a sub-process like we do in pkl-go and pkl-swift?

Yes, but this can be further improved.
The Java language binding should transparently support consuming Pkl data in the following ways:

run interpreter as a Java library (if a compatible Java distribution is used)
run interpreter as a native library
run interpreter as an external process
read Pkl binary data instead of running the interpreter

for use cases where Pkl isn't deployed, e.g., service configuration
can use 1-3 at development time
should support limited runtime configuration
For example, code generated by codegen-java could handle @EnvVar("PORT") port: Int declared in Pkl schema.

including the fact that our native library/executable is slower than Pkl run directly on the JVM

This indicates that something is very wrong with the Truffle interpreter.
It could be related to networking, memory starvation/garbage collection, etc.
In any case, this should be thoroughly investigated.
Without some programs to benchmark, it's impossible for the community to help with this investigation.

I'm worried that the workarounds proposed to users that aren't on the latest LTS would impede adoption from Java users

Perpetually staying on GraalVM/Truffle versions that are several years old and totally unsupported isn't a model for success.
Running a Truffle interpreter on a regular JVM should be the exception, not the norm, and good engineering can get us there.

calling a native library from Java through JNI has its own problems

A Pkl interpreter that exclusively speaks the binary protocol has a tiny API surface. Additionally, native interop gets much easier with FFM, which was finalized in Java 22 and is already experimentally supported by native-image.
10 months from now, supported GraalVM/Truffle versions will require Java 25 LTS.  This feels totally wrong.


I can't login to Notion.

Thank you for making this plugin!
I can't seem to login into Notion. What settings do I have to tick to login?

Hi! Depends what versions of the plugin and Obsidian you're on, as well as what issue occurs when you try to log in.
If you're trying to use this plugin on mobile, websites with logins generally don't work. See this part of the README for more info on that.

I amusing the latest version which is v0.14.12.

I am using v0.14.12 which is the latest version.

I am using v0.14.12 which is the latest version.

Hi, I was also facing this issue but logged in to notion at the end. I exactly don't remember how I did it because I used the trial and error method. But I recommend you update obsidian and also log in to obsidian from here.

And add some other custom frame of some other app for example google calendar or any other and try to login in there from the same account that you gonna use in notion(I used a google account). I am not sure whether it will work or not but these are the things I tried and somehow I logged in. So try various things, it is possible.

It looks like this issue is similar to #44 and, as such, related to #40, the latter of which is an explicit request for a feature that allows opening the SSO popup within Obsidian.

Closing this in favor of #40, which should solve this issue.


FootNotes Incorrect order in commentary

In hindi commentary foot notes are written reversely.

attaching screenshot for the reference

Testing completed and the footnotes are updated correctly. As discussed moving this issue to done.


Migrating from Svelvet to Rollup

Why?
See here https://github.com/jakedeichert/svelvet/issues/83
Below is a quick guide to help you migrate to rollup.

npm uninstall svelvet
npm install rollup
npm install @rollup/plugin-node-resolve
npm install rollup-plugin-svelte
npm install rollup-plugin-terser

rollup.config.js
import fs from "fs";
import path from "path";
import resolve from "@rollup/plugin-node-resolve";
import svelte from "rollup-plugin-svelte";
import { terser } from "rollup-plugin-terser";

const IS_PRODUCTION = process.env.NODE_ENV === "production";
const extensions = [".js", ".svelte"];

export default {
    input: "src/AppRoot.svelte",
    output: {
        dir: "public/dist",
        format: "es",
    },
    watch: {
        include: "src/**",
    },
    plugins: [
        resolveRootImports({ root: "src", extensions }),
        svelte({
            dev: !IS_PRODUCTION,
            include: "src/**/*.svelte",
        }),
        resolve({ extensions }),
        IS_PRODUCTION && terser(),
    ],
};

function resolveRootImports({ root, extensions }) {
    return {
        resolveId: (importee) => {
            if (importee[0] === "/") {
                for (const ext of extensions) {
                    const rootPath = `${root}${importee}${ext}`;
                    const fullPath = path.resolve(__dirname, rootPath);
                    if (fs.existsSync(fullPath)) return fullPath;
                }
            }
            return null;
        },
    };
}

package.json
Replace svelvet with rollup:
"scripts": {
    "dev": "rm -rf public/dist && rollup -c -w",
    "build": "rm -rf public/dist && rollup -c"
},

Can you run them side-by-side? E.g. svelvet for development and rollup/webpack for production. I don't see why you couldn't, but that seems like the best of both worlds, so maybe we don't need that first npm uninstall svelvet line :smile:

You can totally keep running svelvet until a better tool comes around 😅
Though, as I just posted in your other issues, snowpack v2's svelte support is definitely worth checking out. Probably a good replacement :)


python312Packages.velbus-aio: 2024.7.6 -> 2024.10.0

Diff: https://github.com/Cereal2nd/velbus-aio/compare/refs/tags/2024.7.6...2024.10.0
Changelog: https://github.com/Cereal2nd/velbus-aio/releases/tag/2024.10.0

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 351826

x86_64-linux

:white_check_mark: 5 packages built:

home-assistant-component-tests.velbus
python311Packages.velbus-aio
python311Packages.velbus-aio.dist
python312Packages.velbus-aio
python312Packages.velbus-aio.dist


Add initial support for running via an on-system JIT

This commit adds experimental support (aka off-by-default) to execute
wasm files in a precompiled release mode JIT exposed as a dynamic
library through the proposed wasm C API 1. A build script determines
what's used, and for now it's only wired up to work on my own system. I
figured it'd be good to get this into CI though to test out and ensure
others can tinker around with this as well.

I'll note that this isn't exactly what I would call a "professional quality" PR. I'm curious what you think though about landing this. Would you like to see this in an official well-documented form? Is the WIP state ok? Is this entirely non-viable into the future? (etc, etc).
I don't mind cleaning up as desired!


Update PWA-AEP integration

Purpose of this pull request
This pull request (PR) updates the PWA-AEP integration topic to reference the new feature name: Data Connection.
Affected pages

https://developer.adobe.com/commerce/pwa-studio/integrations/adobe-commerce/aep/

Converting to draft as this should not be merged until Tuesday, November 14th.

Thanks for the review @hguthrie! Yes, those links will be live on the 14th.

@erikmarr Are there any upgrade instructions for those already using the Experience Platform Connector?

Adding DNL tags around feature name.

@erikmarr  DNL tags are for Experience League. I don't think they will provide the same effect in the devsite.

@keharper there are no specific upgrade steps for existing users. Since this is a SaaS delivered feature, the Admin will display the new name. The package names are not changing.

@hguthrie I'll remove the DNL tags. Thanks!


DEBUG Package restore failed. Rolling back package changes for 'ML-Model-Builder-2022'.

Describe the bug

On which page of the tutorial did you run into an issue (URL): https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/train

Additional context
Copying generated code to project... (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-09-03 16:08:10.0746 INFO Copying SentimentModel.consumption.cs to folder: C:\Users\Payam\Source\Repos\ML-Model-Builder-2022 (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-09-03 16:08:10.0746 INFO Copying SentimentModel.training.cs to folder: C:\Users\Payam\Source\Repos\ML-Model-Builder-2022 (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-09-03 16:08:10.0746 INFO COMPLETED (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-09-03 16:08:10.0746 INFO
Updating nuget dependencies... (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-09-03 16:08:10.0746 INFO Starting update NuGet dependencies async. (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-09-03 16:08:10.0793 INFO Installing nuget package, package ID: Microsoft.ML, package Version: 1.7.1 (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2022-09-03 16:08:10.0793 DEBUG Package restore failed. Rolling back package changes for 'ML-Model-Builder-2022'.
at NuGet.PackageManagement.NuGetPackageManager.d__89.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.NuGetPackageManager.d__86.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.NuGetPackageManager.d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.NuGetPackageManager.d__52.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.VisualStudio.Implementation.Extensibility.VsPackageInstaller.d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at NuGet.VisualStudio.Implementation.Extensibility.VsPackageInstaller.d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at NuGet.VisualStudio.Implementation.Extensibility.VsPackageInstaller.d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
at NuGet.VisualStudio.Implementation.Extensibility.VsPackageInstaller.InstallPackage(String source, Project project, String packageId, String version, Boolean ignoreDependencies)
at Microsoft.ML.ModelBuilder.Utils.Utilities.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.d__109.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.d__108.MoveNext() (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)

Thanks for reporting the issue, we are actively working on a fix.
In the meanwhile, you can manually install Microsoft.ML 1.7.1 to resolve this exception.

Hi $contact_first_name $contact_last_name,
We've received your case $acase_name (# $acase_case_number) on $acase_date_entered
Status$acase_statusReference$acase_case_numberDescription$acase_description
On 09/09/2022, 04:01, @.*** wrote:Thanks for reporting the issue, we are actively working on a fix.
In the meanwhile, you can manually install Microsoft.ML 1.7.1 to resolve this exception.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @github.com>

@LittleLittleCloud Will this be in the next release? Is the version bump of ML.NET already in?

Hi $contact_first_name $contact_last_name,
We've received your case $acase_name (# $acase_case_number) on $acase_date_entered
Status$acase_statusReference$acase_case_numberDescription$acase_description
On 20/09/2022, 06:07, @.*** @.*** Will this be in the next release? Is the version bump of ML.NET already in?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @github.com>

@beccamc
We don't have any action item for this issue. The current mlnet version in generated project should already be 1.7.1.

Hi $contact_first_name $contact_last_name,
We've received your case $acase_name (# $acase_case_number) on $acase_date_entered
Status$acase_statusReference$acase_case_numberDescription$acase_description
On 20/09/2022, 06:12, @.*** @.***
We don't have any action item for this issue. The current mlnet version in generated project should already be 1.7.1.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
Message ID: @github.com>

@SPYazdani Please update the ML.NET version to 1.7.1. Newer versions of Model Builder will generate this correctly. Let us know if that doesn't work for you - thanks!

Hi $contact_first_name $contact_last_name,
We've received your case $acase_name (# $acase_case_number) on $acase_date_entered
Status$acase_statusReference$acase_case_numberDescription$acase_description
On 20/09/2022, 06:16, @.*** wrote:Closed #2234 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @github.com>

Hi $contact_first_name $contact_last_name,
We've received your case $acase_name (# $acase_case_number) on $acase_date_entered
Status$acase_statusReference$acase_case_numberDescription$acase_description
On 20/09/2022, 06:16, @.*** @.*** Please update the ML.NET version to 1.7.1. Newer versions of Model Builder will generate this correctly. Let us know if that doesn't work for you - thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @github.com>

@beccamc This issue is not completed. Please go back and read the logs I posted.

Are you on MB version <IP_ADDRESS>1902? If not can you update and try again?

Hi $contact_first_name $contact_last_name,
We've received your case $acase_name (# $acase_case_number) on $acase_date_entered
Status$acase_statusReference$acase_case_numberDescription$acase_description
On 21/09/2022, 02:09, @.*** wrote:Are you on MB version <IP_ADDRESS>1902? If not can you update and try again?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @github.com>


Documentation Results Issues

Refer to this build: https://3415-174014757-gh.circle-artifacts.com/0/rf-site/index.html

In unsupervised-learning.pymd the final prediction raster is a single color:

In masking.pymd the masks from SCL aren't rendered properly as tiles. However, application of mask looks correct:

In raster-join.pymd need to confirm the MODIS columns is correct.... looks like multiple resolutions are being combined?

https://github.com/locationtech/rasterframes/pull/516

this first one seems similar to #511 .. not real sure but maybe

About raster join: i suspect this is an artefact of using cubic convolution near areas of NODATA. FWIW this is not specific to the branch. THe current develop branch nighly build is showing the same. Link. Screenshot:

Compare to nearest neighbor (in prod docs). Note the regions of NODATA ...

Unsupervised learning: can collect the incorrectly displaying dataframe / row/ Tile to the driver, and it shows up nicely with the PNG repr... hopefully that is an important clue

another intersting thing about that is the celltype of the rf_agg_overview_raster is int32, for the rf_agg_overview_raster but the retiled.prediction column is int8.
A further note here is that just a table view of retiled also shows a completely purple / 0 tile in the table preview

In unsupervised, retiled.select(rf_convert_cell_type('prediction', 'float32')) shows us what we expect....
possibly something to do with the way histograms are computed here https://github.com/locationtech/geotrellis/blob/bb5f8642bd0ae04913e1742d65d86e095500486d/raster/src/main/scala/geotrellis/raster/render/PngRenderMethods.scala#L52-L61


How do I make a podspec file for svn repo?

As title.

How to do with this  s.dependency?

Hi,
How to add dependency SVN project path in my Podspec.
Ex: Project1 (SVN)
-Project2 (SVN)
-Project3 (SVN)
When i Pod "URL to Project 2", It creates pod for Project2 not created for Porject3. But Project2 is dependent on Project3.
How to specify the SVN path for Project3 in Project2 podspec. Thanks in advance.
Project2.podspec  Looks like:
Pod::Spec.new do |s|
s.name         = ‘Project2’
s.version      = '0.0.1'
s.summary      = ''
s.homepage     = ‘svn url’
s.authors      = ‘authr’
s.source       = { :svn => ‘SVN url to Project2’ }
s.source_files = '**/*.{h,m}'
pch_AF = <<-EOS
#ifndef TARGET_OS_IOS
#define TARGET_OS_IOS TARGET_OS_IPHONE
#endif
#ifndef TARGET_OS_WATCH
#define TARGET_OS_WATCH 0
#endif
#ifndef TARGET_OS_TV
#define TARGET_OS_TV 0
#endif
EOS
s.prefix_header_contents = pch_AF
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'
s.dependency 'Project3', :svn => ‘url_of_podspec.podspec'
s.dependency 'AFNetworking'
s.dependency 'Mantle'
s.dependency 'XMLDictionary'
end


Exclude certains posts by ID

Hello,
I'm sorry to post as an issue but there are not discussions tabs for this plugin.
Is it possible to exclude a specific ID from the shortcode ? I'm using this plugin as related posts on each post. But it displays also the current post. In my specific case, I find this not very useful.
My current shortcdode:
<?php echo do_shortcode('[bs-grid type="post" tax="post_tag" terms="'.tag_solo().'" order="desc" orderby="date" posts="4"]'); ?>
Thank you !

I'm sorry to post as an issue but there are not discussions tabs for this plugin.

Don't say sorry when open an issue. That's why they are there and we'd love to solve them. Discussions are a new feature and only enabled at the main-theme's repo, because it's much more going on there. Issues for plugins are fine.
However, a shortcode is to select what you want to show and not to deselect. See here https://github.com/bootscore/bs-swiper/issues/4#issuecomment-1013656940 as well why the deselecting is an edge case and does not fit the plugin's spirit. So, bS Grid is not well suited to create "related posts".
Use a snippet for related posts and add it to single.php:

Das könnte Sie auch interessieren

    <?php

      $related = get_posts( array( 'category__in' => wp_get_post_categories($post->ID), 'numberposts' => 6, 'post__not_in' => array($post->ID) ) );
      if( $related ) foreach( $related as $post ) {
      setup_postdata($post); ?>

            <?php the_post_thumbnail('medium', array('class' => 'related-post-card-img h-100')); ?>

<a class="stretched-link text-dark" href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?>

    <?php }
    wp_reset_postdata(); ?>

This snippet shows six related-posts from the same category. Used for example here https://intelligent-heizen.info/bundesministerium-fuer-wirtschaft-und-klimaschutz-passt-beliebte-beg-foerderung-fuer-heizungstechnik-ab-15-august-2022-an/
Change HTML as you want or simply copy the loop content cards from bS Grid template to it.
Does this help?

Hello @crftwrk ! As always, thank you for your answer.
Your solution is a good approach, I'll use this ! It's out of scope but I prefer to use tag instead of category but I can't display the tag, I tried:
$related = get_posts( array( 'tag__in' => wp_get_post_tags($post->ID), 'numberposts' => 2, 'post__not_in' => array($post->ID) ) );

but it returns Warning : Object of class WP_Term could not be converted to int in C:\xampp\htdocs\wp-includes\functions.php
I followed : https://developer.wordpress.org/reference/classes/wp_query/#tag-parameters

There are several approaches for related posts in the web. Maybe this one https://www.hongkiat.com/blog/wordpress-related-posts-without-plugins/ is what you are searching for?

Perfect ! Thank you. I reused most of the bs-grid template and adapted to my case. Thank you basti. If it can help someone :
<?php
$tags = wp_get_post_tags($post->ID);

$tag_ids = array();
foreach($tags as $individual_tag) $tag_ids[] = $individual_tag->term_id;
$args=array(
'tag__in' => $tag_ids,
'post__not_in' => array($post->ID),
'posts_per_page'=>4, // Number of related posts to display.
'caller_get_posts'=>1
);

$query = new WP_Query( $args );
if ($query->have_posts()) { ?>

      <?php while ($query->have_posts()) : $query->the_post(); ?>

            <?php the_post_thumbnail('medium', array('class' => 'card-img-top')); ?>

              <?php bootscore_category_badge(); ?>

                <a href="<?php the_permalink(); ?>">
                  <?php the_title(); ?>

              <?php if ('post' === get_post_type()) : ?>

                  <?php
                  bootscore_date();
                  bootscore_author();
                  bootscore_comments();
                  bootscore_edit();
                  ?>

              <?php endif; ?>

                <?php the_excerpt(); ?>

                <a class="read-more" href="<?php the_permalink(); ?>"><?php _e('Read more »', 'bootscore'); ?>

              <?php bootscore_tags(); ?>

      <?php endwhile;
      wp_reset_postdata(); ?>

<?php }
    wp_reset_postdata(); ?>

👍 You‘re welcome!

We will create related posts with the bS Swiper plugin.