[skip test] Font issue with the navigation_rail_test on Linux Web tests.

With #99171 we are starting to see an issue with 6 tests that are only failing on 'Linux web_tests_2' with off by one errors:
00:38 +61: test/material/navigation_rail_test.dart: Destination spacing is correct - [labelType]=selected, [textScaleFactor]=1.0 (default)
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure was thrown running a test:
Expected: Offset:<Offset(33.0, 76.0)>
  Actual: Offset:<Offset(33.0, 75.0)>

It passes locally on a macbook or a cloudtop Linux box with either html or canvaskit renderer, so I am not sure what is causing this. My guess is that it might be a font size difference on that specific VM. It is apparently running Chromium 84.0.4147.0 where my cloudtop is running Google Chrome 98.0.4758.102.
Skipping these tests on web for now until we can figure this out.

Comment from @yjbanov in chat:

This test seems to be running the HTML renderer. If the test doesn't use Ahem, it is subject to whatever system font the browser ends up falling back on. Chrome on Linux tends to be consistent, but once in a while we see different results (e.g. we discovered some time ago that the HHH bot ends up picking up a different font).
For this reason, using Ahem in tests is strongly encouraged.

So perhaps forcing the use of the Ahem font for these tests will fix this and we can remove the skip.

This is no longer reproducible. I believe the HTML renderer always uses one of the test fonts:
https://github.com/flutter/engine/blob/db3d28d4755953f645df677a08d272af5b1954b7/lib/web_ui/lib/src/engine/text/paragraph.dart#L468-L475
Unskipping in https://github.com/flutter/flutter/pull/122945 and closing.


[Feature] Updating Step Start Hook to Receive Endpoint

Solves: https://github.com/project-chip/certification-tool/issues/367
SDK Dependency PR: https://github.com/project-chip/connectedhomeip/pull/35662

[!WARNING]
The frontend changes and images shown here are not official and for experimental purpose only.

Description
Updating the Step Start hooks and the related code to use the provided optional endpoint information from SDK. Also, logs were updated to show the endpoint, if it exists.
This change depends on the SDK's PR, mentioned above, that sends the endpoint information by including it on TC Step Start method parameters.
Please, mind this current solution will not store the endpoint information in the DB and it will not be retrieved for the UI after loading old executions. Anyway, the logs still points the endpoint on the step completion lines.
Use Case Example:

[!WARNING]
The frontend changes and images shown here are not official and for experimental purpose only.

The images below show a possible usage of the new endpoint information passed to the frontend using the SDK and Backend changes:

The TC ACE 1.3 example

The TC BOOLCFG 2.1 example

@antonio-amjr could you rebase/target to spring2025 branch?

@antonio-amjr could you rebase/target to spring2025 branch?

Done


Error: Cannot find module '@nuxt/kit'

Missing feature is from
bootstrap-vue
Docs
https://bootstrap-vue-next.github.io/bootstrap-vue-next/docs.html
Describe the missing feature
When I install bootstrap-vue-next for Nuxt project, I use the command from the documentation: yarn add bootstrap bootstrap-vue-next @bootstrap-vue-next/nuxt -D
It installed well but when I add the code below in nuxt.config.js file:
export default defineNuxtConfig({
  modules: ['@bootstrap-vue-next/nuxt'],
})

I have an error in Docker:
Error: Cannot find module '@nuxt/kit'
Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /var/www/html/node_modules/nuxt/bin/nuxt.js

Validations

[X] Have tested with the latest version. This is still alpha version and sometime things change rapidly.
[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided link is to the documentation of the missing feature.

The simplest solution is to probably just add @nuxt/kit to your dependencies. There's nothing that's really our problem, as @nuxt/kit is already a bundled dependency. If it's getting removed, it's likely an issue with your build process. Albeit a rather odd issue, as I don't know why a bundler would remove or ignore a dependency. Likely docker is just not including it as a dependency, so you'll need to just figure out a way to have it include it as a dependency.
Also, this isn't a missing feature


Building protobuf assets

The protobuf assets for some services are in the src directory for that service (e.g., src/accountingservice/genproto) . Applying a change in pb/demo.proto requires copying this file or using protoc to generate the required files in each src/Xservice directory before invoking docker compose build... or similar (I think). By contrast, the other services' Dockerfiles handle the copy and build of protobuf assets.
The following services (all golang) need to compile pb/demo.proto using protoc into their respective directories before docker compose build...:

accountingservice
checkoutservice
productcatalogservice

The following service (c++) requires copying pb/demo.proto to src/currencyservice/proto/demo.proto

currencyservice

Is there a reason for this? I have a fork that fixes this behavior but thought I would check first.
Use Github Discussions.

We have a make target that will generate the protobuf assets or copy the demo.proto file for all services as required. Each language has their own way on how to do this, so instead of needing to know all of them, we created a single script that does it for all fo them.
make generate-protobuf will set up protobuf assets for all services. If you don't have the proper tooling (ie: protoc) it will gracefully move to the next service attempting each one.
We took this approach to allow people to make simple code changes, and then do a docker compose build ... without needing to generate the protobuf assets first.
If you feel like there is a better way, and you developed one in your fork, I would be interested to learn more.

Thanks! Here's the scenario I was dealing with that led to my changes

Make change to pb/demo.proto
make start and realize that some things break
make generate-protobuf and realize that I need tooling for the different builds: copy into directory for many services, protoc + plugins for golang, npm, etc.
install all of them and build successfully

My setup makes changes to the Dockerfiles of the 4 services noted above so that a change in pb/demo.proto doesnt require all the different builds. Of course, this means that a new service for example, will need to build protobuf assets in their new Dockerfile, but at least they won't need to build all assets manually.
Further, it makes the deployment a bit more consistent. At the moment, with a change in pb/demo.proto, the four services above need make generate-protobuf while others do not.
This doesn't replace make generate-protobuf. It makes the make start and friends friendlier to small changes to pb/demo.proto.
The changes in my fork can be found here. Let me know if these are sensible changes.
https://github.com/open-telemetry/opentelemetry-demo/commit/dfaf53fe2f99bd8287fff6dc193a739e73766caf

I think you should submit a PR from that fork :D
We will likely need some new entries in .gitignore so that people who run make generate-protobuf don't have any changes that need to be committed.

this was fixed with #1386


Adopt ruff for python linting in CI/CD

Description
As proud members of the Rust community, as well as advocates of rust backed python, I thought we could adopt ruff as our main python linter in CI/CD.
Its not a huge pain right now, but the change is also quite minimal in terms of effort, and I personally made great experiences with it several projects.
As a bonus we could add delta-rs to the list of adopters alongside many other great projects like, pydantic, polars, pandas and many more...
Use Case
Related Issue(s)

Yeah, I have been thinking of adding switching to ruff as well!

Good idea 👍

For reference, I created a PR on the ruff repository to add delta-rs to the list of users


Upgrade Elixir version in examples?

For example in Basic, the first code example is 2 minor version behind latest Elixir version.
Erlang/OTP 17 [erts-6.4] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Interactive Elixir (1.0.4) - press Ctrl+C to exit (type h() ENTER for help)
iex>

@AquarHEAD can you take the lead on updating all of the examples?  One PR should be sufficient for all of the changes.

@doomspork Sure will do as soon as I find enough time to go over everything :)

Great!  Thank you @AquarHEAD

Dear @AquarHEAD, you were gone for a long time, so I made a PR for this issue on my own: #321. I hope I didn't have done any harm by this.

@nscyclone Thanks, was on a business trip last 2 weeks, and now just started a vacation, so barely have time to do things on my own( I'm happy that someone else could help, that's part of the reason why I opened an issue first :D

Thank you @AquarHEAD and @nscyclone 👍


[TS SDK] SuiObjectResponseError type doesn't match the RPC response

SuiObjectResponseError  type doesn't match the RPC response (it's missing the code field for example).

This should be fixed now, the types for SuiClient are now generated from the open-rpc spec so they should more accurately represent the actual data


Added swot/lib/domains/uk/co/nwhsmail.co.uk

Added a new school file
School Website: https://www.nunnerywood.worcs.sch.uk/
IT course: https://www.nunnerywood.worcs.sch.uk/115/subjects/subject/12/computing-business

Address: Nunnery Wood High School, Spetchley Road, Worcester, WR5 2LT, England

@wery22222 Thank you!
Please provide us with a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

Hi @philipto
Would an Email from the school technician be enough?

This is a letter from my school:
scan_l.boniface_2023-09-27-08-10-04.pdf

@wery22222 Yes. You can upload the copy here, or they can send us an email to<EMAIL_ADDRESS>(mentioning the URL of this request, https://github.com/JetBrains/swot/pull/18599. Thank you!

@wery22222 Thank you for your patience while waiting for a review and processing your request. Pull request merged.

Thank you very much


HHH-8382 - Fix lob column ordering when using HBM mappings.

https://hibernate.atlassian.net/browse/HHH-8382

Hi @Naros ,
my setup in the reproducer was a bit different, I had only a single LOB column combined with a VARCHAR(2000) and Oracle complained only when the value for the VARCHAR column was very long.
But if your data setup reproduces the fix, I am happy :-D !
BTW, I am curious where your integration tests against different database versions run in CI.
Thanks for the fix
Marc
`

<class name="MyEntity" table="my_entity">
    <id name="id">
        <generator class="sequence">
            <param name="sequence">my_entity_seq</param>
        </generator>
    </id>
    <property name="details" type="string" length="4000">
        <column name="details" sql-type="clob"/>
    </property>
    <property name="title" length="2000"/>
</class>

`

BTW, I am curious where your integration tests against different database versions run in CI.
What exactly do you mean?

Applied upstream.


Simulation "Total CPU Time" is much larger than "Total Real Time"

Dear all,
I noticed today after running an OpenFAST 2.4.0 simulation that the "Total CPU Time" was much larger than "Total Real Time". The OS is Ubuntu 20.4. This is the execution information:

OpenFAST
Copyright (C) 2021 National Renewable Energy Laboratory
Copyright (C) 2021 Envision Energy USA LTD
This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
See the "LICENSE" file distributed with this software for details.

OpenFAST-GIT-NOTFOUND
Compile Info:

Compiler: Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R)
64, Version 2021.2.0 Build 20210228_000000
Architecture: 64 bit
Precision: single
Date: Jun 06 2021
Time: 18:46:54
Execution Info:
Date: 07/14/2021
Time: 20:04:52+0200

Total Real Time:       10.673 minutes
Total CPU Time:        24.913 minutes
Simulation CPU Time:   24.892 minutes
Simulated Time:        16.667 minutes
Time Ratio (Sim/CPU):  0.66955
OpenFAST terminated normally.

Has this ever happened before? Since OpenFAST 2.4.0 is not parallelized, I was expecting one simulation to use up one core so it would be impossible for the CPU time be much higher than the real time. Am I thinking correctly?
P.S: I checked the process with the "top" command and indeed the simulation was consuming a percentage of around 200% of cpu.
Best regards

Hi @Amarelio I've noticed this, as well. Though I don't fully understand it, I think its due to the Intel MKL libraries being threaded on their own. @andrew-platt @bjonkman do you have any more insight?
I have tried setting the MKL_NUM_THREADS environment variable to 1, but no change.
There's also this output in CMake about pthread
-- Looking for pthread.h
-- Looking for pthread.h - found

@rafmudaf What are your compiler flags during Intel build? Does it auto-parallelize/vectorize loops? If so, just setting MKL_NUM_THREADS might not be sufficient, you'll also want to explicitly set OMP_NUM_THREADS=1 to control how the loops in OpenFAST themselves are run.

@rafmudaf, there is also the -nothreads flag.
OpenFAST uses CPU_TIME to get a "processor-dependent approximation of the processor time". A quick look at the documentation shows that this maybe isn't the best routine to call for performance of multi-threaded applications.


add reuse compatible license information

This PR touches a lot of files, but only adds license headers to each file or where that isn't feasible using a <filename>.license file.
# SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and CLA-assistant contributors
#
# SPDX-License-Identifier: Apache-2.0

Only exception is ./src/client/assets/js/edge.5.0.1.min.js, which is licensed under BSD-3-Clause
Additionally it adds the Reuse Badge to the README (and removes some outdated badges).
This PR should address: #877, #878, #879, #880

Coverage remained the same at 89.831% when pulling e6ab8db71c0a9d8bb633cbb1205b3e179e88359f on Shegox:reuse-compliance into 74933b33386efce92c9772e2f4e3938d7feba560 on cla-assistant:main.


The portalEl is useful to apply the same css hierarchy as the zoomed element

The commit 03be3b6f2ee831f07fe2645326eba89bb1bbc22e removed portalEl. Actually that config is useful in my case.
Expected behavior
I expected the zoomed element will apply the same css class before / after zooming. i.e. There are some css class set in the portalEl.
Actual behavior
The zoomed modal is directly under document.body, which we are unable to set any css class to it.
Alternative
Another option is to provide css class config to the modal, but having a portalEl allow applying the same css hierarchy.
Workaround
We will stay at 5.0.0-alpha-8 which the portalEl is still available.

@hardchiu Thanks for your issue, and I will keep this in mind.
Version 5 took a hard nose-dive after some implementation details came up that were impossible to work around. I'll need to redo this a slightly different way (I already know what I'm going to do).
I'm on parental leave from work and am not working on it right now but will return.

@hardchiu What is an example portalEl that you are using? Is it just a
 at the end of the body that you can control?
I removed portalEl because I wasn't sure I could support zooming the image in any arbitrary place in the DOM. That doesn't mean I was right, though.

For example we wish to zoom an element in the following structure

...

We may be already using css class like ".a .b .c" to style the image.
To apply the same css class to the zoomed element, we may do it in two ways with the portalEl:
1. Put the portalEl under the same parent node of the zooming target

...

where portal is position absolute or fixed to fill all the screen spaces. Note css class ".a .b .c" also apply to the zoomed image under the portal.
2. Put the portalEl in a separate branch

...

The new branch has no other content so it can be easily filling up the whole screen.
Note css class ".a .b .c" also apply to the zoomed image under the portal.
If we are able to set the portalEl, we can fix it with different structure (which keep the full screen) in different cases.
i.e. It would be the user's responsibility to supply a usable portalEl if they provide that config.

The issue with putting the portalEl anywhere except at the end of document.body is that – even if it is fixed – you will run into problems across all major browsers with regard to positioning if there is a translate3d or translateZ or overflow: hidden anywhere in the parent (the styling and animations will completely break because you can't have fixed elements in these scenarios that work all the time).
There are data attributes that can be used for CSS styling, like data-rmiz-modal-content in version 4, that would allow you to style it further if you needed to. For example:
[data-rmiz-modal-content] {
  /* code here... */
}

I'll keep thinking and working.

There are cases that will not work if the portalEl is not put directly under document.body, but there are other cases or workaround that can make it work (not every case need to use position fixed).
That's why I said it would become the users' responsibility to supply a usable portalEl if they provide that config.
Are you mean to use data-rmiz-modal-content as selector for styling in css?
Actually it is not about how to style the the zoomed element. The aim of keeping the hierarchy is to avoid duplicate the same set of style to the zoomed element.
I am not sure if it is usual to expect the zoomed element automatically applying the same css as the original targeted element.
In my case, I think it would be easier for me to keep the original css selector working instead of duplicate a set of style to the zoomed element (since there are many different targets).
Thanks for considering, let me know if you need more elaboration of my case.

Overall, a modal at the end of the body must be used to meet accessibility standards, so I believe that providing a portalEl would hurt accessibility. There is a lot to this.

(not every case need to use position fixed)

That's true. I'll consider position: absolute; again as I work on the next version.

Are you mean to use data-rmiz-modal-content as selector for styling in css?

The data selectors offer a way of styling modal-related elements.

Are both the options I mentioned above unable to meet accessibility standards?
I am wonder if the option 2 above is still able to meet, since that is a new branch created at the end of the body to hold the portalEl (i.e. no other content beside the portalEl node.)
If the portalEl need to be strictly under body, having a zoomImgWrapperEl render prop would help.
zoomImgWrapperEl: ({ children }) => ReactNode.

It allow user to adjust the structure between data-rmiz-overlay and data-rmiz-zoomed.
Maybe I better specify the case instead of trying to comment on the interface, since you know the underlying constrain better.
The rationale behind this issue is that elements/components can be in different style under different container, and the stylesheet can be an external theme. It would be better if we don't need to flatten the style and duplicate the rules for the zoomed element.
(It is like providing a way to setup the theme for the modal)

@hardchiu
Regarding accessibility, there are roles and other elements that need to be present in order to keep focus in the modal for screen readers in addition to hiding other elements in the background so that they are not readable when the modal dialog is open. Doing this and making the image zoom to its specified dimensions means that including other wrapper elements won't work for images, which is what this library was about until recently... read below.
In version 4 of this project, you can zoom anything, including a
 , as your second thing suggests. It turns out that this was not necessarily a good thing to include in an image zoom library, for it makes things fairly complicated.
I'm currently working on rewriting everything again, so I will keep this in mind, but I don't yet see the value in zooming
s around an image when the image is what we want to zoom. Can you explain why you would want to do that?

Update on v5 FYI: https://github.com/rpearce/image-zoom/discussions/274

I'm going to close this, for copying a collection of elements' CSS over isn't a direction I think we should go here.


chore: init repo

Lua module to work with version specifiers.; documentation
Issue: https://github.com/linuxdeepin/developer-center/issues/5731
Log: init repo

/approve


Fix conversion of numpy.number instruction params to python types.

Summary
Fixes #4151 by re-ordering instruction parameter type checks so that numpy checks and conversion occur before checks for built-in python types.
Details and comments

reopening, since #4117 reverted https://github.com/Qiskit/qiskit-terra/pull/3668


first implementation of wide&deep model

Fixes #154
Goals :soccer:

This PR includes an experimental implementation of Wide&Deep model where both components are jointly trained using a single optimizer.
A cross-feature layer is defined to add high-order interaction features to the wide component.

Testing Details :mag:

Unit test to check the training/evaluation of the Wide&Deep model.
Unit test to catch the ValueError related to wrong keys names being provided to CrossFeatures.

Can we merge this and flag the optimizer issue.

This PR uses the feature-column API for feature-crosses. This is not something we want to merge now. From talking to @benfred it seems like we actually support feature-crosses in NVT, although sounded like it’s a bit hidden. I think we need to create an example how to do it, and then incorporate it in the wide&deep model. It might also make sense to create a tag for a feature-cross that NVT could output.

From reviewing the Wide and Deep paper, they perform feature crosses as part of the model architecture, so I don't think we want to move the responsibility for feature crossing to NVT. Seems like what would be required to move this PR forward would be an implementation of feature crossing in Merlin Models that doesn't rely on the feature column API. What would be involved in creating one?

I agree with you that the ideal case is to make feature-crosses part of Merlin Models but this will require extra work. Since we already seem to be supporting it in NVT, I was thinking that that would be the minimum scope to have a wide&deep model in Merlin Models.
We could create a separate ticket to add feature-crosses to Merlin Models. Not sure as of now, what the priority should be to work on that ticket though.
Curiuous to your thoughts (cc @EvenOldridge @benfred)

I don’t think we ever made a proper definition of done, so not sure it’s competely fair to say that we have comitted to a W&D model that contains feature-crosses (as opposed to doing the feature-crossing in NVT).
But if you have time to help, it seems totally doable to add it though. I was under the impression that the string hashing-ops were CPU-only in TF, but it seems like that’s no longer the case (PR). This would mean that we could concat the ids of the columns you want to cross: IDfeature1_IDfeature2_IDfeature3 and hash this. We could infer the cardinality of this by multiplying the cardinalities of each of the features. The user should be able to overwrite this though (to enable less buckets where embeddings are shared).
We have to figure out how to enable a nice API for the user to provide the feature-crosses.

Until we either have Wide&Deep merged or we've explicitly decided not to add it, whatever is required to make it happen seems to me like part of the scope we've committed ourselves to. 🤷🏻
Do we specifically need to use hashing, or can we exhaustively compute the pairwise feature crosses?

The ideal end state of the wide&deep model:

One line to create the model
Different optimizers for wide & deep part
Feature crossing as part of the modeling code

We could either commit to do all these things in one go or to add things gradually. Up until this point we have been informally talking about the gradual approach, but totally fine to me if we want to do it all in go.

I am closing this PR, as a new PR was opened by @timmy00. This PR solves the first point: One line to create the model.  So I also added the three points needed for completing the wide&Deep model in this RMP ticket

I agree feature crossing should be done in the modeling side, so that a Data Scientist would not have to preprocess multiple versions of the dataset to try out different feature interactions.


IR:CKII Compatibility

What cultures and religions are added by I:R-CK2? I may handle them with the data files I added in #669 later on

What cultures and religions are added by I:R-CK2? I may handle them with the data files I added in #669 later on

I've added Sabellian, Old Ligurian, Venetic, Siculian, Etruscan, Rhaetian, Lepontic, Gallic, Noric (celtic_pannonian), Belgae, Punic, Phoenician, Dacian, Celtiberian, Lusitanian, Lycian, Phrygian, Isaurian, Paphlagonian, and Cilician, along with all culture mappings for them

What cultures and religions are added by I:R-CK2? I may handle them with the data files I added in #669 later on

I've added Sabellian, Old Ligurian, Venetic, Siculian, Etruscan, Rhaetian, Lepontic, Gallic, Noric (celtic_pannonian), Belgae, Punic, Phoenician, Dacian, Celtiberian, Lusitanian, Lycian, Phrygian, Isaurian, Paphlagonian, and Cilician, along with all culture mappings for them

Ok, Etruscan, Rhaetian, Gallic, Belgae, Punic, Phoenician, Dacian, Celtiberian, Lycian, Phrygian, Isaurian and Paphlagonian are all correctly set through #669; for the remaining ones, work is still to be done, but I added provisional mappings.

What cultures and religions are added by I:R-CK2? I may handle them with the data files I added in #669 later on

I haven't added religions or changed any religion mapping, I'm still working on creating them for the I:R-CK2 converter

What cultures and religions are added by I:R-CK2? I may handle them with the data files I added in #669 later on

I've added Sabellian, Old Ligurian, Venetic, Siculian, Etruscan, Rhaetian, Lepontic, Gallic, Noric (celtic_pannonian), Belgae, Punic, Phoenician, Dacian, Celtiberian, Lusitanian, Lycian, Phrygian, Isaurian, Paphlagonian, and Cilician, along with all culture mappings for them

Ok, Etruscan, Rhaetian, Gallic, Belgae, Punic, Phoenician, Dacian, Celtiberian, Lycian, Phrygian, Isaurian and Paphlagonian are all correctly set through #669; for the remaining ones, work is still to be done, but I added provisional mappings.

That sounds good, in that case we could just add Sabellian, Old Ligurian, Venetic, Siculian, Lepontic, Noric (celtic_pannonian), Lusitanian, and Cilician from my branch to #669

For the religions, I suggest you take a peek at I:R-CK3 for inspiration. If you use the same strings, they'll also be already supported in EU4-Vic2.

superseded by #672


Allow None for JTI_CLAIM and TOKEN_TYPE_CLAIM

This is the only way I could get it working with an Auth0 JWT, which has neither 'jti' nor 'token_type'.

Related to #227

Related to #106

Related to #169

See https://community.auth0.com/t/jti-field-doesnt-work/44364/3

Closing due to inactivity and I don't think it's supposed to be None.

@Andrew-Chen-Wang errr, excuse me? You don't look at this PR for 3 months, and then you just close it?!
I've been running djangorestframework-simplejwt in production, with this change applied, for 3 months. I'd like to stop using a patched version of the library, I've been waiting for this to get reviewed and merged.
Do you have any alternative solution in mind, for supporting an Auth0 JWT? If not, then could you please re-open this PR, and consider merging it?

@davesque any chance you could chime in here?

Yes, I'm an inconsistent maintainer with flaws -- obviously not reading the spec for one -- who probably failed his exams 5 hours ago? I don't use Auth0, so please be patient as I closed this for inactivity. I didn't say I didn't care.

@Andrew-Chen-Wang thanks for re-opening an reviewing. I'll add a comment and a test case as you've suggested.
Sorry if I sounded rude. I know, this is open source, you're a volunteer, you have limited time, you have to cull issues that might be abandoned, for your sanity. I don't expect you to be familiar with Auth0, nor with any other third-party services that people might use. I appreciate you maintaining this library. Keep it up.

Np and no worries. Sometimes my own prose are fairly rude, so understandable. Thanks for understanding. Looking for one more check by @2ykwang

lgtm then thanks!

@Andrew-Chen-Wang, do you know when this might be merged? Thanks in advance

thanks @denniskeends


#11 - Better integration with redux-auth-wrapper package

Changes to provide functionality described here:
https://github.com/maxmantz/redux-oidc/issues/11

I've pushed my changes. Will merge & publish tomorrow. Thanks for your effort!

Excellent, I pulled the changes down and tested it in the sample app. Everything works great!
I definitely like the dispatching of the LOADING_USER as the way to set the loading flag.
Thanks again!


M4S update to undo describing Longs as 3s and 2s

I would like an option to ignore this section of code
Several strategies decide stack positions based on Short 2, Short 3, Long 1, and Long 2 as the positions. Having the reminder describe me as Long (2 stacks) and Long (3 stacks) respectively is very confusing for that. I could not find a way to change this in config.

misclicked close issue

Sorry, I missed that this had been re-opened. This repository is no longer the home of cactbot. You can re-file this at https://github.com/OverlayPlugin/cactbot/issues. Unfortunately there's not a quick solution I can offer you, so let's get this moved over there and we can talk over how that might be added to the UI, or whether it's even possible.


[W7.7][W15-B2] Cync

Cync
Cync is an application for small businesses to keep track of their customers' data
Changes
Update developer guide to align with the new direction of our project

Please merge your individual components into your team repo's main branch, and make a PR from there instead of your individual one @zameschua . You may close this PR afterwards


cart.requestComplete Vanilla js?

Hello!
I want to know if you help to understand how events are working on vanilla js?
$(document).on('cart.requestComplete', function(event, cart) {
        $('#counter').html(cart.item_count);
 });

This way is not working:
document.addEventListener('cart.requestComplete', function(event, cart) {
  // Event handling here.
  console.log(cart)
})

Thank you

Yeah, this isn't working for me either.

Hello,
yes, I'm also getting the same issue.
Is there any fix for this?


docx: improve page break fidelity

Page breaks can and often do occur within a paragraph. The full text of the paragraph is attributed to the page (number) the paragraph starts on.
Improve page-break fidelity such that a paragraph containing a page-break is split into two elements, one containing the text before the page-break and the other the text after. Emit the PageBreak element between these two and assign the correct page-number (n and n+1 respectively) to the two textual elements.
This functionality is largely provided upstream by the new python-docx v1.0.0 release (1.0.0 from 0.8.11 because it drops Python 2 support). That version also makes obsolete the "include hyperlink text in Paragraph.text monkey patch that we had maintained up to now. Remove that monkey-patch.

Two test .docx's were added to:
test_unstructured_ingest/expected-structured-output/box/

But, we already have an example-docs/ folder that essentially serves the purposes of storing docs for unittests (for better or worse, that's the existing convention). Is there a specific reason you do not want to move these to example-docs, @scanny ? Is there a difference between https://github.com/Unstructured-IO/unstructured/blob/main/example-docs/handbook-1p.docx and test-handbook-1p.dox is this PR?

@cragwolfe The ingest test setup is such that files in example-docs/ that are used in ingest tests cannot be changed once created. I needed to edit handbook-1p.docx to pass a couple of the existing page-break-related "unit" tests but then the ingest tests were picking up the old version and failing on that. For whatever reason, at least some of the ingest tests do not pick up changes to files in example-docs/ in a PR.
Alan mentioned it might have something to do with the Box connector, but in any case I concluded that files in example-docs/ were only good for tests when they were and if that changed you need to create a new one.
I put these in a separate test_files directory because I didn't think in general the files that make good input for tests make good example files for new users and being good for both purposes didn't strike me as a constraint we wanted to put on test files. A test file might be very short, have an unrealistic density of page breaks, etc. because that makes it efficient input for a suite of tests. The new page-breaks.docx is a good example of that.
I could see us having a broader scope location for test files, like maybe partition/test-files/ if we wanted, but I didn't see a ready way to negotiate a new convention so just put them near the tests and figured we'd get to consolidating them if we wanted further down the line.
I don't feel particularly strongly about it, but like I say, I don't see test files in general making good example files, so would advocate for a distinct location. On the question of whether we use the same files for ingest tests as we do for other tests, I'd be inclined to avoid it just on the grounds of test independence, but that ship has probably already sailed.
In any case, I'm happy to move them if you want, just let me know.

@cragwolfe btw, yes, the new handbook-1p.docx has a rendered page break added, as Word would do, and only that page-break is recognized by the partitioner. That's the only difference but enough to break the ingest tests without a way to fix them other than to create a new file for the unit tests and change the ingest-test expectations to no longer expect a page break for that file.

As far as I know, none of the files in example-docs are used in ingest tests. Despite the name, the main purpose of the example-docs folder is to house files used in unit tests.

@qued Hmm, that's interesting now that you mention it. Are you saying that, yes, there is a handbook-1p.docx used in ingest tests, but it's not the same actual file as the one in example-docs? I was seeing an ingest-test difference when I changed that file, but I bet I had changed the code too at that point and maybe all I have to do is just accept the ingest-output difference.
I'll take a look at that tomorrow. I think that was my misconception :)

As far as I know, none of the files in example-docs are used in ingest tests. Despite the name, the main purpose of the example-docs folder is to house files used in unit tests.

yep, though also in in some ingest "local" filesystem tests, e.g.:
https://github.com/Unstructured-IO/unstructured/blob/main/test_unstructured_ingest/test-ingest-local-single-file-with-encoding.sh#L28

Ok it seems like what I said is not quite right (see correction from @cragwolfe ) but that particular file handbook-1p.docx is pulled down from somewhere else when it's used in the ingest test.


Python: Support for FAISS in Python

Add support for FAISS https://faiss.ai/

Faiss is a library for efficient similarity search and clustering of dense vectors. It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM. It also contains supporting code for evaluation and parameter tuning.

https://engineering.fb.com/2017/03/29/data-infrastructure/faiss-a-library-for-efficient-similarity-search/

To add support for FAISS in your Python project, you need to follow these general steps:

Install FAISS:

You can install FAISS using the following command:pip install faiss-cpu  # for CPU version

For GPU support, you can install faiss-gpu. Make sure you have the necessary dependencies installed for GPU support.

 Refer to the FAISS documentation (https://faiss.ai/) and the specific documentation for the version you installed to understand how to use its features.
Example of using FAISS for similarity search:# Assuming you have a set of vectors 'x' and a query vector 'q'
index = faiss.IndexFlatL2(x.shape[1])  # L2 distance index
index.add(x)
D, I = index.search(q, k=5)  # Search for the 5 nearest neighbors

Integrate FAISS into Your Project:

Incorporate FAISS functionality into your existing project. Depending on your use case, this might involve loading pre-trained models, handling vectors, and integrating FAISS calls into your application logic.

Test and Optimize:

Test the integration thoroughly to ensure that FAISS works as expected in your project.
Optimize parameters and configurations based on your specific use case.

Handle Dependencies and Versions:

Be mindful of FAISS dependencies and versions. Ensure compatibility with other libraries or frameworks used in your project.

Here's a very basic example using FAISS for similarity search:
import faiss
import numpy as np

# Generate some random data for demonstration purposes
d = 64  # dimension
nb = 100000  # number of vectors
np.random.seed(123)
xb = np.random.random((nb, d)).astype('float32')

# Build the FAISS index
index = faiss.IndexFlatL2(d)
index.add(xb)

# Query for the nearest neighbors
k = 5
xq = np.random.random((1, d)).astype('float32')
D, I = index.search(xq, k)

print("Query vector:")
print(xq)
print("\nNearest neighbors:")
print(xb[I[0]])
print("\nDistances:")
print(D[0])

Remember to adapt these steps to your specific project structure and requirements.

@eavanvalkenburg would this be something we can work on after your new memory changes go in?

absolutely @moonbox3


Application Layer Timeout/Freeze

I've been noticing consistent application layer freezing when connecting remotely to a machine (docker-machine). In this case, I've been connecting to an azure instance and, generally within 5 minutes or less, the docker connection completely freezes and i have to kill docker and re-connect.
While initially i assumed this was a TCP issue (something timing out), performing a pcap showed that the TCP keep-alives seem to be getting responses, while the docker connection itself is still hung.
Steps to reproduce:

Setup docker-machine somewhere (Azure in my case)
docker run  -it --network=host ubuntu:bionic
do not type anything for a few minutes
now attempt to type something and notice that the connection is frozen.

For help, I've attached a pcap of one of the times when it froze up.
dump.zip

Thanks @bannsec for filing this issue. However issues with docker itself (and not the registry) should be filed against https://github.com/moby/moby


Add --runUntilMinutes to all programs, and several updates to scanning script

This PR includes several technical changes on running performance measurements

Adds --runUntilMinutes argument for all programs. The argument is mutually exclusive with --maxEvents, and with it the program repeats the 1k events for at least the given integer number of minutes. The set of 1k events is always processed in full. In my tests so far the cost of the added synchronization is negligible.
On run-scan.py

The script no longer honors CUDA_VISIBLE_DEVICES. Instead, it has a new argument --cudaDevices to specify the devices to use. The device indices correspond to those in nvidia-smi (whic does not, in general. hold for CUDA_VISIBLE_DEVICES)

This change was motivated by the monitoring of GPU status (see below), and the fact that the device indices in CUDA_VISIBLE_DEVICES are not necessarily consistent with those in nvidia-smi
The script prints all devices it sees (with the consistent indexing)
Information (name and driver version) are stored in the JSON file for those devices that were used in the measurement

Support for the --runUntilMinutes` option
Aggregate various arguments into groups to make the help message more clear
Add options to monitor the process host RSS and CUDA utilization, temperature, power, clock, and process memory usage

The host RSS is read from /proc/, and the GPU status with nvidia-smi
The --monitorSeconds argument specifies the sampling interval in seconds
In case the job uses multiple GPUs, the status (including the memory usage) is recorded for each GPU separately

Fix --repeat (resolves #232)

A new script run-many.py to run a single meaurement that is a combination of the throughput of many processes. These processes can be different programs, use different numbers of threads/streams, be pinned to different NUMA nodes or CPU cores, and use different CUDA devices.

The script supports some of the arguments of run-scan.py, e.g. the monitoring.

* The **script no longer honors `CUDA_VISIBLE_DEVICES`**. Instead, it has a new argument `--cudaDevices` to specify the devices to use. The device indices correspond to those in `nvidia-smi` (whic does not, in general. hold for `CUDA_VISIBLE_DEVICES`)

OK, looking at the changes I see this is done setting CUDA_DEVICE_ORDER=PCI_BUS_ID, and setting ``CUDA_VISIBLE_DEVICESto the list of devices in PCI order -- which should be consistent withnvidia-smi`. Right ?


[Request] Allow for user defined polling frequency

The app currently logs the every second.
It would be very useful to have that frequency configurable from the app UI.
Personally, I'd like to have a smaller gap between polls.
What would be the limits on how fast those requests can go through BT?

This could be configurable, they come through quickly - not sure how fast, but it's in the milliseconds. I'm about to test this on my new OneWheel+ and if there is another release I'll add this configurable feature.

Awesome,
I've made this change myself and tested it on my V1 and the logging did indeed came in the milliseconds, but for some reason they are not regular intervals.
I don't have a UI change yet, it is all hard coded.
I'll try working on it and submitting a pull request, if you won't mind.

@wmaciel Of course! and apologies i didn't get back sooner, just saw this and will work on being more active with this project... and now kicking myself for working on this when you were, i'm sure what you did is cleaner, and will definitely git pull what you have. If you get a chance check out what I did and put in the master branch, I added a new preference option for specifying polling frequency. Completely untested.

also @wmaciel based on your onewheel-video-hud you seemed to figure out the roll angle etc, i'm definitely open to making any post-processing of those values be directly in the app and output csv.

To be honest I haven't touched anything since my last comment.
I'll take a look at your changes and see if mine still apply.
I have no experience with android dev ui, so I'll do my best.

I think could probably be closed.
Thanks for the replies!


⚠ Bofrost.de has degraded performance

In 8e36a25, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1497 ms

Resolved: Bofrost.de performance has improved in d09dab8 after 1 hour, 6 minutes.


tetragon: Use lru.Cache for data events storage

There's a chance that by losing events (in perf ring buffer)
we would never use data stored by data events. Adding the data
into lru cache so we eventually remove unused entries to make
space for new ones and don't grow endlessly.
Signed-off-by: Jiri Olsa<EMAIL_ADDRESS>

@olsajiri maybe it's worth rebasing this one?


Clip gradients for fixed point arithmetics

Gradients of quantization functions using STE should typically be clipped whenever the input exceeds the representable numeric range. Possible implementation
class _QuantizeFunc(torch.autograd.Function):
    @staticmethod
    def forward(ctx: Any, *args: Any, **kwargs: Any) -> Any:
        x = args[0]
        scale = args[1]
        bits = args[2]
        x = scale * x
        upper_bound = 2. ** bits - 1
        lower_bound = -2. ** bits
        mask = torch.logical_or(x > upper_bound, x < lower_bound)
        derivative = torch.where(mask, 0., 1.)
        ctx.save_for_backward(derivative)
        x = torch.round(torch.clamp(x, lower_bound, upper_bound))
        return x

    @staticmethod
    def backward(ctx: Any, *grad_outputs: Any) -> Any:
        derivative,  = ctx.saved_tensors
        return derivative * grad_outputs[0], None, None

This is already implemented, because we clamp the inputs first in the FixedPointArithmetics qunatize function and then apply a rounding. The backward pass of the torch clamp function already clips the gradients in the same way as described in this issue.


Console.log() filling browser console

I noticed that you left a console.log in index.tsx and it's triggering my OCD.
Every time you render a toast it will print the prop "classNames" 3 times.

Pushed a new version!

thanks you two!!! you save me!!!
I am really OCD, and it took me a long time to find out that the logs came from here.


When xAxis is negative and type is "number", no lines are rendered.

Version
5.4.3
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=line-simple
Steps to Reproduce
option = {
  tooltip: { show: true, formatter: '{b}:  {c}' },
  grid: {
    containLabel: true,
    left: '3%',
    bottom: '3%',
    right: '3%'
  },
  xAxis: {
    type: 'category',
    data: [
      -97.333, -97.167, -97, -96.833, -96.667, -96.5, -96.333, -96.167, -96,
      -95.833, -95.667, -95.5, -95.262, -95.167, -94.841, -94.833, -94.667,
      -94.42, -94.333, -94.167, -94, -93.667, -93.5, -93.333, -93.167, -93,
      -92.833, -92.667, -92.5, -92.333, -92.167, -92, -91.667, -91.5, -91.333,
      -91.167, -91, -90.833, -90.667
    ]
  },
  // dataZoom: {type: 'inside'},
  yAxis: [
    {
      position: 'left',
      type: 'value'
    },
    {
      position: 'right',
      type: 'value'
    }
  ],
  series: [
    {
      yAxisIndex: 0,
      data: [
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.86, 4.011, 52.149, 30.946, 10.315,
        1.719, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
      ],
      type: 'bar',
      markLine: {
        symbol: ['none', 'none'],
        data: [
          {
            xAxis: -92,
            lineStyle: { type: 'solid', color: '#82ba74', width: 2 },
            name: '上限值'
          },
          {
            xAxis: -96,
            lineStyle: { type: 'solid', color: '#82ba74', width: 2 },
            name: '下限值'
          },
          {
            xAxis: -94,
            lineStyle: { type: 'solid', color: '#fff143', width: 2 },
            name: '标准值'
          },
          {
            xAxis: -94.841,
            lineStyle: { type: 'dashed', color: '#eb2d34', width: 2 },
            name: '平均值'
          }
        ]
      }
    },
    {
      yAxisIndex: 1,
      data: [
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 14, 182, 108, 36, 6, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
      ],
      type: 'line',
      smooth: true
    }
  ]
};

Current Behavior
When xAxis is negative and type is "number", no lines are rendered.
Expected Behavior
When xAxis is negative and type is "number", any line is rendered.
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

use string (xAxis: '-94.841') instead of number (xAxis: -94.841)


fix(audit): fix crashes in case of the duration Observable completes

Description:
fix the problem when subscribeToResult() returns null it will crash described by @deadbeef84
Related issue (if exists):
fixes #2595

Coverage remained the same at 97.734% when pulling dc00efde5049078f3b85d95ab770fb3825b53942 on asnov:fixes/audit-when-duration-selector-completes(fixing#2595) into 80a5ea7050320b37cb723407cb3fdde2ab2cd6eb on ReactiveX:master.

Coverage remained the same at 97.734% when pulling 8ab485c47fd680d8b97beea124a56be9245020f5 on asnov:fixes/audit-when-duration-selector-completes(fixing#2595) into 80a5ea7050320b37cb723407cb3fdde2ab2cd6eb on ReactiveX:master.

I'm labelling this as patch for now.

@benlesh I think this can go with 5.5?

Why is this still not fixed? :(


ConnectionResetError

Exception in thread Thread-2:,
Traceback (most recent call last):,
  File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner,
    self.run(),
  File "/root/src/celery-worker-on-demand/celery_worker_on_demand/__init__.py", line 124, in run,
    recv.capture(limit=None, timeout=None, wakeup=True),
  File "/usr/local/lib/python3.6/site-packages/celery/events/receiver.py", line 92, in capture,
    return list(self.consume(limit=limit, timeout=timeout, wakeup=wakeup)),
  File "/usr/local/lib/python3.6/site-packages/kombu/mixins.py", line 192, in consume,
    conn.drain_events(timeout=safety_interval),
  File "/usr/local/lib/python3.6/site-packages/kombu/connection.py", line 315, in drain_events,
    return self.transport.drain_events(self.connection, **kwargs),
  File "/usr/local/lib/python3.6/site-packages/kombu/transport/pyamqp.py", line 103, in drain_events,
    return connection.drain_events(**kwargs),
  File "/usr/local/lib/python3.6/site-packages/amqp/connection.py", line 491, in drain_events,
    while not self.blocking_read(timeout):,
  File "/usr/local/lib/python3.6/site-packages/amqp/connection.py", line 496, in blocking_read,
    frame = self.transport.read_frame(),
  File "/usr/local/lib/python3.6/site-packages/amqp/transport.py", line 243, in read_frame,
    frame_header = read(7, True),
  File "/usr/local/lib/python3.6/site-packages/amqp/transport.py", line 418, in _read,
    s = recv(n - len(rbuf)),
ConnectionResetError: [Errno 104] Connection reset by peer

Exception in thread Thread-3:,
Traceback (most recent call last):,
  File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner,
    self.run(),
  File "/root/src/celery-worker-on-demand/celery_worker_on_demand/__init__.py", line 140, in run,
    recv.capture(limit=None, timeout=None, wakeup=True),
  File "/usr/local/lib/python3.6/site-packages/celery/events/receiver.py", line 92, in capture,
    return list(self.consume(limit=limit, timeout=timeout, wakeup=wakeup)),
  File "/usr/local/lib/python3.6/site-packages/kombu/mixins.py", line 192, in consume,
    conn.drain_events(timeout=safety_interval),
  File "/usr/local/lib/python3.6/site-packages/kombu/connection.py", line 315, in drain_events,
    return self.transport.drain_events(self.connection, **kwargs),
  File "/usr/local/lib/python3.6/site-packages/kombu/transport/pyamqp.py", line 103, in drain_events,
    return connection.drain_events(**kwargs),
  File "/usr/local/lib/python3.6/site-packages/amqp/connection.py", line 491, in drain_events,
    while not self.blocking_read(timeout):,
  File "/usr/local/lib/python3.6/site-packages/amqp/connection.py", line 496, in blocking_read,
    frame = self.transport.read_frame(),
  File "/usr/local/lib/python3.6/site-packages/amqp/transport.py", line 243, in read_frame,
    frame_header = read(7, True),
  File "/usr/local/lib/python3.6/site-packages/amqp/transport.py", line 418, in _read,
    s = recv(n - len(rbuf)),
ConnectionResetError: [Errno 104] Connection reset by peer

Caused by this line:
https://github.com/Ilhasoft/celery-worker-on-demand/blob/0.1.2/celery_worker_on_demand/__init__.py#L140


Consider renaming repo to jekyll-date_logic

This will align it to Ruby gem naming standards. Also, if you give me push access then I'll merge my work.

Sorry... forgot to do that. You should have access now.

I pushed my work to this repo.


masterpdfeditor4: init at 4.3.89

Motivation for this change
The free version of masterpdfeditor 5 adds a watermark to saved PDFs, whereas version 4 does not.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108221 run on x86_64-linux 1

1 package built:

masterpdfeditor4

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108221 run on x86_64-linux 1

1 package built:

masterpdfeditor4

Please do not rebase on master except if it is necessary.

Please do not rebase on master except if it is necessary.


create a python module for the scripts

As we script this with python, we will have dependencies that need to be managed.  Likewise, we may want to take advantage of some of the features of being an actual module (ie. entry points). So, make of python module of this code.

@craigtracey - could you elaborate more on this one?


Image not found but error is (null)?

When I attempt to load an image at an invalid URL and the completion block is called I would expect the error to contain information about why the image didn't load. Instead both the error and image contain (null). Shouldn't a 404 result in a valid error?
console output when printing result:
<PINRemoteImageManagerResult: 0x7ff2996d5e40>image: (null)
animatedImage: (null)
requestDuration: 0.366901
error: (null)
resultType: 3
UUID: <__NSConcreteUUID 0x7ff29ba06db0> 8264EB5B-4ADD-466E-9033-2A11BFDA2524

Yup, it probably should!

This also the case if url is nil


Adding documentation for docker usage

Waiting for review from @bersace

Codecov Report

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

@@          Coverage Diff          @@
##           master   #265   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          12     12
  Lines        1693   1693
=====================================
  Hits         1693   1693

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 321efc6...825769f. Read the comment docs.


Classical Mechanical functions

What can be the better option for any Classical mechanical functions to implement in this homework?

we choose elastic collision


shell.exec - read internal variable

Hello, someone already managed to read an internal variable in shell.exec?
***example -- nodejs
var shell = require('shelljs');
var ssid = atak;
var password = 554032;
shell.exec('wpa_passphrase "$ssid" "$password" | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf', {async:true});
does not work that way?

up and running!
shell.exec('wpa_passphrase "'+ssid+'" "'+password+'" | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf', {async:true});


Cannot run php artisan migrate in fresh install

Cannot run php artisan migrate in fresh install

Working on it.

Fixed.


Consider introduce a configurable Timeout for JavalinTest

I am using
JavalinTest.test(app, (server, client) -> {
});
to handle my integration tests. I noticed that the okHttpClient behind client has timeouts set to 10 seconds.
How can i configure it?

You can pass a client:
JavalinTest.test(app, TestConfig(okHttpClient = myClient)) { ... }


openssl upgrade fails if Linuxbrew cURL installed

An update to the openssl formula was recently released, and while I don't use it directly much, several packages I use were trying to force me to update it as a dependency. Turns out, when you brew upgrade openssl, Linuxbrew removes the openssl prior to downloading the updated version. In doing so, it breaks the Linuxbrewed cURL, which requires openssl to download from a https website. The error message is not exactly clear, and seems to actually indicate that the file could not be found on the server, which was definitely not the case. Fortunately, Linuxbrew cleanly recovers, and re-installs the original version of openssl before exiting the upgrade with a failure message.
My solution was simply to remove Linuxbrew's cURL, upgrade openssl (which uses the system-installed cURL), then re-install Linuxbrew's cURL. I think the ideal solution would be to slightly alter Linuxbrew's sequence of operations so that updated packages were always downloaded before the old package was removed, but I imagine this is something fairly central to Homebrew that Linuxbrew shouldn't change on its own. I suppose another approach is to run brew fetch, then brew upgrade as two separate commands.
To be clear, it is never recommended in the Linuxbrew installation instructions that a Linuxbrewed cURL be installed, and I can't recall if I installed it deliberately, or if it was installed as a dependency for something else. I'm guessing the former, since it seems to me that this bug would have cropped up previously.

I'd like to fix this bug. I'll have to think on how to fix it properly. The workaround is
brew fetch openssl curl
brew upgrade

I can't recall if I installed it deliberately, or if it was installed as a dependency for something else

It was likely installed as a dependency. You can check with
brew uses --installed curl

Same happens with zlib and probably all other curl deps.

@sjackman You may add before your patch:
brew uninstall curl

Done.

Does "Done" mean that we will no longer experience similar issues? I got lost a bit.

It's the workaround.

Ah, thanks :)

Sorry for the confusion. This issue persists. Another workaround that may work is…
LD_LIBRARY_PATH=`brew --prefix openssl`/lib brew upgrade openssl


Regression: Not-null assertion causes implicit any

TypeScript Version:  2.7.0-dev.20171029
Code
function test(numbers: number[]) {
    let last;

    for (const n of numbers) {
        if (n % 2) {
            return n;
        }

        last = n;
    }

    return last!; // without the bang, last is inferred as `number | null`
                  // adding the bang causes implicit any
}

Workaround:
Initialise the "tracking" variable with undefined.
function test(numbers: number[]) {
    let last = undefined;

    for (const n of numbers) {
        if (n % 2) {
            return n;
        }

        last = n;
    }

    return last!; // OK
}

Expected behavior:
Should compile successfully with and without a bang.

Hi @mhegazy is the issue open to take and, can someone guide me on this? Thanks.

No hypotheses jump immediately to my mind. So, I would:

Put the example into a file.
make sure that tsc gives the reported error. (looks like you need noImplicitAny: true?)
Clone and build typescript repo.
Make sure that node ~/ts/built/local/tsc.js (for example) gives the same error as tsc.
Start debugging with node --inspect-brk ~/ts/built/local/tsc.js and attach with your favourite debugger (VS code and chrome://inspect are mine).
Search through the source for the no implicit any error(s) that you get and add breakpoints on them. (Note: Sourcemaps are wonky for me since we switched a dependency-based build, so you might have to put them in tsc.js instead of checker.ts)
Once you hit a no implicit any error, look up the stack and try to figure out why the type is any instead of number.

Report back with the stack and error location if things are still confusing. Anything to do with control flow can be complex and surprising.

Hi @sandersn . Thanks for the steps.
As you said, when compiling using noImplicitAny flag, the code gives the following error:
let last;

Variable 'last' implicitly has type 'any' in some locations where its type cannot be determined.

return last!

Variable 'last' implicitly has an 'any' type.

And the same errors after compiling with local build.
Now, as you mentioned in point 5, I should debug the ~/ts/built/local/tsc.js, but that is nearly 85k loc. Am I missing something?

@HarshKhatore Yeah, you'll need to search for the error message [1] you're getting and put a breakpoint there. You'll spend forever getting to the actual error otherwise.
[1] The messages are mangled like so: Variable_0_implicitly_has_type_1_in_some... Basically, you replace spaces with _ and remove other punctuation. (I think the build generates a JSON file with the mapping.)

@sandersn Okay, will try to do that and get back to you :)

No, nothing works. Yes, I have installed both gulp and jake.
Gulp error:

Hi @weswigham . Node version is: 8.11.3 and npm version: 6.2.0.
I installed these using the node.js windows installer, which can be found here: https://nodejs.org/en/

I meant how did you install the prerequisites in our package.json. 😄

simply: npm install
This should install the dev dependencies, right?

Yup - I mostly just wanted to check if you were using a different package manager.

Is anyone still on it? Can I give it a shot as a first issue?

@Bremys give it a shot! Looks like the last attempt was almost 2 years ago. My tips from then still apply except that source maps have been pretty reliable for me lately.

@sandersn I believe I have managed to find the bug and fix it, but my understanding of the problem and its solution is pretty shallow so I am looking for some affirmation and some technical help.
Following your debug instructions I have found the error is thrown in checker.ts in the function checkIdentifier. The code that I view as relevant is:
// We only look for uninitialized variables in strict null checking mode, and only when we can analyze
// the entire control flow graph from the variable's declaration (i.e. when the flow container and
// declaration container are the same).
const assumeInitialized = isParameter || isAlias || isOuterVariable || isSpreadDestructuringAssignmentTarget || isModuleExports || isBindingElement(declaration) ||
                type !== autoType && type !== autoArrayType && (!strictNullChecks || (type.flags & (TypeFlags.AnyOrUnknown | TypeFlags.Void)) !== 0 ||
                isInTypeQuery(node) || node.parent.kind === SyntaxKind.ExportSpecifier) ||
                node.parent.kind === SyntaxKind.NonNullExpression ||
                declaration.kind === SyntaxKind.VariableDeclaration && (<VariableDeclaration>declaration).exclamationToken ||
                declaration.flags & NodeFlags.Ambient;
const initialType = assumeInitialized ? (isParameter ? removeOptionalityFromDeclaredType(type, declaration as VariableLikeDeclaration) : type) :
                type === autoType || type === autoArrayType ? undefinedType :
                getOptionalType(type);
            const flowType = getFlowTypeOfReference(node, type, initialType, flowContainer, !assumeInitialized);
// A variable is considered uninitialized when it is possible to analyze the entire control flow graph
// from declaration to use, and when the variable's declared type doesn't include undefined but the
// control flow based type does include undefined.
if (!isEvolvingArrayOperationTarget(node) && (type === autoType || type === autoArrayType)) {
            if (flowType === autoType || flowType === autoArrayType) {
                if (noImplicitAny) {
                         /* ERROR thrown here */
                    error(getNameOfDeclaration(declaration), Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined, symbolToString(symbol), typeToString(flowType));
                    error(node, Diagnostics.Variable_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType));
                    }
                    return convertAutoToAny(flowType);
                }
            }

The two scenarios (with and without bang operator) first differ in their assumeInitialized evaluation, as intended.
What I think is not intended is initialType being evaluated to any type with the bang operator in contrast to being correctly evaluated as undefined without it. So my solution is:
// We only look for uninitialized variables in strict null checking mode, and only when we can analyze
// the entire control flow graph from the variable's declaration (i.e. when the flow container and
// declaration container are the same).
const isInitialized =  isParameter || isAlias || isOuterVariable || isSpreadDestructuringAssignmentTarget || isModuleExports || isBindingElement(declaration) ||
                                 type !== autoType && type !== autoArrayType && (!strictNullChecks || (type.flags & (TypeFlags.AnyOrUnknown | TypeFlags.Void)) !== 0 ||
                                 isInTypeQuery(node) || node.parent.kind === SyntaxKind.ExportSpecifier) ||
                                 declaration.kind === SyntaxKind.VariableDeclaration && (<VariableDeclaration>declaration).exclamationToken ||
                                 declaration.flags & NodeFlags.Ambient;
const assumeInitialized = isInitialized || node.parent.kind === SyntaxKind.NonNullExpression;
const initialType = isInitialized? (isParameter ? removeOptionalityFromDeclaredType(type, declaration as VariableLikeDeclaration) : type) :
                         type === autoType || type === autoArrayType ? undefinedType :
                         getOptionalType(type);

That is, split assumeInitialized to two expressions whether it really is initialized (isInitialized) or you can only assume it is through the bang syntax. initialType should only consider whether isInitialized is true. Using this code, it ran as expected.
My questions are so:

Is my implementation of isInitialized correct? I fear of missing some edge cases, more particularly, are there guards that behave similarly to the bang operator and should move from isInitialized to assumeInitialized?
I am having technical issues with editing the repository due to its size and it is a real bottleneck in my ability to contribute. Are there known quick fixes in VSCode to deal with a project this big? Tried to remove Intellisense completely but didn't manage to do it.
I understood I need to add some tests but didn't find a guide on how to do so, I'll appreciate if you point me at that direction.

asserts guards now behave like the bang operator. I'm not sure you can detect them here or only in control flow. There might be some other cases I'm not thinking of².
I think VSCode turned on semantic highlighting recently, and it doesn't work well with checker.ts. Try turning that off? I personally use emacs, which has slower completions but better keystroke responsiveness.
Start with https://github.com/microsoft/TypeScript/blob/master/CONTRIBUTING.md#running-the-tests. Once you run all the tests, you'll see which fail because of your changes and you can copy+modify them to make new ones.

A couple of additional notes:

assumeInitialized is calculated the same way in 2 or 3 places throughout the compiler. You'll need to update them all to be the same.
I like your explanation but the code is so complex that I can't diff it without diff highlight. You should definitely create a PR at this point because it'll be easier to discuss with multiple people. (There are about 3-4 of us that know this code well enough to help.)

Thanks for the reply, I'll create the PR and move the discussion there.
I'll check out the semantic highlighting and run the tests.

(There are about 3-4 of us that know this code well enough to help.)

The type checker is really complex, is there any public resources to learn about it? @sandersn

This is a very old issue I don't get the same error anymore or at least this works now what would be the solution?
function testInitializer(numbers: number[]) {
    let last; // any

    for (const n of numbers) {
        if (n % 2) {
            return n;
        }

        last = n; // assigning 'number' to 'any' works of course
    }

    return last; // still 'any' so whats the issue now?
}

cc @sandersn @weswigham

@aminpaks I still see the error in the Typescript playground with the 4.1.3 (current latest version). Your code snippet is missing the non-null assertion (return last; instead of return last!;).

@aminpaks I still see the error in the Typescript playground with the 4.1.3 (current latest version). Your code snippet is missing the non-null assertion (return last; instead of return last!;).

@eric-hu ya I see. I'll see what I can do.

@eric-hu ya I see. I'll see what I can do.

I think I pinpointed the source of the issue, at line 24465 (function getFlowTypeOfReference) of checker.ts (the branch I used was forked off of 78e2bfd712).
if (resultType === unreachableNeverType || reference.parent && reference.parent.kind === SyntaxKind.NonNullExpression && !(resultType.flags & TypeFlags.Never) && getTypeWithFacts(resultType, TypeFacts.NEUndefinedOrNull).flags & TypeFlags.Never) {
    return declaredType;
}

reference.parent.kind === SyntaxKind.NonNullExpression looks like it's what's triggering it. I'm currently looking for the commit that introduced this, as it looks to be an intentional feature. I'll update the comment with the commit and linked things when I find it.

git bisect shows that the issue popped up at 7db76edbae807fd6758e911d956a404011c24333 (part of #12336).


[FEATURE]: add default value in the space class and use it in get()

Is there an existing issue for this?

[X] I have searched the existing issues

New feature
Right now the way to get a value using the space class is this one
    this.balances = new Space.Space(
      this.contractId,
      BALANCES_SPACE_ID,
      token.uint64.decode,
      token.uint64.encode
    );

    let fromBalance = this.balances.get(from);
    if (!fromBalance) fromBalance = new token.uint64(0);

Since the get() function can return null, it is always necessary to set a default value after it is done.
The proposal here is to pass a default value in the constructor of the Space class. If it is defined then it will be returned in get() when there is no data in the database, otherwise it returns null as before.
So the dev can do something like this:
    this.balances = new Space.Space(
      this.contractId,
      BALANCES_SPACE_ID,
      new token.uint64(0), // this is the default value
      token.uint64.decode,
      token.uint64.encode
    );

    const fromBalance = this.balances.get(from);
    // the type still includes "null"
    // however, as developer knows that it is defined
    // he could just use fromBalance!

    if (fromBalance!.value < value) {
      ...
    }

Anything else?
No response

Resolved by #54.


Migrate "database" to Zotero (?)

What we have is essentially a bibliography. The proposal here is to adopt the Zotero reference manager as our backend storage for the bibliographic items.
Why do this change?
The main plus point of managing as README in git(hub) is:

Making it easy to have moderated contribution via pull requests etc
Quick publishing (it is just the github readme)
Stars ⭐ (so some sense of interest / attention)

However, this is not necessarily optimal, especially as the bibliography grows. For example:

Manual additions of new items including the key metadata
No standard format for items (a change in standard format requires
Painful to show the same item under multiple topics (manually copy and paste and if we correct anything needs correcting in multiple locations)
Re-organizing of topics requires manual work
No ability to sort by date or similar

Zotero + a renderer (static site) would seem to address a lot of this. At a minimum using zotero and very simple rendering should be able to reproduce what we have already and allow for easier addition of new material.
Acceptance

[x] We have made choice about using (trialling?) Zotero
[x] We have a working Zotero library and have migrated some items there

[x] We have instructions for others on how to contribute

[ ] We have a PoC for how we get items back out and into a "README"

Tasks

[x] Set out the reasons for doing this DONE. See Why below
[x] Migrate content to Zotero (trial)

[x] Boot Zotero group library DONE: https://www.zotero.org/groups/4600269/web3
[x] Migrate a test set of items (e.g. the general section) from the awesome repo to the awesome/general Zotero folder

[x] create an awesome subcollection
[x] create a general subcollection of awesome collection (or do we use tags??)
[x] Migrate items following the migration process set out below in analysis (and update as needed)
[x] Write up notes for others

[ ] #52

[ ] Script converting this back into markdown
[ ] Research if any libraries / tools already exist in zotero ecosystem
[ ] Use one or or decide to roll our own
[ ] ...

Misc

[ ] @EilidhRoss1 take @catherinet1  through Zotero and record notes from this briefing into section below about using Zotero so that we can write it up for others

Analysis
How to Contribute to the Zotero Library

Install Zotero app
Install Zotero extension
Join the group library TODO

How to add Items / Migrate items
Aim: have "good" items where good means:

Has snapshot or PDF etc (auto-generated usually if you add from the extension)
Has proper metadata (full author name, date of piece, publication etc)

When migrating items:

Notes in notes section (paste without formatting)

[ ] Check if there is markdown support in Zotero notes field ...

How to contribute to Zotero

Create an account at zotero.org if you haven't already

Install the browser extension
(Recommend) Download the desktop app

Visit the group and click the join button https://www.zotero.org/groups/4600269/web3

Be approved by an admin (ping me @rufuspollock !)

Start adding materials (e.g. using the browser extension)

@stevesong sounds good to you?

Sounds good to me.  I am a little concerned about the sheer volume of resources and the need to sort the wheat from the chaff.  For a start it would be good to agree on a set of metatags for describing the resources.  More ambitious would be some consensus on the best resources for a specific topic or best introduction to issues.

Sounds good to me. I am a little concerned about the sheer volume of resources and the need to sort the wheat from the chaff. For a start it would be good to agree on a set of metatags for describing the resources. More ambitious would be some consensus on the best resources for a specific topic or best introduction to issues.

Big 👍 and suggest we open a separate issue for this and start working on it. I think the SCQH and esp issue tree structure could help us get a taxonomy here.

Painful to show the same item under multiple topics (manually copy and paste and if we correct anything needs correcting in multiple locations)

This is incorrect. If you use Zotero's collections for your topics, one item can exist in many collections

@bwiernik first, thanks for contributing and welcome 🙂

Painful to show the same item under multiple topics (manually copy and paste and if we correct anything needs correcting in multiple locations)

This is incorrect. If you use Zotero's collections for your topics, one item can exist in many collections.

To clarify, the why section is about why github readme approach does not work and why we should move to zotero. I've clarified the title now ...

In addition, with Zotero's translator framework, metadata for most types of items can be automatically created, so manual entry should rarely be necessary

👍 indeed. If you are interested the library is already operational and pretty active at https://www.zotero.org/groups/4600269/web3/library and we're looking in #52 at out how we display them in the main website.

Thanks, I'm mostly a volunteer and contributor to Zotero, so wanted to answer some questions that I saw pop up from your initial post

@rufuspollock check this project https://github.com/whiskyechobravo/kerkoapp
there was a discussion here mentioning this web library *https://forums.zotero.org/discussion/71905/publishing-a-large-bibliography-on-the-web-with-a-faceted-search-interface


No possibility to resize a GridMap ?

Hi,
I started using the grid_map_core pkg recently aiming at incrementally building a GridMap. However it seems there are no possibility to resize 'on the fly'  a GridMap (resize while preserving the existing data).
The setGeometry functions internally call clearAll thus aren't suited for incremental building. I came across both addDataFrom & extendToInclude functions which both require as input argument another GridMap which is a bit of an overshoot - instantiation of a second GridMap object, internal copy of the current object etc...
Did I miss something or is it a missing functionality ??

Hi @artivis, thanks for sharing! I agree, a resizing method which is easier to use then extendToInclude could be implemented. Internally, the extendToInclude could call this resizing method. How would you like to use the resize method? Would you give it a new size and and leave the position the same, or something else?

I am not familiar enough with the internal of grid_map_core to fully grasp the difficulty of implementing such new feature. But IMHO such resizing method would allows the user for either appending new cells on either side of the GridMap or both sides - e.g. increasing width lead to appending new cells both on the 'left' and 'right' of the GridMap and similarly for increasing the height. Increasing the full size would be something like 're-centering' the existing data on a larger grid. The desired behavior could be defined with an input argument such as an enum.

Is there any update on this? Could be useful for my use-case too. An incremental resize without clearing all data sounds like a good thing to do. I personally won't need to reposition the map.


yet-another-testing-dapp

init app
Summary

How did you test your changes?

hey @erin-at-work do we plan to land this pr someday, or should we close it and revisit later?

hey @erin-at-work do we plan to land this pr someday, or should we close it and revisit later?

@bangtoven ah, thanks for resurfacing. We should probably table this til we know whether this is an experience that the team wants to continue building on.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 11:36:29 on 2023.06.13
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 2, errors out: 0
Original problem ID: 28604
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=28604

Problem has been resolved in 9m 0s at 11:45:29 on 2023.06.13
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 28604


Launching PowerShell after Upgrading from PowerShell v7.1.5 to PowerShell v7.2.0 Generates Error

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Launching PowerShell after Upgrading from PowerShell v7.1.5 to PowerShell v7.2.0 Generates Error - Could not load type 'System.Management.Automation.Subsystem.PredictionResult' from assembly 'Microsoft.PowerShell.PSReadLine.Polyfiller, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
Expected behavior
Prompt without error.

Actual behavior
Error:

Oops, something went wrong.
Please report this bug with ALL the details below, including both the 'Environment' and 'Exception' sections.
Please report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new?template=Bug_Report.md
Thank you!

Error details
Oops, something went wrong.
Please report this bug with ALL the details below, including both the 'Environment' and 'Exception' sections.
Please report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new?template=Bug_Report.md
Thank you!

### Environment
PSReadLine: 2.2.0-beta1
PowerShell: 7.2.0
OS: Microsoft Windows 10.0.22000
BufferWidth: 120
BufferHeight: 9001

Last 0 Keys

Exception
System.TypeLoadException: Could not load type 'System.Management.Automation.Subsystem.PredictionResult' from assembly 'Microsoft.PowerShell.PSReadLine.Polyfiller, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
   at Microsoft.PowerShell.PSConsoleReadLine.PredictionViewBase.Reset()
   at Microsoft.PowerShell.PSConsoleReadLine.PredictionInlineView.Reset()
   at Microsoft.PowerShell.PSConsoleReadLine.Prediction.Reset()
   at Microsoft.PowerShell.PSConsoleReadLine.Initialize(Runspace runspace, EngineIntrinsics engineIntrinsics)
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)

### Environment data

```powershell
Unable to run command.

Visuals
No response

It is PSRL related. Please update PSReadLine to latest Beta4 version.

Open an Powershell session in Administrator privilege
Run Remove-Module PSReadLine to remove the auto-loaded PSReadLine module.
Run Import-Module PSReadLine (use PSReadLine with capital L)
Then run Update-Help -Module PSReadLine -Force
source : https://devblogs.microsoft.com/powershell/updating-help-for-the-psreadline-module-in-windows-powershell-5-1/

I can't run the commands above in the PowerShell 7 environment, I get the same error after I hit enter. The environment is broken. So, I uninstalled PowerShell 7, then I ran the commands above in PowerShell 5, just to be sure. Then I installed PowerShell 7.1.4, which works without errors. Then, I ran the commands above in that environment as Administrator. I then installed PowerShell 7.2.0 and I get the same error. What am I missing?

1. Open an Powershell session in Administrator privilege

2. Run `Remove-Module PSReadLine` to remove the auto-loaded PSReadLine module.

3. Run `Import-Module PSReadLine` (use PSReadLine with capital L)

4. Then run `Update-Help -Module PSReadLine -Force`

source : https://devblogs.microsoft.com/powershell/updating-help-for-the-psreadline-module-in-windows-powershell-5-1/

This doesn't work, you're just reimporting the same PSReadLine module. In place of Step 3, instead of running Import-Module, run Install-Module -Name PSReadLine -RequiredVersion 2.2.0-beta4 -AllowPrerelease as this explicitly specifies the latest version of PSReadLine to install (At least at the time of writing)
After this, it's safe to import the module again. This is what fixed it for me.


Do not display energy consumption data

Do not display energy consumption data
Expected behavior
show energy consumption data
Relevant entries from the logs
Attaching to teslamate_teslamate_1
teslamate_1  | waiting for postgres at database:5432
teslamate_1  | 2021-04-09 04:50:55.883 [info] Migrations already up
teslamate_1  | 2021-04-09 04:50:58.982 [info] Version: 1.22.0
teslamate_1  | 2021-04-09 04:51:00.129 [info] POST https://auth.tesla.cn/oauth2/v3/token -> 200 (1087.941 ms)
teslamate_1  | 2021-04-09 04:51:03.780 [info] tzdata release in place is from a file last modified Tue, 22 Dec 2020 23:35:21 GMT. Release file on server was last modified Sun, 24 Jan 2021 19:35:23 GMT.
teslamate_1  | 2021-04-09 04:51:03.825 [info] POST https://owner-api.teslamotors.com/oauth/token -> 200 (3695.102 ms)
teslamate_1  | 2021-04-09 04:51:03.825 [info] Refreshed api tokens
teslamate_1  | 2021-04-09 04:51:03.829 [info] Scheduling token refresh in 5 wk 5 d
teslamate_1  | 2021-04-09 04:51:03.831 [info] Running TeslaMateWeb.Endpoint with cowboy 2.8.0 at :::4000 (http)
teslamate_1  | 2021-04-09 04:51:03.833 [info] Access TeslaMateWeb.Endpoint at http://XXXXXXXXXXXX
teslamate_1  | 2021-04-09 04:51:05.196 [info] Starting logger for 'XXXXXXXXXXXX'
teslamate_1  | 2021-04-09 04:51:05.210 [info] MQTT connection has been established
teslamate_1  | 2021-04-09 04:51:05.915 [info] Tzdata has updated the release from 2020e to 2021a
teslamate_1  | 2021-04-09 04:51:07.441 car_id=1 [info] Start / :asleep
teslamate_1  | 2021-04-09 04:53:53.347 [info] GET /
teslamate_1  | 2021-04-09 04:53:53.365 [info] Sent 200 in 17ms
teslamate_1  | 2021-04-09 04:54:09.781 [info] GET /settings
teslamate_1  | 2021-04-09 04:54:09.787 [info] Sent 200 in 5ms
teslamate_1  | 2021-04-09 04:54:25.892 [info] GET https://nominatim.openstreetmap.org/lookup -> 200 (912.658 ms)
teslamate_1  | 2021-04-09 04:54:37.316 [info] GET /settings
teslamate_1  | 2021-04-09 04:54:37.318 [info] Sent 200 in 1ms
teslamate_1  | 2021-04-09 04:54:40.137 [info] GET /
teslamate_1  | 2021-04-09 04:54:40.139 [info] Sent 200 in 1ms
teslamate_1  | 2021-04-09 04:54:40.439 [info] GET /
teslamate_1  | 2021-04-09 04:54:40.441 [info] Sent 200 in 1ms
teslamate_1  | 2021-04-09 04:59:57.915 [info] GET /
teslamate_1  | 2021-04-09 04:59:57.917 [info] Sent 200 in 1ms
teslamate_1  | 2021-04-09 04:59:59.183 [info] GET /settings
teslamate_1  | 2021-04-09 04:59:59.187 [info] Sent 200 in 4ms
teslamate_1  | 2021-04-09 05:40:51.703 car_id=1 [info] Start / :online
teslamate_1  | 2021-04-09 05:40:51.720 car_id=1 [info] Connecting ...
teslamate_1  | 2021-04-09 05:44:02.988 car_id=1 [info] Suspending logging
Screenshots

Data
data.zip
Environment

TeslaMate version:  1.22.0
Type of installation: Docker
OS TeslaMate is installed on: Ubuntu 20.04 VPS
User OS & Browser: MacOS & Chrome
Others: Tesla version 2021.4.12

Yep, I can confirm this issue. I'm also using TeslaMate 1.22.0 via Docker but on a RaspberryPi. Tesla software version ist 2021.4.12 as well.

Yep, I can confirm this issue. I'm also using TeslaMate 1.22.0 via Docker but on a RaspberryPi. Tesla software version ist 2021.4.12 as well.

Same bugs?

And it's gone. I haven’t changed anything but now it's working as it should. 🤷♂

And it's gone. I haven’t changed anything but now it's working as it should. 🤷♂

maybe some problem with tesla's api service

The answer can be found here: Why are no consumption values displayed in Grafana?# 🙂


Merge-conflict: Code lens dont show its  todo menu's by default until a change is made

Does this issue occur when all extensions are disabled?: No

VS Code Version: 1.89.1
OS Version: Kubuntu 22.04.4

Steps to Reproduce:

get a conflict under a git project
open the file which has conflict and by default you dont see "Accept current change | Accept incoming change | Accept both changes | Compare changes" menu on affected code, it appear if you try to edit something in that file
This error started from last 3-4 versions. It was all good before 2024 i remember

Can you share a screenshot? Thanks!

Can you copy the source code of your screenshot? Thanks!

I'd like to reproduce the situtation shown on your screenshots. However, I don't have the time to type the text from your screenshot.

Cannot reproduce:


M10-LAB10: Fix table not rendering correctly issue by removing comment

Replace issue name M00-LAB00:QUICK_DESCRIPTION, for example "M01-LAB01: My new issue" (or same name as linked Issue)
Related Issue
Link related Github Issue 🢂 Fixes # . (Include issue number after #)
Checklist
Mark completed with "x" between brackets, "[x]":

[ ] Has related GitHub Issue 💥 Create Issue 📝
[ ] Tested it
[ x] Read the PR collaboration guide 👓 Collaboration Guide 📝

Changes proposed in this pull request:

The table in the md file is not rendering correctly due to a comment
Removing the comment will fix the issue
I tried other solution to keep the comment but not possible, so seems like the comment must be deleted in order for the table to display correct, see if other feasible solution

Cheers!

Thanks for the PR :) Merging the change!


[Fix][UI Next][V1.0.0-Alpha] Fix the personal information did not return to edit the previous state.

Purpose of the pull request
close #9280

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Codecov Report

Merging #9301 (d9da010) into dev (9d68b17) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #9301      +/-   ##
============================================
- Coverage     40.25%   40.23%   -0.02%
  Complexity     4390     4390
============================================
  Files           820      820
  Lines         32834    32834
  Branches       3650     3650
============================================
- Hits          13216    13212       -4
- Misses        18382    18386       +4
  Partials       1236     1236

Impacted Files
Coverage Δ

...erver/master/processor/queue/TaskEventService.java
64.22% <0.00%> (-3.67%)
:arrow_down:

Continue to review full report at Codecov.

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