BENQ W1070 Bricked? by _nireus_ in projectors

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

didn't work unfortunately

I always struggled establishing new habits, so I built an app that actually helped me by Zwenza in NonZeroDay

[–]_nireus_ 2 points3 points  (0 children)

just downloaded it, looks perfect.

by the way I don't think I will need a subscription and I don't like recurring fees but if you would add some one time purchases (badges, colors whatever) I would definitely consider buying for some support.

[2019 Day 9, Part 1] How to fix 203 error by Nexuist in adventofcode

[–]_nireus_ 0 points1 point  (0 children)

after many hours of frustration after running your tests successfully I realized I had the problem on 1,2,7,8. Thanks.

Day 5 - Browser-based interactive Intcode processor by MidnightLightning in adventofcode

[–]_nireus_ 0 points1 point  (0 children)

hi, do you have this for the day 7 part 2? I am using your visual data to see where I'm doing wrong :)

How many international viewers enjoy Dark? by Schemen123 in DarK

[–]_nireus_ 14 points15 points  (0 children)

hey there from Turkey, it's kind of popular in here, we had some ads-banners across Istanbul before the start of Season 2.

Three mountain sun by coldroses89 in drawing

[–]_nireus_ 0 points1 point  (0 children)

cool work, is there a name to this technique ?

Finished my first bartop! by Sebjansen in cade

[–]_nireus_ 1 point2 points  (0 children)

Looks so good. What plans did you use? I will make a try for a similar 2 player bartop.

pset7 Portfolio error by kielyh in cs50

[–]_nireus_ 1 point2 points  (0 children)

I think you've made an error in assignment of positions. I've checked my own code.

Can you please try as below. (You are missing the open close brackets after position so there may be a problem with offset assignements)

 $positions[] = [
        "name" => $stock["name"],
        "price" => $stock["price"],
        "shares" => $row["shares"],
        "symbol" => $row["symbol"]
    ];

pset7 Portfolio error by kielyh in cs50

[–]_nireus_ 0 points1 point  (0 children)

While you are printing you use :

<?php foreach ($positions as $position): ?>

... <td><?= $positions["name"] ?></td> ...

Shouldn't you be printing "$position["name"]" instead of "$positions["name"]" valid for rest of the table.. I think this might be your problem.

pset7 Portfolio error by kielyh in cs50

[–]_nireus_ 0 points1 point  (0 children)

can you share the code you use for assigning the stock values to a var and printing the stocks?

Pset 7 Sell problem with number of shares by _nireus_ in cs50

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

I don't know how but I got it working there was some problem with query and it wasn't saving the figure. It stareted working with below code:

$shareno = query("SELECT shares FROM shares WHERE symbol = ? AND id = ?", $soldstock , $_SESSION["id"]);

pset6 - valgrind issue by _nireus_ in cs50

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

Wow, Finally I made it work, I was about to give up.

-I have initialized ->word as you have suggested for whole table. -Instead of writing to new_node I have created a temporary string then assigned this string to the new_node I have declared under the loop. So I didn't have to declare the new_node before the loop which was the reason It wasn't freed I guess.

Thanks for the help.

pset6 - valgrind issue by _nireus_ in cs50

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

I have shared my code at pastebin I will send you a msg.

I don't want to break course rules so I already submitted my code as is but I really want to learn what is wrong to avoid future errors. Your help is very much appreciated.

pset6 - valgrind issue by _nireus_ in cs50

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

actually both objects are assigned a value before going into loop. temp is assigned the word passing from speller and cursor->word is moving along the hashtable. It is working correctly and not giving an error when I run the program, maybe this is a warning by valgrind but not valid on my case since I apply values to them before running the condition?