I cannot ping after a successful handshake.

I have successfully shaken hands, but I can't ping.

The following is the configuration of my client, the allow ip is inconsistent with the server, Is this caused by the allow ip of the client?

Hi @cweijan. Your configuration looks fine. The meaning of AllowedIPs is a bit confusing in WireGuard terminology.

In this context (from the server), AllowedIPs defines the set of IPs that the client is allowed to connect with. In this case, your client can only connect as <IP_ADDRESS>, which is fine.

In this context (from the client), you'll notice that AllowedIPs is under the [Peer] heading, meaning that it refers to the server. Here it is saying that any requests to <IP_ADDRESS>/24 will be routed to the server.
The more important value in this screenshot is the Address under your [Interface] (the client). You'll notice it's <IP_ADDRESS>/32, which matches what the server expects you to connect from. The fact that you get a successful handshake means the server did accept your request.
Now you're trying to ping from the server to the client, correct? There could be any number of reasons why that doesn't work. Ensure that your client machine is not blocking ping via firewall. Perhaps try other ways of connecting, like SMB (\\<IP_ADDRESS>).
You can also try some tests from the client side. Can the client ping the server or access the server filesystem over SMB? Can the client access the internet? If so, can you see if the client's internet access is being routed through the server's ISP (whoismyisp.org)?

You answered my doubts about allow_ip, it is very helpful, my configuration is correct, then it may be related to the ISP, thank you for your reply.

I refer to the article in the readme, and found that your software has one step less work. After I modified the registry according to the article, the network can work normally.

I change to below.

Now it work!

Awesome, nice job finding that!
However, the program is supposed to make that change. You can even see that registry key is referenced in the code here. This is supposed to happen whenever you change the Address property in the Server Configuration.
Would be willing to try changing that to something else (you can change it back after) to see if the registry key remains unchanged? If so, there maybe a problem with the application accessing that key. (Are you running the app as Admin?)

I tried to modify the address, but the registry does not seem to be updated (I have refreshed)

@cweijan Thanks, I appreciate you trying that! However, I would not expect the change you made to affect the registry. That's because the Address field in the Server Configuration page is defining the valid addresses for your whole WireGuard network in CIDR notation. When it says /24 at the end, it means the first 24 bits are reserved for the network (10.253.0) and the last 6 bits can change for each address that is assigned to each device on the network. The server itself gets the first valid address in the specified range, <IP_ADDRESS>, and each of your clients gets a subsequent address, <IP_ADDRESS>, etc.
Therefore, in order for the registry entry to change, you would have to change one of the reserved bits so that the whole address range is changed.
Would you be willing to try <IP_ADDRESS>/24?
Again, I appreciate your help with this!

Yes, it did change.

I think this is caused by not modifying the registry when setting it for the first time.
I clear AppData\Roaming\WS4W data, then reinitialize, registry not get changed.

I already know the cause of the problem, that's enough.

@cweijan Great, thanks again for the help! I will investigate the issue of not populating the registry value upon first configuration.
P.S. Some of your screenshots have private keys that you may want to hide. :-)


[RUNTIME][REFACTOR] Re-organize Containers into SubFolders

Thanks for contributing to TVM!   Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.

cc @junrushao1994 @yzhliu

Overall looks good, but not familiar with this CI failure


Import all themes and modes with single import

I wanted to import all the themes and modes into my Reactjs project with a single import statement.
I might be missing something but is this possible or importing them individually is the only option?
When I try to import the entire folder with import "codemirror/theme" it gives me an error.

That's not something that's supported. (Importing from multiple files at once, or importing css files, doesn't exist in JavaScript, so I guess you're using some kind of bundler that adds support for that, but this project doesn't contain any specific integration for such a thing.)


refactor: add deployment script for local deployment

Description

The following changes have been made:

backend + chart: replace health controller by spring actuator plugin
local deployment

update generate keys:

fixed wrong parameters for keycloak miw_client (not sure why it worked without the script but not with the script)
Add a secret version file for docker to be used in newman

add docker-compose-newman.yaml to seed the int test data, if wanted (still need to remove role manually)
add deploy.sh which provides one-line deployments for common scenarios (full clean, only clean and create puris and direct direct dependencies, also seed int test data)

postman: add 25 seconds waiting period after mad tests so that the backend may create the submodel descriptors and tests can be run fully automated.

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

@eschrewe please already review this PR.
I'll meanwhile will work on the worfklow in pr #450 to not enforce the update of the version as we sometimes want to bundle the chart changes for one release and not release every change directly.


HADOOP-17630. [JDK 15] TestPrintableString fails due to Unicode 13.0 support.

Remove U+30000 from the test.
JIRA: HADOOP-17630

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
13m 18s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
34m  4s

trunk passed

+1 :green_heart:
compile
20m 45s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
18m 13s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
checkstyle
1m  6s

trunk passed

+1 :green_heart:
mvnsite
1m 31s

trunk passed

+1 :green_heart:
javadoc
1m  5s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 38s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
spotbugs
2m 22s

trunk passed

+1 :green_heart:
shadedclient
15m 27s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 51s

the patch passed

+1 :green_heart:
compile
20m  7s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
20m  7s

the patch passed

+1 :green_heart:
compile
18m  7s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
javac
18m  7s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  3s

the patch passed

+1 :green_heart:
mvnsite
1m 30s

the patch passed

+1 :green_heart:
javadoc
1m  2s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 38s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
spotbugs
2m 28s

the patch passed

+1 :green_heart:
shadedclient
15m 36s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
17m 28s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 56s

The patch does not generate ASF License warnings.

190m 40s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2890/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2890

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 6221b055449c 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 6fae4ae00f7ea6199df7208105fc5d6e9a89455e

Default Java
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2890/1/testReport/

Max. process+thread count
3158 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2890/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Merged. Thanks @jojochuang


Can i rely completly on index,vector store index created by llmaindex and i persist them And i retrive on top of these index . Instead of using any Vector database

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
instead of using any vector database to store and retrieve during  querying .
Can i use the default vector index store created by llmaindex which i can persist on Disk and then top if it i can do all retrieval  needed  .
Can you give me Prons and Cons  for using the deffault vector index store created by llmaindex over Storing vector index in standard Vector Database ?

Vector_store index but we can keep updating right , If we are  taking care of sessions during ingestion .
For example :  one file ---->parsing -->chunk--> embedding--->Persist on Disk(Session closed)
second file --->parsing -->chunk--> embedding--->Persist on Disk(Session closed)
So end of the day my vector store never overwritten and infact it grew for every document .

The default vector store is very simple -- all in memory, retrieval is done by comparing the query vector to every node vector and calculating cosine similarity.
For small indexes this is ok.
For larger indexes, other DBs like qdrant, weaviate, etc. use more optimized algorithms that are faster and use less memory for larger datasets.
If the simple vector store starts taking up too much memory or is slowing down, its probably time to switch

Hello, thank you for your answers. I have a question. I am using VectorStoreIndex.from_documents , also tried the ones with async=True, however when I am trying to scale my app, the time to create the embeddings are adding up instead of being well parallelized. I am calling them using async fast api and also run the function in a threadpool executor.  Although I am saving the embeddings in memory, the memory is not full- In other words, if i have 2 users calling the VectorStoreIndex, one is waiting for the user. is it normal?
Also I have another question, does this function have a retry mechanism in  case there was an error when creating embeddings (such as 429 rate limit). If yes, where can i find this info and parameters. I tried to go through the function of VectorStoreIndex but couldn't find anything.
Thanks in advance. I hope you can help me.

I was wondering if you found a solution to the problem of running VectorStoreIndex.from_documents with multiple workers via async? I have the same problem with it being slow. @mirakamali


User stories to account command

Added User stories to account commands.

@neha-viswanathan Please resolve conflict. Thanks.

Let's remove the user stories from code and add the long descriptions. We can put the user stories in the doc. Also, I suppose we should stick to the conventional user story format (As a ...). Otherwise, thanks @neha-viswanathan


[Feature] Add temperature to JSON generator

Use with_temperature() to support users setting a temperature when generating JSON. Augment test_json.py to ensure that the mocked model got called with the specified temperature.

Tag @hudson-ai for feedback too

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 59.65%. Comparing base (06cc3f5) to head (2ccec1a).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #784      +/-   ##
==========================================
+ Coverage   55.51%   59.65%   +4.14%
==========================================
  Files          55       55
  Lines        4071     4060      -11
==========================================
+ Hits         2260     2422     +162
+ Misses       1811     1638     -173

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

Looks reasonable to me

At some point, we need a better story for all sampling params (instead of piping them through every function like gen, json, etc.) but we can cross that bridge in the future. Scott had some initial sketches on API design for that here: https://github.com/guidance-ai/guidance/issues/600#issuecomment-1912861646 @slundberg

At some point, we need a better story for all sampling params (instead of piping them through every function like gen, json, etc.) but we can cross that bridge in the future. Scott had some initial sketches on API design for that here: #600 (comment) @slundberg

@Harsha-Nori great point. It would be nice to come to a consensus on the overall API -- would you mind opening an issue to track that as a broader topic?
@slundberg I have some questions/thoughts about the specific idea around using context managers for this (sorry if this discussion belongs in #600 or the hypothetical issue I just asked to be opened):
I'm not yet super familiar with this corner of how the language is implemented, but it's my understanding that guidance context blocks are implemented by gluing an object to the base Model class at __enter__ time and popping that object off at __exit__ time (block and role are the only context managers in the language at the moment?). AFAIK, functions decorated with stateless=True are "compiled" by passing a null grammar to the function being decorated, meaning that we don't have access to an actual Model object when the expressions within the context block are being evaluated.
All of this is to say that I think that the current approach to context blocks can't actually change generation behavior when they are used from inside stateless grammars, only when they are used in a stateful setting. Is that right?
If this is the case, it seems that this inconsistency between stateful and stateless functions is rather opaque and unintuitive from a user standpoint, and it may require a significant rewrite of the approach to context managers to remedy this.

While improved handling of the model params is certainly desirable, I intend to merge this unless there are immediate objections


Feature Request: limit operation to buffer region

Is there any plan on limiting the search and replace to a region instead of the entire buffer?

Selection is used to get which node to search, and can't be used to limit the region. And I think if I use ssr, I will always replace all matches. If I only want to edit few places, I just edit them one by one manaually.
I'll look to add :s/foo/bar/c like confirm and skip options, as well as dot-repeat, quick-fix etc from this reddit comment.

Adding a confirm option would also be helpful.
I was thinking that just adding keymaps to (1) move to the next match in the buffer and (2) apply the restructuring over the current match would probably solve the issue.

@cshuaimin if you're interested, I've implemented a very similar behaviour for a tree sitter based movement and selection plugin where I find the smallest node that fully covers the visual selection. If this is something you'd like to support I can create a PR.

ssr.nvim is already using tsnode:named_descendant_for_range() to find the smallest node that covers the selection (or just cursor position if in normal mode). See https://github.com/cshuaimin/ssr.nvim/blob/main/lua/ssr.lua#L59. You can just select the node then open ssr (though you need to add keymapping in visual mode too). See also #3.
I find if you put the cursor on language keywords it's easier to get correct node. For example in the README video I put cursor on 'function' and 'let'.

As a quick fix you can select the region, hit <leader>yr to create a Yode region, do what you want with ssr and delete the buffer to jump back to your code file ... in theory, not tetsed yet. https://github.com/hoschi/yode-nvim
(disclaimer: I'm the author of Yode)

Hi, it is now possible to get a searchbox.nvim like confirm menu by pressing Enter to replace.


Fix stuck historical sync on legacy deploys without approvals

This PR loosens the validation criteria for the LegacyDeploy fetcher and provides a NCTL test to prove that 1.5+ nodes are not stuck when syncing block with deploy which has no approvals.
Closes https://github.com/casper-network/casper-node/issues/3976

bors try

bors r+


python310Packages.mdformat: 0.7.14 -> 0.7.15

Description of changes
https://mdformat.readthedocs.io/en/stable/users/changelog.html#id1

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

3 packages built:

python310Packages.mdformat
python310Packages.mypy-boto3-builder
python39Packages.mdformat


A lot of compile errors.

I compile with Xcode 6.2, and there are a lot of errors. like:

@objc is only available for class type.
as! should be as.

for me, these look like the code is written in old swift(it changes a lot).

Haha that's hilarious! Old Swift...
Man that's the new Swift! :-)
If only you would have bothered actually reading the bold letters in the README at the top, specifying that you need to compile with Xcode 6.3...

@danielgindi , sorry for my stupid.

@danielgindi , I find the swift blog, sorry again = =


Constant 403 forbidden error.

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE
No matter what I try I will randomly get the 403 forbidden error. It isn't related to the video I'm attempting to download because I can just restart the script at the video it broke at and it will continue on just fine until it seemingly happens again. I've updated and removed the cache, read the FAQ, etc. Nothing I have tried seems to help. Any ideas?

please provide example URL

https://www.youtube.com/watch?v=4qjr7dW84Jg&list=PLmskRLLrTj3e-dJmDeiG8cJhjeCuEzcfm&index=105

Works fine:
> youtube-dl 4qjr7dW84Jg
[youtube] 4qjr7dW84Jg: Downloading webpage
[youtube] 4qjr7dW84Jg: Downloading player df5197e2
[download] Destination: Dax - 'VIBEZ' Freestyle [One Take Video]-4qjr7dW84Jg.f137.mp4
[download]   0.4% of 45.17MiB at 60.85KiB/s ETA 12:37

Works fine:
> youtube-dl 4qjr7dW84Jg
[youtube] 4qjr7dW84Jg: Downloading webpage
[youtube] 4qjr7dW84Jg: Downloading player df5197e2
[download] Destination: Dax - 'VIBEZ' Freestyle [One Take Video]-4qjr7dW84Jg.f137.mp4
[download]   0.4% of 45.17MiB at 60.85KiB/s ETA 12:37

That is part of my problem. It does work. But while going through the playlist it will randomly throw the error and stop. I just restart it where it stopped and it works again. This is only an issue cause for a playlist of 200 videos I have to do it a ton to get through the whole playlist.

I am also experiencing this intermittent 403 error on a long playlist. It just seems to happen at random (7 times out of 110 videos). It's not a dealbreaker, because as stated, one can restart and it will likely be fine on the second attempt. It feels like a networking error that's showing up as a 403, when it isn't.


Update EFI Forecasting Challenge dataset

[ ] Add 2020 Daymet weather data
[ ] Investigate cause of gcc_90 NA w/ gcc_sd non-NA and gcc_sd 0

Daymet version 4 only goes through the end of 2019 (see news article).


Insertion of space before closing non-empty parenthesis does not work

VSCode Version: 1.5.3
OS Version: Win10

Steps to Reproduce:

Configuration: "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": true

Format this code:

import { Component, OnInit } from '@angular/core';

@Component({
    selector: 'x-com',
    templateUrl: './app/x-com.html',
    providers: [XComSer]
})
export class XComponent {
}

There is no space before the closing parenthesis just before the export class XComponent line

@hubbergit thank you for opening this issue. To make sure I understand what you expect to see, you expect to see the following:
import { Component, OnInit } from '@angular/core';

@Component({
    selector: 'x-com',
    templateUrl: './app/x-com.html',
    providers: [XComSer]
} )
export class XComponent {
}

Is that correct?

Yes, I would expect to see a space not only after the opening parenthesis, but also after the closing parenthesis:
import { Component, OnInit } from '@angular/core';
@Component( {
selector: 'x-com',
templateUrl: './app/x-com.html',
providers: [XComSer]
} )
export class XComponent {
}
Von: Wade Anderson<EMAIL_ADDRESS>Gesendet: Dienstag, 11. Oktober 2016 19:03
An: Microsoft/vscode
Cc: hubbergit; Mention
Betreff: Re: [Microsoft/vscode] Insertion of space before closing non-empty parenthesis does not work (#13430)
@hubbergit https://github.com/hubbergit  thank you for opening this issue. To make sure I understand what you expect to see, you expect to see the following:
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'x-com',
templateUrl: './app/x-com.html',
providers: [XComSer]
} )
export class XComponent {
}
Is that correct?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Microsoft/vscode/issues/13430#issuecomment-252979122 , or mute the thread https://github.com/notifications/unsubscribe-auth/ATA78eFVEM_f4uD2FslOI9YyrF4ifOipks5qy8FcgaJpZM4KSo8M .  https://github.com/notifications/beacon/ATA78cFXpbn448knJoSQ1llLNS5B7Xgdks5qy8FcgaJpZM4KSo8M.gif

Yes, I would expect to see a space not only after the opening parenthesis, but also after the closing parenthesis:
import { Component, OnInit } from '@angular/core';

@Component( {
    selector: 'x-com',
    templateUrl: './app/x-com.html',
    providers: [XComSer]
} )
export class XComponent {
}

@hubbergit thank you for the explanation. This is a language service issue. I am moving this to the language service repo.

This issue was moved to Microsoft/TypeScript#11626


810 Get rid of the Modal/lightbox

Get rid of the Modal/lightbox - relating to issue https://github.com/mesosphere/marathon/issues/810
Introducing a PageComponent inherit from the ModelComponent functionality.
The header css still has to be styled.

@aldipower Can we also close this?

Yes, please, thanx.
Am 12.01.2015 um 18:19 schrieb Dario Rexin:

@aldipower https://github.com/aldipower Can we also close this?
—
Reply to this email directly or view it on GitHub
https://github.com/mesosphere/marathon/pull/824#issuecomment-69607078.

@aldipower Are you going to start over with this as well?

Correct. :)
Am 12.01.2015 um 19:58 schrieb Michael Lunøe:

@aldipower https://github.com/aldipower Are you going to start over
with this as well?
—
Reply to this email directly or view it on GitHub
https://github.com/mesosphere/marathon/pull/824#issuecomment-69624172.


Font style can be changed [Style]

What's the style idea?
We need to improve the style of the fonts.
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

please assign this issue to me under gssoc 24

Dear @Rakesh9100 ,
please assign me this issue under gssoc'24
I also felt that the font style has to be changed.
So, please assign me this issue.


Example sauce config leads to "Error: No browsers configured to run"

https://github.com/Polymer/web-component-tester#plugins gives the following example configuration:
module.exports = {
  plugins: {
    sauce: {
      disabled: true,
      browsers: ['chrome', 'firefox']
    }
  },
};

However, using that wct.conf.js results in an error:

[17:32:11] 'test:sauce' errored after 138 ms
[17:32:11] Error: No browsers configured to run

Fixed with https://github.com/Polymer/web-component-tester/pull/254


Add portal version to system information page.

Display both the portal version and patch version on the system information page.

Added in commit a6d8df36d0dcc5aabb31db11bfe7ccad499ca058.


Fix dead link to KTX spec in readme

@Holo-Krzysztof Thanks for pointing out the bad URL!
I've decided to replace it (and another occurrences) with a link to the KTX main page, thus closing this PR.


doc: vitejs + typescript + eslint [+ framework] + prettier

Is your feature request related to a problem? Please describe.
I'm always frustrated when there are so many different solutions to configure this kind of stack. They're never up-to-date and most of them don't cover typescript either.
Describe the solution you'd like
Considering vitejs uses this very stack and is already opinionated, it would be nice to add an example to the doc and encourage this very use case. Vitejs, Typescript, Eslint, and Prettier can be consistent between different framework configurations, then an example can be added on top of the default, eg: plugin:vue/vue3-recommended for varying frameworks vitejs supports out of the box.

I don't think it's Vite role to push for a specific stack (quite the opposite actually).
That's why there are templates (official ones and community ones which are, by definition, opinionated.
Evan (Vue/Vite creator) tweeted this a few weeks ago and even it doesn't make anything official, we might see a Vue CLI powered by Vite in the future (which is basically what you want).

This not within Vite's scope. Vite is specifically non-opinionated about how your format or lint your code.


Support DOLFINx 0.7 and 0.6.

Re-purposing this stale PR to properly move to 0.7 maintaining backward support to 0.6.
We could actually consider dumping 0.6 completely. It'd certainly mean cleaner code. As it is, I kept in the try-except blocks but did them the other way around. I.e. try to do it the 0.7 way first, and fallback on the 0.6 API.
Solves

#10
#13

Note for reviewers
My comment down here 👇  is now moot, because DOLFINx 0.7 is what we get from pip on the CI.

I'm having an unrelated issue testing this with @janoschpreuss 's dxss fenics_dev branch so converting this to draft for now.

add an extra key to Actions workflow job matrix to have tests run against both v0.6 and v0.7 while we're supporting both, but if we're anticipating dropping support in the near future might not be worth effort.

Yeah, nice idea. What do you think @krishnakumarg1984 should we "officially" support 0.6 (and therefore put it in the CI?)

I'd slightly prefer just supporting 0.7 alone.


Authentication JWT generation

Sample:
header = {
  "alg": "HS256",
  "typ": "JWT"
}

payload = {
  "exp":<PHONE_NUMBER>000,
  "email"<EMAIL_ADDRESS>}

It should be able to read the sign secret from system environment variable RALIBRARY_JWT_KEY.
Example:
RALIBRARY_JWT_KEY = "ralibrary"

Then use "ralibrary" to sign the header and payload, generates a JWT.
The expected result JWT would be: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODMyMDAwMDAwMDAsImVtYWlsIjoicGF0cmljay56aG9uZ0BleGFtcGxlLmNvbSJ9.jIBK2wO6qtoAdT4v5bGaPP_ytZfIMqW_4Ofh9UTLqj4

Complete implementation of domain authentication module.

2 days @LuciferQiLiao


Load from remote URL gives an error, no code is loaded

When I try to load an OpenJSCAD file from a remote URL I get the following error:
"The JSCAD script must contain a function main() which returns one or more CSG or CAG solids."
The same issue occurs with this example provided in the user guide, and all other examples I've tried:
http://openjscad.org/#http://openjscad.org/examples/slices/tor.jscad
I've tried this in Chrome, Safari, and Firefox on Max OS X.
This may be the same issue as #130 ?
Thank you.

@nataliefreed Thanks for reporting this. I'll try some examples using the latest DEV release, and let you know.

I'm not sure what's changed, but it's working for me now.

@nataliefreed If the current script is saved locally (CTRL-S) then remote URLs are not working. You may have hit this issue. I'm working on a fix to this issue now.

Aha! I think that is what I ran into. Thank you for working on it!

Closing as Release 0.5.2 provided the fix.


How to populate one dropdwon upon selection of value in another dropdown?

Hi,
I have a select dropdown that must be populated on the selection of another dropdown. I use FormFieldSelect, how to detect the change of value and populate the other dropdown accordingly?
               c.Form(form_fields=[
                        FormFieldSelect(
                            name=f"Component",
                            title="Component",
                            options=str_list_to_select_options_list('component', Component.fetch_values()),
                            required=True
                        ),
                        FormFieldSelect(
                            name=f"SubComponent",
                            title="SubComponent",
                            options=list_of_subcomponents(selected_component),
                            required=True
                        ),
                    ],
                    method="GET",
                    submit_url="."
                ),

How should we populate a text area, at the bottom of the page (but is not part of the form) with the results of the Submit call?
Thanks and regards,
Paddy

@tvsathish,
Great question! I'll tinker a bit with this and see if I can come up with a solution :).

@sydney-runkle, were you able to come up with a solution? Thanks!

I would propose that FormFieldSelect (and similarly for FormFieldSelectSearch) needs an additional field, e.g., set_initial_value, which is a dict with the URL of the endpoint that sets the initial value of one field based on the selection of another field's value and the query parameters, i.e., the names of the other fields affecting the field's value.
For instance, assume we have a form model with two fields x and y where the value of x determines the value of y (expressed via the additional field set_initial_value).
class SelectForm(BaseModel):
    x: ToolEnum
    y: ToolEnum = Field(json_schema_extra={'set_initial_value': {'url': '/api/forms/set_initial_value_y', 'query': {'x': None}}})

The logic that when x changes, both triggering /api/forms/set_initial_value_y?x=new_value_for_x (returning a str, or a SelectOption if y is of type FormFieldSelectSearch) and subsequently updating the initial value for field y happen in the function https://github.com/pydantic/FastUI/blob/e8b12f5975d168d5904e22b64c26cdd707c04817/src/npm-fastui/src/components/form.tsx#L96
Any views on this proposal? Happy to make a PR.


show text

hi how can show the text down the barcode
thanks

This is an awesome plugin that took no time to implement, and I'll be giving it a test later to see if it works as expected (in terms of the scanners reading the barcode properly, not so much the barcode itself not being correct).
I do have a question, though: Is there a way to change the width of the barcode?
I'm using this in an application developed to be used solely from a mobile phone. I have quite a high-resolution screen (1440px wide), but even for the 720px screen, it would be nice to widen it so that it remains clear and scanner-readable.
For the time being, I'm just resizing the image to fit 95% of the screen, but if there is a way to do it in code so it renders sharply, that'd be better.
Thanks!

I updated the script to allow for the text to be printed with the image, among other features
Check it out:
https://github.com/MFlor/php-barcode

+1 on this.
couln't make it work with @MauricioCr, @MFlor  solutions...


The User will be able to slide their finger over the touch panels.

This differs from the OnPointerPressed/OnPointerReleased method currently used.  In this case, movement of the finger is done during the HOLD_STEADY state.

Currently the HOLD_STEADY state is done on a per-button basis.  However, in order to the finger sliding across different buttons, the HOLD_STEADY state will need to cover the entire touch panel.


agentlame gets it, something is clearly wrong, need to investigate

Submitted by: creesch
From channel: #toolbox
At 2015-05-05 15:10:45 UTC

Grrrr... and this is why I was annoyed.


Failed to connect: [Errno 110] Connect call failed

same error even after updating to the latest version :( do you have an idea what could be the reason?
Logger: pymodbus.client.asynchronous.async_io
Source: /usr/local/lib/python3.10/site-packages/pymodbus/client/asynchronous/async_io/__init__.py:307
First occurred: 04:46:04 (102 occurrences)
Last logged: 04:49:24

Failed to connect: [Errno 110] Connect call failed ('<IP_ADDRESS>', 502)

and
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.komfovent_c5
Source: custom_components/komfovent_c5/api/client.py:101
Integration: Komfovent C5 (documentation, issues)
First occurred: 05:01:50 (1 occurrences)
Last logged: 05:01:50

Unexpected error fetching state data: Modbus Error: [Connection] Connection lost during request
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 164, in _async_update_data
    return await self.update_method()
  File "/config/custom_components/komfovent_c5/__init__.py", line 66, in __fetch_data
    return await KomfoventState.read_all(self.client, self.settings_state)
  File "/config/custom_components/komfovent_c5/__init__.py", line 54, in read_all
    functions=await Functions(client).read_all(),
  File "/config/custom_components/komfovent_c5/api/functions.py", line 39, in read_all
    regs = await self._client.read_many_u16(
  File "/config/custom_components/komfovent_c5/api/client.py", line 101, in read_many_u16
    await protocol.read_holding_registers(address, count=count)
  File "/usr/local/lib/python3.10/site-packages/pymodbus/client/asynchronous/async_io/__init__.py", line 35, in execute
  File "/usr/local/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
    return fut.result()
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Connection lost during request

absolutely safe!!

Newest Version this error, what ca i do?
`Logger: homeassistant.setup
Source: setup.py:162
First occurred: 04:00:51 (1 occurrences)
Last logged: 04:00:51
Setup failed for custom integration komfovent_c5: Unable to import component: No module named 'pymodbus.client.asynchronous'`

Newest Version this error, what ca i do?
`Logger: homeassistant.setup
Source: setup.py:162
First occurred: 04:00:51 (1 occurrences)
Last logged: 04:00:51
Setup failed for custom integration komfovent_c5: Unable to import component: No module named 'pymodbus.client.asynchronous'`

Isn't that just https://github.com/siku2/hass-komfovent-c5/issues/3#issuecomment-1096011150 all over again?

Have now hass-komfovent-c5 completely removed from HACS and then added again, now the configuration flow can no longer be loaded. I've tried it several times now... it doesn't work

.


Generate Draco and Time Dynamic Point Cloud tilesets

Generates sample tilesets for https://github.com/AnalyticalGraphicsInc/cesium/pull/6721 and https://github.com/AnalyticalGraphicsInc/cesium/pull/6559

@ggetz this is finally ready

Thanks @lilleyse!


Add directories utils and allocators in src/generators

Files in utils are mostly tested.
Files in allocators are incomplete place-holders.

They aren't used by the actual generators yet.
This resolves #16 .

@runarberg Thank you very much for the advices.


cassandra: use the correct keyword

Use the correct keywords

This change is

Looks like this did not work as expected :D
Jokes aside, I have already included a pylama-happiness commit in #173.

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Reach out to janelia.org re: preprints

ask what they want, after we touch base on current preprint situation

Tricky things: There can be multiple preprints, multiple papers, or both; also title matching is imperfect, which means we will probably need to add fuzzy matching with a threshold.
A DOI with three preprints (one in the journal itself):
10.7554/elife.90024.3

We will make jrc_preprint a list and they can clean it up as they wish

We could provide potentially provide a best guess

Another thing to ask them: who will handle "is version of" and "is same as"? For example, this paper would show up on Janelia.org several times, under slightly different DOIs: 10.7554/elife.92495


[5.9][Tests] Enable backtracing for crashing tests.

Enable the new Swift backtracer, which should result in backtraces appearing for tests that crash.
rdar://109707611

Explanation: Turns on the new Swift on-crash backtracer, for macOS builds only, for lit tests.
Risk: Low. Only affects tests, and only those that crash. We've been running with this enabled on main for while now.
Original PR: https://github.com/apple/swift/pull/64569
Reviewed by: @ktoso
Resolves: rdar://109707611
Tests: There are tests that test the backtracer, but this is really about getting backtraces from things in CI.

@swift-ci Please test

Hmmm. I think that might also require that we merge https://github.com/apple/swift/pull/64639 first.


btn has rounded corners btn-sm doesn't

Current Behavior

<div class="flex justify-between bg-red-700">
   <button class="btn variant-filled-primary">Book Now</button>
   <button class="btn-sm variant-filled-primary">Chat</button>
</div>

Just want to check that that is correct
Expected Behavior
No response
Steps To Reproduce
No response
Link to Reproduction / Stackblitz
No response
More Information
No response

As stated here https://www.skeleton.dev/elements/buttons
As stated here, .btn is the base style. You're just forgot the button class on your chat button.

// Missing btn class
<button class="btn-sm variant-filled-primary">Chat</button>

// btn class added will result in your expected result
<button class="btn btn-sm variant-filled-primary">Chat</button>


Inductive proximity sensor output to Zmax should go through a 10K to 15K resistor

As stated in part 22 of the instructions (https://github.com/dherrendoerfer/The-Robin-3D-Printer-Project/blob/master/STL-Files/Bad-Robin/Build-Instructions.md) the level probe (Inductive proximity sensor) signal output should be connected to the z-max pin directly.
However, this is dangerous:

The RAMPS board directly connects the z-max input pin with the uC without further protection.
The level probe sensor will deliver 12v as a active high signal, which will destroy the internal protection diode.

See also: https://www.avrfreaks.net/forum/12-volt-input-sigal-atmel-pin-make-logic-high
The signal output of the level probe sensor (usually the black line) should go to a 10K resistor, the other end of the 10K resistor is then connected to the z-max input of the RAMPS board.
This means, instead of
Connect the home switches

    X home switch to Xmin pin.
    Y home switch to Ymin pin.
    Z level probe (output) to Zmax

the description should be this:
Connect the home switches.

    X home switch to Xmin pin.
    Y home switch to Ymin pin.
    Z level probe (output, black line) to Zmax via 10K resistor

Additionally, the BOM should mention the 10K resistor. BTW: The home switches are also not mentioned in the BOM.

I have ordered exactly an "Inductive proximity switch PNP, NO(normally open)". The sensor, which I have received behaves exactly like a PNP senser. However:

I have to add an extra 10K resistor to protect the ATMega
I have to reconfigure the firmware
I have to add an external pull-down resistor

In other words, the BOM is wrong: Your 3D printer requires a NPN version of this senser. If it is a NPN version, then indeed no further resistor is required. However, the PNP senser, connected in the way as described in your video, will destroy the ATMega board (unless the 10K resistor is used).

I fixed the BOM, I (in fact) did use a NPN, just copied it wrong.
So: If you have a PNP -> The above is the correct way to make it work .
Thanks!

:+1:

Just a small note:
for my PNP NO senser, i have a 100K pull-down and a 10K resistor in the dataline itself.
For this, I had to change the configuration (Configuration.h) like this:
#define ENDSTOP_PULLUP_Z_MIN false
#define ENDSTOP_Z_MIN_INVERTING false
...
#define ENDSTOP_Z_BACK_ON_HOME 1


Hi - can you update version in APP Central too?

Subj :)
ASUSTOR App Central still has 1.2.115 version https://www.asustor.com/app_central/app_detail?id=1417
Can you update it to the latest? Thank you!

done


Update troubleshooting page to deal with: Failed to connect to raw.githubusercontent.com port 443

https://github.com/oppia/oppia/discussions/16937
Solutions:

changing DNS address to <IP_ADDRESS>
change the network/WiFi

Hi @gp201, can I be assigned to this?


UncertainComplex.nonzero inconsistent with UncertainReal.nonzero

The UncertainComplex.__nonzero__ method returns a value that is inconsistent with UncertainReal.__nonzero__
For example,
>>> from GTC import ureal, ucomplex
>>> ur = ureal(0, 0)
>>> bool(ur)
False
>>> uc = ucomplex(0j, 0)
>>> bool(uc)
True

Based on the TODO comment in the UncertainReal.__nonzero__ method I'm not sure what the intended behaviour is for what bool(UN) should return, but I think that the returned value should be consistent for UncertainComplex and UncertainReal

The implementation for UncertainComplex was a mistake (== instead of !=), which is now corrected.


editVersion mismatch in RecordOutputBlobPath

Digging into an error that I sometimes (but not always) see popping up in the integration test. It shows up as TRANSIENT error in the LLv2 Mill. The source appears to be GcpSpannerComputationsDatabaseTransactor. Adding more logging gives the following:
wfa.measurement.internal.duchy.Computations RecordOutputBlobPath
WARNING: [DefaultDispatcher-worker-2 @coroutine#3852] gRPC error: UNKNOWN
java.lang.IllegalStateException: Failed to update because of editVersion mismatch.
  Token's editVersion:<PHONE_NUMBER>075 (2022-09-01T20:07:24.075Z)
  Computations table's UpdateTime:<PHONE_NUMBER>260 (2022-09-01T20:07:26.260354Z)
  Difference: PT2.185354S
	at org.wfanet.measurement.duchy.deploy.gcloud.spanner.computation.GcpSpannerComputationsDatabaseTransactor$runIfTokenFromLastUpdate$2.invokeSuspend(GcpSpannerComputationsDatabaseTransactor.kt:690)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

This might not be a bug.
By design, the worker who owns the computation can update it only if the computation hasn't been modified by someone else.
For example, if the worker's lock on this computation expires, the computation could be claimed by another worker and gets updated, or maybe the computation is marked FAILED by the herald. Once a computation is updated by someone else, the original worker who claimed it won't be able to update it again.
Such failure is transient and this worker will simply give up current attempt.

Disclaimer: this logic is not designed by me.

This might not be a bug.
By design, the worker who owns the computation can update it only if the computation hasn't been modified by someone else.
For example, if the worker's lock on this computation expires, the computation could be claimed by another worker and gets updated, or maybe the computation is marked FAILED by the herald. Once a computation is updated by someone else, the original worker who claimed it won't be able to update it again.
Such failure is transient and this worker will simply give up current attempt.

Thank you Yao for the explanation.
I don't really get "another worker". I guess the Computation we discussed about here is the local Computation, which will only be accessed by the single worker. Do you mean "another thread" of the worker?

A worker means a pod of the mill.
Oh, if this log is from the integrationTest, then it is not due to a mill losing its claim to a computation, since we only have 1 mill in each inProcessDuchy.
Other scenario that can cause this error is in the AsyncComputationControlService, where the non-aggregators send their initial sketches to the aggregator at the same time, handlerA reads the token and then handlerB read the same token, handlerA then writes the path and causes the updateTime to change, when handlerB tries to write, it would fail.
There aren't many cases in which the updateTime of the computation can change during someone else is trying to update it.


Flashing "Logged out" state while logged in

By the way - AMAZING work.  I'm sure I'm just not using this right.
I just put the <Accounts.ui.LoginForm /> component into my code at the bottom of my page (for now).
I've noticed while I'm logged in every time the page gets rendered the <Accounts.ui.LoginForm /> gets rendered as if I was logged out (for a few milliseconds) and then snaps into the correct "Logged-in" state displaying a logout button.
Is there a better way to use this?  Is there a way to avoid this?  perhaps there is a way to check for this before drawing the initial state?  Maybe that's not what most people want?
Any thoughts on this or tips would be appreciated.

Old question -- not sure if this might still be helpful -- but I had this same behavior because I had the <Accounts.ui.LoginForm /> component render in Meteor.startup() and the asynchronous loading of the users collection on page refresh caused the logout state to appear first. I solved this problem by not rendering <Accounts.ui.LoginForm /> via a ternary condition in my application and by using a router like FlowRouter to separate login and user profile logic into different pages instead.

Closing due to inactivity @JeremyIglehart @alan-ren
Open new issue if it still persists.


Multiple status stages which map to "closed"

As per @amirozer
For example based on the current implementation which is just a simple, linear workflow:
inbox [open] | todo [open] | doing [open]| blocked [stalled] | done [closed] | invalid [closed] | moved [closed]

@amirozer what do you think of above? I need to model it on the server to support communications. I think every state, represented by the status enum values, will have an additional boolean that indicates if the status is either open or closed.

I've implemented this as a constant on the server, used in business logic that needs to know if a status represented a closed state. We can revisit when needed.


feat(@vtmn/vue): add types and props

Changes description

Add type and isDisabled props and better Typescript definition with types.
Context

Checklist

[x] Make sure you are requesting to pull a topic/feature/bugfix branch. Please, don't request directly from your main!
[x] Check commits & PR names matches our requested structure. It must follow the https://www.conventionalcommits.org pattern.
[x] Check your code additions will fail neither code linting checks.
[x] I have reviewed the submitted code.
[x] I have tested on related showcases.
[x] If it includes design changes, please ask for a review with a core team designer.

Does this introduce a breaking change?

No

Other information

We will still need to update VtmnButton component with VtmnIcon when this component will be ready.

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


Map CDXGEN_DEBUG_MODE to CycloneDX Maven Plugin verbose

I am currently debugging an issue with either cdxgen or the CycloneDX Maven Plugin.
To collect more information I set CDXGEN_DEBUG_MODE expecting it would somehow propagate to CycloneDX Maven Plugin's debug/verbose capabilities. This does not appear to be the case.
$ export CDXGEN_DEBUG_MODE=true
$ export CDX_MAVEN_INCLUDE_TEST_SCOPE=false
$ cdxgen -o target/sbom.json --required-only --spec-version 1.4
Executing '/Applications/ApacheGroup/apache-maven-3.9.3/bin/mvn org.cyclonedx:cyclonedx-maven-plugin:2.7.11:makeAggregateBom -DoutputName=bom -q' in /Users/marcelstoer/Data/[...]
[...]

Shouldn't CDXGEN_DEBUG_MODE=true lead to -Dverbose=true on the Maven plugin side?
Oh, just realized that the topic is probably bigger than this one ticket as you're invoking the Maven plugin with -q. Hence, we wouldn't even see its verbosse output if it were called with -Dverbose=true.

🙈 Those who fail to read the docs properly are forced to read source code until they get it... Thank you!
I had set export CDXGEN_DEBUG_MODE=true instead of export CDXGEN_DEBUG_MODE=debug.

@marcelstoer, did you find the underlying issue with the maven plugin? Are there any issues related to cdxgen?

Not when I looked at it last time. Thanks for asking. I had to abandon my analysis to work on something else. I will need to revisit it later. Either way, I'll close this issue.


python310Packages.policyuniverse: <IP_ADDRESS>20426 -> <IP_ADDRESS>20523

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.policyuniverse is: "Parse and Process AWS IAM Policies, Statements, ARNs and wildcards"
meta.homepage for python310Packages.policyuniverse is: "https://github.com/Netflix-Skunkworks/policyuniverse"
meta.changelog for python310Packages.policyuniverse is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found <IP_ADDRESS>20523 with grep in /nix/store/2h8m4k7mqlijjwv3kc08zqwzfrb297s5-python3.10-policyuniverse-<IP_ADDRESS>20523
found <IP_ADDRESS>20523 in filename of file in /nix/store/2h8m4k7mqlijjwv3kc08zqwzfrb297s5-python3.10-policyuniverse-<IP_ADDRESS>20523

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
checkov
python310Packages.policyuniverse
python39Packages.policyuniverse

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2h8m4k7mqlijjwv3kc08zqwzfrb297s5-python3.10-policyuniverse-<IP_ADDRESS>20523 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.policyuniverse https://github.com/r-ryantm/nixpkgs/archive/ff6ad139da51b16ebc8bdb4f55c1a2e69f6fa237.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2h8m4k7mqlijjwv3kc08zqwzfrb297s5-python3.10-policyuniverse-<IP_ADDRESS>20523
ls -la /nix/store/2h8m4k7mqlijjwv3kc08zqwzfrb297s5-python3.10-policyuniverse-<IP_ADDRESS>20523/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

checkov
python310Packages.policyuniverse
python39Packages.policyuniverse

Maintainer pings
cc @fabaff for testing.

@ofborg eval


Memory leak in tls_process_client_certificate OpenSSL 1.1.1l

We are seeing a memory leak on OpenSSL 1.1.1l when doing mTLS and verifying the client.  We are calling SSL_shutdown() and SSL_free() to free up the SSL structure.  Is there anything else we can do to free up the memory?
Here is the output from Valgrind:
==12349== 29,916,364 (1,661,088 direct, 28,255,276 indirect) bytes in 4,719 blocks are definitely lost in loss record 1,809 of 1,811
==12349==    at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==12349==    by 0x61DC138: CRYPTO_zalloc (mem.c:230)
==12349==    by 0x6102828: asn1_item_embed_new (tasn_new.c:122)
==12349==    by 0x61003FA: asn1_item_embed_d2i (tasn_dec.c:325)
==12349==    by 0x6100F7C: ASN1_item_ex_d2i (tasn_dec.c:124)
==12349==    by 0x6100FEA: ASN1_item_d2i (tasn_dec.c:114)
==12349==    by 0x5E30CFE: tls_process_client_certificate (statem_srvr.c:3642)
==12349==    by 0x5E1EC42: read_state_machine (statem.c:636)
==12349==    by 0x5E1EC42: state_machine.part.5 (statem.c:434)
==12349==    by 0x5E0B0B3: SSL_do_handshake (ssl_lib.c:3714)

@mattcaswell is there an API I can use to get the reference count.  If not, worst case I can write a gdb macro to watch when the ref count is >0 when I do a SSL_free().

The reference count is internal and not exposed; you'll need to (pull in the private headers and) write the gdb macro


Integration with Timber

This is an implementation of Timber.Tree that sends the messages to the chrome developer console when logging with Timber.*
So after doing Timber.plant(new StethoTree()) we will have something like this:

This could be useful to avoid flakiness of Android Studio's logcat viewer (sometimes it just ignores the logs for a while), while still keeping a live filtering functionality (which for example is difficult in solutions like pidcat).

This is super useful thanks!  My only comment is a fairly nit picky one, though it should be easy to address in your patch.  Looks good otherwise.

Good to go, I annotated CLog#writeToConsole to have the peerManager as not null, since it's expected to be so in the method implementation.
I'm wondering if it would be a good idea to move ConsolePeerManager#getInstanceOrNull inside the writeToConsole method tho, instead of checking for null everywhere and passing it afterwards.

Looks good to me.  I do agree that we probably should just offer a convenience form of CLog#writeToConsole which assumes you mean ConsolePeerManager.   I'd be fine with that change in this diff or punting on it, doesn't really matter too much.
Take a look through the final nits and update as you see fit then squash into a single commit and force push.  I'll merge when you're ready.

Squashed and added the convenience method to CLog#writeToConsole, not sure why the build can't find the android-test-plugin honestly.

Apparently Travis CI has been having problems.
https://twitter.com/traviscistatus/status/592902357144498176

Looks good.  I'll kick Travis in a little bit and merge once it passes.


Map unable to fetch item location and app crashed when I clicked on the menu button

###Discription
I clicked on the real time location to select items so that the map can display their locations. But it displayed a network error. I then went ahead to click the menu button on the map and the app crashed.
Expected behaviour
I expected that when I selected the items and clicked on the okay button, the map was supposed to display the locations of the items. However, when I clicked on the menu button, I expected to see an option and not for the app to crash
Reproducing the bug
After signing up and logging into the app

Click on the menu ( there horizontal lines) by. the top left side of the app.
Click on travel ( three options will be displayed)
Click on "real time locator" (the map view will open up)
Click on the icon with a Check mark beside the menu by the top right side of the app.(Items listed will be displayed)
Select any of the items by checking the box/boxes.
Click on select, you will see the network error "We are sorry we couldn't connect"
Click on the menu icon by the top right side of the app and note the crash.

Reproducing the bug
https://youtu.be/eDOnjmhaRqA
Device used: Tecno Spark K7
Operating system: Android 7.0

It started working perfectly this morning when I tried it again. I can say for now that the bug is ineffective.

Should we close this then @cckole ?

Yea. Sure you can close it. I've tried it several times and its working fine. That is a magic fix I guess. Smiles.


Create 0000-01-02-JiGutiez.md

I am creating a pull request

Can't commit cause a reviewer is needed. Who do I get one?


npm run dev报错

不知道是不是npm install的原因

Hello! Please use our forum or Gitter for questions like this. The repo issue list is strictly for bug reports and feature requests, as specified in the contributing guidelines. Thanks.

I met the same question on macOS.It same like that Babel did not work.Still looking for the method to fix.

@knownothingsnow and @zhangguixu please open an issue on https://github.com/vuejs-templates/webpack or on any other official template if you use one.


Add script to allow quickly update number of instances

This is a fast and easy way to update number of instances for the service deployed to app engine. Works with manual-scaling types services.

This change is

@weiminyu  I tested it in sandbox successfully


Use a better name for the sidecar process

Proposing datadog-ipc-helper. "spawned_worker" is not very useful for an user.

LGTM


Store multiple sizes of icons

We can shave some load time and some bandwidth (at the expense of storage size) by downscaling each device icon and then serving the most size appropriate version.
We should probably have:

24px
48px
96px
128px
256px
512px (current)

Another option is to fetch them from S3 and downscale them on demand in the frontend server, then let CloudFront take care of caching. Maybe cheaper than storing the downscaled version, at the cost of higher CPU usage if the CloudFront cache is empty.


Older computers/OS don't have correct font

Working on a Windows 7 machine and it didn't have the correct fonts on the opening page.

One possible solution is using imported fonts that are held in the project so that the font information is stored in the project and should work on older machines as well. Would need to find a font (or fonts) to do this


Horizontal scroll on trackpad

Horizontal swipe is very buggy, mac pro 15 inch retina, chrome, firefox and safari.
http://owlcarousel.owlgraphic.com/demos/mousewheel.html

Here is a working bugfix which just enables one mousewheel action per second.
var timestamp_mousewheel = 0;  //Define it not in a function should
owl.on("mousewheel", ".owl-stage", function(a) {
var d = new Date();
if((d.getTime() - timestamp_mousewheel) > 1000){ //minimum time difference
        timestamp_mousewheel = d.getTime();

    console.log(timestamp_mousewheel);
    console.log(a.deltaY);

    if (a.deltaY < 0) gR.trigger("next.owl"); else gR.trigger("prev.owl");
    a.preventDefault();

    }

});


Add str for Section and Check

This gives cleaner serialization data.

In what case is it "cleaner" and why don't you use the attributes directly in your serialization.
I personally prefer the <FontBakeryCheck:com.google.fonts/check/064> returned by __repr__, because it tells us what kind of thing we have. Same for sections.

I'm using the serialized data stream, where the serialized, not the actual objects get put in. So when I want to print the section name, I print "<Section: Basic checks>" instead of "Basic checks". Same for the check ID.

I personally prefer the [...]

The __repr__ won't change :) __str__ is for readability.

I'm using the serialized data stream

Which data stream is that? Sorry I'm a bit lost here.
I just had a quick look into the code, there are some cases where str(section) and str(check) are used. The question is whether to change these cases into section.__repr__ and check.__repr__, but also maybe it all continues to work just fine. Also, if these cases would be changed, would it counter what you actually want to do?

I'm basically using what comes in at https://github.com/googlefonts/fontbakery/blob/master/Lib/fontbakery/reporters/ghmarkdown.py#L61. At that point, everything is a plain old object and looks like this:
{
    "result": Counter({"PASS": 80, "WARN": 25, "SKIP": 9, "FAIL": 8, "INFO": 2}),
    "sections": [
        {
            "checks": [
                {
                    "description": "Run ufolint on UFO source directory.",
                    "filename": "C:\\...\\something.ufo",
                    "key": (
                        "<Section: Basic checks>",
                        "<FontBakeryCheck:com.daltonmaag/check/ufolint>",
                        (("font", 0),),
                    ),
                    "logs": [
                        {
                            "message": "ufolint passed the UFO source.",
                            "status": "PASS",
                            "traceback": None,
                        }
                    ],
                    "result": "PASS",
                },
                [...]
            ],
            "key": ("<Section: Basic checks>", None, None),
            "result": Counter({"PASS": 9, "WARN": 3}),
        },
        [...]

The question is whether to change these cases into section.repr and check.repr, but also maybe it all continues to work just fine. Also, if these cases would be changed, would it counter what you actually want to do?

Having a look...

A quick search for str(section) and str(check) turns up code that turns the section/check str into a key, which should be fine.

Sgtm

@felipesanches what do you think?

looks good to me.

I think the problem here is that the serialized stream was made with only the initial terminal and maybe markdown reporters in mind which had no need to print section names to the user. I suppose we can revert the change and add a str()ized "section" attribute to the "check" dict.

Well, the __str__ behavior we have now is OK. So, we shouldn't revert. But where str(section) and str(check) go into key we should use __repr__ instead.

… maybe markdown reporters

Markdown came later.

add a str()ized "section" attribute to the "check" dict.

Shouldn't it rather just be a name key in the section dict? Changed your example:
{
    "result": Counter({"PASS": 80, "WARN": 25, "SKIP": 9, "FAIL": 8, "INFO": 2}),
    "sections": [
        {
            "checks":  [...]
            "key": ("<Section: Basic checks>", None, None),
            "name": "Basic checks",
            "result": Counter({"PASS": 9, "WARN": 3}),
        },
        [...]

Hm, yeah, that could work.


use golang regexp to allow variable usage in allowedEndpoint

This PR is changing the attribute Endpoint in the struct AllowedEndpoint from string to regexp.Regexp.
It's a way to be able to write endpoint with variable like /api/v1/label/<label_name>/values.
Of course moving from a string to regexp.Regexp allows more than just the usage of variable. But I think it's more interesting like that. It opens the possibility to write something like that /api/v1/label(s)?/*
Signed-off-by: Augustin Husson<EMAIL_ADDRESS>

@juliusv should be good now


bazel query 'kind(maven_jar, deps(//src/...))' returns emptyset

Set the bazel repository to use a maven_jar with guava, and here the following results: it is confusing because we don't know the kind of rule we expect. Using the bind rules actually return results but that is a bit confusing. Either we should document the behavior (and what is the type of @guava-repo//jar:jar?)
$ bazel query 'kind(maven_jar, deps(//src/...))'
INFO: Empty results
$ bazel query 'deps(//src/...)' | grep guava
//third_party:guava/guava-18.0.jar
//third_party:guava/LICENSE
//third_party:guava-testlib
//third_party:guava/guava-testlib.jar
//external:guava
@guava-repo//jar:jar
@guava-repo//jar:guava-18.0.jar
$ bazel query 'kind(maven_jar, //external:*)'
//external:guava-repo

For reference, @guava-repo//jar:jar is a java_import.  I'll look into improving/documenting though.

What is guava-18.0.jar ?
$ bazel query 'kind(java_*, deps(//external:guava))'
@guava-repo//jar:jar
$ bazel query 'deps(//external:guava)' | grep guava
//external:guava
@guava-repo//jar:jar
@guava-repo//jar:guava-18.0.jar

It's a file.

Follow up: I don't think it makes sense for maven_jar, local_repository, etc. to be dependencies of a build.  It's a bit like saying "your project directory" is a dependency of //foo:bar.  I could special-case Bazel to consider the repository a dependency of any rule in the repository, but for now I'm just going to update the query docs.
For your question, you can always use --output label_kind to find out what type a dep is.

I never said it wasn't making sense the way it is now but the documentation should explain what to expect there :)


questions

Hello, how do you set up this navigation draver?

Have you watch the description in the YouTube channel??


add failing test for issue 432

Purpose (TL;DR)
This shows a failing test for the scenario described in #432

As mentioned in https://github.com/sinonjs/fake-timers/issues/432#issuecomment-1159173536, I think dealing with the DOM APIs falls a bit outside the core of what fake-timers should try to do, especially given that there is an easy workaround.
Thanks anyway for taking the time to document what was bugging you. That makes looking into it much nicer.


Hashmap benchmark compilation error

benchmark/libponyrt/ds/hash.cc compilation fails after PR #2669 on 32 bit systems:
benchmark/libponyrt/ds/hash.cc:51:36: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
     testmap_init(&_map, st.range(0));
                                    ^
benchmark/libponyrt/ds/hash.cc:53:29: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
     put_elements(st.range(1));
                             ^
benchmark/libponyrt/ds/hash.cc: In member function ‘virtual void HashMapBench_HashDestroy$_Benchmark::BenchmarkCase(benchmark::State&)’:
benchmark/libponyrt/ds/hash.cc:120:36: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
     testmap_init(&_map, st.range(0));
                                    ^
benchmark/libponyrt/ds/hash.cc:133:34: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
   testmap_init(&_map, st.range(0));
                                  ^
benchmark/libponyrt/ds/hash.cc: In member function ‘virtual void HashMapBench_HashResize$_Benchmark::BenchmarkCase(benchmark::State&)’:
benchmark/libponyrt/ds/hash.cc:151:36: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
     testmap_init(&_map, st.range(0));
                                    ^
benchmark/libponyrt/ds/hash.cc: In member function ‘virtual void HashMapBench_HashPut_Benchmark::BenchmarkCase(benchmark::State&)’:
benchmark/libponyrt/ds/hash.cc:198:15: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
     curr->key = i & st.range(0);
               ^
benchmark/libponyrt/ds/hash.cc: In member function ‘virtual void HashMapBench_HashPutNew_Benchmark::BenchmarkCase(benchmark::State&)’:
benchmark/libponyrt/ds/hash.cc:236:15: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
     curr->key = i & st.range(0);
               ^
benchmark/libponyrt/ds/hash.cc: In member function ‘virtual void HashMapBench_HashRemove$__Benchmark::BenchmarkCase(benchmark::State&)’:
benchmark/libponyrt/ds/hash.cc:268:78: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
     (hash_elem_t**)ponyint_pool_alloc_size(st.range(2) * sizeof(hash_elem_t*));
                                                                              ^
benchmark/libponyrt/ds/hash.cc:290:40: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
   ponyint_pool_free_size(st.range(2), a);
                                        ^
benchmark/libponyrt/ds/hash.cc: In member function ‘virtual void HashMapBench_HashSearch_Benchmark::BenchmarkCase(benchmark::State&)’:
benchmark/libponyrt/ds/hash.cc:318:12: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
       a[i] = rand() + st.range(1);
            ^
benchmark/libponyrt/ds/hash.cc: In member function ‘virtual void HashMapBench_HashSearchDeletes_Benchmark::BenchmarkCase(benchmark::State&)’:
benchmark/libponyrt/ds/hash.cc:339:43: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
   delete_elements(st.range(2), st.range(1));
                                           ^
benchmark/libponyrt/ds/hash.cc:339:43: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
benchmark/libponyrt/ds/hash.cc:357:13: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
     e2->key = st.range(1) - 1;
             ^
benchmark/libponyrt/ds/hash.cc:387:12: error: conversion to ‘size_t {aka unsigned int}’ from ‘int64_t {aka long long int}’ may alter its value [-Werror=conversion]
       a[i] = rand() + st.range(1);
            ^
cc1plus: all warnings being treated as errors

I think this is happening because benchmark::State::range returns int64_t on v1.4.0, but returned int before and test uses size_t a lot.

The same issue is present in benchmark/libponyrt/mem/heap.cc and benchmark/libponyrt/mem/pool.cc


Fix/space umlauts

Fixes #695

 #695 Fix: check for umlauts in space name before project creation


remove sliding bar below graph canvas

remove sliding bar below graph canvas

depends on #73

overwritten by #73


MXChip Firmware does not allow IoT connection string

Hi,
the link to https://aka.ms/devkit/prod/getstarted/latest gets a non-working Firmware (devkit-getstarted-1.6.5.bin) that does not allow to add the Connection string.

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

ID: 0cf9b53c-0438-f23c-fd2e-d57481d57e85
Version Independent ID: f01afd66-d093-ac44-2b20-df225530b39e
Content: Connect IoT DevKit AZ3166 to an Azure IoT Hub
Content Source: articles/iot-hub/iot-hub-arduino-iot-devkit-az3166-get-started.md
Service: iot-hub
GitHub Login: @wesmc7777
Microsoft Alias: wesmc

Hi @joslat Can you please describe the issue you are seeing in more detail so I can try to reproduce this issue?

I just ran into this also. The page only a drop down to select SSID or manually enter one, then enter SSID password. There's no field to enter the connection string.

yes, exactly this.
To reproduce:

get the MXchip
Drop the 1.6.5 binary on it
Trigger the update. (or follow the steps on the "Send DevKit telemetry" section at https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/iot-hub/iot-hub-arduino-iot-devkit-az3166-get-started.md
get to point 6.

You will not see the "IoT device connection string box".

That's it.

@joslat @dootdootbeep can you try an older version of the firmware?
https://microsoft.github.io/azure-iot-developer-kit/versions/
Thanks

Thanks, but I do not need it.
My intention was to try to help you notifying of this issue to so you can fix the HOL either adding that back to the fw or changing the instructions.
If you continue the tutorial-HOL you end up setting the connection string through VS Code.

@joslat , thanks for pointing it out. We found it's an regression issue for the pre-built firmware and will get a hot fix today.

We have got it fixed now and the pre-built firmware should have the connection string input box. Please help verify and close the issue if it works properly.

@dootdootbeep Can you please confirm that your issue has been resolved? Please see previous comments and retry

I just downloaded the latest firmware and it is now fixed

I guess this settles it. Thanks!

I just tried this and I still don't see ConnectionString. I tried both https://aka.ms/devkit/prod/getstarted/latest and https://github.com/microsoft/devkit-sdk/releases/download/1.6.5-release/devkit-firmware-1.6.5.bin

I have the same issue, the IoT Device Connection string is not there.
I logged into the serial interface and ran version:
version
DevKitSDK version: 1.6.5
Mico version: 31620002.049
mbed-os version: 5.4.3
mbed TLS version: 2.15.0
WIFI version: wl0: Sep 10 2014 11:28:46 version <IP_ADDRESS>
I also tried setting the Iot Hub device connection string on the command line over the serial interface by running:
set_az_iothub "HostName=etc..."
(I also tried without the commas)
But when the device reboots I always get:

Failed to send telemetry data: 400.

Other devices I have in my IoT Hub work fine and send telemetry. I am SURE the connection string is correct, by the way.

Yep, same issue here.
Because this issue is marked closed, I doubt anyone will see it.

Same issue today with my device: "Failed to send telemetry data: 400."
version
DevKitSDK version: 2.0.0
Mico version: 31620002.049
mbed-os version: 5.4.3
mbed TLS version: 2.15.0
WIFI version: wl0: Sep 10 2014 11:28:46 version <IP_ADDRESS>

Hello @jacqueskang Please create a new post or question on Github documentation feedback page or on Microsoft Q&A-Azure-IoT-Hub
Please also do visit Microsoft Q&A the home for technical questions and answers at Microsoft.

Hello @jacqueskang Please create a new post or question on Github documentation feedback page or on Microsoft Q&A-Azure-IoT-Hub
Please also do visit Microsoft Q&A the home for technical questions and answers at Microsoft.


Error when using lineup in React app

I'm trying to use the LineUp inside a react library but I'm getting an error:

Uncaught TypeError: Cannot read properties of undefined (reading 'PureComponent')
at Module. (column.ts:28:98)
at r (bootstrap:19:22)
at bootstrap:83:10
at LineUpJSx.js:4:1188
at universalModuleDefinition:9:22
at universalModuleDefinition:1:1

Code:
asLineUp(div, rows) //rows are the Cat example dataset from the README

LineUp version:

"lineupjs": "^4.6.0",

My React version:

"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
}

Any ideas if this is  a problem of "containing" contexts/contaminated contexts?
Maybe some bootstrap thing? Do I need to import bootstrap?
With  <div                     style={{ height: "600px" }}                                      id="lineup_view"                 ></div> I'm getting this strange behaviour:

If I don't set height in the div, it looks like this:

Setting width didn't help.
Module universal definition refers to this:

I'm importing the function like this:
import { asLineUp } from "lineupjs";

have you tried https://github.com/lineupjs/lineupjsx ?

I tried to install both libraries and the two url all together, just in
case some would bring something was missing, but couldn't make it work.
Also checked CIME and the lineup_app... Couldn't figure it out.
The react version looked too difficult to guess how to do and change
things. A controller that is called on demand like in the js lib sounds
better and faster to get around. The lib already is very complex to code
with in the version with more examples. Examples would be another reason
not to use the react one.
I will need to do thinks like sorting groups (create groups from groups and
sort ), and so on. Currently the functionalities from the tool are not
enough so I will need to play around quite a bit.
Thanks for the your time and for the lib!
On Tue, May 10, 2022, 5:10 PM Samuel Gratzl @.***>
wrote:

have you tried https://github.com/lineupjs/lineupjsx ?
—
Reply to this email directly, view it on GitHub
https://github.com/lineupjs/lineupjs/issues/567#issuecomment-1122524276,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABANME6M7ODLO55APMY53PDVJJ36ZANCNFSM5VRSSMGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

With both npm libs installed and only the css in the index.html (url to script commented out), the error message in the console doesn't appear. However, the look is still awkward. Maybe something in my app... but still I don't understand what is the correct way of installing Lineup.

As said, the error (red message in console) disappeared with commenting out the <script ..lineup> from index.html
I'm still trying to find out if it's my app our Lineup that has a problem.
Here is the reason why it is disaligned: there is a .li-selection-indicator with a canvas inside creating the space.

Deleting that canvas seems to place it vertically correct:

All other "selection canvas" work except the left-line one if I set
.lu-selection-indicator {     display: none;}

minimal example how to use plain LineUp.js in React: https://codesandbox.io/s/cool-grass-yj0il5?file=/src/App.tsx:854-890


Cant decompile Service Bus template exported from Azure Portal

Bicep version
Bicep CLI version 0.4.63 (7ebed03284)
Describe the bug
After exporting the ARM json template from a service bus resource in the portal, I was unable to decompile it to bicep due to several errors about The property "location" is not allowed on objects of type ...
Not sure if this is a bug with the bicep decompiler / api spec not allowing this property, or with the azure template generation incorrectly including the location properties.
A selection of those errors are below
> az bicep decompile --file .\serviceBus.json

C:\Temp\serviceBus.bicep(89,3) : Error BCP037: The property "location" is not allowed on objects of type "Microsoft.ServiceBus/namespaces/AuthorizationRules". Permissible properties include "dependsOn".
C:\Temp\serviceBus.bicep(115,3) : Error BCP037: The property "location" is not allowed on objects of type "Microsoft.ServiceBus/namespaces/networkRuleSets". Permissible properties include "dependsOn".
C:\Temp\serviceBus.bicep(126,3) : Error BCP037: The property "location" is not allowed on objects of type "Microsoft.ServiceBus/namespaces/queues". Permissible properties include "dependsOn".
C:\Temp\serviceBus.bicep(1009,3) : Error BCP037: The property "location" is not allowed on objects of type "Microsoft.ServiceBus/namespaces/topics". Permissible properties include "dependsOn".
C:\Temp\serviceBus.bicep(1117,3) : Error BCP037ac: The property "location" is not allowed on objects of type "Microsoft.ServiceBus/namespaces/topics/subscriptions". No other properties are allowed.
C:\Temp\serviceBus.bicep(4008,3) : Error BCP037: The property "location" is not allowed on objects of type "Microsoft.ServiceBus/namespaces/topics/subscriptions/rules". No other properties are allowed.

To Reproduce

Export an ARM template of a service bus resource in the Azure portal
Attempt to decompile that template to bicep.

Additional context
After commenting out all location properties (except that on the root Microsoft.ServiceBus/namespaces resource), I was able to
successfully decompile the template.

@anthony-c-martin  Are those bugs / limitations tracked elsewhere?  If so, do you want to close this issue in favour of those.

This should now be a warning in 0.4.412. We'll leave this open to track the swagger fix.


[Teamcity] Broken characters encoding in tests result output.

@cezarypiatek commented on Wed Feb 08 2017
After migrating our tests from NUnit 2.5.3 to NUnit 3.6 Teamcity starts to display test results with invalid characters set. Sometimes we are using polish characters in test names and until now everything was displayed correctly. For example
previously:
LeaseProductAdditionalRepositoryTest.da_się_przefiltrować_produkty_dodatkowe_po_nazwie

now:
LeaseProductAdditionalRepositoryTest.da_si©_przefiltrowa†_produkty_dodatkowe_po_nazwie

We are using TeamCity 9.1.1 and Nunit3-Console (v3.6)
How to setup correct chars encoding (UTF-8) ?

@s-tarasov commented on Thu Feb 09 2017
Same problem with cyrillic symbols
[Functional.Tests.Web.TestRegistrationFromMain] [Test Output]
���� ॣ����樨 � ����� ������� ��࠭���
��稭��� ॣ������ ���짮��⥫�<EMAIL_ADDRESS>� ��஫��:<PHONE_NUMBER>
��������� �����襭�
������ ���� ஦����� �� ��뫢��饬 ����
���� ���� ஦����� �����襭
���室�� �� ��࠭��� � १ � �஢��塞 ���� �� ��⨢���

We are using TeamCity 10.0.1 and Nunit3-Console (v3.6)

@rprouse commented on Thu Feb 09 2017
I expect that this may be an issue with the TeamCity event listener that JetBrains wrote for NUnit 3. @NikolayPianikov can you confirm so that we can move this issue to your repo?

@NikolayPianikov commented on Thu Feb 09 2017
@rprouse yes, please move

The nunit console uses Encoding.Default codepage to write a text to stdOut by default and TeamCity gets this text from stdOut. Encoding.Default depends on your "Regional Settings" (for programms that do not support Unicode). The Unicode related text might be corrupted if the nunit console or other applications try writing using the OS code page. So you have several options:

Change this settings for the computer which is used for running tests.
Use the additional nunit command line argument to specify the encoding: for example --encoding=utf-8 helps for many cases.
Create a request to add Console.OutputEncoding = Encoding.UTF8 to the first lines of this method NUnit.ConsoleRunner.Program.Main to use UTF8 as default code page. @rprouse, @CharliePoole what do you think about option 3?

@NikolayPianikov I've tried solution 2 and 3 and it has no result. Additionally when I add Console.OutputEncoding = Encoding.UTF8 to my UT it fails when I run tests in Visual Studio with Resharper Test Runner (it throws null reference exception)

@cezarypiatek oh, I forgot to note, TeamCity should use the same encoding. So try adding the configuration parameter "teamcity.runner.commandline.stdstreams.encoding=UTF-8" to your TeamCity project/configuration to specify encoding

@NikolayPianikov adding configuration parameter in TeamCity solved the problem. So thank you for your help.
It would be very helpful if  somebody could add --encoding=utf-8 parameter to NUnit Console documentation https://github.com/nunit/docs/wiki/Console-Command-Line (This parameter is missing in the options list)

@cezarypiatek I updated the docs. Thanks for calling it to our attention.

Thanks!


Hotkeys not working

Trying to set hotkeys to pause and play. nothing works.

**OS:**Windows 10
**Issue Descriptions:**Unable to program hotkeys
Steps to Reproduce:

Trying to set hotkeys to pause and play. nothing works.

You don't need to set the hotkeys to play/pause they are set up by default.

This doesn't work for me. On MacOS.

Yeah I definetly cannot set these on my machine.
On Tue, Jan 24, 2017 at 5:32 PM, Abram Bailey<EMAIL_ADDRESS>wrote:

This doesn't work for me. On MacOS.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/2119#issuecomment-274960929,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYCPy-hPYc3twT-BLxgntxH5ckNnztFLks5rVnwHgaJpZM4Lm-GE
.


Support ocaml 4.01

That was to support all supported versions of cohttp but it's not supported anymore.


When laptop lid is closed the display should be disabled

Description
On Gnome, KDE, Windows, any every other system I've tested this on, if I have a laptop connected to an external monitor and then close the laptop lid, the laptop display is disabled and only the external monitor display is enabled.

that's up to you to configure. Read the wiki. https://wiki.hyprland.org/Configuring/Binds/#switches


ESP-IDF Component Continuous Integration

This pull request is meant to resolve #227 by adding continuous integration for publishing Libcanard to the ESP Component Registry.
Files added:

idf_component.yml. This file contains required ESP component metadata.
Kconfig. ESP components use this file as a standard way for controlling build options. I've added options for enabling/disabling assertions and the CRC table.
CMakeLists.txt. This file is required to register the component with the ESP build system.
.github/workflows/esp_publish.yml. This workflow uploads the component to the ESP-IDF registry whenever a new GitHub release is published.
.github/workflows/esp_dry_run.yml. This workflow does a dry-run of uploading to the ESP-IDF registry, without publishing anything. It can only be manually triggered. I've tested this in my repository, and it seems to work.

The GitHub workflows require IDF_COMPONENT_API_TOKEN with an ESP registry token to be added to the repository secrets.

As you suggested, to avoid polluting the root of the repository with ESP-related files, I tried using repository_info and putting the ESP-related files into a subdirectory. However, this didn't work because ESP-IDF gets confused whenever the source code files are not in the directory where CMakeLists.txt is.
So I decided it would be cleanest to just have the continuous integration script copy all the required files into a temporary component directory before publishing. I tested the esp_dry_run.yml workflow locally, and it seems to work correctly.


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1649 ms

Resolved: Bofrost.be performance has improved in fb97391.


Add files via upload

Pull Request for DL-Simplified 💡
Issue Title : Created a Salary calculator

Info about the related issue (Aim of the project) : To predict salary of an employee based on years of experience
Name: Salary prediction using Machine learning
GitHub ID: 95322992
Email ID:
**Idenitfy yourself: SWOC 2024 contributor

Closes: #issue number that will be closed through this PR
Describe the add-ons or changes you've made 📃
Give a clear description of what have you added or modifications made
Type of change ☑
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
Describe how it has been tested
Describe how have you verified the changes made
Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

What is the issue number you are solving with this pull request?
@rohammaiti

Closing this PR due to inactivity.


Forward port

Grafts changes from 2.2.1 into master.

This PR is ready for review now - I promise I'll stop pushing changes to it.

@int19h or @crwilcox if you get time.

:+1:


Fixes examples/dmabuf-capture being built with unmet dependencies

Even if the libav* variables were disabler objects, the build targer
dmabuf-capture was being built. Modified the script to support a generic
solution.

Thanks!

Even if the libav* variables were disabler objects, the build targer
dmabuf-capture was being built

Really? If that's true, this should be raised as an upstream Meson bug instead of doing this.


Update README.md

Hey there 👋 this is an awesome list. I work at Prisma and just quickly wanted to update the description in the README 🙂

@nikolasburk - Thanks for the update 👍


[Feature] set servicegraph flush interval

Description
4.3.0

Set metrics_flush_interval -> 60s
Add test for servicegraph metrics

What type of PR is this?
(check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[x] 🧑💻 Code Refactor
[x] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build / CI
[ ] ⏩ Revert

Added tests?

[x] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help from somebody

@8naama Yes I figured out that to create servicegraph metrics we need multiple services sending requests to each other. load generator generates traces from one service. I added otel demo to test runs for a better use case


how to use domstorage.Clear

What versions are you running?
$ go list -m github.com/chromedp/chromedp
<!--replace this line with the output-->
$ google-chrome --version
<!--replace this line with the output-->
$ go version
<!--replace this line with the output-->

What did you do? Include clear steps.

			chromedp.Run(ctx,
		            chromedp.ActionFunc(func(ctx context.Context) error {
			            // if the default profile is not loaded,
			            // it just gets the entries added by the navigation action in the previous step.
			            // it's possible that the js code to add cache entries is executed after this action,
			            // and this action gets nothing.
			            // in this case, it's better to listen to the DOMStorage events.
			            //https://github.com/chromedp/chromedp/issues/764
			            clear := domstorage.Clear(&domstorage.StorageID{
				            SecurityOrigin: "https://github.com",
				            IsLocalStorage: true,
			            })

			            return nil
		            }))

What did you expect to see?
clear the localStorage
What did you see instead?
nothing happened

You didn't use the Do method.
Use it like this:
clear := domstorage.Clear(&domstorage.StorageID{
				            SecurityOrigin: "https://github.com/",
				            IsLocalStorage: true,
			            }).Do(ctx)


Unable to get Socket id

I have written code like this. Can you please help me out that, why I can not get socket id?
`import { Pusher } from "@pusher/pusher-websocket-react-native";
import { PUSHER_KEY, PUSHER_CLUSTER } from "@env";
export const PusherConfig = async () => {
try {
const pusher = Pusher.getInstance();
await pusher.init({
apiKey: PUSHER_KEY,
cluster: PUSHER_CLUSTER
});
await pusher.connect();
const id = await pusher.getSocketId();
console.log("id", id);
return pusher;
} catch (err) {
return err;
}
};`

Hi, you've called both connect() and .getSocketId() next to eachother as asynchronous awaits, and your getSocketId() is completing faster before the connection is established, hence it will return a null.
If you put getSocketId() after the the connect() has finished, are you able to get it?

I will close this ticket due to lack of response.


bump material-design-icons DX to 6.1.0

This small PR bumps the material desing icons to 6.1.0.
The diff is a bit hard to follow because some icons were reordered. Unless I'm overlooking something, there have only been additions in the meantime.

👍👍👍


console error

When attempting:
from kora import console
console.start()

I get the following error on Colab
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-5-90b51bf2ab13> in <module>()
      1 # fire up a terminal hosted on top of Colab
      2 from kora import console
----> 3 console.start()

/usr/local/lib/python3.6/dist-packages/kora/console.py in start()
     24     for i in range(6):
     25         line = process.stdout.readline()
---> 26     url = line.decode().strip().split()[-1]
     27     print("Console URL:", url)
     28

IndexError: list index out of range

I have tested, and now it works correctly. So, it's probably a temporary problem.
Please check if the problem still remains. I will close the issue for now.

Even I have this error and is persistent in a session but occurs randomly. Is there a work around?

Even I have this error and is persistent in a session but occurs randomly. Is there a work around?

I have rewritten the code, so that it will print the teleconsole result when there is an error.
I can't replicate the error. So, if you don't get Console URL: https:.., please report the error result here.

I have rewritten the code, so that it will print the teleconsole result when there is an error.
I can't replicate the error. So, if you don't get Console URL: https:.., please report the error result here.


The security rules don't match the project name on the client to the project id in the config file

This is potentially a security bug for MongoDB clusters having multiple databases.
Need to solve this asap!

Need to make sure the example apps are updated too

will be fixed in v0.9.0


stream: use SO_OOBINLINE on OS X

In the collaboration with Ben Noordhuis<EMAIL_ADDRESS>and
Saúl Ibarra Corretgé<EMAIL_ADDRESS>@saghul please process this urgently

LGTM.  Great test case!

@bnoordhuis ahaha! :) With your help, as cited.

LGTM. If you squash and land I can make a v1.x release. Also we'll need a backport for 0.10.

@saghul thanks, landed in e19089f . Please release (and maybe backport it ;) ? )


Cannot merge int

Can't merge ints without wrapping each int in str()
Expected Behaviour
Library converts variable to string representation and merges that instead.
Current Behaviour
Library raises AttributeError when merging a type that is not a string.
Possible Solution
Possible fix in PR #65
Steps to Reproduce (for bugs)

doc = MailMerge("template.docx")
doc.merge(field=123)

Context
Trying to merge numerical types (ints/floats) without having to wrap each one in str(number)
Your Environment

Python version: 3.6.6
docx-mailmerge version: 0.4.0

@huwcbjones I faced similiar issue. You might want to try my fork of docx-mailmerge where you can pass any data type and it will get replaced correctly. Also, it supports attributes with spaces inside, a datetime type, which you can customize from within Word (i.e. MERGEFIELD "Date" \@ "dd/MM/yy" \* MERGEFORMAT), etc.


Segmentations availability

Hello! This is very interesting work, so congrats to the authors.
The paper mentions over 50 annotated tomograms. Are the annotations available to download?

Hi, sorry for the delay in answering. What information you mean is exactly, the binned tomograms and membrane segmentations?

Yes, I might have missed the link if they are already available somewhere.
(Sorry for the delayed reply on my end as well.)

Hi @saugatkandel
Thanks for you interest.
We will make all of the data/segmentations available in an upcoming publication together with also particle localisations of a number of different protein complexes, but for now you can download tomograms and segmentations from this link:
tomgorams/segmentations

Thank you!


AnalyzerExtesions ignores nested function calls

AnalyzerExtensions.extractFunctionNames* methods do not handle nested function calls properly. Procedures and TVFs probably have the same issue.
For example, in the following query AnalyzerExtensions.extractFunctionNamesFromStatement() would only return F and would miss G.
SELET F(G(1));

Fixed in version 0.5.2, will be merged to main shortly


A question of glove?

Hi,

This is your pre-processing question file. The file read in is glove.6B.300d.txt, but the download link you gave is glove.840B.300d.txt.
The file I trained data with was glove.6B.300d.txt last time, and did not use the link you gave.

Hi,
Thanks for pointing this out.
It should be glove.840B.300d.txt and the *.pkl file should be glove.840B.300d.pkl subsequently.
All of my reported results in the paper are with 840B.300. I will update the python file accordingly.

I've corrected the python file.

okay！