Subs or Substitutions?

I really like the API, a complete copy of ElmArchitecture in JavaScript. My only peeve is subs. I think it would be better to use the term subscriptions like Elm and Choo. I remember the first time I looked at the counter example and saw the sub function in the update method. I immediately assumed it was a singular instance of subs, whatever they were. Then when I saw the subs in actions I was thinking, hmmm... substitutions?, subtractions? subordinations? subscripts? or maybe he wants to give us all foot long subs!!! Yay! I'll have two please. OK,  I know you used subs to save a few letters typing, but going forward if you want this project to gain traction it would be better to use the more explicit term subscriptions to save people the mental work of constantly translating subs to subscriptions in our heads. Even in your README you describe subs as: Subscriptions are functions that run once when the DOM is ready. Use a subscription to register global events, like mouse or keyboard listeners. I'm suspecting you probably just lobbed off the tail end of pubsub for the term. My point is explicit terms are always better than implicit terms in API design. It's not like people would have to type the term a thousand times. It's just once. Then when you scan the page and see subscriptions it would be immediately clear what you are looking at, even if you were not familiar with this API.

It's not like people would have to type the term a thousand times. It's just once. T

Good point.
What do you folks think? @danigb @itrelease @maraisr @tzellman @evgenykochetkov @terkelg
I'm 💯 with the idea.

I think it's a good idea considering that it's inspired by Elm.App it would be nice to go along with same naming for api

I was thinking the same thing. subscriptions is better if you want shorter name subscribes is better than subs too.

I like subs for brevity, but I agree that subscriptions may be more obvious. You could always settle with var subs = options.subscriptions || options.subs || {}.

I agree, good idea!

subs is an array, so its description should be a noun, not a verb. subscribes would indicate a function.

@rbiggs Changed to subscriptions. Code still handles and will handle .subs for a while, after 0.0.13, examples have been updated and due mourn time has been given.

@rbiggs Can this be closed?
@jbucaran Is there anything else to do before releasing 0.0.13? I'd like to have the subscriptions fix  available for usage. 🙂
In addition to that 0.0.12 changed the import to hyperapp/hx and the longer we wait to undo this the more people will use that change just to undo it in 0.0.13.

Shipped. See the release notes.


Adding Google Fonts

Is there any way to add to the index file to include Google Fonts?

Totes - 3 options for this that I'm aware of.

Import it from some css:

// index.js
import './style/index.css';

/* style/index.css */
@import url('//fonts.googleapis.com/css?family=Open+Sans');

You can SSR it!

// index.js
export default () => (
  <div class="app">
    <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans" />
    {/* regular app stuff here */}
  </div>
);

Specify a custom HTML template and make it all your own. I recommend starting from the internal default HTML template.

preact build --html-template my-template.html

The only issue with --html-template is that if preact-cli updates need a new template, you'll still have your custom one.  If you can use VDOM to render the fonts, that'll be better.

Nice - thanks for taking time to show the options.  Works great.

Currently, by following 3.1 there will be multiple PostCSS Loader errors being thrown.


Defining and Lowering a custom operator in ONNX-MLIR

Hi all,
I'm working on a project that requires me to develop an alternate implementation of the convolution operator optimized for our proprietary hardware. To do this, I'm thinking of defining my custom ONNX operator 'MyConv' and then updating the ONNX IR to replace the default convolution node with MyConv. Following this, I'll have to somehow use onnx-mlir to lower the modified ONNX graph to LLVM IR.
Q1. I'm not sure how to define my own custom ONNX operator and register it with onnx-mlir? onnx-mlir doc says that there is something called "mlir::ONNXCustomOp" which "allows call-out to a user-defined operation," but I couldn't find any example to use it.
Q2. The CustomFnTest in the onnx-mlir repo seems quite relevant, but is it possible to define the body of the custom operator in C++ instead?
Thanks.

@uditagarwal97 I think what you need to do is to add a custom lowering for the CONV operator to your hardware, rather than add a custm operator. The custom operator stuffis meant for adding operators that are not already supported by ONNX and convolution is already an ONNX operator. If your proprietary hardware is a new accelerator, you might take a look at the support for the NNPA accelerator (which introduces two customized dialects) and see if that supports your needs.

@caoimhinuibrian Thanks for your prompt reply. Sure, I'll take a look at the code for NNPA accelerator.
Closing this issue till then.

Hi @caoimhinuibrian,
I looked at the code for NNPA accelerator; however, I still think that using custom operators would be more suitable for our use case because:

Our hardware is not fixed - convolutions and matrix multiplications can be done on CPU, GPU, or Systolic Arrays, depending on the user's runtime configurations. Moreover, we already provide an abstraction for our hardware's runtime in the form of a shared library. So, users can simply call the convolution operation from the shared library without worrying about the hardware details.
Therefore, by rewriting the onnx graph, I could replace convolution operations with our custom implementation, say MyConv, and while lowering MyConv, onnx-mlir could just emit a call to our shared library functions - that should do the work.
Currently, I'm struggling to define a new operator in onnx-mlir (https://github.com/onnx/onnx-mlir/blob/main/docs/ImportONNXDefs.md#import-onnx-definitions-and-support-operations) that, while lowering, simply emits a call to our shared library. Any pointers on this would be helpful. Thanks.

@uditagarwal97 The intent of the custom operator is to allow "front ends" to ONNX (like Python, PyTorch, TensorFlow, ...) to define and generate an operator that is not part of the ONNX standard. That "custom operator" can then be represented in the ONNX Dialect inside onnx-mlir (and I understand that ONNX Runtime also supports these). They then get lowered either to combinations of existing operators, or a call to a library function. That doesn't seem to be what you are trying to do. From your question I understand that you want to take a standard ONNX operation, such as convolution, and then lower that to a specialized version in some cases, but not all. This is exactly what happens in the code for NNPA. Operations which can be executed on that accelerator are lowered into calls to a special library (zDNN). Other operations that are not suited to the accelerator continue down into the Kernel Dialect and flow through the rest of the MLIR and the LLVM pipelines and generate CPU code. If you only have a few operations that you need to treat specially, and if they don't have extra requirements, you may be able to have a simpler solution than the full blown accelerator path, but its not clear that that will be trivial. Part of the reason for separating out accelerated paths from the CPU paths is so that the pipeline doesn't get cluttered with lots of tests for whether different optimizations should be invoked. I should add, that if someone wants to add a GPU code gen, that should be added as an accelerator too.
If you still want to understand how to add an operation into the ONNX dialect (almost all of these operations are automatically generated from the ONNX specification, not by hand) then @chentong319 is the person who could answer your questions.

If your MyConv is the same as ONNX's Conv Op, what you need to do is just to change the  lowering from ONNX to Krnl without a new ONNX Op. To change the lowering, you can use NNPA as Kevin suggested.  For experiment only, you can use compiler option to select which  lowering rule from onnx to krnl for ConvOp.
If you want to define your new MyConv Op, you can copy the definition of Conv Op in 'src/Dialect/ONNX/ONNXOps.td.incintoAdditionalONNXOps.td` and change the names. You need to also copy/modify the member functions of Conv, such as shape inference and customized builders if they are kept in the definition of MyConv.  They may not be needed.
Are you going to create a pass to rewrite ConvOp to MyConvOp?
To lower the MyConv or Conv to a function call to your runtime library, you can use krnl.call, which is designed to call a runtime library easily, especially for memref parameters. It's a new krnl Op. I will write some document about it.
I did not see the support of lowering ONNXCustomOp or ONNXCallOp to krnl. If you use them, you still need to work on the lowering code.

FYI, this is a document about how to support a new custom accelerator: https://github.com/onnx/onnx-mlir/blob/main/docs/AddCustomAccelerators.md
Looking at the explanation by @uditagarwal97, I think our accelerator framework fits well. For example, creating a separate dialect to hold operations for your accelerator, say MyDialect, and registering it to onnx-to-krnl, then what you need to do is:

A graph rewriting rule to lower ONNXDialect to MyDialect, e.g. ONNXConvOp to MyConvOp
A lowering pattern to lower MyConvOp to KrnlCallOp (this pattern will be registered in onnx-to-krnl as well.

The big advantage  of using the accelerator framework is that we don't need to write our own driver but using the existing driver instead.

Thanks @caoimhinuibrian @tungld @chentong319 for your input. Okay, I'll try to give another attempt to use onnx-mlir's accelerator framework for my use case.
Closing the issue till then.


t/MH 12954 wrong date format in coverimage file

Fix the wrong format that creates the date for a cover image

Grabbing this from @staubesv since it's ready to go and we're talking about cutting a 5.1 shortly.


Improve test coverage

Coverage increased (+0.07%) to 92.589% when pulling 440d38d3bce3b979953bd0423a579ebf26889a5f on GabrielDeveloper:develop into fb0ca607e2cab06caf321dddac087a5a79d8f04f on webonyx:master.

Thanks!


Regexp after try {} catch (e) {} complains about "missing operand"

If parser will see regexp after try {} catch (e) {} block, it will decide to fail. It doesn't happen if semicolon is in between.
try {} catch (e) {}
/regexp/

Causes following message to appear:

SyntaxError: missing operand

works in 2.0. thanks for the report! demo


HTTP/2 DefaultHttp2HeadersDecoder weighted average error

Motiviation:
cfcee5798d6680d87aec3ae68cdded74a1402f84 introduced code to resize the headers based upon a weighted average. The weight used for new entries was initialized using integer arithmetic when it should have been floating point arithmetic and so new values contribute 0 weight.
Modifications:

Cast to float when initializing

Result:
Weighted average does not give 0 weight to new headers in DefaultHttp2HeadersDecoder.

@normanmaurer @nmittler - FYI

LGTM ... just a nit

cherry-picked 4.1 (4b5b230)


Integration in company erp

Our company has installed Bookstack in its server.
Now we are trying to integrate this in one of our erp just like Appsmith.
But when we tried to embed the book stack url on erp it is not opening and showing following error Refused to frame 'https://xxxxxxxx.yyy/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".
We found out that this particular domain is not allowing access through erp system, while it is working fine for other cases (Appsmith). We even checked the CSP setting, so that the book stack site can be plugged inside erp. But there are no issues there as well.
We also need to understand the login authentication in Bookstack from the erp screen.
As the employees have already logged in once in the erp system so we do not want to ask them to login again to Bookstack.

Thank you for integrating this into our screen. We have successfully implemented the login with Google option. However, we are currently facing a challenge in enabling login for our organization's employees. We need assistance in finding a solution that allows users with the same domain name, such as "...@xyz.com," to log in. Can you please help us with this?


drivers: flash: spi_nor: use non configurable page size

This PR fixes #19438.
The driver has recently been rewritten to use a fixed page size, however, when using CONFIG_FLASH_PAGE_LAYOUT, the layout page is inconsistent with the non-configurable values.
This fix makes the driver always use the hardcoded flash page size and raises a build assert whenever an incompatible flash layout page is configured.

@pabigot I guess this will be properly fixed in #20174? If so I will close this PR.

Thanks for your work on this.  We still don't know the underlying cause of #19438, and I don't know that anybody's been able to replicate the problem on the current master.  #20174 might be part of it.  Regardless the change here is incorrect so I'll close the PR.


Introduce machineConfigServer and nodePool versions

In order to have fine grained control over the versioning of nodePools, machines and nodes we want to decouple the machine config server, the ign endpoint and the user data secret giving the ignition endpoint from the controlPlane lifecycle. This will let us have nodePools coexisting at different versions and orchestrate rolling upgrades from an authoritative source of truth.
To that end this PR introduces a new CRD machineConfigServer and introduce the concept of versioning for nodePools. A nodePool always targets a release version and generates the appropriate mcs for it to get the right ignition config.
Albertos-MacBook-Pro:hypershift@albertogarla $ kubectl get mcs -nexample
NAME                 VERSION   HOST
example-extended-a   4.7.3     xxxxx.com
Albertos-MacBook-Pro:hypershift@albertogarla $

Albertos-MacBook-Pro:hypershift@albertogarla $ kubectl get nodepool -nclusters
NAME                 CLUSTER   NODECOUNT   AUTOSCALING   VERSION   UPGRADING
example-extended-a   example   1           False         4.7.3     False
Albertos-MacBook-Pro:hypershift@albertogarla $

Supersedes https://github.com/openshift/hypershift/pull/76
Follow ups:

Sort out pki generation generically as a service for other components including mcss
Support authentication https://github.com/openshift/hypershift/pull/92

/test e2e-aws

/test e2e-aws

/test e2e-aws

/test e2e-aws

/lgtm


Convert ESS Python course to e-learning course

This task serves as test of Jupyter integration

[x] clone python-course-ikon repository to this organization
[x] create course(s) / modules in moodle and make the notebooks available from there
[x] Create quiz for one notebook to demo how jupyter can work with moodle
[ ] create quiz after each notebook
[x] Get 2 - 3 persons to review course(s)

We can use this course for ESS IKON21

There is a first quiz for the first chapter of notebooks ready for review.

A quiz was made for the first set of notebooks and is in use. It was reviewed by Mads.
A second smaller quiz was made for the second set of notebooks but was never released to students.
It can be found under the old Python workshop page (IKON20)


[PE-D][Tester C] UG lack of examples

Lack of examples for addlog and deletelog

Labels: severity.Low type.DocumentationBug
original: btbrandon/ped#10

@celeschai do you mind taking a look at this?

I feel like we can just limit the length of tags

I feel like we can just limit the length of tags

Why tags?


Container networking broken after Windows Server 2022 July 2024 / KB5040437 (OS Build 20348.2582) update

Expected Behavior
I should be able to ping or curl from within the pod without receiving General failure errors.
Current Behavior
ping <IP_ADDRESS> returns General failure when the Pod is running on a Windows worker with KB5040437 applied
Steps to Reproduce (for bugs)

Setup the Windows Worker as usual, per doc. I use dVXLAN.
Schedule a Pod on the Windows Worker, I used mcr.microsoft.com/dotnet/samples:aspnet image
Expose the Pod through a Service - pod is unreachable
Exec into the pod and try ping <IP_ADDRESS> or curl a network URI - both fail

Context
This breaks critical networking fuctionality from within the Pod and the Pod is unreachable from the outside.
Your Environment

Calico version: 3.28.0
Orchestrator version: Kubernetes 1.27.15
Operating System and version: Windows Server 2022

There's currently a known issue going on with this Windows update KB5040437 (not caused by Calico):
https://github.com/microsoft/Windows-Containers/issues/516
https://github.com/kubernetes/test-infra/pull/33042

@avin3sh could you try the fix from this comment and let me know how it goes: https://github.com/projectcalico/calico/issues/9043#issuecomment-2321207512
If rebooting is not possible, there is a possible workaround that has worked for some users: https://github.com/projectcalico/calico/issues/9043#issuecomment-2321772851

Thanks @coutinhop -- this workaround was first shared on my support case and yes it has fixed the original problem.

Awesome, thanks for the update! Closing this then...


cli2-config: Support sub directoires for inclusion of .markdownlint.yml

I placed a custom cli2 configuration in sub directory config. Next to it, I placed a .markdownlint.yml file. According to https://github.com/DavidAnson/markdownlint-cli2#markdownlint-cli2jsonc, cli2 should read that file:

If a .markdownlint.{jsonc,json,yaml,yml,js} file (see below) is present in the same directory, it overrides the value of this property

This only works if .markdownlint.yaml is present in the current directory, not in the directory of the config file provided to markdown-cli2-config.
One can check this at the repository https://github.com/koppor/markdownlint-cli2-relative-customrule by executing following command (and removing the customRules statement in config/.markdownlint-cli2.yaml)
markdownlint-cli2-config config/.markdownlint-cli2.yaml demo.md

Output:
demo.md:3:1 MD033/no-inline-html Inline HTML [Element: kbd]

Relation: #49 is asking to support of custom rules relative to the configured file

Closing because I do not understand the scenario.

I understand the other issue you opened, but not this one. What are you trying to do here? You have a config file already, so why are you trying to create another one in the same location to override it?

I think, I mixed terms. I meant the file "configur[ing] rules for this part of the directory tree".
The layout is as follows:

Based on the documentation, I would expect markdownlint-cli2-config to read config/.markdownlint.yml when called with config/.markdownlint-cli2.yaml. Currently, it does not.
Example:
$ npx markdownlint-cli2-config config/.markdownlint-cli2.yaml demo.md
markdownlint-cli2-config v0.4.0 (markdownlint v0.25.1)
Finding: demo.md
Linting: 1 file(s)
Summary: 1 error(s)
demo.md:3:1 MD033/no-inline-html Inline HTML [Element: kbd]

However, the file config/.markdownlint.yml reads as follows:
default: true

# Inline HTML <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md033>
MD033: false

Thus, MD033 should not be reported as error. However, MD033 is reported as error.

I understand the scenario, but feel implementing configuration file inheritance for -config is not necessary. It seems more clear for -config to specify a single configuration file which is parsed and applied. That configuration file can already specify all the options/configuration on its own. (In your scenario, the config in yml could be merged into the yaml.) If desired, configuration files can be put in the root directory to further customize things. I'll add a test to establish this last point, tweak the documentation, and close this issue because I feel the current behavior is appropriate.


Use namespace and glob route for passthrough requests.

This syntax should correctly use pretender passthroughs for any url (not just root level). It also automatically applies the namespace defined in the server config.

did you see https://github.com/samselikoff/ember-cli-mirage/pull/133

@samselikoff I'll convert this to standard js, but oddly I didn't get the same failures #133 did on Travis. The only real difference I see is ^4.0.0 vs ^5.0.0 for babel.

Sorry if I wasn't clear earlier. I had opened something similar here: https://github.com/samselikoff/ember-cli-mirage/pull/134 although I think your implementation handles some different cases.
The problem is Pretender has a bug in it which is causing a phantomjs test to fail: see here. So we need to fix that before we merge in.
Once we do, I'm happy to merge this PR in and just kill mine.

here's the bug: https://github.com/trek/pretender/pull/74

Totally agree. This was an intermediate step to give your PR the proper catchall syntax and use of namespace while I tried to work out the pretender bug.
I'll check that out now, and combine into a new one.

I see so we needed the star *passthrough for it to work - is that the problem we ran into the other day?

Exactly, that was our issue.

PR opened to fix the Pretender bug: https://github.com/trek/pretender/pull/76

Closing in favor of #188.


Path issue on Windows

There is an error while trying to create the clean CSV file in a new directory:
"OSError: Cannot save file into a non-existent directory: 'C:\Users\name\Documents\Projetcs\automate_splitwise_expenses\src\data\clean\C:\Users\name\Downloads''
The last part of the path is not correct, it should be the name of the CSV file.

I have updated the write_output_file method to consider file path formats for Windows based systems. The latest changes should resolve your issue.


Can't change background of any table elements

I'm unable to change background of any table elements when using .table class in table element.
I've tried changing with tailwind classes and directly in CSS in every table element - thead, tr, th, tbody. Nothing works.
I've checked devtools but I can't see anything there that would be blocking background change, the class changing the background also isn't crossed out.
Tried in chrome, brave and firefox with the same result.

The whole table doesn't have a background color. Every cell has.
So the easiest way would be a class name like [&_*]:bg-primary on <table>.
Example: https://play.tailwindcss.com/MCewKL2h7O
Let me know if you have any questions

@saadeghi this changes the background for the whole table, I raised the issue when I wanted to change the header's background only as the default one blends with my page background so it doesn't stand out enough.
It would also be nice to be able to change the color of zebra rows

For those annoyed by this, I've overcome this by adding the following CSS.
.table :where(tbody th,tbody td), .table :where(thead,tfoot) :where(th,td) {
    background-color: inherit;
}


Add support for jsoniter Json

Before submitting pull request:

[x ] Check if the project compiles by running sbt compile
[ ] Verify docs compilation by running sbt compileDocs
[x] Check if tests pass by running sbt test
[ ] Format code by running sbt scalafmt

Offtopic; I also updated the openApi generator to use sttp3.
https://github.com/OpenAPITools/openapi-generator/pull/11260

Could you merged newest master it should solve problem with js tests.
It would be also great if you could write docs for  jsoniter similar to one written for zio-json.
Please check if all files are correctly formatted with fmt.

I see one big problem with jsoniter and sttp and that is that sttp uses either and option a lot.
The it is possible in jsonIter to handle the option with the implicit def.
But the Either isn't really that safe so the user has to manually define an implicit val for every variant of either he wants to use.
So i think jsoniter needs to be improved for our usecase.

That can be quite problematic from user perspective. I am not that familiar with jsoniter to propose any workaround for this.
BTW I still see some merge conflicts could you resolve them ?

I could only make a workaround for 'option[t]'.
So i think changes have to be made to jsoniter before we can support it in this library.
For Either i couldn't really make a good workaround.
So we might better close the pr and maybe we can best keep the github issue open and comment these issues on there for future reference?

Hm I don't think we need any special Option/Either support. The options/eithers that appear in signatures are used to represent cases where either JSON parsing failed, or we received a non-200 response. So we don't typically need json codecs for these types, only for whatever is the "root" type.

I've removed the ambiguous Either tests and now i expect the use of asJsonEither so it is clear that you either have an error of type Left or a body of type Right.

Great just resolve conflicts and I think we can merge it

There is an error with downloading dependency

scala 3 macro support still needs to be added. I'll remove scala3 from the possible builds.


Is it possible to show tooltip on click?

How to show tooltip after click on element? Now it shows after screen is loaded

Please see the example

Thanks!


clean up several small things in CMakeLists.txt

Scope & Purpose
Clean up several small things in CMakeLists.txt, as dicussed with @kvs85.

[x] Bug-Fix for devel-branch (i.e. no need for backports?)
[x] The behavior change can be verified via automatic tests

Testing & Verification
Test plan: must compile successfully on all platforms and pass existing tests.
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/10412/

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/10430/

http://jenkins.arangodb.biz:8080/job/arangodb-matrix-pr/10431/

http://jenkins.arangodb.biz:8080/job/arangodb-matrix-pr-mac-onlycatch/8075/

Tests blue.


Can't connect to the Jumbo API. Is your username/password valid?

Describe the bug
Logger: custom_components.jumbo.sensor
Source: custom_components/jumbo/sensor.py:108
Integration: jumbo (documentation)
First occurred: 22:18:14 (13 occurrences)
Last logged: 23:18:17
Can't connect to the Jumbo API. Is your username/password valid?
To Reproduce
I'm using the following information:

platform: jumbo
username: !secret jumbo_username
password: !secret jumbo_password

Also I'm using the latest home-assistant version and the master branch of this repo.
I have checked the username and password, and they are accepted on jumbo.com website.
Expected behavior
A couple months ago it was working fine.

Same issue here , already changed password reinstalled but keeps saying invalid username or password

Same issue.... i remove and add the intergration again, but its not working... same message.

Same here. Have tried username and password values in single quotes (') and double quotes ("). Neither work.
`sensor:

platform: jumbo
username<EMAIL_ADDRESS>password: 'P@ssW0rd'
type: "both"`

Same issue here for a couple of months now. Hoping for a fix ;-).

Same issue here, any fix yet?

No fix yet as far as I know...

I'm running:
Home Assistant 2023.2.3
Supervisor 2023.01.1
Operating System 9.5
HACS Jumbo Sensor: 0.8.1
and having the same issues.
Logger: custom_components.jumbo.sensor
Source: custom_components/jumbo/sensor.py:108
Integration: jumbo ([documentation](https://github.com/peternijssen/home-asssistant-jumbo))
First occurred: 9:02:38 AM (1 occurrences)
Last logged: 9:02:38 AM

Can't connect to the Jumbo API. Is your username/password valid?


Filter function for Numpy solver bugs

Information

Qiskit Nature 0.1.3
Python 3.8.10
OS Darwin

What is the current behavior?
The default_filter_criterion of the NumPyEigensolverFactory does not return all possible correct states.
Steps to reproduce the problem
from qiskit_nature.drivers import PySCFDriver, UnitsType, Molecule
from qiskit_nature.problems.second_quantization import ElectronicStructureProblem
from qiskit_nature.converters.second_quantization import QubitConverter
from qiskit_nature.mappers.second_quantization import JordanWignerMapper
from qiskit_nature.algorithms import NumPyEigensolverFactory
from qiskit_nature.algorithms import ExcitedStatesEigensolver

molecule = Molecule(geometry=[['H', [0., 0., 0.]],
                              ['H', [0., 0., 0.735]]],
                     charge=0, multiplicity=1)
driver = PySCFDriver(molecule = molecule, unit=UnitsType.ANGSTROM, basis='sto3g')

es_problem = ElectronicStructureProblem(driver)
qubit_converter = QubitConverter(JordanWignerMapper())

numpy_solver = NumPyEigensolverFactory(use_default_filter_criterion=True)

numpy_excited_states_calculation = ExcitedStatesEigensolver(qubit_converter, numpy_solver)
numpy_results = numpy_excited_states_calculation.solve(es_problem)

print(numpy_results)

What is the expected behavior?
We should see 3 states but numpy only returns 2.
Suggested solutions
There must be a bug in the filter function

For some context: The behavior is indeed correct as works as expected. Below is the output of the snippet above using the latest main branch:
=== GROUND STATE ENERGY ===

* Electronic ground state energy (Hartree): -1.857275030202
  - computed part:      -1.857275030202
~ Nuclear repulsion energy (Hartree): 0.719968994449
> Total ground state energy (Hartree): -1.137306035753

=== EXCITED STATE ENERGIES ===

  1:
* Electronic excited state energy (Hartree): -0.882722150245
> Total excited state energy (Hartree): -0.162753155796
  2:
* Electronic excited state energy (Hartree): -0.224911252831
> Total excited state energy (Hartree): 0.495057741618

=== MEASURED OBSERVABLES ===

  0:  # Particles: 2.000 S: 0.000 S^2: 0.000 M: 0.000
  1:  # Particles: 2.000 S: 0.000 S^2: 0.000 M: 0.000
  2:  # Particles: 2.000 S: 0.000 S^2: 0.000 M: 0.000

=== DIPOLE MOMENTS ===

<...>

In comparison, this is the output without the default filter criterion:

=== GROUND STATE ENERGY ===

* Electronic ground state energy (Hartree): -1.857275030202
  - computed part:      -1.857275030202
~ Nuclear repulsion energy (Hartree): 0.719968994449
> Total ground state energy (Hartree): -1.137306035753

=== EXCITED STATE ENERGIES ===

  1:
* Electronic excited state energy (Hartree): -1.256339073003
> Total excited state energy (Hartree): -0.536370078554
  2:
* Electronic excited state energy (Hartree): -1.256339073003
> Total excited state energy (Hartree): -0.536370078554
  3:
* Electronic excited state energy (Hartree): -1.244584549813
> Total excited state energy (Hartree): -0.524615555364
  4:
* Electronic excited state energy (Hartree): -1.244584549813
> Total excited state energy (Hartree): -0.524615555364
  5:
* Electronic excited state energy (Hartree): -1.244584549813
> Total excited state energy (Hartree): -0.524615555364
  6:
* Electronic excited state energy (Hartree): -1.160631737758
> Total excited state energy (Hartree): -0.440662743309
  7:
* Electronic excited state energy (Hartree): -1.160631737758
> Total excited state energy (Hartree): -0.440662743309
  8:
* Electronic excited state energy (Hartree): -0.882722150245
> Total excited state energy (Hartree): -0.162753155796
  9:
* Electronic excited state energy (Hartree): -0.471896007281
> Total excited state energy (Hartree): 0.248072987168
 10:
* Electronic excited state energy (Hartree): -0.471896007281
> Total excited state energy (Hartree): 0.248072987168
 11:
* Electronic excited state energy (Hartree): -0.353325104107
> Total excited state energy (Hartree): 0.366643890342
 12:
* Electronic excited state energy (Hartree): -0.353325104107
> Total excited state energy (Hartree): 0.366643890342
 13:
* Electronic excited state energy (Hartree): -0.224911252831
> Total excited state energy (Hartree): 0.495057741618
 14:
* Electronic excited state energy (Hartree): -0.0
> Total excited state energy (Hartree): 0.719968994449
 15:
* Electronic excited state energy (Hartree): 0.214278238419
> Total excited state energy (Hartree): 0.934247232868

=== MEASURED OBSERVABLES ===

  0:  # Particles: 2.000 S: 0.000 S^2: 0.000 M: 0.000
  1:  # Particles: 1.000 S: 0.500 S^2: 0.750 M: 0.500
  2:  # Particles: 1.000 S: 0.500 S^2: 0.750 M: -0.500
  3:  # Particles: 2.000 S: 1.000 S^2: 2.000 M: 0.000
  4:  # Particles: 2.000 S: 1.000 S^2: 2.000 M: 1.000
  5:  # Particles: 2.000 S: 1.000 S^2: 2.000 M: -1.000
  6:  # Particles: 3.000 S: 0.500 S^2: 0.750 M: 0.500
  7:  # Particles: 3.000 S: 0.500 S^2: 0.750 M: -0.500
  8:  # Particles: 2.000 S: 0.000 S^2: 0.000 M: 0.000
  9:  # Particles: 1.000 S: 0.500 S^2: 0.750 M: -0.500
 10:  # Particles: 1.000 S: 0.500 S^2: 0.750 M: 0.500
 11:  # Particles: 3.000 S: 0.500 S^2: 0.750 M: 0.500
 12:  # Particles: 3.000 S: 0.500 S^2: 0.750 M: -0.500
 13:  # Particles: 2.000 S: 0.000 S^2: 0.000 M: 0.000
 14:  # Particles: 0.000 S: 0.000 S^2: 0.000 M: 0.000
 15:  # Particles: 4.000 S: 0.000 S^2: 0.000 M: 0.000

=== DIPOLE MOMENTS ===

<...>


Any documentation?

Hi,
Tnx for this great work,
but it seems that the documentation should be added somewhere.
could you please supply that?

Hi, we have added the documentation link in the readme file


Update the documentation for initWithLaunchOptions autoRegister

The autoRegister is not present in the last version of OneSignal it's replaced with  settings:@{kOSSettingsKeyAutoPrompt: @false}

self.oneSignal = [[RCTOneSignal alloc] initWithLaunchOptions:launchOptions
appId:@"myAppId"
settings:@{kOSSettingsKeyAutoPrompt: @false}];

Could you set a PR? If not I'll do it tomorrow.

https://github.com/geektimecoil/react-native-onesignal/commit/cf883d889b83392215cc4d8fe6220c6b9e10b0c5 fixes this.


Remove unnecessary calls to the TensorShape initializer

Refer to this discussion.

@rxwei alright, I'll take care of the same.  I'm not extremely good at PR naming, so I always make sure that I link to any sort of discussion the PR is based on. I'll try harder from next time.


Replace URI.escape

Since Ruby 3.0, URI.escape is obsolete. See: https://github.com/ruby/uri/pull/9
So i treated prs_api_endpoint method as that encodes parameters and returns a url so that Ruby 2.7 and below will behave the same behavior.
This is how i tested.
rbenv local 3.0.0
bundle exec rspec

You will see that tests about Danger::Violation class will not pass in Ruby 3.0, but the issue was already created. https://github.com/danger/danger/issues/1282

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.
You can find it at CHANGELOG.md.

          1 Warning

:warning:
Tests were not updated

  Generated by :no_entry_sign: Danger

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.
You can find it at CHANGELOG.md.

          1 Warning

:warning:
Tests were not updated

  Generated by :no_entry_sign: Danger

👍🏻  looks good to me

👍🏻  looks good to me


Add MV backing

not sure if you need it but here is the revert of the other change: https://github.com/OlympusDAO/olympus-frontend/pull/1460

Details

I merged in develop & your appropriate changes from 1460


[Candidate 4v4 Lost Cause ZH v4] Some Oil Derricks use custom rotations that make their flag less visible

Observed behavior
Some Oil Derricks use custom rotations that make their flag less visible.
Expected behavior
All Oil Derricks use custom rotations that make their flag highly visible.
Screenshots
Flag would be more visible when rotated 90 degrees clock wise.

fixed.


[FEATURE] Implement transaction context

We should implement transaction context propagation
What is transaction context?
From the spec:
Transaction context is a container for transaction-specific evaluation context (e.g. user id, user agent, IP).
Transaction context can be set where specific data is available (e.g. an auth service or request handler) and by using the transaction context propagator it will automatically be applied to all flag evaluations within a transaction (e.g. a request or thread).
Transaction context has been added in the following PR: https://github.com/open-feature/spec/pull/227
Examples:
Implementation
The JS SDK implementation is implemented as a POC that is currently being hardened.
https://github.com/open-feature/js-sdk/blob/main/packages/server/src/transaction-context/transaction-context.ts
Usage
An example usage for the JS SDK implementation of the feature is the usage for propagating HTTP request information in the NestJS SDK.
https://github.com/open-feature/js-sdk/blob/main/packages/nest/src/evaluation-context-interceptor.ts#L31

Is it expected that the user pass down the context? Because I'm not sure there's a trivial way in Go to have a context for a function call which isn't passed to it.
It's possible to create a context.Context which has our TransactionContext as a value and require the user to use the context.Context when getting the feature flag:
// Creating the context
ctx := NewTransactionContext(context.Background(), map[string]int{"userID": 12345})
next(ctx)

// Using the context
client.BooleanValue(ctx, flag, defaultValue)

@yardenlaif thanks for the interest in this issue :)

Is it expected that the user pass down the context?

Yes, context should be expected to be provided by the user. This maps with our current flag evaluation methods.

It's possible to create a context.Context which has our TransactionContext

+1 and we should expose it from openfeature api [1]
  // Derive transaction context

 openfeature.SetTransactionContext(ctx, value)

Regarding the key, use an empty struct instead of a string. For example, context.WithValue(ctx, key{}, "bla") where key is an empty struct.
[1] - https://github.com/open-feature/go-sdk?tab=readme-ov-file#usage

Thanks @Kavindu-Dodan! @lukas-reining @thomaspoignant do you have anything to add?

Thanks @Kavindu-Dodan! @lukas-reining @thomaspoignant do you have anything to add?

The only thing would be to handle 429 consistently.
For the js-server we just discussed it as I explicitly return the default value with special error message and @thomaspoignant voted for throwing, as @Kavindu-Dodan did it with returning an error.
I am fine with both, I think it is pretty special and would make sense to handle explicitly but I am also fine with throwing and letting the SDK handle it as normal error.

Yep, agreed. I think this is the idiom I would expect in Go.

Completed with https://github.com/open-feature/go-sdk/pull/283


remove old finalizer and remove the delay cleanup

Signed-off-by: Zhiwei Yin<EMAIL_ADDRESS>

/assign @elgnay

/retest

/retest

/lgtm

related issue: https://github.com/stolostron/backlog/issues/20474


new 404 page and small style fixes

added new styled 404 page
fixed some css

Thanks! We can tackle the randomness question later.


add OnCollision hooks

This just adds the missing OnCollision MonoHooks. They are the Trigger hooks copied and edited to use the OnCollision mono methods.
This is my first PR for Unity Atoms, so let me know if there is anything else I need to do to get this merged.

Hi there @nevernotsean!
Thanks a lot for the PR! 🙏 Sorry for the late reply.
The OnCollision / OnCollision2D methods are all taking Collision / Collision2D parameters, not Collider / Collider2D. In order to get this PR all the way the following things needs to be added:

Generate new atoms for Collision / Collision2D using the generator. These should be added to RegenerateAllAtoms.cs. Collider and Collider2D are already defined in RegenerateAllAtoms.cs so Collision / Collision2D should follow the same pattern. FYI, There are unfortunately atm some manual work to clean up / re add stuff after a regeneration of everything.
Create 2 new base hooks for Collision / Collision2D called CollisionHook.cs / Collision2DHook.cs`. Again, the CollisionHook / Collision2DHook can be used as a template / reference when writing these.
Use the new base hooks in OnCollision2DHook.cs and in OnCollisionHook.cs.

Let me know if you got any questions!

@nevernotsean I need a couple of more changes in order to merge this:

Generate CollisionGameObject and Collision2DGameObject in RegenerateAllAtoms.cs (see how ColliderGameObject and Collider2DGameObject are defined). Then run the generator to create the new atoms. Otherwise, Collision2DHook.cs and CollisionHook.cs won't compile.
Implemend ValueEquals functions generated removing throw new NotImplementedException ();. See how they are implemented for the ”Collider atoms”.

Again, let me know if you got any questions!

Another thing (that might be obvious, but still pointing it out for clarity). First step in my last comment is to create types / classes for CollisionGameObject.cs and Collision2DGameObject.cs

@nevernotsean Hi, asking because of a long period of inactivity, any updates on this?

Hey Miika, no updates. This task was put on the backburner for me. I'll try
to get this back on my todo list soon.
On Fri, Nov 6, 2020 at 4:23 PM Miika Lönnqvist<EMAIL_ADDRESS>wrote:

@nevernotsean https://github.com/nevernotsean Hi, asking because of a
long period of inactivity, any updates on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AdamRamberg/unity-atoms/pull/162#issuecomment-723305972,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTPZD2RBDSBNZV4EZUIXTLSORSM7ANCNFSM4NO57SHQ
.

@nevernotsean any updates on any updates on this? I was wondering if you were going to finish this soon. If not: that's totally ok, please don't feel like you're in my dept (I always do that). But if you don't feel like finishing it anymore, would you please tell me what tasks were left? That way I can fork it myself and add the last missing pieces.

Hey Casey, I probably won't have time until next week. Last where I left
off, there were a few recommendations by Adam:

Generate CollisionGameObject and Collision2DGameObject in
RegenerateAllAtoms.cs (see how ColliderGameObject and
Collider2DGameObject are defined). Then run the generator to create the
new atoms. Otherwise, Collision2DHook.cs and CollisionHook.cs won't
compile.
Implement ValueEquals functions generated removing throw new
NotImplementedException ();. See how they are implemented for the
”Collider atoms”.

On Wed, Dec 2, 2020 at 10:12 AM Casey Hofland<EMAIL_ADDRESS>wrote:

@nevernotsean https://github.com/nevernotsean any updates on any
updates on this? I was wondering if you were going to finish this soon. If
not: that's totally ok, please don't feel like you're in my dept (I always
do that). But if you don't feel like finishing it anymore, would you please
tell me what tasks were left? That way I can fork it myself and add the
last missing pieces.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AdamRamberg/unity-atoms/pull/162#issuecomment-737291840,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTPZD7LMAONY3YTWPBVFWDSSZKMZANCNFSM4NO57SHQ
.

Closing since this exact change was implemented in #221


Logging

Hi. Am currently having problems with logging in version 2.2.0 following this commit.
Previously a logger could be setup in an initializer as shown here. Any help much appreciated.
Thanks, Jolyon

Can you explain what doesn't work anymore? For example:
Raven.configure do |config|
  config.logger = ::Logger.new(STDOUT)
end

...logs correctly.

Apologies. In our raven initializer we were not calling the raven configuration for certain environments. With the gem update, logging started appearing for these environments, but when I followed the example in the README (config.environments = %w[staging production]), the problem was resolved. Sorry!


new Ubuntu ASCII logo

Description
Only fill in the fields below if relevant.
Features
Issues
TODO

Looks nice!

Thank you for your contribution!
This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained.
HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.
Read the "Running Updated Original Neofetch" section for more info!


[feature request] Component Tree properties loading spinner and "no properties found" message

Augury version (required): 1.16.1 (canary on Chrome)
Angular version (required): 4.4.3
Date: 5/16/18
OS: Windows 10
Description of issue:
I have noticed that there is sometimes a pause in time between clicking on the name of a component in the Component Tree and the properties for that component showing up for view. It would make for a better user experience if there was a spinner that would show during the pause between when a component is clicked and its properties showing up for view. Once the properties show, the spinner can go away.
Sometimes components have no properties. In the case where there are no properties, the user can get the impression that it's taking forever to load. It would make for a better user experience if there was a message saying "this component has no properties" or "no properties found" that would show in such cases.
Thank you!

Hey @walrus95,
Thanks again for your great input, we appreciate it.
The spinner / "no props" message are being added today, as per your request. :)

Feature added to Canary Build (version 1.17.3)

Canary build merged into official release 1.18


lists

nearly every article contains a listlike structure, which should be tagged as list. This will be extremly time intensive. If I could generate at least a basic markup to get these cases, it would be really useful

testing


[ FEATURE REQUEST ]  - Ability to save theme colors settings files individually for each theme installed

Im trying to find a simpler title for this feature, but cant at the current time - Anyways.....,
This is a bit long winded, because im trying to explain over text which is a bit difficult,
and im a bit frustrated because ive been googling all day finding everything else but what I am asking for.  Anyways,

Ability to save theme colors settings files individually for each theme installed.

Ill give a brief explanation as I have been trying to do this for days now and yet havent got a result to what I want to do.
So,
I have several themes installed. so for example lets take the theme I downloaded called
"Darwin" by (Chris K. Seidel).
I like the colors but would like to tweak it a bit.
I tried the ((Developer: Generate Color Theme from Current Settings))
Here I thought,
hey It will generate a file that I can tweak and then save it within the Darwin Theme folder so then, VS Code would know that when it pulls up this Darwin theme, it would
grab the info settings file from the settings file I tweaked for the theme.
Well no, it doesnt.  it just makes a generic file and if a theme is changed that file is screwed.
A bit frustrating.  It doesnt save the tweaked/modified file in the themes folder,
like it should.
I would like to be able to do this ((Developer: Generate Color Theme from Current Settings))
or something similar that would allow me to tweak all the settings from a specific theme I have installed and be able to save it as an independent theme settings file under the same name of the theme I am tweaking.
So when I change themes and recall a theme back,.
VS Code would know to read that specific tweaked / modified file to get the colors I have implemented.
Currently you cant do this.
Sometimes people really love a specific theme and its colors, but would like to tweak / modify a few things here and there to their liking.
And would like to be able to save a version of those tweaks / modifications of that file within that specific themes folder, so they will always have it and can also back that file up, in case something drastic happens with a persons computer.
I have been trying to do this for days now, and been googling this for days,
and I get everything else in the sink except for what I specifically want to do.
"Unless im typing something wrong"
So now i am posting this as  a feature so it will be easier for users to do.
Sorry for the long winded post,
Thanks for reading.....

In settings.json:
"workbench.colorCustomizations": {
    "[Monokai]": {
        "editor.background": "#ff0000"
    },
},
"editor.tokenColorCustomizations": {
    "[Monokai]": {
        "textMateRules": [
            {
                "scope": "keyword",
                "settings": {
                    "foreground": "#FF0000"
                }
            }
        ]
    }
}

Replace Monokai with your color theme name.

But wouldnt that also delete all the colors in the theme for Darwin Theme  ?
and only implement the colors thats in that code ?
Darwin theme has a bunch of colors to the theme depending on the code and the different parts of the code.

But wouldnt that also delete all the colors in the theme for Darwin Theme ?
and only implement the colors thats in that code ?

No

Thanks @usernamehw for the showing the syntax to customise specific themes.

Thank you @usernamehw ,  I will for sure give this a try.
and
@aeschli , i wasnt being rude,  I fell asleep as its extremely late here.  Just saying :)


rPi Data flow to iOS

Add files to simulate the rPi sending Volume, Flow and Pressure Data

I don't think you want to checkin the .pyc binary files. They are cached files like PCH files.

I removed the pyc files, and i add it to the gitignore.


Training of Mention Detection Model (BERT-NER)

I would like to train the "mention detection model" on the GrailQA dataset, which can be done using /GrailQA/entity_linker/BERT_NER/run_ner.py. But it also expects GrailQA dataset in CoNLL-2003 format (i.e., question tokens tagged with  ["B", "I", "O", "[CLS]", "[SEP]"] tags) which is not present in the repository.
So would you please share the processed GrailQA dataset (train and valid split) or script for converting the dataset into the required format?
Can you please confirm that the BERT-NER model has been trained with the parameters mentioned in /GrailQA/entity_linker/BERT_NER/run_ner.py ?

I didn't train this ner model. As mentioned in the README, the NER system is taken  from Original GrailQA Code Repo. You might want contact them for this.


[DNM] Implicitly open existentials by default

Test PR to try out implicitly opening existentials by default

@swift-ci please test source compatibility

@swift-ci please test source compatibility


Catch error connection

Hi,
How to catch error connection on the client side if the websocket server don't run ?
I try this but don't work :
try {
    var socket = WS.connect(WS_URI);
    // socket.on[...]
} catch (e) {
    console.log('Error', e);
}

Hi, I hope help you.
I can see this:
var websocket = WS.connect("ws://<IP_ADDRESS>:8080");
websocket.on("socket/connect", function(session){
console.log("Successfully Connected!");
})
websocket.on("socket/disconnect", function(error){
//error provides us with some insight into the disconnection: error.reason and error.code
    console.log("Disconnected for " + error.reason + " with code " + error.code);
})

When you try to connect to the off server , "socket/disconnect" is executed and it's callback function the error.code is 3
So... I think you can do something like this:
websocket.on("socket/disconnect", function(error){
//error provides us with some insight into the disconnection: error.reason and error.code
if(error.code === 3) {
alert("The server is not running");
console.log("Disconnected for " + error.reason + " with code " + error.code);
}
})

@arckdash : Thanks, it work


AVIF coming to Safari & Safari on iOS 16

https://twitter.com/jaffathecake/status/1540697894683942912
https://github.com/WebKit/WebKit/pull/1717

Given it's early and not yet testable, draft for now.
@jensimmons are you able to comment on this? :)
If you are, do you know or are able to find out about support for AVIF sequences?
See note 2, Firefox doesn't have them yet: https://caniuse.com/avif
Test here: https://tests.caniuse.com/avif

Support for AVIF is not in Safari 16 beta 2, so it is too early to make a change on Can I Use.

AVIF support is in macOS Ventura and iOS 16, and we did just land support for AVIF in WebKit — so support in Safari is on its way!
I'll find out about support for AVIF sequences and let you know.

Interesting development, potentially increasing pressure:

https://bugzilla.mozilla.org/show_bug.cgi?id=1686338#c28
https://github.com/AOMediaCodec/av1-avif/pull/86

Since animated AVIF files now use the same extension and MIME type as non-animated AVIF images, this bug constitutes an interoperability / web compatibility issue.

See the example there.
@Fyrd: Depending on how that plays out, maybe we should give partial for note 2 (for not supporting AVIF sequences)?

WebKit's implementation does support image sequence and animations.

Thanks!


Is it actively maintained?

Hi,
Great work on putting this library out there.
I'm currently using Kotlin and I need a way to interact with an email inbox over IMAP and this library seems like a great fit.

Is the library actively maintained?
If there a is a need for changes would you be able to look at the PR and accept it?

Thanks!

Hi Victor,
Unfortunately no, I haven't touched this in a long time - but of course you
are more than welcome to fork and do whatever you might need. I changed
jobs since I started this, and my current job takes pretty much all my time
so I probably won't be working on this any time soon.
Sorry! And thanks for the interest!
On 3:27PM, Mon, Jun 25, 2018 Victor J Reventos<EMAIL_ADDRESS>wrote:

Hi,
Great work on putting this library out there.
I'm currently using Kotlin and I need a way to interact with an email
inbox over IMAP and this library seems like a great fit.

Is the library actively maintained?
If there a is a need for changes would you be able to look at the PR
and accept it?

Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SlothLabs/kotlin-mail/issues/4, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGPf8AZhGNrSeWI45EpxEEykjAIeQCN_ks5uAVXEgaJpZM4U24gn
.


Feat: adds proxy agent for NVDA installation request

Issue
No issue found.
Details
Until now it was not possible to download NVDA on windows when using a proxy.
CheckList

[x] Has been tested (where required).

It would be good to add an e2e test / example to https://github.com/guidepup/setup/blob/main/.github/workflows/test.yml where we set a value for the env var and see a successful installation

It would be good to add an e2e test / example to https://github.com/guidepup/setup/blob/main/.github/workflows/test.yml where we set a value for the env var and see a successful installation

That said, such a test would be quite involved afaik, requiring to write a local test proxy server…
https://www.npmjs.com/package/https-proxy-agent is very battle tested so don’t expect any issues, there’s just no guarantee this won’t be accidentally regressed as is.


Add extra fields to Quest:

Date added
Recurrence flag

None
Daily
Weekly
Monthly
Yearly

Optional due date
Display them in the current view
Improve the current view

Plan for next time:
In the console app

Implement Due date
Move due date into blazor app
Implement Recurrence
Move recurrence into blazor app

Diagram: https://drive.google.com/file/d/1tmz4ugQY2HPNgBFDl-UdAUhPt6GmQbaT/view?usp=sharing


how to set background color for disabled dates

hi, am facing problem with setting background color for disabled dates. can any once help me please.

This can't be done right now


fix: removing duplicated rye and sourcing it in update dependencies job

I will reapprove when fix is gud.


Metadata values supported by pandoc's JATS templates

List of metadata values used by pandoc's writer and templates when generating JATS: jgm/pandoc#6794.
This is work in progress, but might already serve as the basis for further discussions.

This has been merged and is now available under https://pandoc.org/jats.html


longpass fails when including negative times

When checking the longpass_shortdistmass unity test, I realized that the longpass function works allright as long as only positive times are passed to the function.
For example, the display of the  longpass_shortdistmass test is

which is the expected behaviour of the function. Now, if I add 0.1us of negative time the following output is returned

meaning that negative timings completely break the functionality of longpass.
Needs diagnostics and a fix.

The problems do not seem to be negative times, since the same signal above with the same axis in the negative quadrant leads to the correct results.
The problem arises when the zero-time is crossed.

There seems to be no bug. The problem has to do with the fact that a very strong lowpass filter will deteriorate the shape of the Fresnel integral at near-zero times making the resulting distributions worse fitted.
I adjusted the  negative times test to use a fully negative axis and now it passes.


SQS - try circumvent test errors

Attempt at fixing/debugging the test_sqs.py::test_message_becomes_inflight_when_received_boto3 test, that keeps failing in builds.
Details:

It fails intermittently
It fails on Python 3.9 only
It works in ServerMode
I can't reproduce it locally
I haven't seen it in builds on my own fork (recently)

Possible fixes:

Different region - is there a queue with the same name in the other region?

Codecov Report

Merging #4609 (4f54eda) into master (c7fc9f4) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4609   +/-   ##
=======================================
  Coverage   95.19%   95.19%
=======================================
  Files         527      527
  Lines       59383    59383
=======================================
+ Hits        56531    56532    +1
+ Misses       2852     2851    -1

Flag
Coverage Δ

servertests
47.77% <ø> (ø)

test_responses
32.42% <ø> (ø)

unittests
95.10% <ø> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

moto/efs/models.py
88.85% <0.00%> (+0.34%)
:arrow_up:

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 c7fc9f4...4f54eda. Read the comment docs.


Improve tets performance by setting defaultHidden: true

Improve test performance by configuring defaultHidden to true.
More info

Looks good. I though that I approved this allready, but maybe not :D

It was the other repo :D


upgrade io dep, Printer logic

Coverage remained the same at 93.069% when pulling 7eb99a39ac97807a1fc7e27c9f98127d2d9dc81c on ryan-williams:deps into 64a84163c72654b7e681f3089884ba3c36bb758e on hammerlab:master.


Change dmidecode manufacturer

Hi there
i have a VM/iso that queries the manufacturer via dmidecode at boot time. If the vendor/hypervisor is not supported, the image will not boot. On other hypervisors people have simply modified "the manufacturer xml" and then the ISO could be booted. Is this also possible with Harvester?
it is about skyhigh web gateway. They only allow Microsoft hypervisor or Vmware ESXI.
Best Regards
k

Hi,
I don't believe this is possible (yet) since this functionality isn't exposed by KubeVirt which Harvester uses to create and running virtual machines.
KubeVirt doesn't seem to surface the "sysinfo" element of the libvirt domain[1][2], so Harvester has no way of supplying this information to the VM.
That said, it looks like the part of KubeVirt that generates the libvirt domain XML[3] does support this field, so it's possible that a patch to KubeVirt upstream to add the "sysinfo" field to the VirtualMachine resource could enable this use-case.
[1] https://libvirt.org/formatdomain.html#smbios-system-information
[2]<EMAIL_ADDRESS>[3] https://pkg.go.dev/github.com/kubevirt/kubevirt/pkg/virt-launcher/virtwrap/api#DomainSpec

is something like this not possible?
https://www.srm.im/2015/09/10/mcafee-webgateway-on-kvm/
BR
k

the easiest way might be to use kubevirt sidecar. I have sample here. This would need to be tweaked to patch the domain definition with the specific customization you need.

Thanks @all.
It is over my time and skills-level to get it running in the foreseeable future.
I have requested directly at skyhigh (vendor) if they can provide an "unsupported" ISO without vendor-lock.
For now i have installed ubuntu linux on harvesterHCI with virtualbox and run the vm's inside virtualbox. That works.
i also tried to install ESXI Server inside HarvesterHCI. But after i started the ISO inside ESXI i got always a kernel panic (with every linux ISO i tried (ubuntu, debian, kali...)) and i was not able to resolve it. So i tried with ubuntu and virtualbox.
i used the information from the link i posted above to get mcafee / skyhigh web gateway working inside virtualbox.
Best Regards
Luca

i got a hint from the vendor, to bypass the vendor lock for lab purpose. thats my goal. Thank you ALL!


Deepgram plugin: connections stay open

Hey, I am writing from Deepgram.
One of our customers is using your Deepgram plugin and they've noticed that when not capturing audio, you appear to continue to send empty audio.
This results in a connection being left open, too. The impact of which is twofold. First, the connections eat into the connection concurrency limits. Second, we continue to keep billing for audio. If Deepgram is receiving audio we will process it, so we bill for this time on our compute - even though it is empty.
To keep a connection open, you can pause the audio capture and then send Deepgram a {"type": "KeepAlive"} message - equivalent to a websocket ping/pong - every 5-8 seconds to make sure the connection doesn't drop.

Looking into this, will have a draft PR shortly that I'll ask for your feedback on @lukeocodes

Curious where VAD plays into this.  I figured only audio chunks that had voice would get passed down the pipeline to the STT plugin.  I do like the idea of having a backup that blocks "silence", so this change is good, but I was wondering why it was needed in the first place...

it's tricky because VAD is also responsible for determining end of utterance/interruption. So we cannot use the same VAD for both purposes. Using a separate VAD is an option, but here we are just looking for something very crude.. where a higher false positive rate is acceptable.

Customer here.  First tests look good - thanks for the quick response from both LiveKit and Deepgram!


Fix ApplySecret with stringData

fixes a segfault when data is nil and you only have stringData
/cc @deads2k

/lgtm


ValueError in mne.viz.plot_evoked_joint

I am using SEEG data, and I want to plot evoke joint figure, while I've got this problem.
    mne.viz.plot_evoked_joint(evoke)
  File "D:\SEEG_Cognition\SEEG\lib\site-packages\mne\viz\evoked.py", line 1458, in plot_evoked_joint
    colorbar=False, **topomap_args_pass)
  File "D:\SEEG_Cognition\SEEG\lib\site-packages\mne\evoked.py", line 356, in plot_topomap
    nrows=nrows, ncols=ncols)
  File "D:\SEEG_Cognition\SEEG\lib\site-packages\mne\viz\topomap.py", line 1540, in plot_evoked_topomap
    _prepare_topomap_plot(evoked, ch_type, sphere=sphere)
  File "D:\SEEG_Cognition\SEEG\lib\site-packages\mne\viz\topomap.py", line 103, in _prepare_topomap_plot
    exclude='bads')
  File "D:\SEEG_Cognition\SEEG\lib\site-packages\mne\io\pick.py", line 446, in pick_types
    _check_meg_type(meg)
  File "D:\SEEG_Cognition\SEEG\lib\site-packages\mne\io\pick.py", line 348, in _check_meg_type
    % (allowed_types, meg))
ValueError: meg value must be one of ['grad', 'mag', 'planar1', 'planar2'] or bool, not seeg

my code is pretty simpe, just
import mne

fpath = 'color_epoch.fif'
data = mne.read_epochs(fpath, preload=True)
evoke = data['red'].average()
mne.viz.plot_evoked_joint(evoke)

Here is the data's link.
https://drive.google.com/file/d/1zIinPymoWgHlKav594EHyekU8zjewVS-/view?usp=sharing

Here is the data's link.
https://drive.google.com/file/d/1zIinPymoWgHlKav594EHyekU8zjewVS-/view?usp=sharing

Here is the data's link.
https://drive.google.com/file/d/1zIinPymoWgHlKav594EHyekU8zjewVS-/view?usp=sharing

@BarryLiu97 FYI you often don't need to manually close issues when there's an open PR that address them. There are 2 reasons:

Someone might realize a problem with the open PR and it might not get merged, in which case the issue is not fixed in the master branch and should remain open
Github will automatically close this issue when the PR does get merged, because I linked them together (notice how the PR description says "closes # 8733", that is what makes them linked)

@BarryLiu97 FYI you often don't need to manually close issues when there's an open PR that address them. There are 2 reasons:

Someone might realize a problem with the open PR and it might not get merged, in which case the issue is not fixed in the master branch and should remain open
Github will automatically close this issue when the PR does get merged, because I linked them together (notice how the PR description says "closes # 8733", that is what makes them linked)

@BarryLiu97 FYI you often don't need to manually close issues when there's an open PR that address them. There are 2 reasons:

Someone might realize a problem with the open PR and it might not get merged, in which case the issue is not fixed in the master branch and should remain open
Github will automatically close this issue when the PR does get merged, because I linked them together (notice how the PR description says "closes # 8733", that is what makes them linked)

Got it .Thank u for the heads up! I always thought I should close the issues if the developers have figured out why

@BarryLiu97 FYI you often don't need to manually close issues when there's an open PR that address them. There are 2 reasons:

Someone might realize a problem with the open PR and it might not get merged, in which case the issue is not fixed in the master branch and should remain open
Github will automatically close this issue when the PR does get merged, because I linked them together (notice how the PR description says "closes # 8733", that is what makes them linked)

Got it .Thank u for the heads up! I always thought I should close the issues if the developers have figured out why

I always thought I should close the issues if the developers have figured out why

The preferred approach might be different for different software projects.  Here we try to always use the "linking PR with issue" approach so that they get automatically closed when the PR is merged.  In this repo, one case where you still should close manually is if it becomes clear that the problem was not with MNE-Python (i.e., if it turned out to be a corrupt data file, or an error in your script, etc).

I always thought I should close the issues if the developers have figured out why

The preferred approach might be different for different software projects.  Here we try to always use the "linking PR with issue" approach so that they get automatically closed when the PR is merged.  In this repo, one case where you still should close manually is if it becomes clear that the problem was not with MNE-Python (i.e., if it turned out to be a corrupt data file, or an error in your script, etc).

Again, thanks.

Again, thanks.


Reversed renaming, not sure of sworkstyle or waybar

I'm using sworkstyle with sway+waybar, and for some reason workspaces with Android Studio on them get their names reversed. Workspace 2 in this screenshot is an example

Not sure if this is a sworkstyle problem or a waybar problem, bit it only happens with Android Studio. Nothing in the log at all

Seems to be an issue with that specific icon forcing an RTL layout, must be a bug in nerd fonts

@Lyr-7D1h Reopening because I found the issue and solution. Some glyphs in Nerdfonts patched fonts override arabic characters, which force RTL layouts by unicode standard. (Relevant nerdfonts bug, reported almost a year and a half ago).
My solution is to prepend names with U+202D (LEFT-TO-RIGHT OVERRIDE) and append with U+202C (POP DIRECTIONAL FORMATTING). I don't think that this should be applied universally so sworkstyle can still work for arabic users, but maybe a command line arg to enable wrapping of workspace names?

As most people are English and use Sworkstyle with glyphs. I think it is safe to force use LTS for now. If there ever is a need to support RTS  we could make this a configurable option. https://github.com/Lyr-7D1h/swayest_workstyle/commit/e792121db48f4fe2c17518c8be4cdca585550220 Implements this.


Added network-item video support

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #77
Added network-item video modal support, refactored the code a bit
Test URLs:

Original: https://www.sunstar.com/about/global-network

Before: https://main--sunstar--hlxsites.hlx.page/about/global-network

After: https://network-item-video--sunstar--hlxsites.hlx.page/about/global-network
(Second network-item in the Americas tab)

[x]  If you are adding a new block or a variation to an existing block, please fill below:
Block library path: https://network-item-video-sunstar--hlxsites.hlx.page/tools/sidekick/library.html?plugin=blocks&path=/sidekick/blocks/network-item&index=0

🔸 1 visual difference detected

/sidekick/blocks/network-item (main vs branch)Expected an image 1280px by 1749px, received 1280px by 1603px. 70279 pixels (ratio 0.04 of all image pixels) are different.

The diff images are attached in the artifact

This is due to adding the new variant to the library


v1.0.3

Template Updates

refactor: update .gitignore

Generator Updates

build: update dependencies
ci: update node version
refactor: add template extension
refactor: update .gitignore

Pull Request Test Coverage Report for Build 17

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 14:
0.0%

Covered Lines:
39

Relevant Lines:
39

💛  - Coveralls


Smarter "show more"

When the first message is visible, "show more" shouldn't be displayed. It would be even nicer, if it would list the number of remaining messages (or days worth of messages to make this time-based, which would probably be even more useful)

Can't fix that atm the way it should be fixed, i.e. by daisy-chaining through the messages, as the debug-bot, doesn't append the hasPreviousMessage triples.
A different way to go about this, would be to check if all events of a connection are also in the state.

@fkleedorfer suggested another, even easier solution: the first message always is message with appended text and of type "connect-message"

loading the full event-container once would have a side-benefit: by knowing how many url's there are, we could show how many events could be shown.

@fkleedorfer mentions, that ld-paging also has facilities for this, i.e. there should be a "previous-page" pointer, if there's still pages remaining or not if we've reached the earliest page.

https://github.com/researchstudio-sat/webofneeds/blob/master/webofneeds/won-node-webapp/doc/linked-data-paging.md - see the examples

btw, how do we deal with breaks in the chain / there's events that don't have a previous message but defenitely aren't the first message? can this happen?

The easiest solution: hide the button, when the connect-message is loaded.

It could also be an open-message


Record and serve the meetings in audio format

Hi, it seems that zoom client has an easy way to record a meeting in audio format. Would it be possible to serve the meetings in audio format (not live)?
It will be way easier to have people following what's happening, listening to the meetings, if those could be downloaded to be listened offline, via mobile, while on the go.
YouTube is really a great platform to keep the history of meetings, however it is not the best platform to be used in some cases. It doesn't support an offline mode, and it is required to be with the screen turned on during all the time (mobile). Currently, it is almost a requirement for those who want to listen to the recorded meetings, to be on an environment with Wi-Fi available (because of the amount of the data downloaded to play a video) plus some considerable amount of battery charge remaining.
https://support.zoom.us/hc/en-us/articles/201362473-Local-Recording?mobile_site=true

Following up on this issue that apparently didn't get a response (sorry!), I don't think we should be opposed to meeting artifacts - it may be helpful to download the assets on a semi-regular basis from YouTube via the Admin dashboard and upload them.
This may deserve its own repo so we can archive all meetings, as opposed to focusing exclusively on the videos for CommComm. At that point, we could (hopefully) automate it... though I'd definitely be interested in everyone's thoughts/feedback on this.
Also, for what it's worth: YouTube Red (the paid version of YouTube) provides offline availability and backgrounding. Not saying this is the most accessible or ideal solution, but it is one approach 😬

YouTube plays in the background for me (iPhone X). 🤔
Related history: https://soundcloud.com/node-foundation/

For me, the Youtube app plays in the background of Android if I split the screen. Not it I just change to another app or activate the launcher. If I play Youtube through the Firefox browser (standard beta, don't remember for Focus), it will play in the background.
The point I'd like to make is that it would be better long-term to not rely on the behaviour of the Youtube app within the mobile ecosystem.
I'd propose having an audio version of each meeting that we could upload to a Node.js podcast. Podcast apps (open source ones available! 🎉) make sorting, searching, and offline availability easier to do for those who need it.

YouTube plays in the background for me (iPhone X).

I think that is available only to people with "YouTube Red"

Perhaps setting up an automagical conversion service would be a good way to help resolve this? Going to add Good First Issue and let someone grab it if they'd like.

Hi guys!
Is this issue still relevant?
I was wondering, we can use the 'youtube-dl' package and doing some script around it for the audio download and then use the SoundCloud SDK or the HTTP API for the upload process.
🤔

Since we have not seen traction on this in quite a few months, going to close. @07Gond if you or anyone else is interested in picking this up, I'd be happy to re-open.


Channel Launch

[x] Code Review
[ ] Add to website
[x] Create packagist package
[x] Github actions
[x] Style CI
[x] Scrutinizer
[x] Add badges

Website PR pending tag of first release:
https://github.com/laravel-notification-channels/website/pull/25

@mxschll tag first release whenever you are ready :D

@atymic Done, thanks (:

Website PR merged 🎉
We are live.


$this->redirect() from block controller

In <IP_ADDRESS> it is not possible to use $this->redirect('method') from within a block controller to call public function action_method(){} for example.
A 404 is returned.
In 5.7.4 and earlier this code is valid and works - calling action_method() then returning the block's view.
Is this a bug or is there a new way to approach this from <IP_ADDRESS> onwards

It's probably a bug – can you post what you were trying to do, the code that worked pre <IP_ADDRESS>?

I have a form in the block's view.php .... assume running on homepage
<?php echo $confirmMessage;?>
<form name="quote" method="post" action="<?php echo $this->action("requestquote");?>">
<!-- rest of form field and submit button -->

In the blocks controller.php I have two methods.
public function action_requestquote() {
  // Calc, email, log, save routines then redirect
  $this->redirect(''sent");
}

public function sent() {
   $this->set("confirmMessage", "Thankyou, your request has been sent");
}

So the view loads, the form is submitted to "action_requestquote" method handler
It redirects to sent method to set the $confirmMessage var for the view
The block view reloads and this time the confirmation message is shown, but the URL is now index.php/sent
In <IP_ADDRESS> it looks like different page is being loaded as a result of $this->redirect("sent"), and a 404 error is returned.

Yes. I think you may have uncovered an unintended feature. Redirect was always meant to just take you to a path to a new page or a complete URL. It was never meant to render another action from that block on the page. Interesting idea though.
What if instead of redirect you tried something like
$c = Page::getCurrentPage()
$url = \Redirect::page($c, 'sent');
And redirect to that?
Sent from my iPhone

On Jun 17, 2015, at 9:06 AM, Ollie Phillips<EMAIL_ADDRESS>wrote:
I have a form in the block's view.php .... assume running on homepage

">

In the blocks controller.php I have two methods.
public function action_requestquote() {
// Calc, email, log, save routines then redirect
$this->redirect(''sent");
}
public function sent() {
$this->set("confirmMessage", "Thankyou, your request has been sent");
}
So the view loads, the form is submitted to "action_requestquote" method handler
It redirects to sent method to set the $confirmMessage var for the view
The block view reloads and this time the confirmation message is shown, but the URL is now index.php/sent
In <IP_ADDRESS> it looks like different page is being loaded as a result of $this->redirect("sent"), and a 404 error is returned.
—
Reply to this email directly or view it on GitHub.

Thanks Andrew. I noticed you answered from your iphone. I edited the above slightly after I posted it since I missed the action_ prefix to the sent method when writing up the code from memory. It needs to be "action_sent" not "sent" that never worked from a block as far as I know. I doubt it makes any difference, this may still be an unintended feature - but I've been doing it like this for forever I think.
Thanks for taking a look at it anyway and I'll check out what you propose above

Sounds good!
On Fri, Jun 19, 2015 at 8:06 AM, Ollie Phillips<EMAIL_ADDRESS>wrote:

Closed #2599 https://github.com/concrete5/concrete5/issues/2599.
—
Reply to this email directly or view it on GitHub
https://github.com/concrete5/concrete5/issues/2599#event-335330699.


Add " require 'simple_form' " in template.

Hi @sachinswagh, thanks for the pull-request.
Could you please explain the motivation behind this change?

To avoid uninitialized constant error.

@feliperenan : If you don't feel any need. You can close the pull request.

Did you have some use case that you had to require Simple Form?

In a Rails application, the gem is required when you add the gem call in the Gemfile. That may not be true if people changes the away bundler works in a Rails application, but we don't need to support that case.


maml omniglot - finetuning / test

Hi,
It appears based on this  line that an additional fine-tuning step is needed for a complete MAML example. Is there an example code using higher that has this step?

    # Crucially in our testing procedure here, we do *not* fine-tune
    # the model during testing for simplicity.
    # Most research papers using MAML for this task do an extra
    # stage of fine-tuning here that should be added if you are
    # adapting this code for research.

I am also interested in clarification for this.

@samvelyan does this help? https://github.com/tristandeleu/pytorch-maml

Dont understand what the "fine-tune" mentioned in this annotation represents. In my view, the test procedure is already complete with adapting model to support set of each new task.

related: https://stats.stackexchange.com/questions/550990/what-does-it-mean-to-fine-tune-a-maml-model-for-testing

duplicated: https://github.com/facebookresearch/higher/issues/120


Swagger UI customization - support for custom document title and head content

Similar to Swashbuckle, I'd like to have support for overriding SwaggerUI's document title and putting custom content inside its <head>.
I'm willing to contribute those changes. @RicoSuter, do see any issues with that functionality?

Fine for me as long as the defaults dont change


Wrong Selection?

Hi,
I'm trying to use CsQuery to go through some pages of Thesaurus.com
Using the address http://www.thesaurus.com/browse/test as an example, the code I'm using is as follows:
CQ document = CQ.CreateFromUrl("http://www.thesaurus.com/browse/test");
                var selectionHtml = document.Select("#filters-0 > div.relevancy-block > div > ul:nth-child(1) > li:nth-child(1) > a");

Result from CsQuery:
{...}

Result from jQuery:

analysis
star

Both are using the same dom selection (i.e. #filters-0 > div.relevancy-block > div > ul:nth-child(1) > li:nth-child(1) > a), but CsQuery is returning me "search" while jQuery is returning me "analysis", which is correct. Any idea what's going on?

The HTML isn’t the same.
In your browser there is some JS running post fetch which changes the order, this won’t happen in CQ.
 (Grab attached.)
From: jeromekwek<EMAIL_ADDRESS>Sent: 29 July 2015 12:14
To: jamietre/CsQuery
Subject: [CsQuery] Wrong Selection? (#197)
Hi,
I'm trying to use CsQuery to go through some pages of Thesaurus.com
Using the address http://www.thesaurus.com/browse/test as an example, the code I'm using is as follows:
CQ document = CQ.CreateFromUrl("http://www.thesaurus.com/browse/test");
            var selectionHtml = document.Select("#filters-0 > div.relevancy-block > div > ul:nth-child(1) > li:nth-child(1) > a");

Result from CsQuery:
{...}
Result from jQuery:

analysis
star

Both are using the same dom selection (i.e. #filters-0 > div.relevancy-block > div > ul:nth-child(1) > li:nth-child(1) > a), but CsQuery is returning me "search" while jQuery is returning me "analysis", which is correct. Any idea what's going on?
—
Reply to this email directly or view it on GitHubhttps://github.com/jamietre/CsQuery/issues/197.
<EMAIL_ADDRESS>25 Berkeley Square
London | W1J 6HN
Ben Jury
Tel:    +44 (0) 20 7268 7821
Email:          ben.jury<EMAIL_ADDRESS>Web:    www.amius.comhttp://www.amius.com

DISCLAIMER: The contents of this message and attachment(s) are intended for the addressee(s) only and are private and confidential. You should not use, copy or transmit this message if it is not intended for you. The opinions expressed in this message and/or any attachments are those of the author and not necessarily those of Amius, its subsidiaries and affiliates. Any facts stated and estimates and opinions given have been obtained from, or based upon sources believed by Amius to be reliable; however no representation or warranty, express or implied, is made nor responsibility of any kind accepted by Amius, its directors or employees either as to the accuracy or completeness of any information stated herein. Amius does not accept responsibility for changes made to this message after it was sent. For the protection of Amius and its clients and customers, and in compliance with regulatory requirements, the contents of both incoming and outgoing e-mail communications may be read by authorised persons within Amius other than the intended recipient(s). Although this e-mail and any attachments are believed to be free of any virus, or other defect which might affect any computer or system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Amius for any loss or damage from receipt or use thereof. Amius Limited, is registered in England & Wales under registration number 3576013. Registered office: 3rd Floor, 25 Berkeley Square, London, W1J 6HN. Amius is a trading name of Amius Limited (AL). AL is authorised and regulated by the Financial Conduct Authority. Visit our website for further information: www.amius.comhttp://www.amius.com
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com

Thanks for your quick reply, Ben!
In that case, is there any way for CsQuery to "wait" for the page to process completely (with the new order), and then return with the actual result as displayed?
Or are there any other workaround/s for this issue?

It doesn’t run javascript, so no.
From: jeromekwek<EMAIL_ADDRESS>Sent: 29 July 2015 12:48
To: jamietre/CsQuery
Cc: Ben Jury
Subject: Re: [CsQuery] Wrong Selection? (#197)
Thanks for your quick reply, Ben!
In that case, is there any way for CsQuery to "wait" for the page to process completely (with the new order), and then return with the actual result as displayed?
Or are there any other workaround/s for this issue?
—
Reply to this email directly or view it on GitHubhttps://github.com/jamietre/CsQuery/issues/197#issuecomment-125928623.
<EMAIL_ADDRESS>25 Berkeley Square
London | W1J 6HN
Ben Jury
Tel:    +44 (0) 20 7268 7821
Email:          ben.jury<EMAIL_ADDRESS>Web:    www.amius.comhttp://www.amius.com

DISCLAIMER: The contents of this message and attachment(s) are intended for the addressee(s) only and are private and confidential. You should not use, copy or transmit this message if it is not intended for you. The opinions expressed in this message and/or any attachments are those of the author and not necessarily those of Amius, its subsidiaries and affiliates. Any facts stated and estimates and opinions given have been obtained from, or based upon sources believed by Amius to be reliable; however no representation or warranty, express or implied, is made nor responsibility of any kind accepted by Amius, its directors or employees either as to the accuracy or completeness of any information stated herein. Amius does not accept responsibility for changes made to this message after it was sent. For the protection of Amius and its clients and customers, and in compliance with regulatory requirements, the contents of both incoming and outgoing e-mail communications may be read by authorised persons within Amius other than the intended recipient(s). Although this e-mail and any attachments are believed to be free of any virus, or other defect which might affect any computer or system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Amius for any loss or damage from receipt or use thereof. Amius Limited, is registered in England & Wales under registration number 3576013. Registered office: 3rd Floor, 25 Berkeley Square, London, W1J 6HN. Amius is a trading name of Amius Limited (AL). AL is authorised and regulated by the Financial Conduct Authority. Visit our website for further information: www.amius.comhttp://www.amius.com
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com


Minor enhancements to Dockerfiles

Description

This PR updates base containers to golang:1.23 wherever appropriate
Adds no-cache-dir to all pip installs
Ensures --no-install-recommends --fix-missing are used everywhere along with apt-get installs

Issues
N/A
Type of change
List the type of change like below. Please delete options that are not relevant.

[N/A] Bug fix (non-breaking change which fixes an issue)
[N/A] New feature (non-breaking change which adds new functionality)
[N/A] Breaking change (fix or feature that would break existing design and interface)

Dependencies
None
Tests
This is not adding any new infra but CI's needs to pass prior to merge.

@irisdingbj please review


feat(Topology/Baire): add basics of Baire measurability

Add the notion of Baire measurability for sets in a topological space, analogous to null measurability for sets in a measure space.
A follow-up PR will add the Kuratowski-Ulam theorem.

Thanks! :tada:
bors merge

I think I fixed this. How do I send it back to bors?
@urkud

bors d+
bors merge

✌ Felix-Weilacher can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

bors r+


refactor(npm): rewrite getDownloads using async/await

This is one of the (fewer) bits which are tested, so if they still pass, it should work

Found the code a bit odd to read when I tried to fake the downloads, wrote this with async/await but removed the part which always returned 0

but removed the part which always returned 0

Where's this change?


Reinstate constraint check for template literal types

Fixes #43620.

The constraint check was inadvertently deleted in #43440. This PR adds it back while preserving the previous fixes.


pandas DataFrameGroupby.agg (still) has incomplete signature

I originally put this in a comment on #2080, but I figured I'd make a standalone issue.
 Environment data

Language Server version: 2021.12.2-pre.1
OS and version: darwin x64
Python version (and distribution if applicable, e.g. Anaconda): 3.9.9, via pyenv
python.analysis.indexing: undefined
python.analysis.typeCheckingMode: basic

 Expected behaviour
That I can pass two `NamedAgg`s to the `agg` method of `DataFrameGroupBy`.
 Actual behaviour
I get an error -
No overloads for "agg" match the provided arguments
  Argument types: (NamedAgg, NamedAgg)PylancereportGeneralTypeIssues

 Logs

Python Language Server Log
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: Untitled-1 ...
[BG(1)]   parsing: Untitled-1 (5ms)
[BG(1)]   binding: Untitled-1 (2ms)
[BG(1)]   checking: Untitled-1 ...
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/__init__.pyi [fs read 2ms] (15ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/__init__.pyi (1ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/api.pyi [fs read 1ms] (4ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/api.pyi (0ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/frame.pyi [fs read 1ms] (75ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/frame.pyi (14ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/generic.pyi [fs read 1ms] (10ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/generic.pyi (3ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/base.pyi [fs read 1ms] (3ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/base.pyi (1ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/accessor.pyi [fs read 1ms] (1ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/accessor.pyi (0ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/indexing.pyi [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/indexing.pyi (0ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/_typing.pyi [fs read 1ms] (4ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/_typing.pyi (1ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/indexes/api.pyi [fs read 1ms] (2ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/indexes/api.pyi (0ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/indexes/base.pyi [fs read 1ms] (4ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/indexes/base.pyi (2ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/series.pyi [fs read 1ms] (17ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/series.pyi (10ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/typeshed-fallback/stdlib/datetime.pyi [fs read 1ms] (6ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/typeshed-fallback/stdlib/datetime.pyi (2ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/groupby/__init__.pyi [fs read 0ms] (1ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/groupby/__init__.pyi (0ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/groupby/generic.pyi [fs read 1ms] (10ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/groupby/generic.pyi (4ms)
[BG(1)]     parsing: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/groupby/groupby.pyi [fs read 1ms] (2ms)
[BG(1)]     binding: /Users/tushar.chandra/.vscode/extensions/ms-python.vscode-pylance-2021.12.3-pre.1/dist/bundled/stubs/pandas/core/groupby/groupby.pyi (3ms)
[BG(1)]   checking: Untitled-1 (248ms)
[BG(1)] analyzing: Untitled-1 (256ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1639680019523 at Untitled-1 (2ms)
Background analysis message: resumeAnalysis

 Code Snippet / Additional information
import pandas as pd

df = pd.DataFrame()
group = df.groupby("x")
reveal_type(group)  # DataFrameGroupBy
agged = group.agg(x=pd.NamedAgg("a", "b"), y=pd.NamedAgg("c", "d"))

Thanks for the separate issue. the type stub for agg needs to be updated and I also think my previous update to NamedAgg also needs to be updated.

This issue has been fixed in version 2022.2.0, which we've just released. You can find the changelog here: CHANGELOG.md

It didn't work.


edition2021 is required

Error
error: failed to parse manifest at /tmp/loquaz/Cargo.toml
Caused by:
feature edition2021 is required
consider adding cargo-features = ["edition2021"] to the manifest
Environment
Running on ubuntu 20.04 clone library and type:
cargo run

I think you have to update your rust toolchain. Try to run rustup update


Snappy data viewer for large DFs

This feature request is following from #5469
When I work with large pandas DFs, I relied on PyCharm's dataframe viewer. I liked it because it was very responsive and fast, though it wasn't without problem. With VSCode, however, it is nearly impossible to view large DFs, and many times it takes too much time to see it.
My guess is that PyChram programmed the viewer to work dynamically - it does not throw all of the data into the viewer, but some parts of data that is visible to users. As the user scrolls to left/right and up/down it instantly loads data to the viewer. Sometimes it was a little bit buggy but was still okay to use.
I hope vscode Data Viewer can handle large DFs like this.

Thanks @Matthew-gunsuSon for the suggestion.
Do you have any example code that's particularly bad? We're rather slow with a lot of columns, but millions of rows should work pretty fast. I guess 'pretty fast' is subjective though.

The data I was working with contains 200+ columns containing various dtypes with 2 milion+ rows.
large_df = pd.DataFrame(np.random.randn(2000000,200))
large_df_less_col = pd.DataFrame(np.random.randn(2000000,20))
With this example code it was able to see the first page, but it is not fast & responsive enough to browse it. (Loading data viewer process slows down text editing too)

Thanks.
We might be able to skip loading cells until they're visible (or the user sorts).
The example above takes almost 5 minutes to finish loading and each load of the data freezes vs code.

Actually that dataset is still loading for me. I was reading the index wrong. It's going to take like 50 minutes to finish loading.

Also, I hope it could handle other type of Dataframs as well in near future. (e.g. Spark DataFrame, Koalas DataFrame)


Delete unneeded comment (xray-rails) in Gemfile

I'm assuming we don't need these lines anymore since we merged in nice_partials#28
Thanks @kaspth!

Don't think we can do this yet, it looks like the compatibility fix PR is still open on xray-rails https://github.com/brentd/xray-rails/pull/108

Okay, I guess I'm just confused as to why it's commented out. Are we leaving it just in case developers want to use xray?

@gazayas Ah, yes, this is safe to remove because we got rid of X-ray as a dependency! We just use the regular Rails annotations now!

@andrewculver Thanks for clarifying 🙌


Make expected result running or runnning.

Allows the tests to run on Presto versions before and after the typo in
running was fixed.

lgtm