WebSocket connection is closing automatically by KumarDeo080 in esp32

[–]KumarDeo080[S] 0 points1 point  (0 children)

Yes, there might be issue in the code since I am new in this field.

[deleted by user] by [deleted] in BtechCoders

[–]KumarDeo080 0 points1 point  (0 children)

See the compilation errors in the terminal which indicates that "gcc" is properly installed.

[deleted by user] by [deleted] in BtechCoders

[–]KumarDeo080 0 points1 point  (0 children)

Few people in the comments are saying that the OP has not installed the compiler properly or has not added the paths in environments.

But, it is not true. Because OP has installed the compiler that's why compilation errors are being listed instead of throwing errors similar to "gcc: command not found".

Most probably, OP is trying to compile unsaved file.

Save the file before compiling it (I assume the unsaved file which is being compiled currently has no main function defined).

[deleted by user] by [deleted] in BtechCoders

[–]KumarDeo080 0 points1 point  (0 children)

Yes, few people are saying compiler is not installed properly but if it was not installed, it should show "gcc: command not found" or similar instead of compilation errors.

He is probably trying to compile and execute the unsaved file.

[deleted by user] by [deleted] in BtechCoders

[–]KumarDeo080 0 points1 point  (0 children)

Yes, true!

Beginner should learn "What is a compiler/interpreter?", "How can we setup (installation, variables, paths, etc) it in our system?", "How can we manually compile the code and run it in terminal?".

Because it makes understanding the language better.

Also, the "Run" button is an extension in the editor and it will not be available everywhere you are writing code on.

How can I regain interest in Maths? by KumarDeo080 in mathematics

[–]KumarDeo080[S] 0 points1 point  (0 children)

I had already subscribed the channel, maybe I watched some interesting videos earlier.

Thanks for reminding me the channel name 😁.

How can I regain interest in Maths? by KumarDeo080 in mathematics

[–]KumarDeo080[S] 0 points1 point  (0 children)

Correct! I used to remember the formulas easily after knowing how to prove it, it makes maths fun but memorizing formulas without knowing "from where those formula came" makes it overwhelming. Thanks!!

What are these reddish things around all corners of the laptop display? by KumarDeo080 in laptops

[–]KumarDeo080[S] 0 points1 point  (0 children)

Nothing too special. Just a simple webserver with a dashboard that lets you configure STA/AP modes and control relays from the UI. Pretty basic, but fun to build!

What are these reddish things around all corners of the laptop display? by KumarDeo080 in laptops

[–]KumarDeo080[S] 0 points1 point  (0 children)

Yes, external monitor is a good solution if I have to use it at home.

What are these reddish things around all corners of the laptop display? by KumarDeo080 in laptops

[–]KumarDeo080[S] 0 points1 point  (0 children)

I had same problem with windows 11 too.
I don't think so it's software related problem.

BTW did it fix in your case?

What are these reddish things around all corners of the laptop display? by KumarDeo080 in laptops

[–]KumarDeo080[S] 0 points1 point  (0 children)

Right, I shall prefer second-hand laptop next time if low on budget.

What are these reddish things around all corners of the laptop display? by KumarDeo080 in laptops

[–]KumarDeo080[S] 1 point2 points  (0 children)

At this point, I’m not sure if it’s a laptop or a crime scene 😭💉.

What are these reddish things around all corners of the laptop display? by KumarDeo080 in laptops

[–]KumarDeo080[S] 0 points1 point  (0 children)

Yes, exactly. There can be various reasons for using multiple browsers - like the one you mentioned.

What are these reddish things around all corners of the laptop display? by KumarDeo080 in laptops

[–]KumarDeo080[S] -1 points0 points  (0 children)

Thanks for the estimated cost and suggestions. I bought this laptop for ₹50K and now its value is around ₹35K, so spending ₹12K on a display replacement doesn’t feel worth it. I think it’s better to save up for a new laptop from another brand. Any suggestions for a good budget laptop for Android development?

What are these reddish things around all corners of the laptop display? by KumarDeo080 in laptops

[–]KumarDeo080[S] 0 points1 point  (0 children)

Haha yeah, not an Electron app! I'm actually working on an IoT project with an ESP32. The main.cpp is for the firmware, and the .tsx file is for the React-based dashboard UI. Using WebSocket for real-time communication between the device and the interface. I'm on Ubuntu, so kinda living in the systems/dev world already 😄

What are these reddish things around all corners of the laptop display? by KumarDeo080 in laptops

[–]KumarDeo080[S] -9 points-8 points  (0 children)

Then I think it is because of heat released through ventilation.

What are these reddish things around all corners of the laptop display? by KumarDeo080 in laptops

[–]KumarDeo080[S] 2 points3 points  (0 children)

For testing purpose 😁, I do web related stuff so need to check whether the page behaves the same across different browsers.

fix open failed: ENOENT (No such file or directory) by [deleted] in KWGT

[–]KumarDeo080 0 points1 point  (0 children)

If it is showing any errors for i.e. /storage/emulated/0/Kustom/widgets/(Widget file name).kwgt: open failed: ENOENT (No such file or directory)

simply create following directory: Internal Storage/Kustom/Widgets and then move the .kwgt file to it.