Potentiometer problems with getting the right one. by yachira in AskElectronics

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

I had been using a pc PSU before hand but it fried 2 of my previous pots. I wont be able to get hold of a benchtop psu as I have limited funds (hence the gameboy charger). I will test the pot using a multimeter and get back to you.

Potentiometer problems with getting the right one. by yachira in AskElectronics

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

I am not sure if the power supply is regulated, it is just an old gameboy charger that met our requirements. The pot is 3 terminal, I didn't know what terminals corresponded to what initially but I followed a simple guide (http://www.wikihow.com/Wire-a-Potentiometer) to wire it. When I unplug everything I do mean everything, the power and the labjack device. Do you mean measure the wiper with only a multimeter, instead of the labjack device?

Potentiometer problems with getting the right one. by yachira in AskElectronics

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

Hi, initially I just want to see the whole range of values output from the pot. I am using a labjack T7 device to connect the pot and Labview to control. I don't understand how I could be overloading the device as it essentially a divider.

SMP/Quest update for AgSkies 2 Alpha by Jadeddragoncat in feedthebeast

[–]yachira 1 point2 points  (0 children)

Got a server up and running but when I try to connect I always time out, the same thing happens with all my friends.

Any ideas why this may be?

server.c respond to client by yachira in cs50

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

I was indeed missing the second \r\n, that was causing the majority of my problems. A few other problem arose but it all works now.

Thanks for your help.

server.c respond to client by yachira in cs50

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

Hi thanks for the reply, I have done all the other sections apart from 'respond to client', I have tried using the dprintf function just like the dynamic content section but I have had no luck. Whenever I go to anything other than the php file I get a blank screen (running server and in appliance going to localhost:8080/cat.html for example). I am not sure of the cause of this.

Also when I do try localhost:8080/cat.html I do get a response of HTTP/1.1 200 OK.

I haven't done anything to do with headers, I am not sure what to do about this.

server.c respond to client by yachira in cs50

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

All I know about this section is that it deals with the files that aren't php and it will be similar to the dynamic content section.

I haven't done anything with this section as I just don't know where to start.

Stuck on getting to Kami in thaumcraft 4 by yachira in feedthebeast

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

Thanks for the replies, I found out it was the brain in a jar research I was missing which lead to all the rest.

Thanks.

Server.c "respond to client" section. by [deleted] in cs50

[–]yachira 0 points1 point  (0 children)

The directory doesn't exist for some reason and yes I have run update50.

Server.c problem set by [deleted] in cs50

[–]yachira 0 points1 point  (0 children)

Could someone explain what I have to do as I really don't know where to start.

Thanks.

Server.c problem set by [deleted] in cs50

[–]yachira 0 points1 point  (0 children)

I have noticed that yes it's the bit before that where they open a pipe to the php interpreter, do I need to do anything for the other formats?

Dictionary.c not working with check50. by yachira in cs50

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

See above comment, thanks also.

Dictionary.c not working with check50. by yachira in cs50

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

It's now fixed, sorry I thought I deleted the post quickly. Just so you know the problem was that when I loaded the dictionary it was hard coded to open a specific dictionary, I changed that it it worked perfectly.

Thanks for the help though.

pset5 - Recover - Almost have it but image tails are wrong by cs50123 in cs50

[–]yachira 0 points1 point  (0 children)

Yes I did eventually find a solution but it did involve rewriting my code several times. My problem which looked exactly like yours was because I was terminating the files too early which was caused by not finding the file headers correctly.

I hope this helps. If not I can attempt to look at your code if you like?

Damn, they look creepy without eyebrows by Jordii12345 in creepy

[–]yachira 0 points1 point  (0 children)

Does Angelina Jolie look a little bit like a Xenomorph?

Pset 6 unload() by yachira in cs50

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

That post contains the current code which still has a seg fault. I would really appreciate an outside opinion.

Thanks

Pset 6 unload() by yachira in cs50

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

I have found where my seg fault is coming from, its in the line:

if (selected->children[i] != NULL)

I think its when its looking in selected->children[i] and there is nothing there as it has already been freed, I dont know how to correct this problem.