Fix Table Styling (esp. on mobile)

As mentioned in #244, we need to figure out a way to better handle markdown tables.
I'm pushing a quick fix in 6a95c83 to #225 but if others have better ideas please discuss here.

I would do something like this:
Desktop:

Mobile:

One thing that can maybe improve table also on desktop. On page we have a lot of tables with very important data (API properties). We lose 260px with a side bar on the side. What if we move it to the top of the page or go full out mobile approach. Also increase max-width of the content to 1200px from 1024px (Users have bigger screens now 24" and 27").
Navigation top:

**Mobile approach: (not sure how to merge it with main navigation): **

@NejcZdovc - This is the problem table that @skipjack  is trying to fix.
Its a table of how values in resolve.alias are resolved in relative and module path requires.
Can you think  of some alternate way to show this data?

@pksjce My suggestion is that we move side menu out, so that we have a lot more space. Also set max-width to the 1200px from 1024px. For mobile we create alternative table (almost the same HTML as now, just some CSS magic).
When your screen is bigger then 1200px

When is around 850px

Bellow 768px
I would show alternative table as I posted in my previous post. So we change table into alternative table with column name on the left and value on the right.

We can playaround with break points when should we move to the alternative table.

What if we move it to the top of the page or go full out mobile approach. Also increase max-width of the content to 1200px from 1024px (Users have bigger screens now 24" and 27").

Personally I think keeping the Sidebar on the side is better, however we are planning to make it sticky so the user can always navigate despite where they are on the page. Maybe we have one bigger breakpoint than the current large one but honestly I think it's fine the way it is right now. For readability I think keeping all content at a max width of about 90 - 95 characters is best (see #191).
I think the showing the donate link on smaller screens isn't a bad idea though. For the tables I was thinking something more along the lines of making the first column fixed or something so they're more approachable on mobile screens (a fixed first column might also help on desktop's for the bigger tables). The only problem with fixing the first column is that we'd have to hack how the html for tables is rendered in the markdown.js utility. Here's a CSS Tricks Article that has a few other approaches including one that doesn't require changing the markup.
I don't think the tables on desktops are as big of a problem, the scrolling fix I added in fact might be enough for that size viewport. I think we should be careful not to drastically change the layout just to accommodate a few tables. We should also consider whether using a table, especially a long table, is even the best approach in the first place.

I think it's fine the way it is right now. For readability I think keeping all content at a max width of about 90 - 95 characters is best (see #191).

Agreed completely, this is very important for readability.

Related PR - #440. @NejcZdovc look at your "alternative table" suggestion again I realize this is really similar to what the CSS Tricks Article suggests. That seems like a it would be the best approach for sure.

@skipjack sure I can tackle this, but only in few days, right now I need to finish some things. Is this ok, if not you are more then welcome to take it?

Yep that'd be great, take your time... definitely plenty of other ones I can work on resolving.

Then you can assign this issue to me

Yep, once you accept the collaborator invite I sent, I can assign you.

Accepted, thank you

Another good roundup of different approaches that I found while reviewing #875. This problem is really tough and even with that whole list there's not one that jumps out to me as particularly elegant or user-friendly.
@NejcZdovc in the process of looking through #875 and #440 now.


Add a volume slider to the sounds menu

There should be a way to turn down all the menu sounds in the Audio settings without turning down the master channel.

Will investigate


SSL Certificate Failure (Reflex Init)

Describe the bug
Running on Ubuntu 22.04, Python 3.11, I need to provide an SSL Certificate file, otherwise various stages of creating an app (reflex init) raise exceptions due to my company's security policies. I've set SSL_CERT_FILE as an environment variable pointing to my valid CA certificate but it keeps failing:
An error occurred while downloading fnm package: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify
failed: unable to get local issuer certificate (_ssl.c:1006)
I think it's failing at a threading part of the reflex init step so it's not giving me any more traceback information. I would love some help/suggestions as I wanted to give reflex a try, sadly I can't even get hello world working due to this...
To Reproduce
Steps to reproduce the behavior:

Code/Link to Repo: just installed using pip install reflex
Subset of Packages installed below:
certifi==2024.7.4
docutils==0.21.2
fastapi==0.110.3
greenlet==3.0.3
gunicorn==22.0.0
h11==0.14.0
httpcore==1.0.5
httpx==0.27.0
reflex==0.5.8
reflex-hosting-cli==0.1.13
requests==2.32.3
requests-toolbelt==1.0.0

Expected behavior
For the installation to work, create a project and then run reflex run successfully.
Specifics (please complete the following information):

Python Version: Python 3.11
Reflex Version: 0.5.8
OS: Ubuntu 22.04
Browser (Optional): N/A

Seems like this is due to bun install not respecting SSL_CERT_FILE.
There are a couple of workarounds in this thread https://github.com/oven-sh/bun/issues/271

Environment variable NODE_TLS_REJECT_UNAUTHORIZED=0

This will just ignore the cert error, which is not great, but seems to be what companies with MitM proxies encourage their users to do all the time, so probably fine.
Later in the thread someone mentions

The latest version does load /etc/ssl/certs/ca-certificates.crt on Ubuntu without any special configuration

So that might be something to try... if that doesn't work, we do have a PR in the queue that upgrades to the latest bun version that should be coming in this week.

NODE_EXTRA_CA_CERTS will be supported  after https://github.com/oven-sh/bun/pull/13150 lands


A way to create a table with unique constraints.

Context and Description
It would be handy to identify what columns should have the Unique Constraint at the time of the table creation.
As an example:
var uniqueColumns:[ String] = ["email", "identifierForVendor"]
createTableSync(using db: Database?, uniqueColumnNames: uniqueColumns)
There may be a vastly better way of doing this or a way already, but I hope you understand the need I would like to have.
Environment Details
MacOS 10.14, Xcode 10.2
Expected vs. Actual Behaviour

[ ] A way to identify and create columns with unique constraints.
[ ] There doesn't seem to be a way to do that with SwiftKueryORM.

@joemichels Currently if you want constraints like this on tables related to your models you would need to create your table through the SwiftKuery API.
I agree that having some means to describe these constraints within the Model declaration would be helpful so will move this onto the backlog for consideration in the future.


[SPARK-28690][SQL] Add the date_part function for timestamps and dates

What changes were proposed in this pull request?
In the PR, I propose new function date_part(). The function is modeled on the traditional Ingres equivalent to the SQL-standard function extract:
date_part('field', source)

and added for feature parity with PostgreSQL (https://www.postgresql.org/docs/11/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT).
The source can have DATE or TIMESTAMP type. Supported string values of 'field' are:

millennium - the current millennium for given date (or a timestamp implicitly casted to a date). For example, years in the 1900s are in the second millennium. The third millennium started January 1, 2001.
century - the current millennium for given date (or timestamp). The first century starts at 0001-01-01 AD.
decade - the current decade for given date (or timestamp). Actually, this is the year field divided by 10.
year, month, day, hour, minute, second
week - the number of the ISO 8601 week-numbering week of the year. By definition, ISO weeks start on Mondays and the first week of a year contains January 4 of that year.
quarter - the quarter of the year (1 - 4)
dayofweek - the day of the week for date/timestamp (1 = Sunday, 2 = Monday, ..., 7 = Saturday)
dow - the day of the week as Sunday (0) to Saturday (6)
isodow - the day of the week as Monday (1) to Sunday (7)
doy - the day of the year (1 - 365/366)

Here are examples:
spark-sql> select date_part('year', timestamp'2019-08-12 01:00:00.123456');
2019
spark-sql> select date_part('week', timestamp'2019-08-12 01:00:00.123456');
33
spark-sql> select date_part('doy', timestamp'2019-08-12 01:00:00.123456');
224

I changed implementation of extract to re-use date_part() internally.
How was this patch tested?
Added date_part.sql and regenerated results of extract.sql.

Can one of the admins verify this patch?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14012/
Test PASSed.

Test build #108938 has started for PR 25410 at commit af51e52.

Test build #108938 has finished for PR 25410 at commit af51e52.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/108938/
Test FAILed.

Test build #108953 has started for PR 25410 at commit e68611a.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14024/
Test PASSed.

Test build #108953 has finished for PR 25410 at commit e68611a.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/108953/
Test FAILed.

jenkins, retest this, please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14028/
Test PASSed.

Test build #108957 has started for PR 25410 at commit e68611a.

Test build #108957 has finished for PR 25410 at commit e68611a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/108957/
Test PASSed.

Could you rebase this to the master please, @MaxGekk ?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14175/
Test PASSed.

Test build #109110 has started for PR 25410 at commit efc3ee0.

Test build #109110 has finished for PR 25410 at commit efc3ee0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109110/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14185/
Test PASSed.

Test build #109119 has started for PR 25410 at commit bcf73d2.

Test build #109119 has finished for PR 25410 at commit bcf73d2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109119/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14214/
Test PASSed.

Test build #109145 has started for PR 25410 at commit 1b2c8d4.

Test build #109145 has finished for PR 25410 at commit 1b2c8d4.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109145/
Test FAILed.

jenkins, retest this, please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14219/
Test PASSed.

Test build #109150 has started for PR 25410 at commit 1b2c8d4.

Test build #109150 has finished for PR 25410 at commit 1b2c8d4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109150/
Test PASSed.

Test build #109186 has started for PR 25410 at commit 2fa25b1.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14257/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14260/
Test PASSed.

Test build #109189 has started for PR 25410 at commit 494679c.

Test build #109191 has started for PR 25410 at commit 5c8c34d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14262/
Test PASSed.

Test build #109189 has finished for PR 25410 at commit 494679c.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #109186 has finished for PR 25410 at commit 2fa25b1.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #109191 has finished for PR 25410 at commit 5c8c34d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109191/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109189/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109186/
Test FAILed.

Test build #109278 has started for PR 25410 at commit 05b3746.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14347/
Test PASSed.

Test build #109278 has finished for PR 25410 at commit 05b3746.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109278/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14620/
Test PASSed.

@dongjoon-hyun @maropu When I set spark.sql.parser.ansi.enabled to false there: https://github.com/apache/spark/blob/97dc4c0bfc3a15d364a376c6f87cb921d8d6980d/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala#L302
it accepts year without backquotes as well:
-- !query 2
SELECT date_part( 'year', d1) AS year FROM TIMESTAMP_TBL WHERE d1 BETWEEN '1902-01-01' AND '2038-01-01'
-- !query 2 schema
struct<year:int>
-- !query 2 output
1997

How about turning off the mode temporarily like the others? https://github.com/apache/spark/blob/33e45ec7b80934a53f882c309ef8f37762dc0ab8/sql/core/src/test/resources/sql-tests/inputs/pgSQL/text.sql#L49

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14667/
Test PASSed.

Test build #109614 has started for PR 25410 at commit 74a7fec.

Test build #109614 has finished for PR 25410 at commit 74a7fec.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109614/
Test FAILed.

retest this please

Test build #109625 has started for PR 25410 at commit 74a7fec.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14677/
Test PASSed.

Test build #109625 has finished for PR 25410 at commit 74a7fec.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109625/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14704/
Test PASSed.

Test build #109654 has started for PR 25410 at commit ade541d.

Test build #109654 has finished for PR 25410 at commit ade541d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109654/
Test PASSed.

@maropu @dongjoon-hyun Could you take a look at the PR one more time.

Sure, @MaxGekk .

LGTM except for https://github.com/apache/spark/pull/25410#discussion_r316817684
I leave it to the other reviewers.

LGTM except for #25410 (comment)

@maropu Are you not sure about your proposed changes https://github.com/apache/spark/commit/d793f4958f3a9adc69f7a1e04f7fc7a994d5e15a ? Just in case, I cherry picked them https://github.com/apache/spark/pull/25410/commits/bc707dfac3aaccce95a5db2258724469d5ede409 3 days ago.

LGTM except for #25410 (comment)

@maropu Are you not sure about your proposed changes https://github.com/apache/spark/commit/d793f4958f3a9adc69f7a1e04f7fc7a994d5e15a ? Just in case, I cherry picked them https://github.com/apache/spark/pull/25410/commits/bc707dfac3aaccce95a5db2258724469d5ede409 3 days ago.

@MaxGekk Sorry to confuse you! But, I just meant that the other reviewers need to check that part once more. I think the current one is ok though.

@dongjoon-hyun nvm! I think the release has the higher priority.

@dongjoon-hyun Please, take a look at the PR when you have time.

@cloud-fan @HyukjinKwon @srowen Could you take a look at the PR, please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15141/
Test PASSed.

Test build #110132 has started for PR 25410 at commit b292931.

Test build #110132 has finished for PR 25410 at commit b292931.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
abstract class FileCommitProtocol extends Logging
trait ResourceAllocator
class RpcAbortException(message: String) extends Exception(message)
public final class JavaStructuredKerberizedKafkaWordCount
public final class JavaDirectKerberizedKafkaWordCount
class BindingParquetOutputCommitter(
class PathOutputCommitProtocol(
class DecisionTreeParams(Params):
case class UnresolvedTable(v1Table: CatalogTable) extends Table
 implicit class IdentifierHelper(identifier: TableIdentifier)
class CatalogManager(conf: SQLConf) extends Logging
case class ShowTables(
trait AlterTableStatement extends ParsedStatement
case class ShowTablesStatement(namespace: Option[Seq[String]], pattern: Option[String])
case class ReuseAdaptiveSubquery(
trait CostEvaluator
case class SimpleCost(value: Long) extends Cost
case class DescribeTableExec(
case class ShowTablesExec(
case class AppendDataExecV1(
case class OverwriteByExpressionExecV1(
sealed trait V1FallbackWriters extends SupportsV1Write
 protected implicit class toV1WriteBuilder(builder: WriteBuilder)
trait SupportsV1Write extends SparkPlan
class V2SessionCatalog(sessionState: SessionState) extends TableCatalog with SupportsNamespaces
trait V1WriteBuilder extends WriteBuilder

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110132/
Test PASSed.

Test build #110225 has started for PR 25410 at commit 600eee6.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15225/
Test PASSed.

Test build #110225 has finished for PR 25410 at commit 600eee6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110225/
Test PASSed.

LGTM.
@maropu do you know why Spark treats year as reserved keyword? I thought we followed pgsql at that time...

we just follow the SQL-2011 standard and it reserves year. So, we follow it. In fact, I don't know why pgSQL doesn't reserve year...

Thanks! Merged to master.

@maropu @dongjoon-hyun @cloud-fan Thank you for your review.


Trouble Creating Users

I'm trying to generate user accounts with the API.  I've run the sample code that does "list users" and get the first 10 users in my domain.  When I try to do an insert with a test user object, I get back the "Invalid Given/Family Name".  I can't figure out what I'm doing wrong here....
# Initialize the API
service = Google::Apis::AdminDirectoryV1::DirectoryService.new
service.client_options.application_name = APPLICATION_NAME
service.authorization = authorize
# List the first 10 users in the domain
user_object = {
  'primaryEmail' =><EMAIL_ADDRESS>  'name' => {
    'givenName' => 'Test',
    'familyName' => 'User'
  },
  'password' => initial_password,
  'changePasswordAtNextLogin' => true
}

response = service.insert_user(user_object)
puts response
exit

The error I get is this...
$ bundle exec ./prep_account.rb
/Users/matt/.chefdk/gem/ruby/2.1.0/gems/google-api-client-0.9/lib/google/apis/core/http_command.rb:202:in `check_status': invalid: Invalid Given/Family Name: FamilyName (Google::Apis::ClientError)
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/google-api-client-0.9/lib/google/apis/core/api_command.rb:103:in `check_status'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/google-api-client-0.9/lib/google/apis/core/http_command.rb:170:in `process_response'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/google-api-client-0.9/lib/google/apis/core/http_command.rb:275:in `execute_once'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/google-api-client-0.9/lib/google/apis/core/http_command.rb:107:in `block (2 levels) in execute'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/retriable-2.1.0/lib/retriable.rb:54:in `block in retriable'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `times'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `retriable'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/google-api-client-0.9/lib/google/apis/core/http_command.rb:104:in `block in execute'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/retriable-2.1.0/lib/retriable.rb:54:in `block in retriable'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `times'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/retriable-2.1.0/lib/retriable.rb:48:in `retriable'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/google-api-client-0.9/lib/google/apis/core/http_command.rb:96:in `execute'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/google-api-client-0.9/lib/google/apis/core/base_service.rb:267:in `execute_or_queue_command'
	from /Users/matt/.chefdk/gem/ruby/2.1.0/gems/google-api-client-0.9/generated/google/apis/admin_directory_v1/service.rb:3108:in `insert_user'
	from ./prep_account.rb:62:in `<main>'

The ruby client uses snake case (as per ruby convention) in the generated interfaces.
# Initialize the API
service = Google::Apis::AdminDirectoryV1::DirectoryService.new
service.client_options.application_name = APPLICATION_NAME
service.authorization = authorize
# List the first 10 users in the domain
user_object = {
  'primary_email' =><EMAIL_ADDRESS>  'name' => {
    'given_name' => 'Test',
    'family_name' => 'User'
  },
  'password' => initial_password,
  'change_password_at_next_login' => true
}

response = service.insert_user(user_object)
puts response
exit

Ah thanks....I thought I'd tried that.  Actually discovered you have to use the symbols, not just snake case strings which still didn't work.
As in...
user_object = {
  :primary_email =><EMAIL_ADDRESS>  :name => {
    :given_name => 'Test',
    :family_name => 'User'
  },
  :password => initial_password,
  :change_password_at_next_login => true
}

response = service.insert_user(user_object)
puts response

Also found the User and UserName class in the Representations file and that helped as well...
https://github.com/google/google-api-ruby-client/blob/master/generated/google/apis/admin_directory_v1/representations.rb

Hi! I know this issue is closed, but i'm facing the same problem and the solutions suggested are not working for me.
When I use the snake case(or camel case from google quickstart code) solution I'm getting the error "invalid: Invalid Given/Family Name: FamilyName". And when I use the symbols solution I'm getting the error below:
gems/google-api-client-0.9.20/generated/google/apis/admin_directory_v1/service.rb:3138:in 'insert_user': unknown keywords: primary_email, name, password, hash_function, change_password_at_next_login (ArgumentError)
I don't know what else to do. Thanks.


Missing option --syslog-facility

I would like to have the syslog facility configurable via an option like --syslog-facility facility. With this option i've been able to forward the syslog messages to the right team, without even looking at the message itself. Such option would be especially great for host with more the one syslog sender, where I will not be able to filter on the sender IP-address.

@thl-cmk Would you test v2.7.0 release? --syslog-facility option is added as you suggested.

Looks good :-)


Fix README scenario player installation instructions

Description
The Installation section in the README is outdated, following the steps written there may not lead to a working installation.
Expected Behavior

Following the steps in the README should lead to a working installation.
Different install scenarios (i.e. for testing different versions of Raiden) should be covered as well.

Done.


Migrate to go 1.13

Description
Migrate to go 1.13

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix duplicate CI runs

I think the current configuration is causing certain events to trigger duplicate CI jobs, maybe this fixes it

@HDembinski So this worked in getting rid of the duplicate CI runs, but now the checks aren't running on push events. Do you by chance know what the right configuration would be to run exactly once for pull requests and when things are merged?

For iminuit, I only run Tests on PRs and I think that is enough, if all changes are submitted via PRs. I wouldn't change this.


Consume the API Proxy in SAP Web IDE

Unable to get metadata when subsrcibing to product in WebIDE.
Regards,
Michael

Thank you for your feedback. We haven't heard from you in the past 30 days, so we are closing the issue.
If you still have questions, feel free to reopen the issue.


kdfs: implement output keylen FIPS check

In addition to requiring 112bits of lenght of input keys/secrets to
KDF, the output length should also be at least 112bits.
Add such checks, reusing existing key length indicators.
Somehow there were no indicators for x942kdf yet, so added one - not
sure if everything is correct there.
From https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-133r2.pdf

6.2.1 Symmetric Keys Generated Using Key-Agreement Schemes
The maximum security strength that can be supported by a key derived in this manner is dependent on: 1) the security strength supported by the asymmetric key pairs (as used during key establishment), 2) the key-derivation method used, 3) the length of the derived key, and 4) the algorithm with which the derived key will be used. See SP 800-57, Part 1.

From https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar2.pdf

1.2.1 Security Strengths
For the Federal Government, a security strength of at least 112 bits is required at this time for applying cryptographic protection (e.g., for encrypting or signing data).

Is it possible for you to add some comments referring to the corresponding spec?
It is useful for someone (like me) who missed the relevant spec can be aware that this restriction is also necessary. Thank you.
The following are the specs that I know of. It seems that there is no restriction about derived key length except PBKDF.

SP 800-131A Rev. 2 Section 8The length of the key-derivation key shall be at least 112 bits.

SP 800-132 Section 5The kLen value shall be at least 112 bits in length.

SP 800-108 Rev. 1 Upd. 1 Section 6.3The length of the derived keying material L depends on the requirements of the cryptographic
algorithms that rely on the KDF output. The length of a given cryptographic key is determined
by the algorithm that will employ it (e.g., a block cipher or a message authentication code) and
the desired security strength.

Is it possible for you to add some comments referring to the corresponding spec? It is useful for someone (like me) who missed the relevant spec can be aware that this restriction is also necessary. Thank you.

Trying to find a more direct link, but there are indirect ones. In general, overall security strength of protected data depends on security strength of entropy source, all functions used to derive keys, and algorithms employed. Thus to achieve 112bit security strength everything in the chain must be at least that strong (i.e. whilst a short key to HMAC can produce output of desired length, overall security is reduced to security strength of the short key). All of this can be secured by input-key validation. However, the derive functions are publically accessible and one may not know who or what will use it - meaning one cannot rely on downstream input-key length validations.
NIST SP 800-108r1-upd1 in Section 6 discusses security strength and abbriviated

The length of the derived keying material L depends on the requirements of the cryptographic
algorithms that rely on the KDF output.
...
Therefore, the value of L shall be greater than or equal to the sum of the lengths of the keys and
other types of parameters that will be obtained from the derived keying material.

And as per transition guidance all key lengths are at least 112bits; and will transition to 128 from 2030.

KDFs can be used to generate nonces and these can be shorter than 112 bits. IMO this is an incorrect change.

Updated pull request description with more direct need for output lengths to be at least 112 bits, for the purpose of deriving keys.

KDFs can be used to generate nonces and these can be shorter than 112 bits. IMO this is an incorrect change.

Is this situation similar to the one we had with HMAC => where enforcing key length was needed for direct HMAC usage, but not when used as part of a more elaborate PRF/KDF/TLS?
Are the observed failing test cases generate nonces and do they have to be short? (rather than can be short)

There are a few things I am unsure about with this PR.
(1)  Maybe enforcing the output length check is not required if we are not sure of the usage.
(2) Reusing the same configurable for the input key size and the output key size, doesnt seem correct to me. (especially considering (1). I think they should at least be separate SETTABLE_X values so that they can be disabled separately from the input key check (which we are a more sure of).
Also the input key check, may be done at a different time to the output key check (and we document when the input key check happens, so this implies there should be a separation). We could just go with sharing the fips install configurable for now but have a separate context settable for the 2 cases.

In my opinion this check is not needed and should not be added.
OTC: Do we need this check?

In my opinion this check is not needed and should not be added.
OTC: Do we need this check?

I'm not sure it is an OTC question, given it is Security Lab requirements for FIPS submission. For example see below security policy for CMVP#4801 which has KDF functions outputing less then 112 bits as unapproved and not-allowed; and raising a fips service indicator.
https://csrc.nist.gov/CSRC/media/projects/cryptographic-module-validation-program/documents/security-policies/140sp4801.pdf
I will redo this code to use a brand new indicator, rather than piggy-back onto the existing one.
I also question for any examples of any protocols where KDF is required to produce a fixed size output of less than 112bits and also be allowed under FIPS 140-3. The only test suite examples I find so far, is intentional requests for short output.... when longer output is then verified over again. Based off obsolete ACVP test cases. Because if none of the approved higher up algorithms require short KDF outputs, it should be safe to turn this on with an indicator similar to the input key checks.

If a higher up algorithm requires short output, we can always introduce an internal version that allows it in FIPS mode (as has been done elsewhere).

Also the input key check, may be done at a different time to the output key check (and we document when the input key check happens, so this implies there should be a separation).

Not sure this is true - or rather close together that it can be indistinguishable to the caller/applications. As Finalise / Produce output / Derive functions call set ctx which currently raise the key-check indicator, which can raise for the output key size too. The macros currently expand to a different function name. But it is fairly minor in timing/call chain, as one is called within the other. And yes, set_ctx can raise earlier, than derive as well.
I'm not sure a separate indicator is worth it here. Given it is the same nature of a requirement.

Will split this PR to do a clean implementation for one type of kdf, and then can decide on the design and implement it for the rest of them.

I am withdrawing this feature proposal, and will propose alternative documentation update.

The replacement PR is https://github.com/openssl/openssl/pull/25610


Anchor lang docs are pointing to old version when building from source

https://www.anchor-lang.com/docs/installation#build-from-source-for-other-operating-systems-without-avm
Should be version v0.25 but says 0.24.1

marking closed, due to resolving PR being merged.


Long droplet hostnames push stats face off droplet's card

Also, the host information overflows the tile (when viewing 'hosts')

Pushed a fix, ready for deploy

Looks good.


Data Access Groups

Brief description:
This feature is used to assign/unassign users to sites (Data Access Group).
User spec:
https://github.com/CCTC-team/redcap_cypress/blob/redcap_val/user_requirement_specification/core/10_data_access_groups.spec
Feature link:
https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature Tests/B/Data Access Groups/B.2.10.100  - Create Edit Delete.feature
https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature Tests/B/Data Access Groups/B.2.10.200 - Add Remove Users.feature
https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature Tests/B/Data Access Groups/B.2.10.300 - Multiple DAGs.feature
https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature Tests/B/Data Access Groups/B.2.10.400 - User and Record Restrictions.feature
https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature Tests/B/Data Access Groups/B.2.10.500 - Assign Records to DAG.feature
https://github.com/CCTC-team/redcap_rsvc/blob/redcap_val/Feature Tests/B/Data Access Groups/B.2.10.600 - Unique DAGs.feature
Pre review:

[x] Script(s) targets the correct feature sufficiently
[x] The user requirements are met

Post review:

[ ] Script(s) targets the correct feature sufficiently
[ ] Script(s) appropriately tests the feature

Script pre-reviewed:

[X] B.2.10.100  - Create Edit Delete
[ ]

B.2.10.100 - Create Edit Delete

Added steps to verify logging
Script modified and pushed to MX_v13.1.37

B.2.10.200 - Add Remove Users

Added steps to verify logging
Script modified and pushed to MX_v13.1.37

All tests pass

Script post-reviewed:
B.2.10.100 - Create Edit Delete
Test fails on the step Then I should NOT see "RenameGroup3"

Various lines within the script are duplicated
B.2.10.200 - Add Remove Users
Test passes
Various lines within the script are duplicated. Script runs successfully without duplicated rows

Duplicates lines are added intentionally, else it doesn't work for me. I have mentioned this in the above comments.
ATS team accepted the changes recommended.

B.2.10.100 - Create Edit Delete now passing using rctf package version 1.0.92

D.10.700

Script from PQ list
Script is automated


ImageViewer is broken

ImageViewer has a couple of bugs that I don't have the knowledge of how to fix.

[ ] - Double tapping to reset the transform and the close button works only while interacting with the Rotate- Zoom- and RotateGestures.
[ ] - Rotation gesture often wraps around, resulting in a rotation > 180°, instead of taking the shortest path.
[x] - A bunch of TODO comments and confusion regarding removed/renamed/deprecated features

Tested using Android preview, Fuse 0.26.0 (7741)

The gestures also feals very unnatural and weird.

@sebbert some of this is fixed in https://github.com/fusetools/fuse-samples/commit/7a78a08a78d5266629fd669909ed6c2e2461330b#diff-76f439ed0cffc2d7d6091816c835f426

Switching from portrait to landscape does not work

@eksperts will take a look at this today

@bondehagen PR in: #59
First it's a general syntax cleanup and associated changes to match best practices.
Second, the RotateGesture wrap-around problem was caused by the StepDegrees property; removed it and it's now fine.
Could not reproduce the "double tapping" issue @sebbert mentioned, worked fine on a Nexus 5.


add handle to dataset with migration

Resolves #25
@carohansen It looks like the DRC coverage for v.5 stops at page 242 with several of our records being on subsequent pages. Am I missing something?

Resolves #12

@jamesvanmil This is ready to go.


Frontend-assessment-2

Metric
Value

alert_status
b:white_check_mark: OK/b

bugs
6

code_smells
1

reliability_rating
C (at least 1 Major Bug)br/Note: A being best, E being worst

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

vulnerabilities
0


modify procfs to proc

There is no procfs type in Linux, it will confuse readers.
Signed-off-by: Ma Shimiao<EMAIL_ADDRESS>

LGTM

LGTM


Fix default service port and target port.

What this PR does / why we need it:
It's fixing the chart default service port, because it's not working with the default installation.
80 -> 9106
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

Hey @gianrubio,
I've bumped the chart version :)


[Bug]: dead link on website index

Bug expectation
I expected to access the page linked on the website homepage to https://pptr.dev/api/puppeteer.browserfetcher
Bug behavior

[ ] Flaky
[ ] PDF

Minimal, reproducible example
Go to https://pptr.dev/#puppeteer-core

Clic on the second link on para :
You should use puppeteer-core if you are connecting to a remote browser or *managing browsers yourself*

The link is on the markdown here : https://github.com/puppeteer/puppeteer/blob/main/website/versioned_docs/version-20.1.0/index.md?plain=1#L108
But I can't found the right page to link, could be https://github.com/puppeteer/puppeteer/blob/main/website/versioned_docs/version-20.1.0/api/puppeteer.browser.md ?

Error string
Page Not Found
Puppeteer configuration
No response
Puppeteer version
20.1.0
Node version
18.16.0
Package manager
npm
Package manager version
9.5.1
Operating system
Windows

The class has been removed and we need to update the docs here.

Thank you @OrKoN for your quick feedback and fix.


Implement Translate Step Updates

User Story

As the owner of the RS Architecture,
I want the Translate step to implement the latest SRD,
so that it can function as intended.
Description/Use Case

The  ReceiverEnrichment SRD outlines new requirements for the Translate step in the section titled "Translate Step Software Requirements". These new requirements should be implemented and the existing ones should be verified.
Risks/Impacts/Considerations

Dev Notes

Acceptance Criteria

[ ] Implemented Translate Step requirements outlined in ReceiverEnrichment SRD

Hey team! Please add your planning poker estimate with Zenhub @adegolier @arnejduranovic @david-navapbc @jack-h-wang @JFisk42 @kant777 @mkalish @thetaurean @jalbinson

@arnejduranovic  we need some clarifications on the document and AC.


⚠ GitLab Server has degraded performance

In 24ac35d, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 7181 ms

Resolved: GitLab Server performance has improved in ecb338e.


Create new message can not save as drafts.

Hi, my CC is 5.5 and I used to send messages successfully, but today I can send a message, when I create a new message, select the target (M365 Group), and then save it as a draft, but I can't see anything in the author console, nor can I see any of the messages I used to send.
I tried restarting the application service and still can't save drafts, and it got worse for can't search any groups.
Any ideas on how to do this?

Update:

Hi @reterfreeman ,
Thanks for raising the query. Please give us sometime we will get back to you soon

Hi @reterfreeman , Thanks for raising the query. Please give us sometime we will get back to you soon

@gsv022 Thanks, I checked the status of the Deployment Center today and it went to "Failed", I think this could be the cause, please advise me, thanks.src="https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/assets/151904936/220d4c9f-5f1c-44aa-a1f8-ea0d2dd42401">

@gsv022 I try disconnect and re-connect again, but show error......OMG

Failed to set up deployment: Repository 'UpdateSiteSourceControl' operation failed with System.Net.WebException: The 'Updating deployment setting' operation conflicts with the pending 'Deleting repository' operation started at 2023-12-01T01:52:40.8335102Z.  Please retry operation later. ---> System.Net.WebException: The remote server returned an error: (409) Conflict.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- 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.Web.Hosting.Administration.Utilities.WebRequestHelper.d__10.MoveNext() in C:__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Utilities\WebRequestHelper.cs:line 81
--- 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.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__41.MoveNext() in C:__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Providers\SiteRepositoryProvider.cs:line 741
--- End of inner exception stack trace ---
at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__41.MoveNext() in C:__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Providers\SiteRepositoryProvider.cs:line 755
--- 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.Web.Hosting.Administration.SiteRepositoryProvider.d__31.MoveNext() in C:__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Providers\SiteRepositoryProvider.cs:line 349
--- 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.Web.Hosting.Administration.ExternalSiteRepositoryProvider.d__5.MoveNext() in C:__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Providers\ExternalSiteRepositoryProvider.cs:line 78
--- 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.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass369_1.<b__1>d.MoveNext() in C:__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Controllers\WebCloudController.cs:line 11603
--- 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.Web.Hosting.AsyncHelper.RunSync[TResult](Func`1 func)
at Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl) in C:__w\1\s\src\Hosting\AdministrationService\Microsoft.Web.Hosting.Administration\Controllers\WebCloudController.cs:line 11598.

@reterfreeman ,Please give sometime once after disconnecting the repository. Then connect again. It will sync without any issue.

Please share the application insight logs. Here is the reference.
Go to resource group-->Application Insights-->Under investigate click Failures. Copy the logs and paste it in this chat. Even the screenshots would be more helpful. Here is the reference.

Please click on that under suggestion- Key based authentication is not permitted on this storage account. If there is any call stack, please share it and even supporting screenshot of the page will be helpful

@gsv022 Yes, please.

@gsv022 Hi, I have fixed, I enable the storage account key access option, and it's work!


Feature/fe 206/damage validation button

💡 I think we should show the task status somewhere in the damages screen.

@natsukiai I don't think we need to have the validate button in the inspection read screen, because every task should validate itself (e.g Inside damages screen, we do validate for the current damages task only), and that's what I did already.


callout (.conum) missing for asciidoc

Hello,
I love your project!
Your script does not extract the .conum classes for proper font callout asciidoc rendering from the original asciidoc css.
Is this project closed or do you want to continue?
Thanks,
f-s

Probably something like this missing:
.conum { display: inline-block; color: white !important; background-color: #333333; -webkit-border-radius: 100px; border-radius: 100px; text-align: center; width: 20px; height: 20px; font-size: 12px; font-weight: bold; line-height: 20px; font-family: Arial, sans-serif; font-style: normal; position: relative; top: -2px; letter-spacing: -1px; }
.conum * { color: white !important; }
.conum + b { display: none; }
.conum:after { content: attr(data-value); }
.conum:not([data-value]):empty { display: none; }

.colist>table tr>td:first-of-type{ border:0; min-width:0; padding:0 .75em;}
.colist>table tr>td:last-of-type{ border:0; min-width:0; padding:.25em 0}
.colist>table tr:nth-child(even) { background:0 0 }

Heh, I wasn't even aware of that feature of AsciiDoc. :grimacing: Thanks for the pointer!
Should I ever decide to use it, I'll add something. Right now, I've got not acute need -- and no aspiration to create a general-purpose theme in its own right, sorry!


Add GA4 HTML attachment tracking to attachment component

What

Previously, attachments had their HTML rendered via Whitehall.
They have now been moved to use the Attachment component in this repo.
I've added tracking to this attachment component.
I've also removed the old technique for adding the tracking to Whitehall - previously we would use JS, as it was difficult to edit the Whitehall attachment HTML.

Why

https://trello.com/c/nJ05htIn/491-add-tracking-attachment-link-clicks
Initially we just want the tracking on attachments which link to 'HTML' files. Once it is live, we are going to enable it on all types of attachments.
How to test
If you run publishing components locally, you can see the tracking here: http://<IP_ADDRESS>:3212/component-guide/attachment#html_attachment
Visual Changes

None.

Thanks @JamesCGDS, I've made the changes :+1:


Use itm-java-codeformat

Use itm-java-codeformat in build process to ensure correct formatting.

[ ] add spotless:check to build process in CI
[ ] add documentation in README (Contribution section)

Thanks for the reminder. We're currently very busy with version 1.0.0, but we'll get to it as soon as possible.


Can't override normal function with generator function with methods

I changed the hook definition from #223 and implemented is a noop function:
let DefaultHooks = stampit().methods({
  preHook:() => {}
});

so I can override it with an implementation if needed in other stamps like:
let LoggerHooks = stampit().compose(DefaultHooks).methods({
  preHook:function *() {
    yield console.log(arg);
  }
});

This works only for normal functions and not for generator functions. My current workarround is
let LoggerHooks = stampit().compose(DefaultHooks).init(function ({instance}) {
  instance.preHook = function *() {
    yield console.log(arg);
  };
});

@koresar I took a short try with current v3rc but it breaks my code base too hard. Perhaps this is already fixed in v3?

Great workaround!
Could you please elaborate on this:

This works only for normal functions and not for generator functions.

What does not work?

I know why it does not work. Because stampit v2 limits the methods to be only typeof function. Whereas stampit v3 allows anything in the methods, including generators.
Here is the problematic LOC.
The proper workaround in stampit would be:

Leave the DefaultHooks as is.
Replace methods with refs in LoggerHooks like so:

let LoggerHooks = DefaultHooks.refs({
  preHook: function *() {
    yield console.log(arg);
  }
});

And done!

I know why it does not work. Because stampit v2 limits the methods to be only typeof function.
I thought about something like that ;)

Whereas stampit v3 allows anything in the methods, including generators.
Great! I make a local ticket for me to upgrade to v3 when it is released.

Thanks for your workaround, this is makes composition easier, I use that one till v3 is released and stable.

v3 is stable. Not released though. :) Working on it as we speak.

Because stampit v2 limits the methods to be only typeof function. Whereas stampit v3 allows anything in the methods, including generators.

Generators are not typeof function?
That's news to me:
function* foo () {}
typeof foo // 'function'

That's native code running in Node 6+.

I use Babel, perhaps it transpiles it to something which has type object.
Eric Elliott<EMAIL_ADDRESS>schrieb am Mi., 27. Juli 2016 21:49:

Because stampit v2 limits the methods to be only typeof function. Whereas
stampit v3 allows anything in the methods, including generators.
Generators are not typeof function?
That's news to me:
function* foo () {}typeof foo // 'function'
That's native code running in Node 6+.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/stampit-org/stampit/issues/225#issuecomment-235699116,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ9OPzLSvgJYVMehgnIuO_TROn_NYP6ks5qZ7YtgaJpZM4JWHXt
.

I use Babel, perhaps it transpiles it to something which has type object.

That doesn't sound right because generator is essentially just a function, but returning iterator. With Babel that function just has this in a body return _regenerator2.default.wrap(function... which handles magic of "pausing" the function.
More likely it's some other issue or you may have missed something perhaps?

@FredyC you are correct!
┌vasyl@192-168-1-11 ~/c/stampit (v3_0 *$)
└> nvm use 6
Now using node v6.3.0 (npm v3.10.3)
┌vasyl@192-168-1-11 ~/c/stampit (v3_0 *$)
└> babel-node --presets es2015
> const g = function* (){}
'use strict'
> typeof g
'function'
> g()
GeneratorFunctionPrototype { _invoke: [Function: invoke] }

@hoschi you might want to double check your code.

test.only('stampit generators - fails', t => {
    let b = function* () {
            return 'bar'
        }
    let s = stampit.methods({
        a:() => 'foo',
        b
    }).create();

    t.truthy(typeof s.a === 'function')
    t.truthy(typeof b === 'function')
    t.truthy(typeof s.b === 'function')

    t.truthy(s.a() === 'foo');
    t.truthy(s.b().next().value === 'bar');
})

b is a 'function', but s.b is not defined.
With ref it works:
test('stampit generators - works', t => {
    let s = stampit.refs({
        a:() => 'foo',
        b:function* () {
            return 'bar'
        }
    }).create();

    t.truthy(typeof s.a === 'function')
    t.truthy(typeof s.b === 'function')

    t.truthy(s.a() === 'foo');
    t.truthy(s.b().next().value === 'bar');
})

I noticed that all code work with node 5.4.1 but not with node 6.2.1

In Chrome it never works with methods.

Okay, so stampit is using lodash/isFunction to check values.
Lodash is not using typeof value === 'function'. Instead, it is using value.toString() === '[object Function]'.
> var g = function* (){};
> Object.prototype.toString.call(g);
'[object GeneratorFunction]'

> var f = function (){};
> Object.prototype.toString.call(f);
'[object Function]'

I believe stampit v2 need a fix to allow generators, as well as stampit v3.
Right?
To fix stampit v2 we need to patch the supermixer module. Any volunteers?
I'll fix stampit v3.

Good detective work. =)

Review needed: https://github.com/stampit-org/supermixer/pull/7

Great you found it! I wait for v3.
Vasyl Boroviak<EMAIL_ADDRESS>schrieb am Fr., 29. Juli 2016,
05:26:

Review needed: stampit-org/supermixer#7
https://github.com/stampit-org/supermixer/pull/7
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stampit-org/stampit/issues/225#issuecomment-236085752,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ9ONMiSTr-aLetTs03MHlPXHkWHesQks5qaXLKgaJpZM4JWHXt
.

Lodash v4 does consider generators as functions, so it's merely problem of v3, so it's not necessary to report that.
I've merged pull request, lodash does too sofisticated checks for our needs.

Oh, wait. I was wrong. Stampit v3 does not need a fix because it does no checks at all. :) One can put anything as "methods".

Yea I was bit confused what do you want to check there. We even dropped lodash there some time ago :)

@hoschi thanks for reporting the bug. stampit v2.1.2 was just published.


Can you provide a easy-to-use c++ interface?

XGBoost is a great tool!
but i think its c++ interface is not so easy to use.
can you provide a interface for python save_model output?
I think CatBoost has a easy interface, its usage is:
in python:
model.save_model(path, format='cpp')
then it generate a cpp header file.
when i want to use the model, i only need to include the header file.
Can you kindly consider to add a interface?
Thanks very much!

Can you try treelite?

for c++ exmaple, please goto demo/c-api/c-api-demo.c.
however the c-api-demo.c is old.

Can you try treelite?

Hello, could you please provide an example for XGBoosterPredictFromDense (the main issue for me is how provide the parameter char const *values)?
(My typical use case is online real-time prediction, predict one row at a time)
Thanks.

I am currently away from computer.  Predict function for xgboost is designed to handle large datasets.  For your use case (online, low latency), https://github.com/dmlc/treelite might be a good fit.  @hcho3 maintains both projects.

Thanks for your information and I will go and give it a shot.


Add Next button at the end of the page

Hey @A7med3bdulBaset, could you share the page that you would like us to add the button to?

@ruheni
I mean navigation button to all pages in the docs
like so:

@AhmedBaset We recently updated our Docs, and they now include a "previous" and "next" button at the end of each page.


How do you / can you set individual service accounts for each node?

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Module Version
3.3.0
Affected Resource(s)
ArcGIS_Server
ArcGIS_Portal
ArcGIS_DataStore
Configuration Files

{
    "AllNodes": [{
            "NodeName": "VMCLIENTDS1",
            "DataStoreTypes": [
                "Relational"
            ],
            "Role": [
                "DataStore"
            ]
        }, {
            "NodeName": "VMCLIENTWEB1",
            "Role": [
                "ServerWebAdaptor",
                "PortalWebAdaptor"
            ]
        }, {
            "NodeName": "VMCLIENTMAPS",
            "Role": [
                "Portal"
            ]
        }, {
            "NodeName": "VMCLIENTAGS1",
            "Role": [
                "Server"
            ]
        }
    ],
    "ConfigData": {
        "Version": "10.9.1",
        "ServerContext": "agsmapservice",
        "PortalContext": "arcgis",
        "ServerRole": "GeneralPurposeServer",
        "Credentials": {
            "ServiceAccount": {
                "Password": "secret",
                "UserName": "DOMAIN\\installer",
                "IsDomainAccount": true,
                "IsMSAAccount": false
            }
        },
        "Server": {
            "LicenseFilePath": "E:\\administration\\licenses\\10.9.1\\ArcGISGISServerStandard_ArcGISServer_1136407.prvc",
            "Installer": {
                "Path": "E:\\apps\\content\\Installs\\ArcGIS 10.9.1\\ArcGISServer\\Setup.exe",
                "InstallDir": "E:\\apps\\esri\\Server",
                "InstallDirPython": "E:\\apps\\python\\python-27\\",
                "EnableArcMapRuntime": "True",
                "EnableDotnetSupport": "False"
            },
            "ServerDirectoriesRootLocation": "E:\\agstore\\arcgisserver\\directories",
            "ConfigStoreLocation": "E:\\agstore\\arcgisserver\\config-store",
            "PrimarySiteAdmin": {
                "UserName": "admin",
                "Password": "secret"
            }
        },
        "Portal": {
            "LicenseFilePath": "E:\\administration\\licenses\\10.9.1\\ArcGIS_Enterprise_Portal_1091_374355_20220203.json",
            "PortalLicenseUserTypeId": "creatorUT",
            "Installer": {
                "Path": "E:\\apps\\content\\Installs\\ArcGIS 10.9.1\\PortalForArcGIS\\Setup.exe",
                "InstallDir": "E:\\apps\\esri\\Portal",
                "ContentDir": "E:\\agstore\\arcgisportal"
            },
            "ContentDirectoryLocation": "E:\\agstore\\arcgisportal\\content",
            "PortalAdministrator": {
                "UserName": "admin",
                "Email"<EMAIL_ADDRESS>                "Password": "secret",
                "SecurityQuestionIndex": 1,
                "SecurityAnswer": "secretanswer"
            }
        },
        "DataStore": {
            "ContentDirectoryLocation": "E:\\agstore\\relational",
            "EnableFailoverOnPrimaryStop": false,
            "Installer": {
                "Path": "E:\\apps\\content\\Installs\\ArcGIS 10.9.1\\ArcGISDataStore\\Setup.exe",
                "InstallDir": "E:\\apps\\esri\\DataStore"
            }
        },
        "WebAdaptor": {
            "AdminAccessEnabled": true,
            "Installer": {
                "Path": "E:\\apps\\content\\Installs\\ArcGIS 10.9.1\\WebAdaptorIIS\\Setup.exe"
            },
            "AdminAccessEnabled": true
        }
    }
}

Expected Behavior
Q: Is it possible to use different user accounts to run the different components as opposed to install them?
The config seems to provide the ability to set a single service account / install account in the ConfigData section, but is it possible to specify a separate service / gMSA for each component?

1. ArcGIS Server credentials{ "userName" : "DOMAIN\\ServerService", etc.... }
2. Portal for ArcGIS credentials { "userName" : "DOMAIN\\PortalService", etc.... }
3. ArcGIS Data Store credentials { "userName" : "DOMAIN\\DataStoreService", etc.... }

Actual Behaviour
As first pass Installing using a single service account and updating using provided scripts:

Portal : configureserviceaccount.bat
Server : ServerConfigurationUtilityUI.exe
DataStore : configureserviceaccount.bat

 "ConfigData": {
        "Version": "10.9.1",
        "ServerContext": "agsmapservice",
        "PortalContext": "arcgis",
        "ServerRole": "GeneralPurposeServer",
        "Credentials": {
            "ServiceAccount": {
                "Password": "secret",
                "UserName": "DOMAIN\\installer",
                "IsDomainAccount": true,
                "IsMSAAccount": false
            }
        },

I imagine I'm simply missing the correct location to set this, e.g. could server service account credentials be set in each node of the AllNodes section, or does it need different objects for each node in the configData in this case?
I can't find this in documentation so any help would be appreciated :)
Important Factoids

Windows Server 2019

That's brilliant, thanks for confirming Cameron.
Dean


Ambilight

having issue with the Ambilight with bulbs...
It changes them to one color and then dosent adjust to whats on screen...
Running it with Kodi 17 on a shield

turn off "mediacodec(surface)" in teh settings, hardware acceleration section

Thanks that worked... Not an ideal solution as it can't play 4k hdr videos
then....
On Apr 15, 2017 4:54 AM, "JesCR"<EMAIL_ADDRESS>wrote:
turn off "mediacodec(surface)" in teh settings, hardware acceleration
section
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mpolednik/script.kodi.hue.ambilight/issues/58#issuecomment-294280949,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AaQkgRd2AJUPzfv6WbafOdZijWaKrRPbks5rwIWtgaJpZM4M-PBs
.

Had this same issue.
Is a fix possible to get ambilight working with hardware acceleration so 4K output works also?

I don't think so, or at least I'm not sure how to go about it. If we don't get the image, there is nothing to calculate the colors.

Thoughts on a separate app that can run in the background and read the
screen?
On 24 April 2017 at 12:22, Martin Polednik<EMAIL_ADDRESS>wrote:

I don't think so, or at least I'm not sure how to go about it. If we don't
get the image, there is nothing to calculate the colors.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mpolednik/script.kodi.hue.ambilight/issues/58#issuecomment-296727902,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AaQkgaKtird0jf1pLMyLWrQi_ZpTmtb5ks5rzMxggaJpZM4M-PBs
.

My setup isn't 4k yet so am wondering if this is a nuance of a 1080 setup and kodi's enabled (by default) but unused hardware acceleration for 4k.  Has anyone tested/verified with a true 4k setup that this doesn't work?

I have a 4K setup (samsung TV and Amazon Fire TV), if I can be of any help in testing I would be glad to. Just need a bit of instructions :-)

@Suyashpoddar you can always try https://github.com/kershner/screenbloom which should just grab the screen on the background. I haven't ever used it, so ymmv. :)

I have used screen bloom but I prefer to run my media through my nvidia
shield
On Apr 26, 2017 7:07 AM, "Martin Polednik"<EMAIL_ADDRESS>wrote:

@Suyashpoddar https://github.com/Suyashpoddar you can always try
https://github.com/kershner/screenbloom which should just grab the screen
on the background. I haven't ever used it, so ymmv. :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mpolednik/script.kodi.hue.ambilight/issues/58#issuecomment-297360222,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AaQkgZSe1-IvoW1zlMFfpdkOW1IfcOazks5rzyVkgaJpZM4M-PBs
.


Page update

Visual renewal of loading and offline progress
Enabled Y scroll while displaying offline progress.
Fixed many issues with offline progress and title screen and background.
The offline progress button is now automatically focused.
The offline progress is hidden the first time you access the game.
Improved alert, confirm, prompt and notification boxes.
Disables the default display state for each tab on the page. This will improve the loading speed of the game.
Many CSS and style changes.

We are currently working on custom font size support.
There are numerous modifications and improvements.
Please merge and review afterwards.

Everything is ready so I will make a new PR


Update README.md

Doc '-' argument for reading from stdin
see mike-engel/jwt-cli#69

Summary
Updates the README to explain how jwt-cli can be used as a shell pipe with -
Preflight checklist

[x] Code formatted with rustfmt
[x] Relevant tests added
[x] Any new documentation added

Thanks @mamacdon!

Thanks @mamacdon!


Release

Is there a release for this? Really want to use Reshade with MMX Legacy Collections but it crashes, so I've been looking for a D3D10 wrapper.

I've gotten around to put up a release here:
https://github.com/xzn/d3d10-mmxlc/releases/tag/v0.1.0
Sorry for the very late replay.
A few notes:
This is designed to use slang-shaders from RetroArch. Don't know how to be compatible with ReShade.
I originally intended to allow custom render resolution similar to GeDoSaTo but I couldn't get it to work. So ignore those lines in the .ini file for now.

This is what I get.

 The game runs fine now!
How can I configure the shader (apply parameters etc)?

Just open interp-mod.ini in notepad and edit it directly. Once you save the file, the mod should pick up the change automatically.
interp should be set to true as it fixes upscaling artifact.
slang_shader is for 2D games in the series.
slang_shader_3d is for the two 3D games, e.g. could be set to slang-shaders/anti-aliasing/smaa.slangp too for instance.
Rest aren't that useful. The custom resolution thing doesn't work for now as I couldn't get the viewport set up correctly..

Cool, but I mean the actual shader settings - like I use the Lottes one, it has parameters for curvature (I think resolution too?) etc - how do we apply those parameters?

Hmm, sorry that's not implemented yet.
(I assume you mean these parameters?)

For now you could try copy those presets and the shader stages that they reference and modify them manually.
Will add a way to change these parameters from the mod in the next days.

Yeah that's what I mean. So if I just set the warpX and warpY in the slang file itself, that should do what I need?
Thanks

According to the source code of RetroArch, the first number after the param name is the initial value:
#pragma parameter warpX "warpX" 0.031 0.0 0.125 0.01
#pragma parameter warpY "warpY" 0.041 0.0 0.125 0.01

So for crt-lottes.slang change 0.031 to some value between 0.0 and 0.125 for warpX, and change 0.041 for warpY.
I don't have hot-reloading for shader sources though so to apply the changes, change slang_shader in interp-mod.ini to something else, save the config file, wait for the mod to pick up the change, then change slang_shader back.
In any case, I may just implement setting the params in interp-mod.ini directly. Implementing a UI like in RetroArch is too much touble for now haha.

works perfectly. thanks :)


another typo: this IS type of connection IS not very...

Windows Authentication
This is type of connection is not very secure because
[Enter feedback here]

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

ID: e7c89a8f-b16f-2896-faae-efbb438c7a89
Version Independent ID: 8ce453b3-7e57-c80a-7ca0-9b122ad4796b
Content: Connectors overview for canvas apps - PowerApps
Content Source: powerapps-docs/maker/canvas-apps/connections-list.md
Service: powerapps
GitHub Login: @lancedMicrosoft
Microsoft Alias: lanced

This type of connection is not very secure because it doesn't rely on end-user authentication.
The documentation depicts the reference as 'this type of connection is not very secure'.


On behalf of Ville Aikas: Added Mermaid graph and some clarifications

Couple of tiny suggestions.

Thanks a lot! ❤


Bugfix with git clone

Thanks for the fixing, this part is not touching if the workspace is there, that was a missing for the regression. :+1:


Add contributor note about the branch split.

Just making it more clear for contributors about where to send PRs.

Good call!


Removing sync variant of fetch from AsyncStorage. Added logic to hand...

…le interruption while waiting on InputStream future.

LGTM


Enable Swap Template in CLI to Swap ADA

Currently marlowe-cli template swap requires --token-a and --token-b arguments, which means that only non-ADA tokens can be swapped.
Make --token-a and --token-b optional, so that all four possible types of swaps (ADA for ADA, ADA for non-ADA, non-ADA for ADA, and non-ADA for non-ADA) are possible.

Fixed in #779 .


Add support for dev tools

Is your feature request related to a problem? Please describe.
This is general user experience improvement feature request as most browsers don't have Dev tools and those that has Dev tools like kiwi are generally slow and laggy. Hence, it would be nice to have Dev tools in thorium android.
Describe the solution you'd like, including relevant patches or source
It's just a feature request for the app as it will improve user experience with having access to Dev tools to others who don't have a laptop or PC.
Enabling default Dev tools for chrome
Additional Notes
Here is a edited picture of said feature along with few others that's would be appreciated if added alongside Dev tools.

+1

Have they added the feature yet


feat: add i18n

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

GitHub release
v0.3.0

Your semantic-release bot :package::rocket:


Can't do any research

:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
?????

:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
CRITICAL:root:twint.get:User:'NoneType' object has no attribute 'find'
Traceback (most recent call last):
File "/usr/local/bin/twint", line 8, in
sys.exit(run_as_command())
File "/usr/local/lib/python3.8/dist-packages/twint/cli.py", line 311, in run_as_command
main()
File "/usr/local/lib/python3.8/dist-packages/twint/cli.py", line 283, in main
run.Followers(c)
File "/usr/local/lib/python3.8/dist-packages/twint/run.py", line 307, in Followers
run(config)
File "/usr/local/lib/python3.8/dist-packages/twint/run.py", line 285, in run
get_event_loop().run_until_complete(Twint(config).main(callback))
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/usr/local/lib/python3.8/dist-packages/twint/run.py", line 211, in main
await task
File "/usr/local/lib/python3.8/dist-packages/twint/run.py", line 228, in run
raise ValueError("Cannot find twitter account with name = " + self.config.Username)


How to Create a Http Delete Or Put Method With Params?

What kind of issue is this?

[ ] Question. This issue tracker is not the place for questions. If you want to ask how to do
something, or to understand why something isn't working the way you expect it to, use Stack
Overflow. https://stackoverflow.com/questions/tagged/okhttp

How to Create a Http Delete Or Put Method With Params? Could You Show Me ,I will be grateful

Please ask usage questions on StackOverflow with the 'okhttp' tag. There are more people around to answer, it has a reward system for asking and answering quetsions, and it serves as a much more searchable place for existing questions.

http://stackoverflow.com/questions/38465160/how-to-use-okhttpclient-create-a-http-delete-or-put-method-with-params-android
this is the stack question


[FIX #4751] Rails/HasManyOrHasOneDependent shouldn't report offense if :through option was specified

Without this fix, Rails/HasManyOrHasOneDependent would register offense for this code:
class EmailConfig < ApplicationRecord
  has_many :filterings, dependent: :destroy
  has_many :filters, through: :filterings
end

With this fix, it doesn't register offense if :through option was passed.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests(rake spec) are passing.
[x] The new code doesn't generate RuboCop offenses that are checked by rake internal_investigation.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

@Drenmi seems like this PR is ready to go. I've rebased it against a master and made all updates that you've suggested.

Woohoo! Thanks for this patch! We actually discussed this caveat when I originally developed the cop (#4541) and it was pending a solution when I went on vacation. Thanks for finishing this!


Copper and Bronze Funnels removed, but apparently no recipe for Iron Funnel?

I can't seem to find the recipe for the Iron Funnel. Did you forget to change it when removing the copper/bronze funnels?

Hello, I've been trying to figure out how to get to the recipes. I go to the config folder, right?
However, for this mod, it only shows me config, funnel_blocks, and funnel_blocks_weights under the config folder. When I open each, it doesn't show me any recipes but rather short texts like "minecraft: cobblestone," etc. Do I need a specific program to do this or... How were you able to do this?

Hello, I've been trying to figure out how to get to the recipes. I go to the config folder, right?
However, for this mod, it only shows me config, funnel_blocks, and funnel_blocks_weights under the config folder. When I open each, it doesn't show me any recipes but rather short texts like "minecraft: cobblestone," etc. Do I need a specific program to do this or... How were you able to do this?

So, the config file is for changing what blocks will be created by the funnels. The recipes are not user-configurable; I had to go into the java class file for the funnel recipes, and change a line from "scf:copper_funnel" to "scf:cobblestone_funnel". You can see the change I made here: https://github.com/JSJBDEV/SuperCobblestoneFunnels/pull/3/commits/76208733b7934fdb4155dc26314a98e071568f9b
As soon as the author accepts this "pull request", this change will be added to the code on GitHub, and from there all the mod author has to do is take what's on GitHub and compile that into a new version of the mod.

So, the config file is for changing what blocks will be created by the funnels. The recipes are not user-configurable; I had to go into the java class file for the funnel recipes, and change a line from "scf:copper_funnel" to "scf:cobblestone_funnel". You can see the change I made here: https://github.com/JSJBDEV/SuperCobblestoneFunnels/pull/3/commits/76208733b7934fdb4155dc26314a98e071568f9b
As soon as the author accepts this "pull request", this change will be added to the code on GitHub, and from there all the mod author has to do is take what's on GitHub and compile that into a new version of the mod.

just added a pull request for a similar issue but wow, it looks like OP won't actually merge the request lol
is the mod abandoned already?


Transaction block

If the set leader transaction was not successful or fork was produced, all other transactions can be blocked till orchestrator reboot.

This is most likely a nonсe problem.

Resolved in #31


Nick: Watch nightangels.in

Nick requests the watch of the watch_keyword nightangels\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

nightangels\.in has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by Mast in Charcoal HQ. Reason: 'Valid watch, straight to blacklist. Could've been approved and upgraded in hindsight.'


Ability to group HTTP status by group, example 2xx, 3xx to reduce number of series per metric

Is your feature request related to a problem? Please describe.
In cloud prometheus or related, there may be a implied limit number of series per metric, and our <namespace>_http_upstream_time_seconds_hist can easily to reach that limit in high traffic system. This would also boost the query performance alot.
Describe the solution you'd like
We should group the HTTP status label to it's group by default and may be add a feature to allow user to activate individual HTTP status metrics by providing their expected HTTP status, such as <namespace>_http_upstream_time_by_status_seconds_hist
Describe alternatives you've considered
The easiest way is to upgrade the prometheus cloud

Hey @truong-hua 👋 -- thanks for your suggestion. If I understand correctly, your suggestion is to drop the status label by default (or to map its set of values to a lower cardinality)? That would be a massively breaking change that I would very much prefer to avoid.
I'd be open to accepting PRs that add the proposed grouping (presumably by grouping status codes to something like 2xx and similar?) as an opt-in feature (maybe to be activated via the configuration file), though.
Alternatively, you might think about a setup using Prometheus Federation and recording rules, in which you have a local Prometheus cluster that scrapes your targets and retains data at a high level of detail and a global Prometheus cluster that only stores aggregated data, but for a higher retention period.

If anyone else stumbles across this issue, I accomplished this by using an nginx map to create a variable that parses out just the first digit of the response code. That variable is then passed to prometheus-nginxlog-exporter in the field where it is expecting to receive the status code, rather than sending the $status field itself
  map $status $status_range {
    "~^(?<range>\d).+" $range;
  }

log_format exporter '$remote_addr [$time_local] $status_range ...


camera not detected -- what do i need to fix?

Hi,
I've found this project on reddit and was excited to try it. I am using a Sony Playstation Eye cam.
from lsusb: Bus 003 Device 006: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye
from v4l2-ctl --list-devices : USB Camera-B<IP_ADDRESS> (usb-0000:11:00.0-4):/dev/video0
Installed the program as per README.md. When I start it, I get the following output; however, there is no video visible in the app (and it cannot be toggled, either). The camera does not turn on its red LED, either, which it does, when I use it. The computer is capable of working with this camera; when I run  mpv av://v4l2:/dev/video0 --profile=low-latency --untimed, I get video output.
However, when I start the program via python3 gui.py, and then try to play the video, it won't work. The video player will time out. So I assume that the program does actually somehow "occupy" the camera stream. When I quit the program, I can play the camera through mpv and other programs again.
 python3 gui.py
2024-04-15 15:00:50.370543: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-04-15 15:00:50.396776: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI AVX512_BF16 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-04-15 15:00:50.911297: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
/home/ben/Projekte/code/GestureX/gui.py:91: DeprecationWarning: Gtk.Widget.override_color is deprecated
  separator.override_color(Gtk.StateFlags.NORMAL, Gdk.RGBA(0, 0, 0, 1))
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1713186051.472060   34747 gl_context_egl.cc:85] Successfully initialized EGL. Major : 1 Minor: 5
I0000 00:00:1713186051.473928   34781 gl_context.cc:344] GL version: 3.2 (OpenGL ES 3.2 Mesa 24.0.4-arch1.2), renderer: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 17.0.6, DRM 3.57, 6.8.4-arch1-1)
Exception in thread Thread-1 (run_video_loop):
Traceback (most recent call last):
  File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "/home/ben/Projekte/code/GestureX/gui.py", line 143, in run_video_loop
    model = load_model('mp_hand_gesture')
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ben/.local/lib/python3.11/site-packages/keras/src/saving/saving_api.py", line 191, in load_model
    raise ValueError(
ValueError: File format not supported: filepath=mp_hand_gesture. Keras 3 only supports V3 `.keras` files and legacy H5 format files (`.h5` extension). Note that the legacy SavedModel format is not supported by `load_model()` in Keras 3. In order to reload a TensorFlow SavedModel as an inference-only layer in Keras 3, use `keras.layers.TFSMLayer(mp_hand_gesture, call_endpoint='serving_default')` (note that your `call_endpoint` might have a different name).
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.

My GPU is NVIDIA Corporation AD104 [GeForce RTX 4070 Ti] (rev a1) (don't know if this is relevant, but thought I'd mention it). I'm running my X Desktop via onboard GPU (nvidia is for virtual machines when assigned), so that card would be free -- if needed.
Below are the contents of the mp_hand_gesture folder; it says something about .keras files / h5 extension, which are not in this folder. But I cloned the repo as instructed.

GUI looks like this. What do I need to fix? Thanks in advance for your support :)

Hi, I think the issue is not with the camera but with the Keras version. According to the error you are getting, it seems like you are using Keras version 3 which apparently does not support the file type in which the model is saved. Can you show me the output of:
import keras
print(keras.__version__)

For me, it is 2.15.0. It must be 3.x.x for you. I will try to fix it for Keras 3 till then.

I get the same issue and error. For me the output of the version of keras is 3.2.1

Got the same issue with keras 321

show me the output of:
import keras
print(keras.__version__)

Thank you for your quick reply. This is the output, so yeah, I am on 3.2.1
Python 3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import keras
2024-04-16 06:42:57.358633: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.

2024-04-16 06:42:57.708553: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI AVX512_BF16 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-04-16 06:42:58.424715: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
>>> print(keras.__version__)
3.2.1

Newest tensorflow depends on newer keras, tensorflow==2.15.1 works.

It works after pip3 install tensorflow==2.15.1 --break-system-packages.
Two questions:

is it possible to run this in the background? So python3 gui.py to setup the program, but then have it run without the gui (perhaps either minimize it to systray or have something like python3 gui.py --background --config=~/.config/gesturex/config00.json)

Would it be possible to add a delay? Please look at this screenshot below. Let's say I want to run some bash script, I'd like to run it once when it detects the gesture, then perhaps wait until it detects it again?

In other words: user gives makes gesture > execute command; while gesture is still there, don't do anything until either a different gesture or no gesture at all is detected.

So if somebody gives thumbs up, only register this thumbs up once (no matter for how long the keep their thumb up); then, when they either make a different gesture, or no gesture is detected at all, allow the program to execute the next action.
While this is great, look at this :laughing: video. This is a bit much, of course, but as you can see, even if I try to only give thumbs up for a very short amount of time, the command will be executed too many times to be functional (in this case, switch between current and previous workspace in awesome; this wouldn't work productively because the switch happens way too fast because there is no delay).
Either way, thank you so much for this interesting and fun project. I could imagine some cool use cases. I have an exercise bike in front of the computer. Usually watching either youtube or media from plex while on the bike. Currently, I control this via voice, but it'd be even cooler to give thumbs up to open plex or a fist to open youtube in a new browser tab, for example :)

It works after pip3 install tensorflow==2.15.1 --break-system-packages.
Two questions:

is it possible to run this in the background? So python3 gui.py to setup the program, but then have it run without the gui (perhaps either minimize it to systray or have something like python3 gui.py --background --config=~/.config/gesturex/config00.json)

Would it be possible to add a delay? Please look at this screenshot below. Let's say I want to run some bash script, I'd like to run it once when it detects the gesture, then perhaps wait until it detects it again?

In other words: user gives makes gesture > execute command; while gesture is still there, don't do anything until either a different gesture or no gesture at all is detected.

So if somebody gives thumbs up, only register this thumbs up once (no matter for how long the keep their thumb up); then, when they either make a different gesture, or no gesture is detected at all, allow the program to execute the next action.
While this is great, look at this :laughing: video. This is a bit much, of course, but as you can see, even if I try to only give thumbs up for a very short amount of time, the command will be executed too many times to be functional (in this case, switch between current and previous workspace in awesome; this wouldn't work productively because the switch happens way too fast because there is no delay).
Either way, thank you so much for this interesting and fun project. I could imagine some cool use cases. I have an exercise bike in front of the computer. Usually watching either youtube or media from plex while on the bike. Currently, I control this via voice, but it'd be even cooler to give thumbs up to open plex or a fist to open youtube in a new browser tab, for example :)

Using the --break-system-packages options is not a very good idea I would raccomend you to use a venv and install the dependencies there

@prankousky yeah i need to work on a feature so it runs in background or as a daemon. i have never done that thing before so not sure how to do it but i will do it soon. also youre right, thats a major issue with the application right now. i will start working on that first.
since you have already created a new feature request for both of the issues mentioned above, im going to close this ticket for now and mention in the readme that tensorflow==2.15.1 is required for the project. you can open a new issue or feature request for fixing the program for keras 3 as well. thanks!
@chicco-carone yeah you are also right, i did not expect this project to grow at all and i thought i will be the only user so i wrote a jank code and used --break-system-packages on my pc to use it. i will update the readme with instructions for venv instead of global config. thanks!

@prankousky yeah i need to work on a feature so it runs in background or as a daemon. i have never done that thing before so not sure how to do it but i will do it soon. also youre right, thats a major issue with the application right now. i will start working on that first.
since you have already created a new feature request for both of the issues mentioned above, im going to close this ticket for now and mention in the readme that tensorflow==2.15.1 is required for the project. you can open a new issue or feature request for fixing the program for keras 3 as well. thanks!
@chicco-carone yeah you are also right, i did not expect this project to grow at all and i thought i will be the only user so i wrote a jank code and used --break-system-packages on my pc to use it. i will update the readme with instructions for venv instead of global config. thanks!

No problem. I mentioned it here because the only time I used it killed my arch installation definitely and I had to reinstall so to avoid someone coming here after killing their os for no apparent reason


Append results correctly in Dijkstra searches

This changes the Dijkstra searches in findPolysAroundCircle and
findPolysAroundShape to append the results when we visit nodes in the
main loop. The algorithm guarantees that we will never visit them again
after this, so at this point we are guaranteed that we cannot find a
better path.
Previously results would be appended the first time we saw a polygon
which meant later improvements on the paths to those polygons would not
be reflected in the results.
Fix #204

LGTM :+1:


chore(package): eslint-config-airbnb 8.0.0

Update eslint-config-airbnb to 8.0.0

Lots of trivial fixes for new rules

Ignore the bower_components/ directory

Fix sass-lint at 1.5.1 as the newer versions appear to choke on our SASS

LGTM :thumbsup:

[Current coverage][cc-pull] is 100%

Merging [#189][cc-pull] into [master][cc-base-branch] will increase coverage by +n/a%

2 files in ...omponents/alexandria were modified. more

Hits +3

8 files (not in diff) in ...omponents/alexandria were modified. more

Hits +3

@@           master       #189   diff @@
========================================
  Files          21         21
  Lines         213        220     +7
  Methods         0         38    +38
  Branches       20         22     +2
========================================
+ Hits          213        220     +7
  Misses          0          0
  Partials        0          0

Powered by Codecov. Last updated by [1c58ae6...c1bac0a][cc-compare]
[cc-base-branch]: https://codecov.io/gh/Adslot/alexandria/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/Adslot/alexandria/compare/1c58ae62dd3ba0e54d7c0be059ab056a288b2223...c1bac0a1d488d0f953f9fade0a3ff9c63a0e0ad1
[cc-pull]: https://codecov.io/gh/Adslot/alexandria/pull/189?src=pr

LGTM 💯

@davepoon @antklim Merge?


Is it possible to add a link to header tag as what hexo-renderer-marked did?

Is it possible to add a link to each header tag as what hexo-renderer-marked did here: https://github.com/hexojs/hexo-renderer-marked/blob/master/lib/renderer.js#L36

It is possible, but it is not what this plugin does. This plugin is only to bridge hexo and pandoc.
What you desire can be achieved by writing customized Pandoc filter. Please consult Pandoc's documentation on filters.
As an example, a project of myself has a pandoc filter as part of it, written in python (pandocFilter.py). This documentation section shows how to configure hexo to tell this plugin, which in turn tells pandoc to use that filter script.
Feel free to contact via my email listed on this website with further questions regarding pandoc filters. But as far as this project concerns, this issue is closed.

I have written an npm package to make this easier: https://github.com/seekstar/hexo-pandoc-header-anchor/