Cannot configure plugin

Probably related to #95, although I am not sure why this one was closed.
I am unable to add any configuration. The buttons in the configuration just don't do anything.
https://user-images.githubusercontent.com/20116376/129023212-6f6f73a5-df75-41ba-8e64-17ed7b299a1b.mov

Noobs?

try 1.8.29

No Hoobs.
Same result with 1.6.29

please add the sample-config.json  manually to the config.json and try again, I don't know why but if the plugin is not configured the schema doesn't work.

The default config showed up. Yet, all buttons and text fields except "Show config" were not working.
I did get it working though afterall.

Remove default Web Api token

Same issue here. There were a bunch of weirdly named input devices listed on my Xbox inside Homekit (like "Dashboard 3" and "Settings 2") so I decided to do a clean install of homebridge-xbox-tv and I'm now met with this. Tried manually restoring the config I had before but the menu stays blank and un-editable.


Some Metal blocks are out-of-sync.

Some of the older Metal blocks were not updated to support newer features like broadcasting and multiple axis. Some of these blocks are Multiply and FFT.

The FFT block is now synced with the others. Multiply still out of sync.


Error running codeqai search , app and chat : Unexpected keyword argument token in INSTRUCTOR._load_sbert_model()

Description
When attempting to run the codeqai app command on my project directory, I encountered a TypeError related to an unexpected keyword argument 'token' in the INSTRUCTOR._load_sbert_model() method. This occurred after configuring codeqai to use local embedding models (Instructor-Large) and selecting gpt-4 as the remote LLM for chat functionalities.
Steps to Reproduce

Installed codeqai using pip.
Ran codeqai configure and configured the tool as follows:

Selected "y" for using local embedding models.
Chose "Instructor-Large" for the local embeddings model.
Selected "N" for using local chat models and chose "OpenAI" with "gpt-4" as the remote LLM.

Attempted to start the codeqai search by running codeqai search in the terminal.
Encountered the following error:

  Traceback (most recent call last):
    File "/usr/local/bin/codeqai", line 8, in <module>
      sys.exit(main())
               ^^^^^^
    File "/usr/local/lib/python3.11/site-packages/codeqai/__main__.py", line 5, in main
      app.run()
    File "/usr/local/lib/python3.11/site-packages/codeqai/app.py", line 121, in run
      embeddings_model = Embeddings(
                         ^^^^^^^^^^^
    File "/usr/local/lib/python3.11/site-packages/codeqai/embeddings.py", line 42, in __init__
      self.embeddings = HuggingFaceInstructEmbeddings()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/site-packages/langchain_community/embeddings/huggingface.py", line 149, in __init__
      self.client = INSTRUCTOR(
                    ^^^^^^^^^^^
    File "/usr/local/lib/python3.11/site-packages/sentence_transformers/SentenceTransformer.py", line 194, in __init__
      modules = self._load_sbert_model(
                ^^^^^^^^^^^^^^^^^^^^^^^
  TypeError: INSTRUCTOR._load_sbert_model() got an unexpected keyword argument 'token'

Expected Behavior
I expected the codeqai search to launch successfully and allow me to interact with my codebase through the bash terminal.
Actual Behavior
The application failed to start due to a TypeError in the INSTRUCTOR._load_sbert_model() method.
Environment

codeqai version: 0.0.14
langchain-community version: 0.0.17
sentence-transformers version: 2.3.1
Python version: 3.11
Operating System: Linux c9b1c6e240f6 <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 GNU/Linux (Docker Container)

Additional Context
The issue seems to be related to the integration between codeqai, the langchain-community package, and sentence-transformers. Given that all components are up to date, it appears there might be an incompatibility or a bug in the way codeqai is utilizing the sentence-transformers library, specifically with the INSTRUCTOR model configuration.

Hey @TeomanEgeSelcuk thanks for the detailed report!
I think something got messed up here https://github.com/fynnfluegge/codeqai/commit/7f15456c430408c959f0944ef33d37fbeab8d895
Will have a closer look asap!

I have the same problem when trying to run codewai I get the same problem, try downgrading to the library "sentence-transformers==2.2.2" but I couldn't get it to work.

experienced same error even with sentence-transformers.
then, this worked for me
 from langchain_community.embeddings import HuggingFaceEmbeddings
embeddings = HuggingFaceEmbeddings(model_name="hkunlp/instructor-xl")

Hey @shreyahegde18 thanks for suggesting the solution! I am a bit under water this week, would appreciate it a lot if you don't mind to raise a PR with this fix 🙂

Reopen, found this https://github.com/PromtEngineer/localGPT/issues/722
The sentence-transformers version 2.2.2 must be specified explicitly.

Fixed in https://github.com/fynnfluegge/codeqai/commit/526d50c6ccbca6f535255ceb18f9617f2ff51870
Thanks @shreyahegde18  for suggesting HuggingFaceEmbeddings(model_name="hkunlp/instructor-xl")


Decal#transformationOffset is ignored

Anything I set into Decal.transformationOffset is somehow reduced so it behaves like vector (0, 0).
To invalidate it (internally: updated=false) I do this:
decal.setX(decal.getX());

Decal#transformVertices() has this code:
float tx, ty;
if (transformationOffset != null) {
	tx = -transformationOffset.x;
	ty = -transformationOffset.y;
} else {
	tx = ty = 0;
}

Debugger breakpoints enter properly, so tx and ty is definetely not zero but values set through transformationOffset.

I misunderstood the reason for this field, it's for scale and rotation.


Build Failure : Am I missing something ?

Command used : gradle clean build .
                                      ^

TypeError: Cannot read property 'prototype' of undefined
at Object.exports.inherits (util.js:556:43)
at Object. (/Users/bismoymurasing/Desktop/OpenSource/airpal/src/main/resources/assets/node_modules/browser-sync/node_modules/http-proxy/lib/http-proxy/index.js:108:17)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/Users/bismoymurasing/Desktop/OpenSource/airpal/src/main/resources/assets/node_modules/browser-sync/node_modules/http-proxy/lib/http-proxy.js:4:17)
at Module._compile (module.js:456:26)
:buildAssets FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':buildAssets'.

Process 'command '/Users/bismoymurasing/.gradle/nodejs/node-v0.10.33-darwin-x64/bin/node'' finished with non-zero exit value 8

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 2 mins 2.425 secs
BISMOYs-MacBook-Air:airpal bismoymurasing$

This worked for me on mac:
edit src/main/resources/assets/package.json and change browser-sync to ~2.6.5
hope that helps!

who can give me a binary download link? After change the browser-sync  version to 2.6.5 it still fails to compile app.js and plugin.js so I got 404 on the landing page.

edit src/main/resources/assets/package.json and change browser-sync to ~2.8.1, works for my on ubuntu14.04

Hey Guys,
I am using the gradle-2.8 and when I execute the following command ./gradlew clean shadowJar
FAILURE: Build failed with an exception.

What went wrong:
Task 'build' not found in root project 'gradle-2.8'.

Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Any help would be appreciated.


Added Async sample to Manage virtual machines

Please add list async and also measure the time taken for creating a Linux VM


[IMPROVEMENT] Improve SPDK installation and configuration manifests for air-gapped environment

Is your improvement request related to a feature? Please describe (👍 if you like this request)
Improve SPDK installation and configuration manifests for air-gapped environment
Describe the solution you'd like

Describe alternatives you've considered

Additional context

commenting to keep it on my radar.

This's related to pre-flight tasks.


Bookstore: connect to API

Project requirements
In this PR I worked on the following:

In the previous project, I added the add book and remove book features directly into the application. Now I refactored the code to use an external API to facilitate these features.
I used the Bookstore API as the backend.
I used axios with createAsyncThunk to make HTTP requests to the backend.
I fetched the books from the Bookstore API after the component has rendered.
I refactored the add book and remove book features to persist the changes in the server.
The application still behaves the same way after the refactoring.

Thank you for the feedback @Olamarx.


[pwm/dv] pwm failing V2 tests, potential corner case.

There appears to be an intermittent failure occurring on V2 tests, this is occurring in approx 10% in 50 tests run.
The issue appears to be caused by the tlm fifo containing an uncompared item upon completion of the test.
Related PR: #11055

Newer issue addressing bug raised. #12067


When changing the name of a variable the summary presented by the orca is not consistent with the result of the operation.

Issue Type: Bug

Launch orca and  open a java script file using vscode.
Inside the file opened declare one variable named p1.
After create the variable insert in the last line of the file the following:
var p2 = p1 + p1 + p1 +p1;
Rename the variable p1 to p1x.

The orca announces the amount of changes made as well as the amount of files changed.
The problem is that at least in my environment, the number of files and the number of changes announced by orca is the same, although I only have one file.
In my test I receive the following:
"Successfully renamed 'p1' to 'p1x'. Summary: Made 4 text edits in 4 files"
VS Code version: Code - Insiders 1.59.0-insider (cead2f699cd0afb2464d8d3ad975776051583b4f, 2021-08-03T15:33:41.082Z)
OS version: Linux x64 5.13.7-arch1-1
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (4 x 2365)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 1, 1

Memory (System)
7.68GB (0.78GB free)

Process Argv
-n --crash-reporter-id bcecf5e0-97d1-4830-b28c-0943c4adab1c

Screen Reader
yes

VM
0%

DESKTOP_SESSION
gnome-xorg

XDG_CURRENT_DESKTOP
GNOME

XDG_SESSION_DESKTOP
gnome-xorg

XDG_SESSION_TYPE
x11

Extensions (35)

Extension
Author (truncated)
Version

vscode-sqlite
ale
0.13.0

shell-format
fox
7.1.0

rest-client
hum
0.24.5

vscode-docker
ms-
1.15.0

csharp
ms-
1.23.14

vscode-aks-tools
ms-
0.0.9

vscode-kubernetes-tools
ms-
1.3.3

python
ms-
2021.7.1060902895

vscode-pylance
ms-
2021.7.7

remote-containers
ms-
0.191.0

remote-ssh
ms-
0.65.7

remote-ssh-edit
ms-
0.65.7

azure-account
ms-
0.9.8

powershell
ms-
2021.6.2

vsliveshare
ms-
1.0.4650

vsliveshare-audio
ms-
0.1.91

oracledevtools
Ora
19.3.4

vscode-boot-dev-pack
Piv
0.0.8

vscode-concourse
Piv
1.26.0

vscode-manifest-yaml
Piv
1.26.0

vscode-spring-boot
Piv
1.26.0

fabric8-analytics
red
0.3.3

java
red
0.80.0

vscode-commons
red
0.0.6

vscode-xml
red
0.17.0

vscode-yaml
red
0.22.0

sonarlint-vscode
Son
2.0.0

vscodeintellicode
Vis
1.2.14

vscode-java-debug
vsc
0.35.0

vscode-java-dependency
vsc
0.18.6

vscode-java-pack
vsc
0.18.2

vscode-java-test
vsc
0.30.1

vscode-maven
vsc
0.32.1

vscode-spring-boot-dashboard
vsc
0.2.0

vscode-spring-initializr
vsc
0.7.0

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
pythonvspyt551cf:30291413
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
pythonvsuse255:30319630
00j7a122:30294756
vscod805cf:30301675
pythonvspyt200:30323110
vsccppwtct:30312693
pythonvssor306:30340298
bridge0708:30335490
pygetstartedt:30346833
dockerwalkthrucf:30346919

ping @isidorn

@jvesouza thanks for creating this issue. I can reproduce it.
It seems like the ariaSummary computed here is wrong https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.ts#L48
The problem is that resourceEdits are not de-duped based on resource. So if there are 5 resource edits in the same file it says "5 files" instead of "one file".
For now assigning to @jrieken and feel free to unassign yourself and I can also fix this. Though it would require some casting I think...

I did some tests here and the problem was really fixed, thank you very much.


Use StageGL for CreateJS

You could try using StageGL (GPU based) with CreateJS
this.stage = new createjs.StageGL("canvas");
and then you need to cache() the rectangles so they are bitmaps
rect.cache(0, 0, size, size);
this.stage.addChild(rect);

@danzen I didn't work with CreateJS so I'll need to read and learn to implement the example.
If we have rectangles of different sizes will the cache do its thing?


Increase target Beam version for Automated Expansion Service tests

Bump target Beam version for the Go SDK's automated expansion service integration test to 2.48.0, since it was pretty out of date. Process will eventually need to be automated as described in #21279.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@riteshghorse I'm probably going to update this PR to just do the automated version selection tomorrow, feel free to ignore this until then


Automated cherry pick of #10288

Cherry pick of #10288 on release-6.7.
/cc  @michelengelen
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: f57979b2257ee78df29855995ee89f9d6e12d100


Easier to read/understand error code(s)

While converting a .csv with a .nq already present, the following error is shown:

Already established in Issue #37 that this is caused by the .nq being present. However, this error message is not clear (enough): maybe reword it (and possibly others) for user convenience?

For me, the error was clear enough in Power Shell. This is what I got

It's quite clear that \ is changed to _.
Closing this issue.


Update to v0.8.8

@felixtriller :clap: :clap: :clap:

I sneaked in lite and bs4 styles and javascript.

hello, whats the status?

ping/ @luciuschoi @hackerwins

Merge me baby!

Thank you for your devotion.


Created more accessible markup with new styling

Was feeling like the previous design was a little bit bland compared to what it could be, decided to spice it up a little bit. By changing the page markup, the extension is also more accessible for those who rely on screen readers.
I had trouble hooking it up to the option.ts file as the code in there got confusing and seemed unnecessarily complicated, but I figured I'd submit these changes and get some help with the TS. I started working on some edits to the TS but this is the first Chrome extension I've worked on, not quite sure how the storage there works.
Thanks for this extension! I don't use personally (no deadname 🙏) but wanted to contribute after a friend shared in a LGBTQ+ group chat.

Forgot to mention this PR ruins the popup styling, will commit those changes when I have though

Design can be viewed on the development site I was using: deadname-remover-redesign.web.app

Hi @AriGibson!
I've seen the high-contrast implementation, but I'm unsure if this is good to implement as it's uses some obsolete features like the dataSet property and AFAIK screen readers should be able to understand the text. Also as for the current DeadName implementation it's been a box that has unlimited options to add forms of deadnames and with this new UI it's been limited to 5 which is a limitation I rather don't have.
I will port the current javascript code to TS.
Regards,
Gusted

Hiya @Gusted !
Responding to some of your points...:

What would you replace data-* attributes with? What would you say makes them obselete? I would argue they're the best, most correct way to group elements. They're supported by essentially every browser ([MDN])(https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/dataset) and allow the code to loop through document.querySelectorAll instead of a for i loop choosing elements by ID
I've spent a good amount of time on NVDA testing accessibility. The old design, by not using landmarks or semantic HTML, doesn't pass some of the most basic accessibility concepts imo. By using aria-* attributes in my design, I feel like it's significantly easier to use with a screen reader. I'd encourage you to give it a try as well if you haven't accessibility tested with a screen reader before, changed the way I think about the web 😝
I definitely see what you're saying about the multiple deadname implementation. I ran the design by some friends who preferred being able to see them all at once, although I'm sure there's a good UX-friendly solution. I'm happy to work on that, just stuck trying to figure out the best solution.

Regarding the JS code, I was more referencing the code in the current options.ts file, which my markup changes don't work with. I have very limited TS experience, but some of the code in there seemed unnecessary to me. I'd have to give it some more looking and testing with what I would have done to see if I'm just crazy, figured I wouldn't worry about that part right now.
Thanks!
Ari

What would you replace data-* attributes with?

With a simple unique attribute or class.

What would you say makes them obsolete?

It's was used back in the day, however most if not all has been replaced with alternatives which makes more sense.

I would argue they're the best, most correct way to group elements.

If it's used for just grouping elements a simple <div> should do this with something like class="group-options".

allow the code to loop through document.querySelectorAll instead of a for i loop choosing elements by ID

Why you want to have all elements?

By using aria-* attributes in my design, I feel like it's significantly easier to use with a screen reader. I'd encourage you to give it a try as well if you haven't accessibility tested with a screen reader before, changed the way I think about the web

Uhm, same reason with data- it's obsolete and replaced with better alternatives. MDN even warns about using this https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA.

* I definitely see what you're saying about the multiple deadname implementation. I ran the design by some friends who preferred being able to see them all at once, although I'm sure there's a good UX-friendly solution. I'm happy to work on that, just stuck trying to figure out the best solution.

It's hard to sense back, because their has been now an unlimited options and people might have now used more than 5 deadnames. E.g. an list with some textarea element could fix the unlimited options and seeing all names.

but some of the code in there seemed unnecessary to me.

It's indeed a mess.

What would you replace data-* attributes with?
With a simple unique attribute or class.

By using a data-* attribute, it removes the confusion that these attributes are standard HTML. data-* is used specifically and exclusively to store data in an element, whereas classes have a variety of uses. Considering I'm not styling these elements based on the data attributes, I believe that would be an inappropriate use of classes.
Why data-* opposed to standard attribute and why data-* opposed to classes

What would you say makes them obsolete?
It's was used back in the day, however most if not all has been replaced with alternatives which makes more sense.

Even if they've been around for a while doesn't make them obsolete. Their still common practice and are recommended by MDN. I strongly believe their purpose is still clear and relevant.

I would argue they're the best, most correct way to group elements.
If it's used for just grouping elements a simple  should do this with something like class="group-options".

divs aren't accessible though, which is the main redesign I thought this extension could use a redesign with semantic HTML that follows web accessibility standards.

allow the code to loop through document.querySelectorAll instead of a for i loop choosing elements by ID
Why you want to have all elements?

To easily pull values from the deadname fields. I admit this might be something that could be considered a flaw in my design. I see what you're saying by having a textarea and asking users to add a comma-delimited list, although I feel like that's not as straightforward to the user. I feel like it's important to make things as simple as possible, but I'll definitely think about changing that and might try some other versions of my design.

By using aria-* attributes in my design, I feel like it's significantly easier to use with a screen reader. I'd encourage you to give it a try as well if you haven't accessibility tested with a screen reader before, changed the way I think about the web
Uhm, same reason with data- it's obsolete and replaced with better alternatives. MDN even warns about using this https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA.

To be clear, MDN argues that semantic HTML should be used over ARIA where semantic HTML exists. My code follows those standards, aria-* attributes are completely different and essential to proper web accessibility. I've done lots of testing with NVDA; aria-* labels specifically are crucial to helping a user tell the purpose of each field without sight.
I appreciate the discussion and will definitely take some of what you said into consideration while I finish prepping this PR. I also think there are some things that I fully stand behind as being best practice. I'm really curious on your thoughts though, as I believe what I've mention is considered best practice by the majority of the web dev community. Cheers!

I also think there are some things that I fully stand behind as being best practice.

I can live with those standards I think... even it's a bit whacky for code purposes and tricky.
The multiple names implementation should have the old behaviour of having a good unlimited usage. A simple design should do it I will work it out in the code to have it functioning.
Let me know when the Design is ready and I will have some code porting and cleaning to options.ts.
Regards,
Gusted

@AriGibson I saw you added a option for highlighting I've pushed this feature to the master branch #198

Looks great! Thanks for taking care of that, I hadn't gotten around to adding the actual feature in. I'll add a spot to set hex color as well, am happy to make that change in the code too unless you want to

I'll add a spot to set hex color as well, am happy to make that change in the code too unless you want to

Thats fine, some customization is great.
As their is a highly requested feature for a site list. What are the UI recommendations for that? I've tried several implementations myself but gave up after each time.

I'll see what I can come up with... I like the idea of having unlimited names though. Will go back to my non-dev friends for some ideas haha, want to see if they have any good clue on how to use like a comma-delimited list without much instruction

My current timeline for finishing up this PR is looking like Sunday, feeling stuck trying to figure out what does and doesn't make sense to change.
I'd like to send over some revisions to the TS code as well, although I'm a tad bit scared to touch it. A lot of it seems unnecessary to me, but I'm sure it's there for a good reason haha. I might also just be naive; I guess we'll see if I dive in a bit deeper.
I'm sort of seeing two solutions here:

Spent a good chunk of time tweaking the TS to work with my new markup.
Roll back some of my markup changes so it's easier to integrate with current TS and have something merge-ready faster.

I'd like to send over some revisions to the TS code as well, although I'm a tad bit scared to touch it. A lot of it seems unnecessary to me, but I'm sure it's there for a good reason haha. I might also just be naive; I guess we'll see if I dive in a bit deeper.

A lot of the codebase has been whacky and not probably most of it unnecessary(Just the UI side options.ts/popup.ts) as UI isn't my best side. You can make the changes in JS if you like to and I will port it without any problems to TS with the correct code e.g. the storage handling as that's currently done with const port = chrome.runtime.connect({name: 'popup'}); and some complicated sendRequest function, as it lacks certain functionally that context.
I think the first solution is the best one as the codebase definitely need a rewrite, however just tweak it so far you can. I can do the rest if you like to.
For now I will resolve the conflicts in this PR.
Regards,
Gusted

Perfect, let's do that.  I'm a big JS nerd though and have never been fully onboard with the benefits of TS lol
If possible, I'd prefer to just have until the weekend before you take a look. I'll have something good ready for and am sure I can get through some of the issues myself ☺

Perfect, let's do that. I'll write up a bunch of JS and let u port to TS,

Sure thing, make sure to add some comments if the code looks confusing =).

if you think it's even worth having in TS. I'm a big JS nerd though and have never been fully onboard with the benefits of TS lol

Type checking etc and having other functionally like ESLint works better. and for IDE's like vscode the Intelsense works better, because it can be checked. It's more for the development process then the actually end-result.

If possible, I'd prefer to just have until the weekend before you take a look. I'll have something good ready for and am sure I can get through some of the issues myself :relaxed:

Sure things! Don't be afraid to ask.

Hi @AriGibson!
It's by now Sunday evening for me, should I have another look next week on this PR?
Regards,
Gusted

Woops @Gusted meant to text a bit earlier... didn't realize the time difference haha.
I've made some good progress but haven't pushed yet as I don't want to mess up the current file structure. I've just been design in a different folder; the changes still need to be merged into this repo. I'll definitely touch base in a little bit when I have some substantial updates pushed.

👌🏽

@Gusted I would appreciate some feedback on the popup form though 😊
https://deadname-remover-redesign.web.app/popup.html
Merged those changes here as well but they don't have the scripts for theme changing yet

@Gusted I would appreciate some feedback on the popup form though blush
https://deadname-remover-redesign.web.app/popup.html
Merged those changes here as well but they don't have the scripts for theme changing yet

LGTM the design.
So the speed of the slider seems personally a bit slow due to the ease-in-out animation, that haves a lower speed on the start and end, I think it can be reduced to 0.6s to encounter this while having the same effect.
I think an extra theme can be added called HighContrastInverse, that is the same of HighContrast but a dark-theme of it so users don't need to blind their eyes.
e.g. how Pop!_OS Linux Distro has this option.
HighContrast:

HighContrastInverse:

@Gusted meant to check in a few days ago, crazy week.
I have a bunch done but wanted to take a look at the extension "backend" to make sure my changes don't make y'all completely rework how the extension works. I think I did a good job, but I don't want to make your life impossible.
Will make my final changes and push them tomorrow

I have a bunch done but wanted to take a look at the extension "backend" to make sure my changes don't make y'all completely rework how the extension works. I think I did a good job, but I don't want to make your life impossible.

It's fine. The current background.ts is modular and should only need a few changes from the current UI that is published at the site.

@Gusted Alright, it's all ready if you want to put it to TS. The JS is pretty clean so I'd almost prefer if it wasn't put back into TS, but that's up to you. Let me know if you get stuck anywhere, but hopefully it's pretty straightforward.
All the settings change the Chrome local storage directly, so hopefully that makes it easy to integrate with everything else. 😊

@Gusted Alright, it's all ready if you want to put it to TS. The JS is pretty clean so I'd almost prefer if it wasn't put back into TS, but that's up to you. Let me know if you get stuck anywhere, but hopefully it's pretty straightforward.

Ill it will be ported as cleanly with just some adjustments probably to have type checking in place and make sure it won't break in further adjustments.

All the settings change the Chrome local storage directly, so hopefully that makes it easy to integrate with everything else. blush

👌🏽

As it seems like their are some issues with pushing commits to an PR
Please use this two Patch( in the exact order)
git apply [the long generated string].patch
and then push it.
weow.zip

@Gusted strange... all good now? Besides the one conflict

@Gusted strange... all good now? Besides the one conflict

LGTM to me, If you have a look as well and see if everything works as you intended then I can merge this PR.

God I'm so sorry @Gusted ... I've been swamped! I'm taking a look now and will get back to you within a few hours 💕

I've found a couple bugs and a couple things I neglected to add, looping you in but will give it by best first. WIll edit this comment as I go through these tasks.

The theme doesn't save in either the main options panel or the popup; it gets reset back to "transgender" each time.
The extension's first load includes ", " in front of each of the deadname boxes, probably something to do with the join()
Add a bit more padding to the bottom of the "View All Options" box on the bottom of the popup
Add color background to replaced names depending on theme, currently is only set to the yellow highlight

The theme doesn't save in either the main options panel or the popup; it gets reset back to "transgender" each time.

The extension's first load includes ", " in front of each of the deadname boxes, probably something to do with the join()

Oops, I pushed some changes to WillHayCode/Deadname-Remover:Arigibson/master instead of Arigibson/Deadname-Remover:master. This should be fixed now.
I assume the third one is CSS.
The 4th hmmm, I don't know it if making it to the theme is a good idea it can decrease contrast. It's currently using mark element to let the browser handle the contrast.

The 4th hmmm, I don't know it if making it to the theme is a good idea it can decrease contrast. It's currently using mark element to let the browser handle the contrast.

Alternative can be discussed on a new issue as it doesn't make to seem much sense for a UI PR to change this.

Omg, you're magic! I'll go do some more testing and follow up in a few minutes. I was literally just waiting for my computer to boot to make those fixes when I got the email that you pushed some stuff 😅
Re: the fourth one, that's in relation to #199. I see what you're saying for sure though; let's continue that convo there.

Still having trouble, will take a look myself and let you know

@Gusted alright, it seems like all the issues I spotted were from the porting process, as I gave another check with my original JS code, and none of those errors are present. I'm happy to try and port my code to TS, unless you want to try again. Don't wanna offload too much of my junk onto you haha

I'm happy to try and port my code to TS, unless you want to try again. Don't wanna offload too much of my junk onto you haha

I can port it, I have time enough now school has vacation :)


Added support to bind to timer's variables from outside

http://stackoverflow.com/q/32140958/3191896
Demo
http://codepen.io/Jossef/pen/OypOQg?editors=101

It's better if you run a build (dist is manually patched, without .min)

@jossef - Thanks for the PR :+1:


DistributedCommandBus: Ability to identify local member

Hello,
Would it be ok to add a boolean local() method to Member interface in order to identify the local member?
Currently, with the Spring Cloud implementation, even when the local member is selected, this one is requested via an http request.
It would be more efficient to request it programmatically.
Maybe am I wrong? What do you think of that?

That sounds like a great plan @reda-alaoui, would definitely be more efficient if the local command bus could be selected from the set of members rather than going through the SpringHttpCommandBusConnector for a local member.

Thanks for your answer @smcvb .
I will submit a PR shortly.


Metric miss when setting the gauge value to zero

I use the python client for storing metrics for a user's online presence. For example when a user comes online I start counting seconds and then as soon as he goes offline ,I post the metric to grafana. Now after posting the online timespan I immediately need to update that user has gone offline so I set the metric value to 0.
The last update remains and the one value before it does not appear on grafana as prometheus metric show the last metric reading only (checked via /metrics)
Steps to reproduce
Example using a Gauge class in the client

User 1 comes online for 20 seconds
/metrics updated with 20seconds
Now set /metrics to 0 since user has gone offline.
Earlier metric disappeared.

Should I be using the counter instead and reset it to 0 as soon as the user goes offline ? Wouldn't this also result the same ?
Is it because of the scraping interval of prometheus. I mean when I reset it twice it was maybe done within the same scrape time interval so only the last update remained. Is it so ?
Any way around this problem ?

It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.

Can you add me there.I don't seem to have access to it

It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.

Can you answer it here ?
https://groups.google.com/forum/m/#!topic/prometheus-users/8TNFERifd5Q

Its been few days and no one has responded on the google groups. Can you look at it and answer if you know it ?


(BUG) #1880 The "Photo camera" and "Delete" icons are not working at once after the first click

Description
Remove unnecessary prevent default. Increase margin to match the button size.
About #1880
How Has This Been Tested?
The camera and trash buttons should. be clickable immediately.
Checklist:

[x] PR title matches follow: (Feature|Bug|Chore) Task Name
[x] My code follows the style guidelines of this project
[x] I have followed all the instructions described in the initial task (check Definitions of Done)
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have added reference to a related issue in the repository
[x] I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
[ ] I have added screenshots related to my pull request (for frontend tasks)
[x] I have pasted a gif showing the feature.
[x] @mentions of the person or team responsible for reviewing proposed changes

Video: https://www.screencast.com/t/Fb5G9rnsS

There was an issue with zIndex for the camera and trash buttons. The was overlapped with the main image container.

There was an issue with zIndex for the camera and trash buttons. The was overlapped with the main image container.

and how it's related to removed .preventDefault() ?

There was an issue with zIndex for the camera and trash buttons. The was overlapped with the main image container.

and how it's related to removed .preventDefault() ?

@serdiukov-o-nordwhale
It's not related. I reverted the preventDefault changes back.

There was an issue with zIndex for the camera and trash buttons. The was overlapped with the main image container.

and how it's related to removed .preventDefault() ?

@serdiukov-o-nordwhale
It's not related. I reverted the preventDefault changes back.

ok


Relaxing tqdm version constraint

Coverage remained the same at 77.785% when pulling 961bf00b9b471f345a1065249bf2d6b118a07116 on tqdm-version-relaxation into b7a4d94f8246b117999d351f9ccf4e7e7d971977 on dev.


Add ability to use non Json interface for json format

Fixes https://github.com/Azure/azure-sdk-for-net/issues/40154
If a client author only implements IPersistableModel writing json format should still work it just won't take advantage of the faster interface IJsonModel
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


[Bug] Game crashes when trying to view a structure in REI

Version Information
Forge version: 47.2.6
Masterful Machinery version: 0.1.5
Minecraft: 1.20.1
Add-Ons
None installed
Further Information
Log
I found out it's because I was using an invalid block tag. Would be nice if the mod warned you in-game or didn't load the file if it detects invalid block tags.
Update: Happened again after I fixed the block tags. Never happened until I swapped to block tags.
Log 2

Update: It happened after I fixed the block tag.
Log:
latest.log

Update 2: Seems like this is being caused by me trying to use custom block tags in my structures. I'm using KubeJS to add them, so maybe that's the cause? Maybe it's trying to render a tag that hasn't the game hasn't registered yet or something?
Either way, here's the script that adds the tags and my new game log:
script-and-log.zip

closing, im certain this is not a bug, this should be discussed in discord


Does not support ec2 style hostname

nodeName2IP should handle ec2 style hostname properly.
Currently it only support ip address as the hostname.

Fixed in a1eba0d18b2a80ca3b37fb6a585cc07a2b9f1a57


fix(yaml,docs): fix issues in docs and yaml

Developer setup doc updated with seachest release version
changed label in blockdevice
removed cpu and memory for minikube vm driver=none
updated Daemonset to apps/v1

Signed-off-by: Akhil Mohan<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master     #313   +/-   ##
=======================================
  Coverage   52.64%   52.64%
=======================================
  Files          51       51
  Lines        2405     2405
=======================================
  Hits         1266     1266
  Misses       1042     1042
  Partials       97       97

Continue to review full report at Codecov.

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


Workspace recommended extensions

Would be nice to have the extensions mentioned in tooling.md specified as workspace recommended extensions.

TIL about that feature, thanks!


Network  dev

This (small) PR requests altering the network.utils.compute_length() to use numpy instead of math, unless there is specific reason for using math instead of numpy. Also, I have commented out several other imports that were not being utilized within utils.

Coverage decreased (-0.002%) to 83.072% when pulling 7a3f014a8d2e2e2b598dbb5285b561c621595b57 on network__dev into ed42cfd94f2e7c47a256ed2b20ec1f6b2fc91a2f on dev.

Coverage decreased (-0.002%) to 83.072% when pulling 7a3f014a8d2e2e2b598dbb5285b561c621595b57 on network__dev into ed42cfd94f2e7c47a256ed2b20ec1f6b2fc91a2f on dev.

Coverage decreased (-0.002%) to 83.072% when pulling 7a3f014a8d2e2e2b598dbb5285b561c621595b57 on network__dev into ed42cfd94f2e7c47a256ed2b20ec1f6b2fc91a2f on dev.

Coverage decreased (-0.002%) to 83.072% when pulling 7a3f014a8d2e2e2b598dbb5285b561c621595b57 on network__dev into ed42cfd94f2e7c47a256ed2b20ec1f6b2fc91a2f on dev.

Coverage decreased (-0.002%) to 83.072% when pulling 7a3f014a8d2e2e2b598dbb5285b561c621595b57 on network__dev into ed42cfd94f2e7c47a256ed2b20ec1f6b2fc91a2f on dev.


Improved README

 Mention [stepsize] in a comment if you'd like to report some technical debt. See examples here.

OK


Videoplayer not working properly on ios 14.5

Hi, i experienced a problem using chewie on flutter 1.22.6 and ios 14.5.
The problem: Videoplayer sometimes doesn´t show  the speed button and also i cant scroll through the video and resets himeself, the duration of the video its always 1h also.
I tried this on an iphone with 14.4 and works fine  , for the time being we are having this problem with  IOS 14.5
`════════ Exception caught by rendering library ═════════════════════════════════
The following assertion was thrown during paint():
RRect argument contained a NaN value.
'dart:ui/painting.dart':
Failed assertion: line 37: ''
The relevant error-causing widget was
Chewie
lib/Common/chewie_list_item.dart:57
When the exception was thrown, this was the stack
#2      _rrectIsValid (dart:ui/painting.dart:37:10)
#3      Canvas.drawRRect (dart:ui/painting.dart:3742:12)
#4      _ProgressBarPainter.paint
package:chewie/src/cupertino_progress_bar.dart:137
#5      RenderCustomPaint._paintWithPainter
package:flutter/…/rendering/custom_paint.dart:531
#6      RenderCustomPaint.paint
package:flutter/…/rendering/custom_paint.dart:572
...
The following RenderObject was being processed when the exception was fired: RenderCustomPaint#77251
RenderObject: RenderCustomPaint#77251
parentData:  (can use size)
constraints: BoxConstraints(w=552.0, h=47.0)
size: Size(552.0, 47.0)
════════════════════════════════════════════════════════════════════════════════
════════ Exception caught by rendering library ═════════════════════════════════
RRect argument contained a NaN value.
'dart:ui/painting.dart':
Failed assertion: line 37: ''
The relevant error-causing widget was
Chewie
lib/Common/chewie_list_item.dart:57
════════════════════════════════════════════════════════════════════════════════
════════ Exception caught by rendering library ═════════════════════════════════
RRect argument contained a NaN value.
'dart:ui/painting.dart':
Failed assertion: line 37: ''
The relevant error-causing widget was
Chewie
lib/Common/chewie_list_item.dart:57
════════════════════════════════════════════════════════════════════════════════
════════ Exception caught by rendering library ═════════════════════════════════
RRect argument contained a NaN value.
'dart:ui/painting.dart':
Failed assertion: line 37: ''
`
Thanks :)

Could you please try again with latest chewie: 1.2.1? We updated the video_player dependency.
For further issues on these low level stuff: Please file an issue in video_player plugin


Car price prediction [New project in ML Deployed folder]

Title and Issue number
This project aims to predict the price of cars using machine learning techniques, specifically the XGBoost algorithm. The model is trained on a dataset containing various features of cars, such as the make, model, year, mileage, fuel type, and other relevant factors.
Close #3001

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md

@MohitGupta121 please review the PR.

@shruti-2412 Move your this project to their respective project folder https://github.com/pranjay-poddar/Dev-Geeks

I have already added the project in Machine Learning Model - Deployment folder


Add support for Swift 5.8

Not sure if that's all that's needed but it seems to be working when testing it on our fork!

Closing in favour of #550 which is way more comprehensive.


HAWQ-894. Add feature test for polymorphism with new test framework

+1

＋1

[ RUN      ] TestQueryPolymorphism.Test1
lib/sql_util.cpp:116: Failure
Value of: false
Actual: false
Expected: true
/data2/github/incubator-hawq2/src/test/feature/query/ans/polimorphism-test1-query.ans doesn't exist
Looks like the ans file was not renamed.


Uncaught TypeError: Cannot read property 'play' of undefined

Steps to reproduce:

Open the bin: http://jsbin.com/wuhita/2/edit?html,js,console,output
Click on the big "click me" and see the error pop up in the browser console.

Expected behaviour: Sound plays, no error messages.
Current behaviour: Sound plays, got error message.
Here is the bin exported to Gist (just in case...): https://gist.github.com/borisdiakur/d351a01726a17a9ce741

I can report the same thing. When ngAudio.load in the link property of the directive, I won't get the error, regardless of when/where it plays. If I load it within a $scope.$watch(...), it displays the same error.

The simplest solution seems to be just to defend the offending (and much maligned) lines of code, but they were put in for mobile support, so we don't want to break iPad and Android support.
Anyone want to take a crack at this one?

To me the simplest solution seems to be this:
window.addEventListener("click",function twiddle(){
    if (audio) {
        audio.play();
        audio.pause();
    }
    window.removeEventListener("click",twiddle);
});

Though I do not see the whole picture.

The best is to implement the fix in a branch, then test that branch on several devices including a desktop, an android and an iPhone running IOS7 and IOS8 if possible.

I've run into this problem as well. Funny thing is: I use ngAudio from my controller (fired by a animation callback). Here is what my controller looks like:
angular.module( 'app' )
	.controller( 'ctrl', function( $scope, ngAudio ) {
		var sound = ngAudio.load( '../app/sounds/my-sound.mp3');

		$scope.myCallback = function() {
			sound.play();
		};
	} );

When the controller is called first time everything works just fine. Second time I got the above mentioned error. Any suggestions?

@fnagel The official recommendation would be to leave everything as it is if this is not breaking your app, as this is an artifact of supporting mobile devices and changing the inner-workings of the directive could reduce (or... improve?) mobile support.
If you do make any changes to the directive, be certain to check for regression on mobile.

The issue may be caused by the load function which is deferred, but not the eventListener.
For a reason I can't explain, my first call to load is not buggy. But when i try to load the file again (I don't know if it's buggy when loading a new one), the audio variable is not initialized yet, causing a console log.
In my opinion, @borisdiakur's solution may not be the best, since this function is not supposed to be bypassed for iOS. I think you should try to move the eventListener binding inside the load promise callback, since the audio must be loaded/initialized before being played.

I think a solution from @borisdiakur is most easiest way to fight an issue. We need something to not receive errors in console when using this lib.

This is resolved in 1.4.2
https://github.com/danielstern/ngAudio/issues/43

Still reproduces in Chrome -- http://jsfiddle.net/pavelk/mLrsLt4b/ -- see console output.

Hey @PavelKonon
As referenced, you need to disable unlock if you don't want that error.
http://jsfiddle.net/0ue6rceo/

Hey @danielstern
Disabling unlock causes playback issues on mobile. Isn't there a way to solve the issue such that  playback on mobile browsers isn't affected?

No way that I know of. Anyone have any ideas?

Hi, can stick this crutch up there. http://joxi.ru/zANjeKaU7EGeA9


torch.load fails to load "nan" floats in ascii mode

torch.load uses e.g. THDiskFile to load objects from file, this in turn uses fscanf to load the file in ascii mode. Torch saves NaN as string "nan", but in my situation (emulator, NDK 22, armeabi-v7a) the following snippet:
sscanf("nan", "%g", buf)
returns 0 (i.e. no float was found). The loading routine promptly falls over having expected to read an NaN.

This is inherent issue (or perhaps a feature) of sscanf. Not to be fixed here.


updated OS version support info

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@LanaChin PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


lightburn: 1.0.06 -> 1.1.00

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/LightBurnSoftware/deployment/releases.
meta.description for lightburn is: "Layout, editing, and control software for your laser cutter"
meta.homepage for lightburn is: "https://lightburnsoftware.com/"
meta.changelog for lightburn is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/5ki8fpmsszmrcf9vpd0x1kjidskj40s2-lightburn-1.1.00/bin/.LightBurn-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/5ki8fpmsszmrcf9vpd0x1kjidskj40s2-lightburn-1.1.00/bin/LightBurn had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/5ki8fpmsszmrcf9vpd0x1kjidskj40s2-lightburn-1.1.00/bin/..LightBurn-wrapped-wrapped had a zero exit code or showed the expected version
0 of 3 passed binary check by having a zero exit code.
0 of 3 passed binary check by having the new version present in output.
found 1.1.00 with grep in /nix/store/5ki8fpmsszmrcf9vpd0x1kjidskj40s2-lightburn-1.1.00
found 1.1.00 in filename of file in /nix/store/5ki8fpmsszmrcf9vpd0x1kjidskj40s2-lightburn-1.1.00

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

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
lightburn

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5ki8fpmsszmrcf9vpd0x1kjidskj40s2-lightburn-1.1.00 \
  --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 lightburn https://github.com/r-ryantm/nixpkgs/archive/6e7cb7346a7bf7ef0ed17c2fdb6c729660acb1dc.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/5ki8fpmsszmrcf9vpd0x1kjidskj40s2-lightburn-1.1.00
ls -la /nix/store/5ki8fpmsszmrcf9vpd0x1kjidskj40s2-lightburn-1.1.00/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

1 package built:

lightburn

Maintainer pings
cc @q3k for testing.

Change log: https://lightburnsoftware.com/blogs/news/lightburn-1-1-00-released-better-handling-of-multiple-lasers-svg-text-importing-ui-improvements-and-lots-of-fixes
Runs on x86_64-linux


Missing something?

I followed the directions listed above, but I can't help but wonder if I'm missing something. I notice when I put in the _api/lists/getbytitle('Customer')/items?$select=BdcIdentity,CustomerID,ContactName behind the site and add on name it says "List 'Customer' does not exist at site with URL ..." I created a list on my dev site but that didn't seem to work as well. What am I missing?

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

ID: 096828ce-2c2a-d5d1-067a-fb3e3ccb780d
Version Independent ID: 5225dddd-6c50-b24f-d75e-0ad9a6467a16
Content: Access external data by using REST in SharePoint
Content Source: docs/general-development/how-to-access-external-data-with-rest-in-sharepoint.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

This REST query is looking for a list named Customer specifically. If you created it using a different name, you need to make sure you use that name.
You see all lists created on the site by entering this query in the browser (once you've logged into the site) to verify you are using the correct list: _api/lists?$select=Title


Memory and thread leak

Hi, i'm using SocketIoClientDotNet for .Net 4.0 and .Net 3.5 and i have some problems. This example code make memory and thread leak. After, you can see, how app opens a new thread and consumes more memory...
// Client
var opts = new IO.Options();
opts.Cookies.Add("test", "1");
opts.Reconnection = true;

var m_manager = new Manager(new Uri("http://mysite.com"), opts);
var socket = m_manager.Socket("/test");

socket.On(Socket.EVENT_CONNECT, () =>
{
    socket.Emit("hi");

});

socket.On("hi", (data) =>
{
    Console.WriteLine(data);
});

socket.On("statistic", (data) =>
{
    socket.Emit("statistic");
    Console.WriteLine(data);
});

Console.ReadLine();

// Scoket.IO Server
setInterval(function() {
    socket.emit('statistic', 'full');
}, 100);

This only in .NET 3.5

please, post more of your node code

Like this:
var app = require('express')();
var http = require('http').Server(app);
var io = require('socket.io')(http);

io.on('connection', function(socket) {
	setInterval(function() {
		socket.emit('statistic');
	}, 1000);

	socket.on('statistic', function(data) {
		console.log(data);
	});
});

var server = http.listen(1337, function() {
	var host = server.address().address;
	var port = server.address().port;

	console.log('Listening at http://' + host + ':' + port);
});

you have to put setInterval function outside of the event ON_CONNECT, if you keep it as you have it right now, it will creates a timer for every connection, so, in other words, if you have 10 clients connected, your clients are receiving  10 emits every single second
try something like this:
var http = require('http').Server(app);
var io = require('socket.io')(http);

var Default = io.of('/socket.io/');

setInterval(function() {
    Default.emit('statistic', 'full');
}, 1000);

Default.on('connection', function(socket) {

    socket.on('statistic', function(data) {
        console.log(data);
    });
});

var server = http.listen(1337, function() {
    var host = server.address().address;
    var port = server.address().port;

    console.log('Listening at http://' + host + ':' + port);
}); ```

The problem is not in node. This simple node code need for detection of bugs. Soo, after C# client connect to node server, i receive messages every second. And each received message in C# client, opened new thread. After some time, i see in task manager how my app c# client uses hundreds of thread.

And each received message in C# client, opened new thread
exactly, this is  why you have to put the setInterval function outside the connection event......

Well, I'll try your code. But I tried the same code on .NET > 3.5 and everything was fine.

Now my code is exactly the same as your, the problem is not exactly in this. New thread opened every received statistic message.

+1 this issue same for me

Please check again with new release <IP_ADDRESS>-beta1

Its work fine, thx 👍


Disable testResolveSymlinksViaGetAttrList() on non-Darwin

This test attempts to test an optimization that is only present on Darwin (using getattrlist to resolve symlinks when possible). I encountered a situation on Windows on my local device where calling this function would standardize other portions of the path resulting in test failures. Since this test isn't applicable on non-Darwin anyways, this disables the test to ensure we don't hit accidental failures depending on local device setups.
In my device's case, the expected destination path was
C:\\Users\\jmschonfeld\\AppData\\Local\\Temp\\FileManagerPlayground_F2BEE091-140C-478E-91B2-1EBB08B88E5C\\destination

However calling this function was standardizing this to
C:\\Users\\JMSCHO~1\\AppData\\Local\\Temp\\FileManagerPlayground_F2BEE091-140C-478E-91B2-1EBB08B88E5C\\destination

@swift-ci please test

If this is a Darwin specific test, that makes sense to skip. However, the normalization seems to be a short path thing ... which is odd. I don't expect to see short paths in the results.

Yeah this test is really intended to test String._resolvingSymlinksInPathUsingFullPathAttribute() which is an optimization for Darwin but is a no-op on other platforms. If that normalization is unexpected we should definitely look into that, I think it must be coming from GetFinalPathNameByHandleW?


Speaker accessory type problem

When I configure my tv speaker as accessory type “Speaker” I get an incompatible accessory in Home app. It seems to work only as a “Lightbulb” type. Is this normal?

Yea thats intended. "Speaker" type is not supported in Apple Home and only visible in third party apps like EVE etc.
in the next major release (v5), this type will be removed


[BUG][API] the interface of 'authed project' is missed

close #6135
the interface of 'authed project' is missed

Codecov Report

Merging #6136 (a7b32ff) into dev (1f838e6) will decrease coverage by 0.01%.
The diff coverage is n/a.

:exclamation: Current head a7b32ff differs from pull request most recent head 868ae74. Consider uploading reports for the commit 868ae74 to get more accurate results

@@             Coverage Diff              @@
##                dev    #6136      +/-   ##
============================================
- Coverage     42.83%   42.82%   -0.02%
+ Complexity     3614     3611       -3
============================================
  Files           635      635
  Lines         25901    25901
  Branches       2936     2936
============================================
- Hits          11095    11092       -3
  Misses        13735    13735
- Partials       1071     1074       +3

Impacted Files
Coverage Δ

...scheduler/api/controller/DataSourceController.java
4.16% <ø> (ø)

...hinscheduler/api/controller/ProjectController.java
65.21% <ø> (ø)

...inscheduler/common/thread/ThreadPoolExecutors.java
19.23% <0.00%> (-1.93%)
:arrow_down:

...dolphinscheduler/remote/future/ResponseFuture.java
81.35% <0.00%> (-1.70%)
:arrow_down:

Continue to review full report at Codecov.

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


buildah: 1.19.1 -> 1.19.2

https://github.com/containers/buildah/releases/tag/v1.19.2

Motivation for this change
Things done

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

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

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

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

2 packages built:

buildah
buildah-unwrapped

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

2 packages built:

buildah
buildah-unwrapped


r11s-driver: Use correct id for snapshot version cache

Description
The R11s Driver relies on an internal in-memory cache to optimize the "latest" summary call on initial load. This works fine in FRS right now with SummaryStorage, but it doesn't work well with Gitrest due to a typo in the cache keys. SummaryStorage is fine because snapshot versionId === treeId, but in Gitrest, these are different, thus, we are just now seeing this bug as we ramp up testing with Gitrest.

Are you able to validate against both SummaryStorage and Gitrest?

@ssimic2 yes, I confirmed the following using SummaryStorage and Gitrest separately.
Bug: When loading a document, 2 calls for summaries are made back-to-back. Call 1 is "latest" id, call 2 is "" id

Gitrest

Before fix: Bug reproduced consistently
After Fix: Can't reproduce bug

SummaryStorage

Before fix: Can't reproduce bug
After Fix: Can't reproduce bug


padding start and padding end doesn't work.[bug]

padding start/end doesn't add any style in web (I use next.js in next-expo-solito)

          this is me.

using padding-start and -end are necessary for rtl (right to left) .  start  and end that I use  instead of  right and left also doesn't work even though it has typescript support for it.

           Welcome to Sina . this is me.

update: padding-start and -end , right and left both works in react native but not nextjs

It's probably because the Heading tags like H1 default to a  element on web, and putting a padding on a span doesn't work by default on the web in general.

span won't have padding because it is an inline element by default, so set inline-block or block. https://stackoverflow.com/a/35592226/380607

It's probably because the Heading tags like H1 default to a  element on web, and putting a padding on a span doesn't work by default on the web in general.

span won't have padding because it is an inline element by default, so set inline-block or block. https://stackoverflow.com/a/35592226/380607

it's not just padding. start and end positioning also doesn't work.
example:

 Welcome to Sina . this is me.

margin start and margin end also doesn't work it seems nextjs doesn't support rtl for web(next.js)

It should work now, I had a logic error that was just mangling the output style but that was fixed in https://github.com/tamagui/tamagui/commit/54c545fa2bb10714ab2515574b58f3ef2ccf05bc


Run integrations tests with debug_asserts

At the moment, we are running the integration tests in CI in release mode. I don't think that is very useful because it means we opt-out of all debug_asserts within in the code.

@thomaseizinger Hmm yeah, it might be useful to expose log level as an ENV var, defaulting to the current Debug and Release behavior we have now. I was thinking the same when considering how we'll test the client apps in CI.

I am not talking about the log level though. I am talking about not using --release for the Rust crates. That removes all debug_asserts from the code and turns them into noop to avoid crashes at runtime. But the whole point of debug_asserts is that you can crash during testing and notice bad problems early :)

@thomaseizinger Gotcha, thanks for clarifying. Makes sense.

This has been completed as of last week. Refs #2344


Add name detector

Adding a script that detects people's names in a given text.

Thanks for your Contribution.
Keep Contributing.
Happy Hacktober!


Microsoft.Maui.Platform.HandlerNotFoundException: 'Handler not found for view BarcodeScanning.CameraView.'

Sorry of this is the wrong place to get help but I have no idea where else to post.
I keep getting this error when trying to set up a simple scanner. It happens after the OnAppearing method has run. Investigating further down it seems the Handler == null.
Trying to run it on a Pixel 5 Android Emulator with API 34. Running on Maui version 8.0.92 targeting net8.0-ios and net8.0-android34.0 (Haven't bothered testing on iOS yet as it's not as important). Running version 1.5.8 of BarcodeScanning.Native.Maui.
using BarcodeScanning;
using CommunityToolkit.Maui.Alerts;

namespace App.Views;

public partial class ScanPage : ContentPage
{
    public ScanPage()
    {
        try
        {
            InitializeComponent();

        }
        catch (Exception e)
        {

            throw;
        }
    }

    protected override async void OnAppearing()
    {
        try
        {
            await Methods.AskForRequiredPermissionAsync();
            base.OnAppearing();
            scanner.CameraEnabled = true;
            var test = scanner;

        }
        catch (Exception e)
        {

            throw;
        }
    }
}

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="App.Views.ScanPage"
             xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:scanner="clr-namespace:BarcodeScanning;assembly=BarcodeScanning.Native.Maui"
             x:Name="QRCodeContent"
             Title="Scan QR Code">
    <Grid HorizontalOptions="Fill">
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <scanner:CameraView x:Name="scanner"
                            CameraFacing="Back"
                            CaptureQuality="High"
                            CameraEnabled="False"
                            BarcodeSymbologies="All"
                            OnDetectionFinished="CameraView_OnDetectionFinished"
                            TapToFocusEnabled="True" />
    </Grid>

</ContentPage>

Hello.
To me it looks like a Handler issue. If your page doesn't get disposed (it handles like a Singleton) when you close or navigate from it then don't call DisposeHandler method as you'll get into the issue that you describe.
On the other hand if your page gets disposed (like a Transient) the it is best to call DisposeHandler to prevent memory lekas.


Clarify that only read-only accesses to the seed CSR are forbidden

Write-only accesses are legal (though not useful).
See https://github.com/riscv-software-src/riscv-isa-sim/issues/1728

FYI @mjosaarinen


model corruption in Eclipse on type-constructors-jvm branch?

The title is just a wild guess, but the code below fails to compile only in Eclipse, and only if "Compile project for" both JVM and JavaScript are selected.
I don't know if this happens on master.
shared void testct() {
    Integer()() ffTest;
    ffTest = () {
        return () => 5;
    };
}
// compiler bug: null at com.redhat.ceylon.compiler.java.codegen.AbstractTransformer.getRefinedDeclaration(AbstractTransformer.java:922)
// missing return statement	run.ceylon

I get this on "master" too now, but perhaps this issue should be moved to the Eclipse project for @davidfestal to take a look at? Anyway, moving to 1.3


⚠ Bofrost.es has degraded performance

In 7966c42, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1587 ms

Resolved: Bofrost.es performance has improved in 0876733 after 20 minutes.


SLN File no longer compiles

The SLN file appears to be missing a reference to the lol/ directory as an include directory. In addition, the Win8.1 SDK (in contrast with the Win10 SDK) does not include float.h. As such, the project does not compile. I've attempted to retarget against Win10 SDK with build tools 137, but this did not solve the issue.

Thanks for reporting this. Unfortunately Visual Studio is not very smart and doesn’t understand that retargeting the project requires modifying Directory.Build.props rather than lolremez.vcxproj. I’ve fixed the issue in d0e62f84f44f8416e625865dad2ecdf0074f4ca0.

Thanks for the fix. The reference to build tools v143 in lolremez.vcxproj versus v142 in Directory.Build.props made the project not compile on my machine (windows). Referring to v142 everywhere fixed it.


can't load local image for marker if wkwebview hosts the index.html on file:// protocol

The commit for Cordova fix for wkwebview for showing icon in markers that was done in the #multiplemaps branch works only at that commit.
Refer issue #2344 which was closed after testing the fix
A subsequent change has regressed this fix and it not longer works with Cordova (maybe its the ionic fix).

Please share the reproduce project on GitHub

Please refer to @2344. The same project is able to reproduce the issue with the latest #multiplemaps branch.

Thank you for reporting.
This causes because wkwebview behavior is changed.
One thing before reporting your issue next time, please fix your example project.
https://github.com/eskhool/cordovaDemo/blob/master/www/js/index.js#L81-L90


fix: Iteratively apply suggestions from the compiler

This commit updates the cargo fix implementation to iteratively apply fixes
from the compiler instead of only once. Currently the compiler can sometimes
emit overlapping suggestions, such as in the case of transitioning
::foo::<::Bar>();

to ...
crate::foo::<crate::Bar>();

and rustfix rightfully can't handle overlapping suggestions as there's no
clear way of how to disambiguate the fixes. To fix this problem Cargo will now
run rustc and rustfix multiple times, attempting to reach a steady state
where no fixes failed to apply.
Naturally this is a pretty tricky thing to do and we want to be sure that Cargo
doesn't loop forever, for example. A number of safeguards are in place to
prevent Cargo from going off into the weeds when fixing files, notably avoiding
to reattempt fixes if no successful fixes ended up being applied.
Closes #5813
Closes rust-lang/rust#52754

r? @matklad
(rust_highfive has picked a reviewer for you, use r? to override)

r? @ehuss

cc @killercup, you may be interested in this as well!

:hourglass: Testing commit 876a50366b71cf3c8ce917110fa37a1478de8348 with merge 0b80061cacce00dabe8ca25448517d4ac27de2ab...

:sunny: Test successful - status-appveyor, status-travis
Approved by: ehuss
Pushing 0b80061cacce00dabe8ca25448517d4ac27de2ab to master...


Redstone mechanisms do not work and crash the server

Redstone mechanisms do not work and crash the server

Place redstone
I tried to activate it
Server R.I.P.
latest.log
debug.log

fixed


Recovery from invalid connection

Hello,
This pull request addresses an issue where PrismaSessionStore does not recover after an initial failed connection, even when Prisma later connects successfully. The fix implements a recovery process once validateConnection subsequently succeeds.
Thank you.

Thanks for the contribution!
I'm currently on the road, but will check it out over the next week.

On Jun 20, 2023, at 7:32 AM, Katsuma Ito @.***> wrote:

Hello,
This pull request addresses an issue where PrismaSessionStore does not recover after an initial failed connection, even when Prisma later connects successfully. The fix implements a recovery process once validateConnection subsequently succeeds.
Thank you.
You can view, comment on, or merge this pull request online at:
https://github.com/kleydon/prisma-session-store/pull/114
Commit Summary
11375ca fix: recover from disconnected state
File Changes  (1 file)
M src/lib/prisma-session-store.ts (24)
Patch Links:
https://github.com/kleydon/prisma-session-store/pull/114.patch
https://github.com/kleydon/prisma-session-store/pull/114.diff
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

Just merged into master; thanks again for the fix.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@kleydon Thank you!!


Added tags in general context, install slug dependency

Added tags in general context, since tags will be used by many context like user_tag, post_tag, etc.  This PR also install a slug dependency.

Just one change requested.
Could you also give me a little more information, or an example, about how we would use tags?

Initially, I thought this schema name is "skills". As Stefan advised on #621, it should be renamed as "tags" because it can be more general and also can be used for other things, for example (belongs_to) user_tag or post_tag.
For users, user_tag can be users' skills like "Elixir", "Erlang", etc. People can endorse those user_tag.
The schema of user_tag can be like this
belongs_to :user
belongs_to :tag
has_many :endorsements


Kubernetes v1.4 documentation updates

Updating the integration guide to discuss self-hosted installation in preparation for v1.4.0.

[x] Update the integration guide to talk about self-hosted Calico.
[x] Test the provided calico-hosted.yaml to make sure it works.
[x] Update GCE, AWS, Vagrant guides to use v1.4.0 Kubernetes.
[x] Update GCE, AWS, Vagrant guides to use calico-hosted.yaml.

We'll have to follow up on this to bump version numbers to the real v1.4.0 when it is actually released.

@djosborne Note that this is a large docs change; so might have an impact on your docs migration work.

OK, some comments above, but overall this looks really good.  Thanks :).

@matthewdupre Comments responded to, do you want to take another look?

Oops, still need to update the release script.

LGTM


Non revoc interval finesse

Accommodate per-referent non-revocation interval missing "from" or "to"

Codecov Report

Merging #648 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #648   +/-   ##
=======================================
  Coverage   98.81%   98.81%
=======================================
  Files         250      250
  Lines       13351    13351
=======================================
  Hits        13193    13193
  Misses        158      158


Prevent crash and error spam related to Sprite2D with a region

Fixes https://github.com/godotengine/godot/issues/84349 and a couple other problems.

The reported issue is related to deleting the node that was previously edited by the region editor, and then undoing this. Normally, UndoRedo actions should be attached to the edited objects themselves, but in this case the action is a part of the region editor, which no longer has a valid reference to work with. I made sure we don't handle invalid values, which leads to crashes, but there may be a further improvement possible in there. We could make sure that the historical reference to the edited object is preserved and used by the editor method. But for now fixing the crash should be good enough, and there should be no visible issues to the user.
Related to UndoRedo there was also an error message due to poor handling on the signal handlers. I adjusted the code to correctly disconnect them when the node disappears.
While testing the linked issue I noticed that regions don't work with the Sprite 2D editor, namely when converting sprites to 2D meshes. If the region is smaller than the texture, the crop is misaligned. If the region is bigger than the texture, there is error spam related to trying to access a bad pixel coordinate. I could probably fix it properly, but this close to the release I don't want to cause any further regressions. So I simply removed the region handling code, and it is for now simply ignored. It was introduced like that in the original PR in 9e3a1e5401f9f807085547de0ecc3f527610daa4, so it probably never worked.

While working on the third point I also cleaned up error handling logic, so error popups should now appear correctly, won't be obscured by the useless Sprite 2D editor, and excessive checks won't run on each update (since they don't validate anything that the user can change from the dialog anyway).

I was also planning to fix the point no. 3. Do you want to add support for regions in converter afterwards or shall I try?

@aXu-AP Feel free!

Thanks for reviews!


feat: Mimicking getting data on github

Brief Information
This pull request is in the type of (more info about types):

[ ] build
[ ] ci
[ ] docs
[x] feat
[ ] fix
[ ] perf
[ ] refactor
[ ] test

Related issues (all available keywords):

related #909

Details

In preparation for HyperCRX to adapt to Gitee platform, similar to Github platform to get data and so on, changed the relevant get data file.
Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA

Others

I think it is necessary to separate the files for each feature into folders on different platforms and consider their necessity. Is it too redundant, as many files (such as view files) are platform independent and only require passing different data and finding different elements on the page.

Would it be more convenient to extract different file retrieval functions and page element retrieval functions from the index file in each functional folder and extract them to different files within that folder. Otherwise, when changing the component itself, files in two different platform folders will need to be modified simultaneously.

Would it be more convenient to extract different file retrieval functions and page element retrieval functions from the index file in each functional folder and extract them to different files within that folder. Otherwise, when changing the component itself, files in two different platform folders will need to be modified simultaneously.

Yes, that makes sense, the different platform functions that get elements and the functions that get data can be extracted, under each function folder, divided into github.ts and gitee.ts.


fix: Adapt test to changes in angularjs homepage

This became way too complicated. I edited the file in githubs web-interface, which means that it got my github-specific mail-address, which is not included in the cla I signed earlier and I don't want to add it to my Google account. I'll just close the pull-request. Feel free to steal the patch.


Update finagle-core, util-core to 19.10.0

Updates

com.twitter:finagle-core
com.twitter:util-core

from 19.9.0 to 19.10.0.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.twitter" } ]

labels: semver-minor

Codecov Report

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

@@           Coverage Diff           @@
##           master     #167   +/-   ##
=======================================
  Coverage   93.98%   93.98%
=======================================
  Files           5        5
  Lines         133      133
  Branches        3        3
=======================================
  Hits          125      125
  Misses          8        8

Continue to review full report at Codecov.

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


App not building at runtime on Android

Whenever I try to run the app I get a FAILURE: Build failed with an exception.
.pub-cache/hosted/pub.dartlang.org/background_locator-1.4.0+1/android/src/main/kotlin/rekab/app/background_locator/provider/AndroidLocationProviderClient.kt: (13, 1): Class 'AndroidLocationProviderClient' is not abstract and does not implement abstract member @Deprecated public abstract fun onStatusChanged(p0: String!, p1: Int, p2: Bundle!): Unit defined in android.location.LocationListener
These are the logs from flutter run

same problem here. Tried solutions from here https://stackoverflow.com/questions/55399209/update-flutter-dependencies-in-pub-cache but none of them worked

same problem here. Tried solutions from here https://stackoverflow.com/questions/55399209/update-flutter-dependencies-in-pub-cache but none of them worked

@Tedsterh for me changing compileSdkVersion from 29 to 30 inside app/build.gradle fixed the issue.

@Tedsterh for me changing compileSdkVersion from 29 to 30 inside app/build.gradle fixed the issue.

@oligazar Cheers! This fixed it for me

@oligazar Cheers! This fixed it for me

compileSdkVersion to 30 doesn't work for me :(


config server does not point out proper git clone errors

I have migrated from spring cloud edgware to finchley. The config server stopped serving configuration with a 404 and JSON response
{
"timestamp": "2018-10-09T11:41:55.500+0000",
"status": 404,
"error": "Not Found",
"message": "Cannot clone or checkout repository: MYREPOSITORYURI",
"path": "/application/development/develop"
}
I could not figure out what is wrong, so I have started debugging. It turned out that there is a certificate validation issue in JGitEnvironmentRepository, GitAPIException is being caught in line 562 and is theoretically rethrown further up the stack. The problem was that there is a new property 'skipSslValidation' which I had to set. In edgeware that was a default and such property did not exist. Obviously this property is not a problem, except that I did not know that its SSL that is a problem.
What is the real problem, its that the certificate exception was swallowed and did not show up anywhere. I even turned on log level TRACE before I started debugging and still was not able to figure out what is the problem. It seemed like the repository is not found, and I would have assumed that If I didnt know the supplied URI did work on edgeware....
So I believe there is a need for some additional logging or additional REST responses, so whoever needs to figure out what is wrong with their repository does not need to debug the entire spring cloud config server code to find out the location where its failing and see the real exception....

Closed via 2e5933a


How to install packages using -f flag, such as when installing Pytorch?

I need to install a certain version of Pytorch that I can use with a certain version of Cuda. Normally when using pip I'd install it in the following way:
pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
But when I run that using pipenv, so in the following way:
pipenv install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
I get the following error:
Installing torch==1.7.1+cu110...
Error:  An error occurred while installing torch==1.7.1+cu110!
Error text:
ERROR: Could not find a version that satisfies the requirement torch==1.7.1+cu110
ERROR: No matching distribution found for torch==1.7.1+cu110

What is the proper way to handle this using pipenv? Simply to install it using pip anyway, or something else?
These installations instructions come from the Pytorch getting started guide.

I have the same issue. Created this, but perhaps we can close one as a dupe?

Ah yes we can close it then, I'll refer to yours!

Ah yes, I'll close this one and refer to yours.

Also raised in issue #4649


sap_vm_provision: Add no_log:true to tasks with AWS_SECRET_ACCESS_KEY

@sean-freeman  There are multiple task files that are consuming AWS Credentials as input variables/environment, which are visible when running -vvv debug. Please add no_log:true to all of them.
https://github.com/sap-linuxlab/community.sap_infrastructure/blob/main/roles/sap_vm_provision/tasks/platform_ansible/aws_ec2_vs/execute_main.yml
https://github.com/sap-linuxlab/community.sap_infrastructure/blob/main/roles/sap_vm_provision/tasks/platform_ansible_to_terraform/aws_ec2_vs/execute_main.yml

Closed by PR #4 merge


ERROR: Timeout while waiting for panel to start

ERROR: Timeout while waiting for panel to start.
Please open an issue on https://github.com/VZiChoushaDui/Libertea/issues/new
and include the following information:
- component name: libertea-panel
- OS: "Ubuntu"
- OS version: "20.04"
- Docker version: Docker version 23.0.1, build a5ee5b1
Also include the output of the following command:
tail -n 100 /tmp/libertea-panel.log

root@all:~# tail -n 100 /tmp/libertea-panel.log
-- reconnecting mongo client on pid 54609
Traceback (most recent call last):
File "/root/libertea/panel/./panel/init.py", line 20, in periodic_update_domains
domains = utils.get_domains()
File "/root/libertea/panel/./panel/utils.py", line 174, in get_domains
all_domains = [domain["_id"] for domain in domains.find()]
File "/root/libertea/panel/./panel/utils.py", line 174, in
all_domains = [domain["_id"] for domain in domains.find()]
File "/usr/local/lib/python3.8/dist-packages/pymongo/cursor.py", line 1248, in next
if len(self.__data) or self._refresh():
File "/usr/local/lib/python3.8/dist-packages/pymongo/cursor.py", line 1139, in _refresh
self.__session = self.__collection.database.client._ensure_session()
File "/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py", line 1740, in _ensure_session
return self.__start_session(True, causal_consistency=False)
File "/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py", line 1685, in __start_session
self._topology._check_implicit_session_support()
File "/usr/local/lib/python3.8/dist-packages/pymongo/topology.py", line 538, in _check_implicit_session_support
self._check_session_support()
File "/usr/local/lib/python3.8/dist-packages/pymongo/topology.py", line 554, in _check_session_support
self._select_servers_loop(
File "/usr/local/lib/python3.8/dist-packages/pymongo/topology.py", line 238, in _select_servers_loop
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [Errno 111] Connection refused, Timeout: 5.0s, Topology Description: <TopologyDescription id: 641c578c796ab459405baba5, topology_type: Unknown, servers: [<ServerDescription ('localhost', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:27017: [Errno 111] Connection refused')>]>
Thu Mar 23 14:43:45 2023 - error managing signal 0 on worker 2
Updating max_ips cache
Updating max_ips cache
-- reconnecting mongo client on pid 54610
[2023-03-23 14:43:54] Libertea panel serve script
[2023-03-23 14:43:54] Current directory: /root/libertea/panel
[2023-03-23 14:43:54] Checking net.core.somaxconn value
[2023-03-23 14:43:54]   net.core.somaxconn value is 32768
[2023-03-23 14:43:54] Starting Libertea panel via uwsgi on port 1000 with 6 threads, and listen queue size of 512
*** Starting uWSGI 2.0.21 (64bit) on [Thu Mar 23 14:43:54 2023] ***
compiled with version: 9.4.0 on 16 March 2023 15:18:08
os: Linux-5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023
nodename: all.zgc.su
machine: x86_64
clock source: unix
detected number of CPU cores: 4
current working directory: /root/libertea/panel
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
your processes number limit is 31468
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uWSGI http bound on <IP_ADDRESS>:1000 fd 4
uwsgi socket 0 bound to TCP address <IP_ADDRESS>:20905 (port auto-assigned) fd 3
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
Python version: 3.8.10 (default, Nov 14 2022, 12:59:47)  [GCC 9.4.0]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x559842bb9030
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
your server socket listen backlog is limited to 512 connections
your mercy for graceful operations on workers is 60 seconds
mapped 510328 bytes (498 KB) for 6 cores
*** Operational MODE: preforking ***
Initializing...
[uwsgi-signal] signum 0 registered (wid: 0 modifier1: 0 target: default, any worker)
[uwsgi-signal] signum 1 registered (wid: 0 modifier1: 0 target: default, any worker)
[uwsgi-signal] signum 2 registered (wid: 0 modifier1: 0 target: default, any worker)
[uwsgi-signal] signum 3 registered (wid: 0 modifier1: 0 target: default, any worker)
Updating HAProxy lists
-- creating mongo client on pid 66873
Wrote 1 users to haproxy-lists/valid-user-endpoints.lst
Wrote 2 users to haproxy-lists/valid-panel-endpoints.lst
**** Reloading haproxy container ****
Wrote 1 domains to haproxy-lists/domains.lst
**** Reloading haproxy container ****
Wrote 1 domains to haproxy-lists/camouflage-hosts.lst
**** Reloading haproxy container ****
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x559842bb9030 pid: 66873 (default app)
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 66873)
spawned uWSGI worker 1 (pid: 66966, cores: 1)
spawned uWSGI worker 2 (pid: 66967, cores: 1)
spawned uWSGI worker 3 (pid: 66968, cores: 1)
spawned uWSGI worker 4 (pid: 66969, cores: 1)
spawned uWSGI worker 5 (pid: 66970, cores: 1)
spawned uWSGI worker 6 (pid: 66971, cores: 1)
spawned uWSGI http 1 (pid: 66972)
libertea-haproxy
libertea-haproxy
Updating max_ips cache
-- creating mongo client on pid 66969
Updating max_ips cache
-- creating mongo client on pid 66966
Updating max_ips cache
-- creating mongo client on pid 66967
Updating max_ips cache
-- creating mongo client on pid 66970
Updating max_ips cache
-- creating mongo client on pid 66968
root@all:~#

-- reconnecting mongo client on pid 54609
Traceback (most recent call last):
File "/root/libertea/panel/./panel/init.py", line 20, in periodic_update_domains
domains = utils.get_domains()
File "/root/libertea/panel/./panel/utils.py", line 174, in get_domains
all_domains = [domain["_id"] for domain in domains.find()]
File "/root/libertea/panel/./panel/utils.py", line 174, in
all_domains = [domain["_id"] for domain in domains.find()]
File "/usr/local/lib/python3.8/dist-packages/pymongo/cursor.py", line 1248, in next
if len(self.__data) or self._refresh():
File "/usr/local/lib/python3.8/dist-packages/pymongo/cursor.py", line 1139, in _refresh
self.__session = self.__collection.database.client._ensure_session()
File "/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py", line 1740, in _ensure_session
return self.__start_session(True, causal_consistency=False)
File "/usr/local/lib/python3.8/dist-packages/pymongo/mongo_client.py", line 1685, in __start_session
self._topology._check_implicit_session_support()
File "/usr/local/lib/python3.8/dist-packages/pymongo/topology.py", line 538, in _check_implicit_session_support
self._check_session_support()
File "/usr/local/lib/python3.8/dist-packages/pymongo/topology.py", line 554, in _check_session_support
self._select_servers_loop(
File "/usr/local/lib/python3.8/dist-packages/pymongo/topology.py", line 238, in _select_servers_loop
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [Errno 111] Connection refused, Timeout: 5.0s, Topology Description: <TopologyDescription id: 641c578c796ab459405baba5, topology_type: Unknown, servers: [<ServerDescription ('localhost', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:27017: [Errno 111] Connection refused')>]>
Thu Mar 23 14:43:45 2023 - error managing signal 0 on worker 2
Updating max_ips cache
Updating max_ips cache
-- reconnecting mongo client on pid 54610
[2023-03-23 14:43:54] Libertea panel serve script
[2023-03-23 14:43:54] Current directory: /root/libertea/panel
[2023-03-23 14:43:54] Checking net.core.somaxconn value
[2023-03-23 14:43:54]   net.core.somaxconn value is 32768
[2023-03-23 14:43:54] Starting Libertea panel via uwsgi on port 1000 with 6 threads, and listen queue size of 512
*** Starting uWSGI 2.0.21 (64bit) on [Thu Mar 23 14:43:54 2023] ***
compiled with version: 9.4.0 on 16 March 2023 15:18:08
os: Linux-5.4.0-144-generic #161-Ubuntu SMP Fri Feb 3 14:49:04 UTC 2023
nodename: all.zgc.su
machine: x86_64
clock source: unix
detected number of CPU cores: 4
current working directory: /root/libertea/panel
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
your processes number limit is 31468
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uWSGI http bound on <IP_ADDRESS>:1000 fd 4
uwsgi socket 0 bound to TCP address <IP_ADDRESS>:20905 (port auto-assigned) fd 3
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
Python version: 3.8.10 (default, Nov 14 2022, 12:59:47)  [GCC 9.4.0]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x559842bb9030
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
your server socket listen backlog is limited to 512 connections
your mercy for graceful operations on workers is 60 seconds
mapped 510328 bytes (498 KB) for 6 cores
*** Operational MODE: preforking ***
Initializing...
[uwsgi-signal] signum 0 registered (wid: 0 modifier1: 0 target: default, any worker)
[uwsgi-signal] signum 1 registered (wid: 0 modifier1: 0 target: default, any worker)
[uwsgi-signal] signum 2 registered (wid: 0 modifier1: 0 target: default, any worker)
[uwsgi-signal] signum 3 registered (wid: 0 modifier1: 0 target: default, any worker)
Updating HAProxy lists
-- creating mongo client on pid 66873
Wrote 1 users to haproxy-lists/valid-user-endpoints.lst
Wrote 2 users to haproxy-lists/valid-panel-endpoints.lst
**** Reloading haproxy container ****
Wrote 1 domains to haproxy-lists/domains.lst
**** Reloading haproxy container ****
Wrote 1 domains to haproxy-lists/camouflage-hosts.lst
**** Reloading haproxy container ****
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x559842bb9030 pid: 66873 (default app)
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 66873)
spawned uWSGI worker 1 (pid: 66966, cores: 1)
spawned uWSGI worker 2 (pid: 66967, cores: 1)
spawned uWSGI worker 3 (pid: 66968, cores: 1)
spawned uWSGI worker 4 (pid: 66969, cores: 1)
spawned uWSGI worker 5 (pid: 66970, cores: 1)
spawned uWSGI worker 6 (pid: 66971, cores: 1)
spawned uWSGI http 1 (pid: 66972)
libertea-haproxy
libertea-haproxy
Updating max_ips cache
-- creating mongo client on pid 66969
Updating max_ips cache
-- creating mongo client on pid 66966
Updating max_ips cache
-- creating mongo client on pid 66967
Updating max_ips cache
-- creating mongo client on pid 66970
Updating max_ips cache
-- creating mongo client on pid 66968

@Ros-ua Can you give me the result for running the following two commands on a root shell on your server?

curl -I http://localhost:1000
cd /root/libertea && set -o allexport && . .env && curl -I http://localhost:1000/$PANEL_ADMIN_UUID/

Hello, sir
i tried again a few more times to update
and on the second date, the update succeeded
i will give you the results when getting them one more time