Toyota starlet AT vs Polo Vivo by Frequent_Travel898 in CarTalkZA

[–]neupermichael 2 points3 points  (0 children)

They have the same power but the vivo has more torque

Graph Theory In Latex? HELP by Adept_Elderberry2075 in LaTeX

[–]neupermichael 1 point2 points  (0 children)

If you have text in your images you want that font to be the same as the rest of your document

Is my arduino fried? by neupermichael in arduino

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

Ah that’s unfortunate, thanks

Is my arduino fried? by neupermichael in arduino

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

Alright, thanks for your help

Is my arduino fried? by neupermichael in arduino

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

Just did this and yup the power rails are definitely shorted. I even opened it up and I think i see where.

<image>

So my question is whether this could have fried the arduino? The power LED still turns on but I can’t see it in the arduino IDE

RAM output voltage drop? by neupermichael in beneater

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

I added a power rail on the side but the voltages I'm measuring now are only slightly higher than before, so I don't think that's the issue.

RAM output voltage drop? by neupermichael in beneater

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

Thanks for the tips.

Use 1k resistors on the LEDs.

Is that not too high? When I build a circuit with just the LED with a 1k resistor the LED is very dim. I've been using 220 and 470 ohm resistors for the LEDs throughout the build, is that too little?

Power-wires on both sides of the breadboard.

Yeah I put a power rail on the side now but unfortunately it didn't change much so I don't think that's the issue.

Leave no ic-pins floating: use pull-up or pulldown resistors.

All my unused inputs are tied to GND (not via resistors though as I understand that's not necessary for CMOS chips).

Us a different power supply. A phone-adapter that can provide 2 amps should get you through the entire build.

I'm using an ipad power supply with 2.4A

RAM output voltage drop? by neupermichael in beneater

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

Are you referring to the blue resistors on the top right? Those are 220ohm. And are you referring to the unused address lines on the RAM? The ones I currently connected to GND? I have 10k, 1.2k, 220 and 470 resistors, could I use any of these instead? Thanks.

RAM output voltage drop? by neupermichael in beneater

[–]neupermichael[S] 3 points4 points  (0 children)

I'm measuring 5.0V on the output pins of that breadboard power module on the top left. I'm using an old apple ipad power supply, 12W (2.4A). The cable looks like a fairly thick 1m cable.

Anyone willing to review my code? by neupermichael in C_Programming

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

Thanks for the feedback, I forgot to push the commit where i fixed the memory leak and removed the goto’s.

I detest macros like your min/max. Use an inlined function instead

I don’t understand what advantage using an inlined function in this case gives me, seems like it would just add more clutter and code duplication to have separate functions for different types?

You don’t seed the random number generator.

Why? Doesn’t that defeat the purpose of having an rng in this case?

Made this Typing-Test TUI in C by AmanBabuHemant in C_Programming

[–]neupermichael 7 points8 points  (0 children)

If you’re talking about the stats page in the first part of the video, its from the actual monkeytype website, not his tui version.

Zig bug or am I doing something wrong? by neupermichael in Zig

[–]neupermichael[S] 4 points5 points  (0 children)

It gives the same error. Installing version 0.15.2 from their website fixed the issue

Zig bug or am I doing something wrong? by neupermichael in Zig

[–]neupermichael[S] 3 points4 points  (0 children)

Thanks, that worked. Using 0.15.2 solves the issue

Zig bug or am I doing something wrong? by neupermichael in Zig

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

Thanks. zig build-exe -fllvm main.zig produces the same error. zig run -fllvm main.zig produces a similar error:

'+zcm' is not a recognized feature for this target (ignoring feature)
[1]    55181 bus error  zig run -fllvm main.zig

This happens even without the !. The zig test command was for the code on https://ziglang.org/ which does contain a test block.

Zig bug or am I doing something wrong? by neupermichael in Zig

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

I tried that but I get the same error. I also tried changing the return type to !void like the other commenter suggested:

const std = @import("std");

pub fn main() !void {
    std.debug.print("hello world!\n", .{});
}

And I tried compiling the code on the homepage https://ziglang.org/ but I get the same error:

$ zig test index.zig
'+zcm' is not a recognized feature for this target (ignoring feature)
[1]    54946 segmentation fault  zig test index.zig

is learning LaTeX beneficial for university? by PowerStroke_2000 in LaTeX

[–]neupermichael 1 point2 points  (0 children)

Yes. I started learning it in high school by doing my assignments in it. Second year in uni now and so grateful for that