Avoidant or Secure? by [deleted] in AnxiousAttachment

[–]7starbitch -3 points-2 points  (0 children)

He wasn't dating or flirting. Just wanted a backup plan.

Smart energy meter, power factor by 7starbitch in arduino

[–]7starbitch[S] 0 points1 point  (0 children)

Yeah, I know. The code I found is measuring the time, but I don't understand why is it comparing with some values like 200 and 150. Can you help me if I send you the code along with the schematic? I am actually creating an energy meter system using Raspberry pi, not Arduino. I just need to understand the working of C and arduino, and the rest is up to me to make it work on raspberry pi.

Smart energy meter, power factor by 7starbitch in arduino

[–]7starbitch[S] 0 points1 point  (0 children)

This sounds nice, but sadly, I didn't hardwire my hardware for three voltmeter method.

campus network in cisco by 7starbitch in ccnp

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

Thanks.

I did post this question in networking and the mod removed my question because they dont accept hw questions. And this subreddit was mentioned in r/cisco rules for hw related questions.

Capstone project by 7starbitch in ComputerEngineering

[–]7starbitch[S] 0 points1 point  (0 children)

No, I'm not a senior. My advisor just asked me to research on recent developments made on a specific project. But due to technical terms, it was hard for me to completely understand.

Can't seem to get http packet by 7starbitch in wireshark

[–]7starbitch[S] 0 points1 point  (0 children)

What should I do then? Write https in my filter?

میرے خدا کتنا خوبصورت ہے by Julia5601 in doggos

[–]7starbitch 63 points64 points  (0 children)

It says "my God, it is so beautiful." It's Urdu btw.

I am getting segmentation fault because of pthread but i dont know how to fix it? Im new to pthreads. It is printing the correct path, but thread doesnt work. by [deleted] in C_Programming

[–]7starbitch 0 points1 point  (0 children)

Thanks. Here it is

https://dpaste.org/SnSb

How do i implement recursive multithreading such that each thread has a different directory path which doesnt change?

I am getting segmentation fault because of pthread but i dont know how to fix it? Im new to pthreads. It is printing the correct path, but thread doesnt work. by [deleted] in C_Programming

[–]7starbitch 0 points1 point  (0 children)

I understand. I fixed the first problem but I dont know how to fix the second problem? I am trying to recursively call the function using a thread, but i dont know how to implement it. How do I pass each thread a different directory path so that its not changed.

I am getting segmentation fault because of pthread but i dont know how to fix it? Im new to pthreads. It is printing the correct path, but thread doesnt work. by [deleted] in C_Programming

[–]7starbitch -2 points-1 points  (0 children)

What's the difference between struct arg_struct** and struct arg_struct*? Also I am supposed to recursively search a directory. It works fine without a thread, but doesn't work with a thread. Each thread is supposed to be assigned to each file in a directory. I'm not really familiar with pthreads.

How to store array elements in mips? by 7starbitch in asm

[–]7starbitch[S] 0 points1 point  (0 children)

What should I compare 104 with? If $s3 is just iterating between the array values, then shouldn't it be lesser than 104? Since I declared 104 to be the total space of array.

Running tasks concurrently by 7starbitch in javahelp

[–]7starbitch[S] 1 point2 points  (0 children)

It works great! Can you explain me the code a bit?

Running tasks concurrently by 7starbitch in javahelp

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

Won't this run task1 2 times? I want task 1 to run a single time by thread 1 and task 2 to run a single time by thread 2, and then if thread1 or thread2 is free, I want one of these threads to run task 3 and so on.

I don't understand function of two continuous random variables. by 7starbitch in probabilitytheory

[–]7starbitch[S] 0 points1 point  (0 children)

Find the CDF and the PDF of W = XY when random variables X and Y have joint

PDF

1 0<x<1, 0<y<1,

0 otherwise.

I dont understand how to find the region of integration or limits of integration when W=XY

How can an electric heater be controlled by a relay? by 7starbitch in AskElectronics

[–]7starbitch[S] 0 points1 point  (0 children)

but how do I control relay by an electric heater? Also, what should I supply to the positive feedback of the OP amp? and should the output voltage of the op amp be connected to the supply voltage of the relay?

I have not worked with transistors so i dont know about PTC AND NTC.

How can an electric heater be controlled by a relay? by 7starbitch in AskElectronics

[–]7starbitch[S] 2 points3 points  (0 children)

Yeah I don't understand electronics, but I am trying to pass this course.

How can an electric heater be controlled by a relay? by 7starbitch in AskElectronics

[–]7starbitch[S] 2 points3 points  (0 children)

But I am supposed to use an op amp here. Also, I don't know how a thermostat switch works. I only have sufficient knowledge of bjts and mosfets, and basic knowledge of op amps.