benchmark more blas/lapack functions

Currently we benchmark:
BLAS level 1

ddot
?nrm2
?axpy

BLAS level 3

?gemm
?syrk

LAPACK:

?gesv   (linalg.solve)
?gesdd (linalg.svd)
?syev  (linalg.eigh)

@martin-frbg suggested it'd be useful to add

[x] ?gemv
[ ] ?gbmv

for the banded matrix-vector multiply, what is more interesting to scale: matrix size or the number of bands?

good question - maybe matrix size for now to keep it simple, although number of bands would also be interesting. GBMV is a curious case where the implementation is unchanged from the original GotoBLAS and may not have been evaluated for (multithreaded) performance at all.

OK, gbmv benchmarks now run for a standard range of sizes from 100 to 1000 and kl=1, 2, 3 (kl=ku, so it's 3, 5, and 7 bands). Web display is at http://www.openmathlib.org/BLAS-Benchmarks/#benchmarks.gbmv.time_gbmv
and raw data is in the usual places from GH actions, https://github.com/OpenMathLib/BLAS-Benchmarks/actions/runs/9693385959/job/26748720100 for the graviton run etc.


lowlevelil.LowLevelILInstruction.il_basic_block not reliable

On any sufficiently large binary, /bin/ls for example, the following code will not complete without generating an exception.
for func in bv.functions:
  for bb in func.lifted_il:
    for inst in bb:
      inst.il_basic_block

When replacing func.lifted_il with either func.llil or func.mlil, it seems to work fine.
The exception generated is:
Exception AttributeError: "'LowLevelILBasicBlock' object has no attribute 'handle'" in <object repr() failed> ignored
Traceback (most recent call last):
  File "<console>", line 4, in <module>
  File "/home/kyle/binaryninja/plugins/../python/binaryninja/lowlevelil.py", line 537, in il_basic_block
    return LowLevelILBasicBlock(view, core.BNGetLowLevelILBasicBlockForInstruction(self.function.handle, self.instr_index), self.function)
  File "/home/kyle/binaryninja/plugins/../python/binaryninja/lowlevelil.py", line 2413, in __init__
    super(LowLevelILBasicBlock, self).__init__(handle, view)
  File "/home/kyle/binaryninja/plugins/../python/binaryninja/basicblock.py", line 62, in __init__
    self.handle = core.handle_of_type(handle, core.BNBasicBlock)
  File "/home/kyle/binaryninja/plugins/../python/binaryninja/_binaryninjacore.py", line 13434, in handle_of_type
    raise ValueError('expected pointer to %s' % str(handle_type))
ValueError: expected pointer to <class 'binaryninja._binaryninjacore.BNBasicBlock'>

Later, when closing ipython or waiting an arbitrary amount of time, the following exception is generated:
Exception ignored in: <object repr() failed>
Traceback (most recent call last):
  File "/home/kyle/binaryninja/python/binaryninja/basicblock.py", line 69, in __del__
AttributeError: 'LowLevelILBasicBlock' object has no attribute 'handle'

Nearly identical blocks/instructions are affected, does seem to break consistently on the same block in the same binary, but I I think that's more happenstance than anything.
Present in both Python2 and Python3, sorta seems like a dangling pointer issue to me.

Still repros on 2.4.0360-dev

The underlying issue here is that we don't have a BNGetLiftedlILBasicBlockForInstruction and we're just counting lifted and llil being roughly equal when they aren't.


Dragging a folder into uploader creates separate models for all files

That's "correct" behaviour, but confusing. We should either forbid dropping a folder, or detect it and create a single model from the result.

There's another possibility; if people drag folders, we might get the folder name in the original path, so we could actually use it to make a new model with those files. Iiiiiiinteresting.

I've asked if disabling folder drag/drop is possible at https://community.transloadit.com/t/prevent-folder-dropping-on-dashboard/17262, in case there's a quick fix.

Resolution for this ticket is to prevent folder drag/drop, but #2681 is perhaps a better long-term approach.

I'm not actually sure that the HTML Drag and Drop API distinguishes between files and folders; so anything other than #2681 might not be possible.

https://stackoverflow.com/questions/25016442/how-to-distinguish-if-a-file-or-folder-is-being-dragged-prior-to-it-being-droppe has some solutions, and points to https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/files as the actual thing we use to discard 0-size files, which will include folders.

Uppy actually has code in it to do the folder recursion, so our best bet is probably to fork it and add an option.

Yep, so this is an Uppy feature addition that would be a good first issue for someone with Javascript skills!


Make the DEBUG env var case insensitive

The DEBUG env var is actually case sensitive (eg it will work when set to true but not to True as it should). This PR makes it case insensitive.

Thanks!


feat: API types generation command

Use yarn gen:types to generate API types inside src/__generated/api.d.ts
To use these types
import { paths, components } from "./path/to/my/schema"; // <- generated by openapi-typescript

// Schema Obj
type MyType = components["schemas"]["MyType"];

// Path params
type EndpointParams = paths["/my/endpoint"]["parameters"];

// Response obj
type SuccessResponse = paths["/my/endpoint"]["get"]["responses"][200]["content"]["application/json"]["schema"];
type ErrorResponse = paths["/my/endpoint"]["get"]["responses"][500]["content"]["application/json"]["schema"];

It might be worth checking out https://github.com/astahmer/openapi-zod-client too. I think it would be nice to validate the REST API client-side to make sure the contract is valid.


⚠ Bofrost.be has degraded performance

In f687576, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1292 ms

Resolved: Bofrost.be performance has improved in efd7d17.


Migrate to VitePress

[x] Basic setup
[ ] Remove legacy VuePress configurations
[ ] Fix dead links
[ ] Update obsolete documentation
[ ] Update screenshots

Breaking changes:

pnpm is used instead of yarn, build commands in Netlify should be updated.
...

Ready to be deployed. cc @fky2015
等合并后，我考虑重写一部分文档，包括移除没有参考价值的视频部分。

And the intro page of Video is unavailable, is this intentional too?

And the intro page of Video is unavailable, is this intentional too?

Forgot about this page in the sidebar config. Latest commit should resolve this no?


feat: add steep

Describe your changes
Added steep as it is already supported by nvim-lspconfig.
Issue ticket number and link

Checklist before requesting a review

[x] I have successfully tested installation of the package.
[x] I have successfully tested the package after installation.

Screenshots

@williambotman /fixup


Enable multiple DNS queries for clustering the nodes

This implements approach nr 3 as stated in ticket #18

Not all nodes need to be directly discoverable through DNS, as long as a few of them are. Erlang takes care of the fully-distributedness of the system for us.


Fix .env which broke as part of moving cmds to the project service

Please see #492 for details.
Before vs after:
❯ runme run hello1
SOMETHING1=[]
❯ ./runme run hello1
SOMETHING1=[this]

Fixes #492.

@adambabik, please lemme know if this fix works for you. Please ignore the code coverage, it's low due to integration vs unit test (not in coverage report).

@adambabik, please do a retro-review. Going through a review with @pastuxso right now so we can ship a fix quickly.

@sourishkrout I think it's ok. The way the environment variables are handled in internal/runner/client is a bit unclear, but in the end all env go to a session which is passed to the runner via ExecutableConfig and from there the env are eventually taken.
I will send a follow up PR with clean up.


pull request for e2e test at 01/25/2017 15:56:05

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix ordering for Ninetales's level 1 moves

Ninetales learns Incinerate both in its second and fourth level-1 slots, but the move reminder only shows the former.

Weird


Cannot override exiting instance & class methods using include & extend respectively.

Including and/or extending a module to a class would not override the class' existing methods.
module M
  def foo
    "M#foo"
  end
end

class C
  def self.foo
    "C::foo"
  end

  def foo
    "C#foo"
  end

  include M
  extend M
end

puts C.new.foo # "C#foo"
puts C.foo     # "C::foo"

class C
  include M
  extend M
end

puts C.new.foo # "C#foo"
puts C.foo     # "C::foo"

However, using macros included and extended would allow us to override existing methods.
module M2
  macro extended
    def self.foo
      "M2::foo"
    end
  end

  macro included
    def foo
      "M2#foo"
    end
  end
end

class C2
  def self.foo
    "C2::foo"
  end

  def foo
    "C2#foo"
  end

  include M2
  extend M2
end

puts C2.new.foo # "M2#foo"
puts C2.foo     # "M2::foo"

Even though I was able to get my code working using macro included & extended.  include & extend's behaviors are quite unexpected.  Since we can add functionalities to an existing class via module include & extend, it's only natural to expect it to be able to override existing methods of that class (like in Ruby).
Using macro included & extended like this also introduces subtle differences that can be a bit annoying to work with.  For example, if I'm referencing a class that's inside the module, in the macros, I'd have to fully qualify the inner class by using M::ModuleClass (since the macro is executed in a different name scope).
Crystal 0.26.1 (2018-08-27)

LLVM: 6.0.1
Default target: x86_64-apple-macosx

like in Ruby
Huh? The current behavior matches how Ruby works - if a method is defined in the class then that will take precedence over any methods defined in modules. If you want to access module versions from your class version of a method, you have to use super.

Same as ruby: https://carc.in/#/r/538q
And even so, I think this is the right semantic.

Same as ruby: https://carc.in/#/r/538q
And even so, I think this is the right semantic.

Hello,
I modified some instances of the firstNonWhite variable, as it could possible have a racist undertone. "First non white person of whom?"
Also changed it to be more expressive for what that variable is actually doing (and less oppressive).
Since @mverzilli thinks it's okay to close my PR without any justification. You will get spammed. Enjoy!
Hello,
I modified some instances of the firstNonWhite variable, as it could possible have a racist undertone. "First non white person of whom?"
Also changed it to be more expressive for what that variable is actually doing (and less oppressive).
Since @mverzilli thinks it's okay to close my PR without any justification. You will get spammed. Enjoy!
Hello,
I modified some instances of the firstNonWhite variable, as it could possible have a racist undertone. "First non white person of whom?"
Also changed it to be more expressive for what that variable is actually doing (and less oppressive).
Since @mverzilli thinks it's okay to close my PR without any justification. You will get spammed. Enjoy!
Hello,
I modified some instances of the firstNonWhite variable, as it could possible have a racist undertone. "First non white person of whom?"
Also changed it to be more expressive for what that variable is actually doing (and less oppressive).
Since @mverzilli thinks it's okay to close my PR without any justification. You will get spammed. Enjoy!
Hello,
I modified some instances of the firstNonWhite variable, as it could possible have a racist undertone. "First non white person of whom?"
Also changed it to be more expressive for what that variable is actually doing (and less oppressive).
Since @mverzilli thinks it's okay to close my PR without any justification. You will get spammed. Enjoy!
Hello,
I modified some instances of the firstNonWhite variable, as it could possible have a racist undertone. "First non white person of whom?"
Also changed it to be more expressive for what that variable is actually doing (and less oppressive).
Since @mverzilli thinks it's okay to close my PR without any justification. You will get spammed. Enjoy!
Hello,
I modified some instances of the firstNonWhite variable, as it could possible have a racist undertone. "First non white person of whom?"
Also changed it to be more expressive for what that variable is actually doing (and less oppressive).
Since @mverzilli thinks it's okay to close my PR without any justification. You will get spammed. Enjoy!
Hello,
I modified some instances of the firstNonWhite variable, as it could possible have a racist undertone. "First non white person of whom?"
Also changed it to be more expressive for what that variable is actually doing (and less oppressive).
Since @mverzilli thinks it's okay to close my PR without any justification. You will get spammed. Enjoy!
Hello,
I modified some instances of the firstNonWhite variable, as it could possible have a racist undertone. "First non white person of whom?"
Also changed it to be more expressive for what that variable is actually doing (and less oppressive).
Since @mverzilli thinks it's okay to close my PR without any justification. You will get spammed. Enjoy!
Hello,
I modified some instances of the firstNonWhite variable, as it could possible have a racist undertone. "First non white person of whom?"
Also changed it to be more expressive for what that variable is actually doing (and less oppressive).
Since @mverzilli thinks it's okay to close my PR without any justification. You will get spammed. Enjoy!
Hello,
I modified some instances of the firstNonWhite variable, as it could possible have a racist undertone. "First non white person of whom?"
Also changed it to be more expressive for what that variable is actually doing (and less oppressive).
Since @mverzilli thinks it's okay to close my PR without any justification. You will get spammed. Enjoy!
Hello,
I modified some instances of the firstNonWhite variable, as it could possible have a racist undertone. "First non white person of whom?"
Also changed it to be more expressive for what that variable is actually doing (and less oppressive).
Since @mverzilli thinks it's okay to close my PR without any justification. You will get spammed. Enjoy!

Hm.. I guess you guys are right.  It is the same as Ruby.  I never ran into this problem because I never had to override methods this way in Ruby before.  I just assumed Ruby works like that because most things can be dynamically defined. My bad.  Feel free to close the ticket.


Marking NodeProxy endpoints as Ineligible for Conformance

Description of the Issue:
As per #95930 Nodeproxy endpoints are Ineligible for Conformance
Endpoint list:

endpoint
path
kind

connectCoreV1PutNodeProxyWithPath
/api/v1/nodes/{name}/proxy/{path}
NodeProxyOptions

connectCoreV1PutNodeProxy
/api/v1/nodes/{name}/proxy
NodeProxyOptions

connectCoreV1PostNodeProxyWithPath
/api/v1/nodes/{name}/proxy/{path}
NodeProxyOptions

connectCoreV1PostNodeProxy
/api/v1/nodes/{name}/proxy
NodeProxyOptions

connectCoreV1PatchNodeProxyWithPath
/api/v1/nodes/{name}/proxy/{path}
NodeProxyOptions

connectCoreV1PatchNodeProxy
/api/v1/nodes/{name}/proxy
NodeProxyOptions

connectCoreV1OptionsNodeProxyWithPath
/api/v1/nodes/{name}/proxy/{path}
NodeProxyOptions

connectCoreV1OptionsNodeProxy
/api/v1/nodes/{name}/proxy
NodeProxyOptions

connectCoreV1HeadNodeProxyWithPath
/api/v1/nodes/{name}/proxy/{path}
NodeProxyOptions

connectCoreV1HeadNodeProxy
/api/v1/nodes/{name}/proxy
NodeProxyOptions

connectCoreV1GetNodeProxy
/api/v1/nodes/{name}/proxy
NodeProxyOptions

connectCoreV1DeleteNodeProxyWithPath
/api/v1/nodes/{name}/proxy/{path}
NodeProxyOptions

connectCoreV1DeleteNodeProxy
/api/v1/nodes/{name}/proxy
NodeProxyOptions

Communication with the community:
"In the Conformance office hour meeting of 20 October 2020 the NodeProxy endpoints was discussed. 13 Node Proxy endpoints can not be Conformance tested as explained in this issue:
NodeProxy endpoints can not be Conformance tested in their current state #95930
The topic was taken to the SIG Node meeting 7 Oct 2020 where it was said that the NodeProxy endpoints would likely be deprecated and not updated to make them eligible for conformance testing. The endpoints where introduced in 1.5 and the original purpose the endpoints was intended for is not valid any more.
Therefore we think it should make sense to mark them as 'Ineligible for conformance' in APISnoop and refer to the Issue #95930. Should the endpoints be updated later, they could be brought back for Conformance testing.
If no one object to the proposal we will mark them as as 'Ineligible for conformance' before 1.20 test freeze."
Communicated via #SIG Architecture on the mailing list, K8s Conformance slack and SIG Node Slack with no oposition to the proposed move of the endpoint to Ineligibility.
Target outcome for this issue:
Mark the NodeProxy endpoints as Ineligible for Conformance

These are now marked as ineligible with 'unable  to be tested, likely soon deprecated' as the reason

NodeProxy Endpoints refer incorrectly to #96206
Please update to refer to #95930
/cc @zachmandeville

Updated and working Thank you @zachmandeville

Updated and working Thank you @zachmandeville


promotions

I created promotions in django oscars to display some products in the home url http://<IP_ADDRESS>:8000/ when I navigate to the home page it does not show the promotions. any fix

I just had to add it to page in the contents


Help: Need to include scss file from node_modules

Hi All,
I want to include scss file from one of modules under node_modules. I tried to include it using
@import '~one-ui-core/src/sass/vendors/_custom-bootstrap'; But some how it is failing. Can you please help me.
Also I tried to add path to sass loader but that didn't worked. Here is the path to sassloader
sassLoader: {
includePaths: [path.resolve(__dirname, "node_modules/one-ui-core")]
},
Let me know if you have any question. Appreciate your help.
ERROR Msg:
@import '~one-ui-core/src/sass/vendors/_custom-bootstrap'; // core                                                                                ││                                                │
│ ^                                                                                ││ Failed                                         │
│       File to import not found or unreadable: ~one-ui-core/src/sass/vendors/_custom-bootstrap                                                       ││                                                │
│ Parent style sheet: stdin

I solved the issue. Basically if you use "~"for any modules it allows you to include in your project.
I had path issue.


Create Master Key documentation fail

The "prereq work lists the need to create a master key but then links to an example that won't work with Azure Database Analytics - instead the user should connect to the database they just provisioned (not master) and run:   CREATE MASTER KEY;
as per: https://stackoverflow.com/questions/60347647/cant-create-database-master-key-with-azure-synapse-analytics-azure-dw-using-m

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

ID: d863ab39-0b6a-eb81-9dde-5eb25b46cc33
Version Independent ID: 655abadf-5f9e-a65b-0109-c5166f956c4d
Content: Tutorial - Perform ETL operations using Azure Databricks
Content Source: articles/azure-databricks/databricks-extract-load-sql-data-warehouse.md
Service: azure-databricks
GitHub Login: @mamccrea
Microsoft Alias: mamccrea

@MSFTPconlan Thank you for your feedback . We will investigate and update the thread further.

@MSFTPconlan
Thanks for the feedback! We have assigned the issue to the content author to investigate this and update the document as appropriate.

#reassign:mssaperla

We have filed a ticket in the Databricks bug tracking system: DOC-3003. We will update this Git issue when the ticket has been resolved. #label:"in-progress".

Thanks for your dedication to our documentation. Unfortunately, we have been unable to address your issue and apologize for the delayed response. We are closing this issue, but if you feel that it's still a concern, please let us know directly at<EMAIL_ADDRESS>#please-close

#please-close


Set a max box plot width by default

The boxes in a box plot should have a max width. Right now it expands to very wide if there is only one or a few groups.

I've looked into this a bit and there is actually no structure in Vega to easily support a max width. There is already a boxWidth parameter that sets the percentage of available space to use for box widths. If we made boxWidth a fixed pixel value, it would sometimes allow box overlap, so I like that it's percentage-based. There is also no simple calculation to predetermine the number of boxes that will be rendered, since that may depend on the number of unique values in the group parameter.
I think we will have a reasonable solution once we expose the boxWidth parameter to users. I'm closing this for now.


Screenshots for F-Droid

You can add Screenshots for F-Droid, too, if you want.
https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/
https://gitlab.com/snippets/1895688

I've only just seen this now, adding screenshots is a good idea. I will eventually get round to doing it. Feel free to raise a PR if you want too :)


Add CBOR support to transaction build and transaction build-raw commands

Note, this deprecates options like --tx-in-datum-file, replacing them with the more descriptive --tx-in-datum-json-file

The PR introduces the following changes to the CLI:
diff -u a.txt b.txt
--- a.txt	2022-01-08 22:00:48.000000000 +1100
+++ b.txt	2022-01-08 22:00:42.000000000 +1100
@@ -1,4 +1,4 @@
-Usage: cardano-cli-master transaction build
+Usage: cardano-cli transaction build
             [ --byron-era
             | --shelley-era
             | --allegra-era
@@ -14,33 +14,52 @@
             [--witness-override WORD]
             (--tx-in TX-IN
               [--tx-in-script-file FILE
-                [(--tx-in-datum-file FILE | --tx-in-datum-value JSON VALUE)
-                  ( --tx-in-redeemer-file FILE
+                [
+                  ( --tx-in-datum-cbor-file CBOR FILE
+                  | --tx-in-datum-json-file JSON FILE
+                  | --tx-in-datum-file JSON FILE
+                  | --tx-in-datum-value JSON VALUE
+                  )
+                  ( --tx-in-redeemer-cbor-file CBOR FILE
+                  | --tx-in-redeemer-json-file JSON FILE
+                  | --tx-in-redeemer-file JSON FILE
                   | --tx-in-redeemer-value JSON VALUE
                   )]])
             [--required-signer FILE | --required-signer-hash HASH]
             [--tx-in-collateral TX-IN]
             [--tx-out ADDRESS VALUE
               [ --tx-out-datum-hash HASH
-              | --tx-out-datum-hash-file FILE
+              | --tx-out-datum-hash-cbor-file CBOR FILE
+              | --tx-out-datum-hash-json-file JSON FILE
+              | --tx-out-datum-hash-file JSON FILE
               | --tx-out-datum-hash-value JSON VALUE
-              | --tx-out-datum-embed-file FILE
+              | --tx-out-datum-embed-cbor-file CBOR FILE
+              | --tx-out-datum-embed-json-file JSON FILE
+              | --tx-out-datum-embed-file JSON FILE
               | --tx-out-datum-embed-value JSON VALUE
               ]]
             --change-address ADDRESS
             [--mint VALUE
               (--mint-script-file FILE
-                [--mint-redeemer-file FILE | --mint-redeemer-value JSON VALUE])]
+                [ --mint-redeemer-cbor-file CBOR FILE
+                | --mint-redeemer-json-file JSON FILE
+                | --mint-redeemer-file JSON FILE
+                | --mint-redeemer-value JSON VALUE
+                ])]
             [--invalid-before SLOT]
             [--invalid-hereafter SLOT]
             [--certificate-file CERTIFICATEFILE
               [--certificate-script-file FILE
-                [ --certificate-redeemer-file FILE
+                [ --certificate-redeemer-cbor-file CBOR FILE
+                | --certificate-redeemer-json-file JSON FILE
+                | --certificate-redeemer-file JSON FILE
                 | --certificate-redeemer-value JSON VALUE
                 ]]]
             [--withdrawal WITHDRAWAL
               [--withdrawal-script-file FILE
-                [ --withdrawal-redeemer-file FILE
+                [ --withdrawal-redeemer-cbor-file CBOR FILE
+                | --withdrawal-redeemer-json-file JSON FILE
+                | --withdrawal-redeemer-file JSON FILE
                 | --withdrawal-redeemer-value JSON VALUE
                 ]]]
             [--json-metadata-no-schema | --json-metadata-detailed-schema]
@@ -79,15 +98,30 @@
   --tx-in TX-IN            TxId#TxIx
   --tx-in-script-file FILE The file containing the script to witness the
                            spending of the transaction input.
-  --tx-in-datum-file FILE  The script datum, in the given JSON file. The file
+  --tx-in-datum-cbor-file CBOR FILE
+                           The script datum, in the given JSON file. The file
                            must follow the special JSON schema for script data.
+  --tx-in-datum-json-file JSON FILE
+                           The script datum, in the given JSON file. The file
+                           must follow the special JSON schema for script data.
+  --tx-in-datum-file JSON FILE
+                           The script datum, in the given JSON file. The file
+                           must follow the special JSON schema for script data.
+                           (DEPECRATED)
   --tx-in-datum-value JSON VALUE
                            The script datum, in JSON syntax. There is no schema:
                            (almost) any JSON value is supported, including
                            top-level strings and numbers.
-  --tx-in-redeemer-file FILE
+  --tx-in-redeemer-cbor-file CBOR FILE
+                           The script redeemer, in the given JSON file. The file
+                           must follow the special JSON schema for script data.
+  --tx-in-redeemer-json-file JSON FILE
                            The script redeemer, in the given JSON file. The file
                            must follow the special JSON schema for script data.
+  --tx-in-redeemer-file JSON FILE
+                           The script redeemer, in the given JSON file. The file
+                           must follow the special JSON schema for script data.
+                           (DEPECRATED)
   --tx-in-redeemer-value JSON VALUE
                            The script redeemer, in JSON syntax. There is no
                            schema: (almost) any JSON value is supported,
@@ -104,19 +138,36 @@
                            Lovelace).
   --tx-out-datum-hash HASH The script datum hash for this tx output, as the raw
                            datum hash (in hex).
-  --tx-out-datum-hash-file FILE
+  --tx-out-datum-hash-cbor-file CBOR FILE
                            The script datum hash for this tx output, by hashing
                            the script datum in the given JSON file. The file
                            must follow the special JSON schema for script data.
+  --tx-out-datum-hash-json-file JSON FILE
+                           The script datum hash for this tx output, by hashing
+                           the script datum in the given JSON file. The file
+                           must follow the special JSON schema for script data.
+  --tx-out-datum-hash-file JSON FILE
+                           The script datum hash for this tx output, by hashing
+                           the script datum in the given JSON file. The file
+                           must follow the special JSON schema for script data.
+                           (DEPECRATED)
   --tx-out-datum-hash-value JSON VALUE
                            The script datum hash for this tx output, by hashing
                            the script datum given here in JSON syntax. There is
                            no schema: (almost) any JSON value is supported,
                            including top-level strings and numbers.
-  --tx-out-datum-embed-file FILE
+  --tx-out-datum-embed-cbor-file CBOR FILE
+                           The script datum to embed in the tx for this output,
+                           in the given JSON file. The file must follow the
+                           special JSON schema for script data.
+  --tx-out-datum-embed-json-file JSON FILE
                            The script datum to embed in the tx for this output,
                            in the given JSON file. The file must follow the
                            special JSON schema for script data.
+  --tx-out-datum-embed-file JSON FILE
+                           The script datum to embed in the tx for this output,
+                           in the given JSON file. The file must follow the
+                           special JSON schema for script data. (DEPECRATED)
   --tx-out-datum-embed-value JSON VALUE
                            The script datum to embed in the tx for this output,
                            given here in JSON syntax. There is no schema:
@@ -127,9 +178,16 @@
                            syntax. You must specifiy a script witness.
   --mint-script-file FILE  The file containing the script to witness the minting
                            of assets for a particular policy Id.
-  --mint-redeemer-file FILE
+  --mint-redeemer-cbor-file CBOR FILE
+                           The script redeemer, in the given JSON file. The file
+                           must follow the special JSON schema for script data.
+  --mint-redeemer-json-file JSON FILE
                            The script redeemer, in the given JSON file. The file
                            must follow the special JSON schema for script data.
+  --mint-redeemer-file JSON FILE
+                           The script redeemer, in the given JSON file. The file
+                           must follow the special JSON schema for script data.
+                           (DEPECRATED)
   --mint-redeemer-value JSON VALUE
                            The script redeemer, in JSON syntax. There is no
                            schema: (almost) any JSON value is supported,
@@ -144,9 +202,16 @@
   --certificate-script-file FILE
                            The file containing the script to witness the use of
                            the certificate.
-  --certificate-redeemer-file FILE
+  --certificate-redeemer-cbor-file CBOR FILE
+                           The script redeemer, in the given JSON file. The file
+                           must follow the special JSON schema for script data.
+  --certificate-redeemer-json-file JSON FILE
+                           The script redeemer, in the given JSON file. The file
+                           must follow the special JSON schema for script data.
+  --certificate-redeemer-file JSON FILE
                            The script redeemer, in the given JSON file. The file
                            must follow the special JSON schema for script data.
+                           (DEPECRATED)
   --certificate-redeemer-value JSON VALUE
                            The script redeemer, in JSON syntax. There is no
                            schema: (almost) any JSON value is supported,
@@ -158,9 +223,16 @@
   --withdrawal-script-file FILE
                            The file containing the script to witness the
                            withdrawal of rewards.
-  --withdrawal-redeemer-file FILE
+  --withdrawal-redeemer-cbor-file CBOR FILE
+                           The script redeemer, in the given JSON file. The file
+                           must follow the special JSON schema for script data.
+  --withdrawal-redeemer-json-file JSON FILE
+                           The script redeemer, in the given JSON file. The file
+                           must follow the special JSON schema for script data.
+  --withdrawal-redeemer-file JSON FILE
                            The script redeemer, in the given JSON file. The file
                            must follow the special JSON schema for script data.
+                           (DEPECRATED)
   --withdrawal-redeemer-value JSON VALUE
                            The script redeemer, in JSON syntax. There is no
                            schema: (almost) any JSON value is supported,

This resolves https://github.com/input-output-hk/cardano-node/issues/3472.
Notes about implementation are within the issue.

this is going to be very helpful, thank you @newhoggy !

@JaredCorduan Do you have a recommended way of getting CBOR files for testing?

Added some newlines to keep under the 100 char limit.

@JaredCorduan Do you have a recommended way of getting CBOR files for testing?

@newhoggy in the ledger tests, we use this ruby program to generate random CBOR from a CDDL spec: https://rubygems.org/gems/cddl
The CDDL for datums is here: https://github.com/input-output-hk/cardano-ledger/blob/6fccece6415df6e8864985ddefdc30e0c1a6b8b6/eras/alonzo/test-suite/cddl-files/alonzo.cddl#L271-L276
If you want something simpler, I would suggest make a few examples conforming to that CDDL that use a variety of definite and indefinite lists and maps.

Added some cbor datum files:
$ xxd scripts/plutus/data/42.datum.cbor
00000000: 182a                                     .*
$ xxd scripts/plutus/data/typed-42.datum.cbor
00000000: d879 9f18 2aff                           .y..*.

Which correspond to the JSON datum files:
$ cat scripts/plutus/data/42.datum
{"int":42}%
$ cat scripts/plutus/data/typed-42.datum
{"constructor":0,"fields":[{"int":42}]}%

Which according to https://cbor.nemo157.com/ are annotated as follows:
18 2a # unsigned(42)

d8 79       # tag(121)
   9f       #   array(*)
      18 2a #     unsigned(42)
      ff    #     break

Tested by hand editing example-txin-locking-plutus-script.s to use the cbor flag instead.

bors merge


How to import all project

i open project in Android Studio，but run not work.

git branch -a
git checkout -b xxx origin/xxxxxxxxx
= -
2017-07-08 10:08 GMT+08:00 Henry<EMAIL_ADDRESS>
i open project in Android Studio，but run not work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/googlesamples/android-architecture-components/issues/90,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARo3SWG4jjhrgCMcgb7yUYNxTxu4AE5hks5sLuSmgaJpZM4ORmGi
.


Add Embedded Revocation List

Description of change
Add EmbeddedRevocationList for allowing managing credential status.
Links to any relevant issues
Closes #853
Type of change

[ ] Bug fix (a non-breaking change which fixes an issue)
[ ] Enhancement (a non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Fix

How the change has been tested
Unit tests + revoked_vc example.
Change checklist

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

And indeed, we will have at least one more concrete service type for DIDComm in the future, so this would lay some good groundwork for that implementation.

I think we should leave that for another PR then, to avoid delaying the 0.6.0. It requires refactoring quite a lot of code and some manual workarounds for the Wasm bindings.

We can get rid of base64 since multibase exposes encoding, decoding functionality for all its bases by default (without the prefix character).
E.g.
let encoded: String = multibase::Base::Base64Url.encode(&input);
let decoded: Vec<u8> = multibase::Base::Base64Url.decode(&encoded)?;

I think I addressed all comments. Got rid of some types and (hopefully) simplified things overall. The only weirdness is now that RevocationBitmapStatus wraps a Status<CoreDID> instead of being generic, because that would mean also making Credential generic over DID, which seems unnecessary overall. Let me know what you think of that.
Status::id was changed from Url to DIDUrl<D> where D: DID, mostly because that makes it easier to build on top of. It's similar to Service now. I'm not entirely sure if this is spec compliant, as the specs point mandates that both id fields are URIs and not URLs.

Status::id was changed from Url to DIDUrl<D> where D: DID mostly because that makes it easier to build on top of. I'm not entirely sure if this is spec compliant, as the specs point mandates that both id fields are URIs and not URLs.

Nope, change it back to Url. Many of our previous decisions have been based purely on following the specification, even if it's inconvenient. Deviating from the specification means losing potential interoperability with other implementations and any deviations means we cannot claim to be compliant.
https://www.w3.org/TR/vc-data-model/#status


Customizing configurations not working

Let me be the first to leave an issue. I really love what you are doing, especially leaving jQuery out of it.
My issue: Most customizing configurations are not working, especially those at the bottom, cannot change :showExportButton, infoText, previousButtonText, nextButtonText.
Also, it would be great if I could specify position, for example if I could place the showing entries at the bottom.
Kudos, continue working on this great project

Hi!
About customizing the buttons, that should be working.
Here is a sample of what you can do:
``vue

``
The showExportButton is actually showDownloadButton. It was probably my mistake who forgot to update this in README.me.
Actually, I have to change this because it shoulld be showExportData to match the component ExportData.vue
About changing the position of showEntries, that is a good idea! I will try to think about how to do this in the next week or so.
Let me know if you solved the problem of customizing text.

Hello, can you give me some feedback ? How did it goes?

Hello!
I'm glad to announce that from now on, version 2.2.2 of VueDataTable, we have the option to set a custom order of components!!
For example, to place the "showing entries" at bottom, you may include the following scss
	.data-table {
		display: grid;
		width: 100%;
		grid-template-columns: 25% 25% 25% 25%;

		& > .data-table-search-filter, .data-table-pagination, .data-table-per-page {
			margin-left: auto
		}

		& > .data-table-export-data {
			margin-left: 0;

			select {
				max-width: 70px;
			}
		}

		@media (min-width: 1401px) {
			grid-template-areas:
				"download download search search"
				"table table table table"
				"info pagination pagination perPage";
		}

		@media (min-width: 1051px) AND (max-width: 1400px) {
			grid-template-areas:
				"download download search search"
				"table table table table"
				"info pagination pagination pagination"
				". . . perPage";
		}

		@media (min-width: 851px) AND (max-width: 1050px) {
			grid-template-areas:
				"download download search search"
				"table table table table"
				"pagination pagination pagination pagination"
				"info info perPage perPage";
		}

		@media (max-width: 800px) {
			& > .data-table-pagination {
				flex-wrap: wrap;
			}
		}

		@media (min-width: 651px) AND (max-width: 850px) {
			grid-template-areas:
				"download download search search"
				"table table table table"
				"pagination pagination pagination pagination"
				"info info info info"
				"perPage perPage perPage perPage";
		}

		@media (max-width: 650px) {
			grid-template-areas:
				"search search search search"
				"download download download download "
				"table table table table"
				"pagination pagination pagination pagination"
				"info info info info"
				"perPage perPage perPage perPage";

			& > .data-table-export-data {
				margin-left: auto
			}
		}

		&> div {
			margin-top: 1rem;
			max-width: 100%;
		}
	}

I have tested it and it worked!


Add Edit, Delete feature and other changes

Implementation of buttons and methods to edit and delete

Added delete function


[clibc] Include fts.h without angular brackets

-- rdar://problem/31715187
Looks like using angular bracket causes Redefinition of module clibc errors
when the same modulemap is found in more than one location.

@swift-ci please smoke test

This is not the right solution


Add pricing calculator sample apex with tests

@swati681 could you please attach a screenshot of test execution with a test coverage number? That would be a good practice for everyone creating a PR into this repo to attach it


New version: pizzaboxer.Bloxstrap version 2.6.0

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335226
2024-06-14 15:41:29.622 [CLI ] ShellExecute installer failed: 1
MSI (s) (F8:6C) [15:41:02:964]: Executing op: ComponentRegister(ComponentId={3346F1B4-C208-5A77-B536-D554D6C37803},KeyPath=2285\SOFTWARE\Microsoft\Windows\Windows Error Reporting\RuntimeExceptionHelperModules\C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.31\mscordaccore.dll,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1)
MSI (s) (F8:6C) [15:41:05:042]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE\Microsoft\Windows\Windows Error Reporting\RuntimeExceptionHelperModules,,BinaryType=1,,)
Property(S): ErrorDialog = ErrorDlg

Automated error analysis suggests -1978335226 may mean Install successful but system restart may be required.
(Automated response - build 886.)


No activity since 5month

There is no activity on the project since 5month, Is it abandoned ? @mcasimir ?
Another question, any plans to integrate cleanly angular-material widgets with mobileangularui ? Since their project is being very promising/active on the Layout/UI part, it could give something very interesting to have "native" integration of it (or is that just because they use materializecss.com?).

+1

+1

+1

+1

Hi guys, i'm really sorry. Your concerns are right. I had personal matters
(the good kind of) that drained all my time. I failed to create a good
community and a base of collaborators to overcome this 'single point of
failure'.
I never meant to abandon this project, and I started to work on Maui again
two days ago fixing some issue on website.
My will is to enable a solid process capable to match market expectations.
Further steps are:

Take over the fake npm package
Close the master and Work with MR
Revisit the build pipeline to make it fully handleable by a build service
Use pure karma + phantomjs + jasmine for unit testing
Contribution guidelines
Test, bump, changelog, tag, publish from pipeline.
Share a public kanban board to groom and track the development.

After this setup I'll take care of major issues in github and being
prepared for Ng2 + Bs4.
Il giorno mar 23 feb 2016, 07:22 Joerg Boeselt<EMAIL_ADDRESS>ha scritto:

+1
—
Reply to this email directly or view it on GitHub
https://github.com/mcasimir/mobile-angular-ui/issues/335#issuecomment-187564779
.

No worries:) Glad to hear that all is well.

+1


Send connectivity error report to specified collector destination

I updated the Outline connectivity code to accept a new optional `-collector' flag for a URL to send the error report JSON object with a POST call. I tested this with report collector I setup using Apps Script. More info on collector setup can be found here.

@fortuna I made a new branch/PR that applied all the comments discussed here. I messed up this branch and it was not worth spending time to fix it :|


require is not a function

Hello,
I get when using the following codes
    var jwt = require ("JsonWebToken");
    var token = jwt.sign ({foo: 'bar'}, 'shhhhh');

this error message "require is not a function"
I hope you can help me.
Regards Christian

You are using it in nodejs right? Can you require other libraries such as require('os')??


Payable data mapping to ominpay fields

Omnipay library and gateways define their fields (parameters), and this is non-negotiable.
Need to provide a mechanism to easily map fields from given data / Payable into omnipay parameters.

I noticed that the omnipay CreditCard object will be populated with address-fields, but lacks firstname, lastname and email fields. Is this a separate issue or will this be resolved with this issue?

Closing this, since PaymentController was abandoned. The work that went into PaymentController might be a good thing for a separate Module though.


CF-1136 Fix moved resources names

I gave this branch a test and at least with our terraform codebase it works. I can't tell for sure if all moved blocks are now correct, because in our codebase not all of them are actually used.


Add installer legal clickthrough

Critical Changes
Changes
Issues Closed

Staging installer: https://metadeploy-stg.herokuapp.com/products/outbound-funds/d5fc83188bab1b450e88db530f1c183ae6b96cdf

Testing steps:
Change your browser's primary language to Spanish, French, German, Dutch, or Japanese (as preferred). Log in to MetaDeploy with a scratch org. Verify that the clickthrough agreement is presented to you in the language selected. It is not necessary to complete the installation.

Tested for browser langauage as Japanese and German


Example not working correctly (any more)

The example is not running correctly any more.

package.json

"example": "yarn build && cd example && webpack-dev-server",

should become:
"example": "yarn build && cd example && webpack serve",

App.js

Controls are not shown. The following import is missing:
import 'mapbox-gl/dist/mapbox-gl.css';

I'd love to... but I don't manage to push to a new branch... can you grant me new branch creation?

yes, ok. I'll do that!

https://github.com/amaurym/react-mapbox-gl-draw/pull/565


gqlgen generate problem

In the generated models_gen.go file,
you added methods like:
func (e TypeOfMessage) IsValid() bool {
	switch e {
	case TypeOfMessageConnection, TypeOfMessageMessage, TypeOfMessageExit:
		return true
	}
	return false
}

However, gqlgen noted DO NOT EDIT.
So, my question is that why you add those methods there?
If you were to regenerate the schema, will those code be wiped out?

Gqlgen generated that method for me, I did not create it.

Oh I see, they should be generated for the enum.
For the domain part, is that you write the models and then specify in the gqlgen.yml or you specify first in gqlgen.yml and then gqlgen will generate the code for you?
Same for the resolvers, are the resolvers generated separately or you code to fit gqlgen?

The resolvers are generated by gqlgen, the domain part I specify in the yml of gqlgen that it should take the schema from there, and I also specify that it must create resolvers.
For example in post.go:
https://github.com/gabivlj/chat-it-app/blob/3331568af2ed98febe82c3eee2c0c09cfba7448a/internals/domain/post.go#L1-L11
and the gqlgen.yml
https://github.com/gabivlj/chat-it-app/blob/3331568af2ed98febe82c3eee2c0c09cfba7448a/gqlgen.yml#L64-L70
As you can see I tell gqlgen that it can find the schema of Post there and that it doesn't need to generate the code for me. I also tell gqlgen that it should generate resolvers for User and Messages because I wanna be able to get the user of a post or the messages of a post when I get a post.
I also make sure that in the schema.graphql these fields exist as they are named in gqlgen.yml
https://github.com/gabivlj/chat-it-app/blob/3331568af2ed98febe82c3eee2c0c09cfba7448a/schema/schema.graphql#L12-L21

Thanks for the reply, it would definitely be a BIG help for the gqlgen newbies.

The resolvers are generated by gqlgen, the domain part I specify in the yml of gqlgen that it should take the schema from there, and I also specify that it must create resolvers.
For example in post.go:
https://github.com/gabivlj/chat-it-app/blob/3331568af2ed98febe82c3eee2c0c09cfba7448a/internals/domain/post.go#L1-L11
and the gqlgen.yml
https://github.com/gabivlj/chat-it-app/blob/3331568af2ed98febe82c3eee2c0c09cfba7448a/gqlgen.yml#L64-L70
As you can see I tell gqlgen that it can find the schema of Post there and that it doesn't need to generate the code for me. I also tell gqlgen that it should generate resolvers for User and Messages because I wanna be able to get the user of a post or the messages of a post when I get a post.
I also make sure that in the schema.graphql these fields exist as they are named in gqlgen.yml
https://github.com/gabivlj/chat-it-app/blob/3331568af2ed98febe82c3eee2c0c09cfba7448a/schema/schema.graphql#L12-L21

Hello, you defined the chat field in the schema, however I can see that you use messages field in the gqlgen.yml. Why's that?

Damn, that's definitely a mistake haha 😅. It should be called chat as well.


Extract current integrated terminal state to Windows Terminal

I would like a button that would close a VS Code terminal tab and open it in Windows Terminal. That would solve forced process termination when VS Code needs to restart. Is this possible?

Processes get revived when you restart VS Code - what's the value of terminal.integrated.persistentSessionReviveProcess for you?

Processes get revived when you restart VS Code - what's the value of terminal.integrated.persistentSessionReviveProcess for you?

It's onExit and it does revive the history and sometimes the process itself. But moving the process into a Windows Terminal window can come in handy at times.

Hey @meganrogge, this issue might need further attention.
@ahkhanjani, you can help us out by closing this issue if the problem no longer exists, or adding more information.

We do not plan to do this


Update serverless.yml

One more suggestion

I fixed the naming changes I said I'd make in here. Merging. Thanks again for these pull requests.


heartbeat threads blocks process shutdown

heartbeat threads blocks process shutdown because its hashed-wheel-timer is non-daemon thread.

LGTM.
I have check this point by using Provider in demo package.
Seems like if we don't let it be daemon, the main thread will block all the way.


Can't disable Caching

Hi,
I.ve experimented with --stat-cache-ttl=0,--type-cache-ttl=0 in fstab, but I can't disable caching.
Example:

perl -e 'print "found\n" if (-f "/mnt/07ooBP_g87NjF2oX6mGSzHnWodE/abcd.pdf")'
=> found

Unlink the file abcd.pdf via Web-UI or from another host mounting the same Bucket

perl -e 'print "found\n" if (-f "/mnt/07ooBP_g87NjF2oX6mGSzHnWodE/abcd.pdf")'
=> found

perl -e 'print "found\n" if (-f "/mnt/07ooBP_g87NjF2oX6mGSzHnWodE/abcd.pdf")'
from another host mounting the same bucket
=> not found

I need to disable caching because I want to check for existance of a file in a bucket. And need to have the files with a prefix like above to make them downloadable via S3.
My fstab-entry:
goofys#mybucket   /mnt fuse _netdev,allow_other,--uid=300,--stat-cache-ttl=0,--type-cache-ttl=0 0   0
Any hints?
I can flush the inodes cache with 'echo 2 > /proc/sys/vm/drop_caches', what helps, but this is an performance killer...

this is fixed. haven't written a test for this yet since our existing tests are either too low level, or too high level which lacks s3 setup.

Thanks, I'll give it a try asap!


Swipe on assignments for more options

Easy way to set an assignment as complete

Added swipe to set as complete only in Assignments tab in commit 6f17ba76431afa063dd98f72d35eb71cf5d45284

Minor tweaks including better animations in commit 925aff3d5b8dd3b129af1fdb3fa6e3a656049cb8


TOMEE-3888 - Cleanup documentation

Cleanup some dead pages and broken links in docs
list of removal of pages, notable actions taken :
mostly empty page, removed

annotations
from glassfish to tomee
tomee webaccess

removed and replaced by more accurate comparison page (with features and JDK requirements)

comparison
features
java compatibility
java ee 7 status

@rzo1 squashed and ready for review, thanks in advance

Thanks @sultan


Alerting integrations

Tracking for integrating Matano alerts with external systems
Destinations

[ ] Pagerduty
[x] Slack
[ ] TheHive
[ ] Webhook
[ ] Jira
[ ] ServiceNow
[ ] Step functions (trigger custom workflow on alert)

Design
Integration
@shaeqahmed

Sending rule matches, alerts, schema
Updating alerts

Hey guys, great to see this on the roadmap. Would love to see TheHive  on the list as well.

Hey Guys ,
It would be really nice to have below as part of external integrations in general.
1.Webhook -  This can solve lot of generic use cases.
2. Step function  - This will help in triggering a step function based playbook where one can have their own response playbook defined for a given alert.

Great suggestions, especially step functions. Adding to the list.

Yeah , I have used socless and this idea comes from there . Stepfunctions also helps in approval based workflow where a user can be reached out to confirm if a given alert is indeed triggered due to a genuine use or any unauthorised use which can further be taken ahead by SOC Analyst.  This reduces burden on SOC analyst to address every alert.
Adding the link to socless framework to provide context to the ask.
Doc Link: https://twilio-labs.github.io/socless/
Reference to human based confirmation in socless : https://twilio-labs.github.io/socless/tutorial-interacting-with-humans-via-slack/

Are you looking for contributions on this front, or is this something actively in progress?

I believe @shaeqahmed was working on some integrations, starting with a Slack integration, but we would be happy to accept any contributions. Is there a specific integration you are interested in?

It would be nice to have standalone AWS lambda as a trigger as well in case there is not much complex workflow to have a step function.

It would be nice to have standalone AWS lambda as a trigger as well in case there is not much complex workflow to have a step function.

SNS was recently added as a destination. You could hook SQS + Lambda into that topic.


feat: Add Microsoft Go support to GoToolV0

Task name: GoToolV0
Description: Add a goSource parameter to allow use of the Microsoft Go tools instead of the default Go tools
Documentation changes required: Y
Added unit tests: N
Attached related issue: Y #16045
Checklist:

[x] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

Can I upload this modified task to my team's ADO project "as is" or do I need to create a new task with a new Id and copy the code to test it?
I've never worked on an ADO task before. My Typescript is rusty, to say the least.
I'm hoping someone with experience building these tasks has some time to review and test it.
@hililh Are you a candidate to review it?

/azp run

Hi @shueybubbles, firstly thanks for contributing here.
Looks like PR CI checks are failing due to task version mismatch.
Please follow the below instructions to fix this:

If you have cloned this repo locally, navigate to the root directory (ie C:...\azure-pipelines-tasks>)
Execute this build command " node make.js build --task GoToolV0" //ensure to node 8/10, else the command fails
Once the build is completed, commit the changes to this branch.

Thanks

/azp run

@v-mohithgc pushed, thx

/azp run

/azp run

/azp run

/azp run

@v-mohithgc do you have some cycles free to test this iteration?


fixes typing error in quick-start-with-vim-go.md file

Signed-off-by: sachinmukherjee<EMAIL_ADDRESS>
What this PR does / why we need it:

It fixes inappropriate heading tags in quick-start-with-vim-go.md file which resides inside the directory documentation/techbits/.
tags with ## should be changed to ###.

Which issue this PR fixes: fixes https://github.com/openebs/openebs/issues/1518

@utkarshmani1997 please review

Guys, I have already notified and requested you countless times before to not accept any PR regarding the documentation. If you would take a look at #1511, I have already fixed these issues. This would create unnecessary merge conficts in my PR with no real gain.

Hi @sachinmukherjee I am sorry that there is a duplication of effort involved here and we should have caught during the issue stage. Please come back to reviewing this docs after #1511 is merged.


Solutions to Django Common Errors in Web Development

## Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

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

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #5922

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

@OkothAlvan
Welcome to EngEd community!
Your PR has entered our reviewing queue. Please wait until a peer-reviewer pings you to get started with the review process.
Thanks.

Hi @OkothAlvan Well done for such an amazing article. However, there're a lot of corrections you need to make. Please, run your article on tools like Grammarly and ProWritingAid for better editing. We will be closing this PR to allow you to polish the article. Visit the EngEd new contributor's docs here to guide you. Thanks.
cc @section-engineering-education/content-moderator-team please close this PR

@Jethro-magaji
You may point out all the corrections to be made, and close the PR by yourself.

Noted. Thank you.
On Tue, Jan 18, 2022, 7:56 AM Srishilesh P S @.***>
wrote:

Hi @OkothAlvan https://github.com/OkothAlvan Well done for such an
amazing article. However, there're a lot of corrections you need to make.
Please, run your article on tools like Grammarly and ProWritingAid for
better editing. We will be closing this PR to allow you to polish the
article. Visit the EngEd new contributor's docs here
https://github.com/section-engineering-education/engineering-education/tree/master/new_contributors
to guide you. Thanks.
cc @section-engineering-education/content-moderator-team
https://github.com/orgs/section-engineering-education/teams/content-moderator-team
please close this PR
@Jethro-magaji https://github.com/Jethro-magaji
You may point out all the corrections to be made, and close the PR by
yourself.
—
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/pull/6052#issuecomment-1015070735,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXDCMYVBHUTKS4RHRR4RLMLUWTXHFANCNFSM5LZY6CHA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
<section-engineering-education/engineering-education/pull/6052/c1015070735
@github.com>


⚠ Processors has degraded performance

In 1352e4a, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 88 ms

Resolved: Processors performance has improved in ba736a8.


Add TodoWithoutLink rule

Checks whether comment or documentation has TODO without a web-link.
This rule is supposed to be disabled by default, but it can be useful for some teams as mine to reuse it if there is a need.

Forcing TODOs to have a specific link seems like maybe too specific. I think we should make the Regex DEFAULT_LINK_PATTERN = """\bhttps?://(?:www\d?)?[\w/#&?=\-.]+\b""" configurable so that users can specify how their TODO should look like.
For example people might want to enforce a TODO (username): text or a TODO #githubissuenumber. If so, the rule should also be renamed

Forcing TODOs to have a specific link seems like maybe too specific. I think we should make the Regex DEFAULT_LINK_PATTERN = """\bhttps?://(?:www\d?)?[\w/#&?=\-.]+\b""" configurable so that users can specify how their TODO should look like.
For example, people might want to enforce a TODO (username): text or a TODO #githubissuenumber. If so, the rule should also be renamed

Yup, could not agree more on that.
So, custom pattern can be provided using config, right?
@Configuration("custom link regex pattern")
private val linkRegexPattern: String by config(DEFAULT_LINK_PATTERN)

As for having username or something else, it also can be configured using more complex regex pattern.
So, yes, since regex can be whatever user wants it to be, this can be renamed a bit no to be specific on web links.

I feel this rule is far too specific to fit inside the default rule set.
But it would be a great addition for a third party rule set. We could have it listed on our market place.

@AndreuZaitsev may I ask you to publish this rule somewhere? Then submit a new PR, which adds a link to the detekt marketplace. It would be great to have this rule added to the marketplace.


[Bug]: GitHub template for creating bug issues does not add "Bug" label

The "Bug" label is not added to newly created issues; this seems to be because the "Bug" label in GitHub is title case.
In addition the feature/bug templates should not include the "triage" label.

Review again when contribute pages are migrated

Completed in other issue template reformat


Option for dark/light menu bar icon.

It would be great if the dark/light theme would match the menu bar icon (white text over black background / black text over white background). Better yet if this was a separate option, independently from what theme was chosen for the calendar itself.
I have moved the itsycal indicator next to the native Mac OS time/date indicator and t's annoying that they do not match:

There is an option for an outline icon if you want dark text. You can also set a date/time pattern with the option to entirely hide the icon.


[all] Publish Lit 3.0 prerelease 2 packages

Blocked on https://github.com/lit/lit/issues/3200

We did it! Good job! :D Blog post: https://lit.dev/blog/2023-09-27-lit-3.0-prerelease-2/


[Bug] copy_grants configuration not being sent to DDL for seed tables (Snowflake)

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

existing privileges for seed table are erased when table is recreated
COPY GRANTS not found in the DDL

Expected Behavior

existing privileges should be restored when seed table is recreated from the dbt seed --full-refresh command
COPY GRANTS should be shown in the query logs when dbt executed the DDL

Steps To Reproduce

In project.yml, add +copy_grants: true just below "seeds" through GitHub and merge into master branch
run job in dbt cloud
a.)  job pulls from GitHub master branch
b.)  includes dbt seed --full-refresh command

project.yml seeds section:
seeds:
  +copy_grants: true
  <project name>:
    +persist_docs:
      relation: true
      columns: true

Relevant log output
No response
Environment
- dbt: cloud version 1.6
- DWH: Snowflake

Which database adapter are you using with dbt?
snowflake
Additional Context
No response

Possibly related: https://github.com/dbt-labs/dbt-snowflake/issues/1030

Thanks, @dbeatty10. It looks like the workaround mentioned in #1030 might work.


🌝 Corrected: Typo

Just a small typo. Many thanks for the Provider! It is amazing! Love it

@techBeck03 hope you saw the suggestion

@techBeck03 hope you saw the suggestion

I did not see this 🤦🏼♂. Thank you so much for contributing!!


Additivity check failed in TreeExplainer!

I'm using shap version 0.39.0 in python 3.8.2 and getting this error when trying to do a simple classification task. As far as I can tell, it does not happen with other regression tasks that I have tried. Regardless, here is the code to reproduce this:
import shap
import numpy as np
import pandas as pd
from sklearn.datasets import load_iris
from sklearn.ensemble import RandomForestClassifier

def shap_importance(model, X_train, y_train):
    model.fit(X_train, y_train)
    ex = shap.Explainer(model, X_train)
    shap_values = np.array(ex.shap_values(X_train))
    if len(shap_values.shape) > 2:
        avg_shaps = np.abs(shap_values).sum(axis=0).mean(axis=0)
    else:
        avg_shaps = np.abs(shap_values).mean(axis=0)
    imps = pd.Series(data=avg_shaps, index=X_train.columns)

    return imps.sort_values(ascending=False)

iris = load_iris(as_frame=True)
X = iris.data
y = iris.target

model = RandomForestClassifier()
print(shap_importance(model, X, y))

And here is the traceback:
Traceback (most recent call last):
  File "issue.py", line 26, in <module>
    print(shap_importance(model, X, y))
  File "issue.py", line 11, in shap_importance
    shap_values = np.array(ex.shap_values(X_train))
  File "/opt/anaconda3/lib/python3.8/site-packages/shap/explainers/_tree.py", line 406, in shap_values
    self.assert_additivity(out, self.model.predict(X))
  File "/opt/anaconda3/lib/python3.8/site-packages/shap/explainers/_tree.py", line 537, in assert_additivity
    check_sum(self.expected_value[i] + phi[i].sum(-1), model_output[:,i])
  File "/opt/anaconda3/lib/python3.8/site-packages/shap/explainers/_tree.py", line 533, in check_sum
    raise Exception(err_msg)
Exception: Additivity check failed in TreeExplainer! Please ensure the data matrix you passed to the explainer is the same shape that the model was trained on. If your data shape is correct then please report this on GitHub. This check failed because for one of the samples the sum of the SHAP values was 0.000100, while the model output was 0.010000. If this difference is acceptable you can set check_additivity=False to disable this check.

Additionally, when I try to set check_additivity=False inside shap_values I get: shap_values() got an unexpected keyword argument 'check_additivity'

I'm adding one more example. I'm using the same data shape.
python=3.9.12
scikit-learn=1.0.2
shap = 0.40.0
random_forest_clf = RandomForestClassifier(max_depth=15, n_estimators=300, random_state=77)
random_forest_clf.fit(X_train, y_train)
explainer = shap.TreeExplainer(random_forest_clf, X_train)
shap_values = explainer.shap_values(X_train)
shap.summary_plot(shap_values, X_train, feature_names=feature_names)
Error screen cap

I am facing the same issue with random forest model , when i add check_additivity=False , it Kills the kernel everytime. Does any one have any solution?

@tjsanti Try only providing the trained model instance to Explainer.
ex = shap.Explainer(model)  # <--- instead of shap.Explainer(model, X_train)
shap_values = ex.shap_values(X_train)

@xxjoeseven Same advice.
explainer = shap.TreeExplainer(random_forest_clf)  # <--- instead of shap.TreeExplainer(random_forest_clf, X_train)
shap_values = explainer.shap_values(X_train)

I don't get any errors with additivity in this case. If anyone else still faces this issue after adjusting the call to the Explainer class, please provide a minimal working example (like @tjsanti or @xxjoeseven  did).


Weather App Using Java for Android

Is your feature request related to a problem? Please describe.
We need to know the weather conditions of our own city and also of other cities, this app for this purpose.
Describe the solution you'd like
In this app we can see the weather of our own city as well as search the weather of other cities.

I want to work on this!


Not running consistently

Hey, thanks for the great plugin.
I do have an issue though. I use octolapse and have configured two scripts for before and after a picture is taken. In these scripts, I set the LEDs:
e.g. ledShoot.sh
#!/bin/bash

pigs p 17 255
pigs p 27 100
pigs p 22 100

exit 0

I think somehow this interferes with the plugin. Sometimes, the M150 command works but stops working after using my custom scripts. Is there a rights issue or something I'm missing?
What is the recomended way of starting pigiod?
Cheers

Maybe this helps:
2020-02-04 12:03:53,140 - octoprint.util.comm - ERROR - Error while processing hook LEDStripControl for phase queuing and command M150 R: Traceback (most recent call last):   File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/util/comm.py", line 3292, in _process_command_phase     hook_results = hook(self, phase, command, command_type, gcode, subcode=subcode, tags=tags)   File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_LEDStripControl/__init__.py", line 150, in HandleM150     self._leds[l].ChangeDutyCycle(dutycycles[l])   File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_LEDStripControl/__init__.py", line 65, in ChangeDutyCycle     self.start(dutycycle)   File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_LEDStripControl/__init__.py", line 54, in start     self._pigpiod.set_PWM_range(self._pin, 100) # emulate RPi.GPIO   File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/pigpio.py", line 1441, in set_PWM_range     return _u2i(_pigpio_command(self.sl, _PI_CMD_PRS, user_gpio, range_))   File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/pigpio.py", line 978, in _pigpio_command     dummy, res = struct.unpack('12sI', sl.s.recv(16)) error: unpack requires a string argument of length 16 2020-02-04 12:03:54,063 - octoprint.plugins.LEDStripControl - DEBUG - M150 Detected: M150 R 2020-02-04 12:03:54,064 - octoprint.plugins.LEDStripControl - DEBUG - match 1: r 2: 100.0 2020-02-04 12:03:54,065 - octoprint.plugins.LEDStripControl - DEBUG - PiGPIOpin: ChangeDutyCycle() pin: 17 2020-02-04 12:03:54,066 - octoprint.plugins.LEDStripControl - DEBUG - PiGPIOpin: start() pin: 17

For starting pigpiod, there should be an init script/service file included with the package pigpiod on Raspbian.
pi@raspberrypi:~ $ dpkg -L pigpiod | grep service
/lib/systemd/system/pigpiod.service

It looks like internally the pigpio library isn't returning the right data structure and it is tossing an exception.  I've never encountered that before.  What version of Raspbian and pigpiod is installed?

Thanks for getting back @precision
Here's my versions:
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

pigpiod -v
71

Hrm. I'm kind of at a loss here.. this kind of just works on my Pi. What version of the pigpio python library do you have installed?
$ pigpiod -v
71
$ . ~/oprint/bin/activate && pip list | grep pigpio
pigpio                    1.35

I'm connected, I can set the colors via M150 to whatever.  Then from the console I fire off a $ pigs p 17 100 the blue (in my case) led goes to 100%.  If I then fire another M150 via the plugin it can still change the LEDs just fine.

That is really strange. I also noticed if I enable the plugin and send a M150 command(which has no effect) the LEDs start to flicker.
. ~/oprint/bin/activate && pip list | grep pigpio -bash: /home/pi/oprint/bin/activate: No such file or directory
Maybe I should mention I installed octoprint manually following this guide: https://community.octoprint.org/t/setting-up-octoprint-on-a-raspberry-pi-running-raspbian/2337

Is your pigpiod listening on a tcp port or a socket?  I think the default behavior is to listen on a unix domain socket which can cause problems (permissions, apparmor, etc)  I always set mine to listen on a tcp port.
$ cat /etc/systemd/system/pigpiod.service
[Unit]
Description=Daemon required to control GPIO pins via pigpio
[Service]
ExecStart=/usr/bin/pigpiod -l -n <IP_ADDRESS>
ExecStop=/bin/systemctl kill pigpiod
Type=forking
[Install]
WantedBy=multi-user.target

That did the trick!
-n <IP_ADDRESS>
Unfortunately the scripts still interfere somehow and lights flicker with my scripts.
I added the the controls snipped where I now have the buttons under the controls tab in octoprint. If I set all colors off via pigs
pigs p 17 0
pigs p 27 0
pigs p 22 0

and then use the buttons I have beautiful stable light.
If I then switch lights with pigs:
pigs p 17 255
pigs p 27 100
pigs p 22 100

It flickers. Turning these off and using the controls in octoprint again works fine.
Any ideas?
Thanks a bunch for all your support!

Sorry for the delay, I wasn't able to notice any flickering on my setup. Possibly a quality difference on our LED strips?


fix(pypi): python support for stack analyses

python support for stack analyses on requirements.txt
python support for component analyses on requirements.txt
removes nested callbacks with async await

Don't merge it. Let me check it locally once.

@sudhirverma PTAL have made the changes.

and squash all the commit.


Should permit nesting models without links (e.g. defining frames / visuals / collision only)?

In SDFormat 1.7, we admit models with no links iff they are //static=true, and the canonical link for those models are attached to the world:
http://sdformat.org/tutorials?tut=pose_frame_semantics_proposal&cat=pose_semantics_docs&#2-1-implicit-frame-defined-by-model-pose-attached-to-canonical-link
However, @azeey pointed out that we may want similar behavior for nested models:
https://github.com/osrf/sdf_tutorials/pull/34#pullrequestreview-466335947

Thoughts:

Not sure how I personally feel about just adding frames / visuals / collision without inertias. (if you're adding new collisions via SDFormat, they should be real and physical?)
Not sure how I feel about this when the adding element will have scoped names.

So thinking about this, my gut says we punt for now on SDFormat 1.8.

This should've been accomplished for static models per latest PRs from @azeey
@brawner to confirm that this is already covered in a unittest.

Resolved via https://github.com/osrf/sdformat/pull/341 and is tested in the model_dom.cc integration test DOMRoot.LoadNestedCanonicalLink and DOMRoot.LoadNestedExplicitCanonicalLink (https://github.com/osrf/sdformat/blob/5a910816ef57ebd34aa4cf0c0a233750d8af88b3/test/integration/model_dom.cc#L433-L531)


Avoid Using Animated Graphics \ Short Videos That Automatically Play in Articles

[Enter feedback here]
Please stop putting graphics in these articles that automatically plays a short video clip, this is INCREDIBLY distracting when trying to read the rest of the page. At least give the reader a way to stop the video from playing.

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

ID: 93752ff7-69cf-1dd6-500e-fb367b4eb123
Version Independent ID: 514cfff9-e0ea-836f-cd42-9089585e2578
Content: Microsoft Power Fx overview - Power Platform
Content Source: power-platform/power-fx/overview.md
Service: power-platform
Sub-service: power-fx
GitHub Login: @gregli-msft
Microsoft Alias: gregli

Thanks for your comment, @d0finley. This issue has been assigned to the doc author for review.

I couldn't agree more, I hate them too. Additionally, they are not accessible at all. I will keep this in mind when editing existing pages to see while I'm there if I can replace some of these with text.


chore(package): update eslint to version 3.19.0

Closes #24
https://greenkeeper.io/

Codecov Report

Merging #43 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #43   +/-   ##
======================================
  Coverage    98.9%   98.9%
======================================
  Files           8       7    -1
  Lines          91      91
  Branches        8       8
======================================
  Hits           90      90
  Misses          1       1

Impacted Files
Coverage Δ

index.js
97.36% <0%> (-2.64%)
:arrow_down:

lib/index.js

Continue to review full report at Codecov.

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


Implement platform view clipping in Skwasm renderer

Platform views have been implemented in Skwasm, but one thing they are missing that is supported in the CanvasKit renderer is clip from layers being applied to the platform view.

Still P1


Clean colors

We need to clean colors in order to remove unused values

As of today we don't use the following colors:
export const colorGradientDarkBlue = '#3271A5';
export const colorGradientLightBlue = '#AADBFF';```

These are the colors used on the bridge. Should they be excluded from the design system because they are in a preset?
I don't know which is the best solution for you (recreating presets for each new project, or having the option of doing it directly in the design system)

These are the colors used on the bridge. Should they be excluded from the design system because they are in a preset?
I don't know which is the best solution for you (recreating presets for each new project, or having the option of doing it directly in the design system)

context about presets : we have a massa-bridge-preset.js in the bridge and a massa-station-preset.js hosted in the ui-kit


Use relative links for commits, mentions, and issues in markdown

Fixes #29404
Use relative links for

commits
mentions
issues

No, except you can know all the renderers will not be used on mail templates.

@lunny is right, mails would be broken. Fixed that and added a small test to prevent it in future.

Don't know why the unit tests don't run in the workflow but running them locally revealed some errors in the tests. Reason is this:
https://github.com/go-gitea/gitea/blob/e55926ebfe88d6ee079842967dc7dccc2a9cdbf2/modules/markup/markdown/markdown_test.go#L24-L26
That's not how our setting.AppURL and setting.AppSubURL work. Will fix this later.

I encountered a similar problem in #29222, the test data are inconsistent.

Added #29459 to fix the tests.


Android Studio support

I followed how to turn on annotation processing when a project isn't opened but upon opening a project I still get the notification that it's not turned on, is this supported on the AS version of IntelliJ?

Disregard had to remove the project and re add it AS


[AIStudio][Cherry pick] Add qianfan Auth

@sijunhe

Codecov Report
Attention: 26 lines in your changes are missing coverage. Please review.

Comparison is base (00390b1) 61.11% compared to head (4868214) 60.79%.

Files
Patch %
Lines

...t-agent/src/erniebot_agent/chat_models/erniebot.py
9.09%
20 Missing :warning:

...nt/src/erniebot_agent/utils/config_from_environ.py
57.14%
6 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##           aistudio     #220      +/-   ##
============================================
- Coverage     61.11%   60.79%   -0.33%
============================================
  Files            56       57       +1
  Lines          2793     2821      +28
============================================
+ Hits           1707     1715       +8
- Misses         1086     1106      +20

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


How can i run codeigniter4 (4.4.5)

Hi how can i run with "php spark serve" pls

Hello @kit1211, have you already solved it or do you still need help?


Unificaction of  lightclient changes

Changes are unified, related to onboarding, payments and close channel.

Lgtm, this merge includes the following light client operations:

open
close
deposit
init payment
onboarding

The rest of the PRs must be ignored and the branches are only maintained as a backup.


Saving as png resizes plot

Hey there,
whenever I save my plots as a png file, the plot gets resized and sometimes this results in the legend occluding the actual plot.

This logic is implemented in Plotly, not in visdom: https://github.com/plotly/plotly.js/blob/5da37913cb2d52ed3ad9b161b66f361a142ca1e1/src/components/modebar/buttons.js#L48,L70
So you would have to report this issue on Plotly's Github issue tracker.


update docs with warning of incomplete wordpress migrator

The wordpress migrator (1.0.0) is far from complete. I would personally call it 0.1.0 at this stage. There are some notable issues:

more tag not migrated
exporting images?
paragraphs lost post-migration
multiple categories exported as nested categories
image gallery inside post not migrated

I spent about 3 weeks building a hexo theme and now I noticed that the migrator is not complete and cannot handle many basic things. A warning on the Migration page should be added stating that there are many missing features in the migrator and only plain-text blogs can be migrated.

https://github.com/hexojs/hexo-migrator-wordpress/issues/54


Weird animation on iOS

What kind of Issue is this?

(x) Bug Report
() Question / Problem
() Discussion / Feature Request

How are you using the Bottom Navigation?

(x) I use the Bottom Navigation together with react-navigation; the Issue is not appearing when I'm using react-navigation's TabBar instead.
() I use the standalone version.

Expected behavior
No animation to happen when switching tabs.
 Only happens on iOS.
Additional description and resources
I was actually able to fix this deleting the following from BottomNavigation.js
LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut)
https://giphy.com/gifs/8TznS7ZN5Xek1trxO8
What did you do to find a solution?
I googled everywhere and didn't find anything.

Thanks for reporting. LayoutAnimation is (was?) necessary to animate the shifting Bottom Navigation, when you have >= 4 Tabs. But I understand how this line could cause troubles, when two Layout changes happen at once.
Could you check if the shifting-Animation still works without this line?

Shifting-Animation does not work without the line. Maybe if we remove the line if shifting is off?

I'm at the moment rewriting big parts of the BottomNavigation. I will take a look at the LayoutAnimations, and will check how to call the LayoutAnimation without animating the whole screen.

Is it safe to fork and remove that line for now? As I only have 4 tabs for now.
Or should I try an if on shift being true (I assume there is some variable). I will mess around with it this weekend and see.

Yes, you can fork and remove that line for now. Implementing a fix would be a bit too much, since I'm currently doing the rewrite. v1.0.0 will fix that issue.

If anyone else needs it https://github.com/hammadzz/react-native-material-bottom-navigation

thought I was going crazy when my tabs were suddenly doing this after updating to react-navigation 1.4. Glad to know my eyes aren't playing tricks on me😅

If anyone else is experiencing other issues please do share. I noticed that sometimes by changing tabs quickly or doing something (a trigger unknown at this time) it start making a large space in my last tab act like a button that will switch to the first tab whenever it is touched. Really strange. I don't know exactly how this is happening or what is triggering it. I didn't find anything in my code so far to see that I have any logic to navigate to the 1st tab there.

This issue will be fixed in the next version, see #76.
If you're interested in the solution: https://github.com/timomeh/react-native-material-bottom-navigation/blob/58b2b40d2b262a1118ad3a85a9f72c6c867a39ad/lib/ShiftingTab.js#L62-L70
Delaying the LayoutAnimation call to the next frame won't cause other Layout changes to animate. (Or rather it will reduce the probability of glitches)

Closed with v1.0.0 ⚡


Synchronous tests don't time out

🐛 Bug Report
jest.setTimeout(timeout) does not time out for synchronous tests.
To Reproduce
run
  it('times out', () => {
    const startTime = new Date().getTime();
    while (new Date().getTime() - startTime < 10000) {
      // wait
    }
  });

Expected behavior
The test times out.
Link to repl or repo
https://repl.it/@gitlab_winnie/jestsetTimeouttimeout-for-synchronous-tests
Run npx envinfo --preset jest
  Binaries:
    Node: 9.0.0 - ~/.nvm/versions/node/v9.0.0/bin/node
    Yarn: 1.7.0 - /usr/local/bin/yarn
    npm: 5.8.0 - ~/.nvm/versions/node/v9.0.0/bin/npm
  npmPackages:
    jest: ^23.5.0 => 23.5.0

If interrupting the test is technically not possible it would be good to

throw an error after the test finished if it ran longer than the time out
update the documentation at https://jestjs.io/docs/en/jest-object#jestsettimeouttimeout

Current workaround:
let testStartTime;

beforeEach(() => {
  testStartTime = new Date().getTime();
});

afterEach(() => {
  if (new Date().getTime() - testStartTime > testTimeoutInMs) {
    throw new Error(`Test took longer than ${testTimeoutInMs}ms!`);
  }
});

in setupTestFrameworkScriptFile

I don't think it's possible to time out short of killing the worker (with force, and it wouldn't work when not using workers).
But your idea of failing a test if it ran longer than it should regardless if we were able to get a timeout error before it completed or not makes sense! Wanna send a PR for it?

Thank you for the feedback! 😃

Wanna send a PR for it?

I'll give it a try. 👍

started work in https://github.com/facebook/jest/pull/6950 but I still have to clarify on the CLA with my employer

I'm not sure about this. While technically correct, a lot of tests started randomly failing for us as flaky tests and took us hours to determine what caused the flakiness when upgrading Jest.
I think we can keep it for now, as it makes sense, but I'm kind of expecting a pushback and issues from the community in relation to tests that started failing after the upgrade to Jest 24.

Yeah, the react native test in this repo turned flaky as well after merging this. I do like it though, and it makes sense to respect the timeout.
We might consider a custom message if a synchronous test times out, though?
"As of Jest 24, Jest will report synchronous tests that uses more than the timeout to complete as timed out.". Or something like that.
One other thing we can do is include the timeout in the message. Instead of "more than 5000ms" or whatever. As we are unable to cancel the synchronous function it's allowed to complete, sowe know how long it takes

Thanks for the response @SimenB !
Including the time it's taken the test to execute in the error message would be really good, this way it would even be possible to build some tooling to automatically increase the timeout of tests that fail due to this

Hey @SimenB , @gitlab-winnie!
After spending more time trying to integrate the new version of jest into the FB codebase and discussing it with a few teammates (cc/ @mjesun and @rubennorte), I'd like to suggest to add an option to jest to be able to control whether sync tests that take longer than the timeout should fail. Ideally this option should be disabled by default, at least for jest v24.
Context
I've been trying to upgrade jest in our mobile repository at FB and this feature has been causing a few issues:

A bunch of sync tests have started failing.
The list of failing tests is not constant: a lot of tests are now flaky because the time it takes to run them varies a lot between runs.

After some investigation, point 2 is caused by the transpilation of files: since jest transpiles files on the fly as they get required, if when running a test case jest needs to transpile all the dependencies the test is going to take much longer than when the transpiled dependencies are cached.
We've seen cases where transpiling the dependencies takes several seconds but the test only takes a few milliseconds to  run, so these tests fail only when running without cache or from a worker that has not transpiled its files yet.
To be fair these same issues are already present on async tests due to the timeout, but in that scenario that's a tradeoff to pay to be able to kill tests that would otherwise run forever due to unresolved promises, etc.
In the sync test scenario, failing when a test has took more than the timeout to run gives consistency with async tests, but it does not improve either developer experience of helps catching bugs: the test will still take the same amount of time to run, only jest will mark it as failed.
This is the main reason why we'd like to be able to not have this check when running. Related to this, I think that many other users will face the same issues that we're facing at FB when upgrading jest (since these issues are not caused by our specific needs), so I believe that making this option opt-in will avoid some user friction until we figure out a better way to implement it.
Alternatives
Something we've discussed is to not count the transpilation times when computing the timeouts: This would remove the flakiness caused by transpilation cache hits/misses, but could cause some confusion since the timeout would not correspond anymore to the total time that it takes to run the test.
Any other alternative or way to improve this feature is appreciated 😃

Given that we can't stop sync tests when they timeout and we already have the result when they finish, I don't think this feature is very useful for most people. It might be useful to define "budgets" so you can avoid people writing slow tests (as a team or project policy), but that could be implemented with the workaround @gitlab-winnie defined.

EDIT: And maybe add "breaking change" to the changelog, even though it's technically a bug fix?

@SimenB I think this is a good idea. Even if it is a bug fix, it seems to be a bug that multiple projects relied on.
Could we also introduce a switch to disable the behavior (which may be deprecated in a future release)? I think that would give people more time to fix their long running tests.

@SimenB given that https://github.com/facebook/jest/pull/7259 has been merged, should we reopen this issue? 😃

yup

The problem with my workaround from https://github.com/facebook/jest/issues/6947#issuecomment-418786554 is that it doesn't work if you define an individual timeout for anything (afterAll, afterEach, beforeAll, beforeEach, describe.each, test, test.each, test.only)
@SimenB Would merging https://github.com/facebook/jest/pull/7074 again but behind a CLI / config option make sense to you? (something like timeoutSynchronous: true)

Yeah, good idea. And flip the default for a future major, maybe? Dunno.
@thymikee @rubennorte @rafeca thoughts on that?

I'm not opposed to having the option but I'm still not sure if enabling it by default would be useful for most users. I'd find confusing to have something like:
it('...', () => {
  const a = slowCall();
  expect(a).toBe(5);
  console.log(a);
});

Printing 5 and still failing.
Perhaps is just a matter of using a different error message that makes that clear (instead of just a generic timeout error).

but I'm still not sure if enabling it by default would be useful for most users

@rubennorte Maybe we can create a separate follow-up issue to discuss whether this should become the default behavior? Then people can throw their 👍s and 👎s at it after trying it out. 😃
Personally I wouldn't mind if it is not the default but having it at all would be a big help.

Hi linked here from a SO question.
Writing a small instructional on JavaScript and one part is on testing. One section is on performance and Big O.
Is there a version out where I can enable timed synchronous functions?

I am able repro this.  I also was able to narrow it down (in my case) to nested long running for loops:
describe("timout tests", () => {
    test('Times out properly', (done) => {
        setTimeout(done, 10000);
    }, 2000);

    test('Times out properly', (done) => {
        for (let i = 0; i < 937351770; i++) {
        }
    }, 2000);

    test('Does not time out at all, just spins', (done) => {
        for (let i = 0; i < 937351770; i++) {
            for (let j = 0; j < 937351770; j++) {

            }
        }
    }, 2000);
});

I've implemented a process-level timeout option that helps to address this issue https://github.com/facebook/jest/pull/13473


Fix HTML form code to match rspec test case.

This change should resolve redirects not functioning correctly
through a 2fa redirect.
Closes #242

Coverage remained the same at 84.381% when pulling aeb94d2bf79ccf26aad94a15d0c88f271ac43cfd on bug/redirect-with-2fa into 011e7e59a68f6cc638eac8351ff3deb476ae4bb0 on master.


Keep top n decisions to get around cf limits

Addresses https://github.com/crowdsecurity/cs-cloudflare-bouncer/issues/77

I don't see any roadblocks to get this merged, but I can't stop make myself wonder if there's any possibility to get this more memory wise: by using only one map smartly crafted.


Vive Wireless - Parameters frozen on battery change

Noticed that when my Vive wireless battery dies and I swap it out, my parameters are no longer updating. Eye/Face trackers are still working outside of VRC, but to get my parameters to update I'm forced to restart VRC. Tried the force reinitialization button in your menu, but it didn't seem to help. Also tried lesser things like resetting avatar, changing avatars and changing back, nothing seemed to work except restarting VRC completely.
Thank you!

Something to note, I found my wireless adapter to be relatively unstable after adding the facial tracker, and discovered my cooling solution was no longer adequate as the facial tracker added nearly 20c of load. I have since added better heatsinks and it solved a lot of this. Is it possible some of the errors you're receiving may be from an overheating adapter? The quality of my facial tracking seems to have improved as well, it was already good, but it's definitely better now.

This is likely related to (and testable from) a similar case I had seen, where if the headset loses power briefly (IE: brief power outage), the same thing happens. Willing to bet you can replicate this on a wired headset by pulling the power cable from the link box.

Is this closed because it can't be fixed? I have a wireless module and I can confirm the issue. The same thing happens if you pull the power cable and plug it back in. The hard reset button doesn't seem to fix it either.


Incorrect type checking when looking for Node/AMD

Line 1363 and 1369, you're comparing a typeof against the undefined property instead of 'undefined' as a string.
In a browser, module.exports check is therefore executed resulting in a ReferenceError exception.

ohhh yeahh, this must happen after some refactoring and injecting undefined (function (root, undefined)
:+1:
will release v5.0.1