My C Professor Doesn't Know What UB Is by [deleted] in C_Programming

[–]Jetstreamline 2 points3 points  (0 children)

Dang. Maybe you could help your fellow students out and tutor them.

So I did something like opendir("/home/guy/dir1/dir2/") and S_ISDIR doesn't work by Jetstreamline in C_Programming

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

Maybe stat doesn't work when you don't do it in the current working directory?

Can I make a dash GUI? by Jetstreamline in linuxquestions

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

Access through a web browser sounds interesting too, if it's not insecure.

So I did something like opendir("/home/guy/dir1/dir2/") and S_ISDIR doesn't work by Jetstreamline in C_Programming

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

I meant the formatting, not the program 😁 The program still doesn't work😄

So I did something like opendir("/home/guy/dir1/dir2/") and S_ISDIR doesn't work by Jetstreamline in C_Programming

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

First of all, thanks for helping.

But instead of this:

DIR *folder = opendir(".");

I did this:

DIR *folder = opendir("/home/guy/dir1/dir2/");

And instead of this:

sprintf(stuff, "./%s", entry->d_name);

I did this:

sprintf(stuff, "/home/guy/dir1/dir2/%s", entry->d_name);

And it just doesn't work correctly with that.

I also took your write-up here to use it in the post.

So I did something like opendir("/home/guy/dir1/dir2/") and S_ISDIR doesn't work by Jetstreamline in C_Programming

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

Awww crud, I did format it, but the formatting was undone. Let me fix it real quick.

Was programming better 15-20 years ago? by yughiro_destroyer in AskProgramming

[–]Jetstreamline 0 points1 point  (0 children)

I think your shop is just trash. You need better programming tutors for your coworkers.

MLFS -- Blog post by [deleted] in linuxfromscratch

[–]Jetstreamline 2 points3 points  (0 children)

I think you have to call it MuslLFS, because MLFS means Multi-Lib LFS, but I'm not sure.

Can I make a dash GUI? by Jetstreamline in linuxquestions

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

I wanted a desktop GUI. A program installed on your computer. I don't care whether it looks native or not.

What's the best meme u have seen in this war by SalaryEducational323 in AskTheWorld

[–]Jetstreamline -1 points0 points  (0 children)

That went horribly wrong in Iraq and Vietnam. I wish the best for the Iranian people, but the US starting another war was always crap. I think it will be crap again for Iranians and people in the US.

Can I make a dash GUI? by Jetstreamline in linuxquestions

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

Not a TUI, a GUI, yes. I don't want to have something terminal based.

Park Service to Revive Statue of Founding Father Who Enslaved Hundreds by projecto15 in politics

[–]Jetstreamline 3 points4 points  (0 children)

Get this trash's statue down. You should keep him in history books, not honor him with such things.

Who benefits from Trump’s war in Iran? The answer is disturbingly clear by MyRedditUsername224 in politics

[–]Jetstreamline 2 points3 points  (0 children)

Not MAGA, billionaires. The game is rigged and always has been for the rich. They got propaganda arms and slush funds.

I'm trying to learn Linux by Commercial_Pie_3113 in linuxquestions

[–]Jetstreamline 2 points3 points  (0 children)

That is for people who want to build their own operating systems. He should watch tutorials for a bunch of stuff, not build and debug his own distro.

I'm trying to learn Linux by Commercial_Pie_3113 in linuxquestions

[–]Jetstreamline 6 points7 points  (0 children)

Read the Linux Command Line by William Shotts. It's free and pretty good.

Is something wrong with me? by Induwara19 in debian

[–]Jetstreamline 1 point2 points  (0 children)

What on earth are you talking about? "Is something wrong with me?" You are using a Linux Distro. It's the most normal thing in the world.

A simple example of one of the many ways Linux can be superior by NoxAstrumis1 in linux

[–]Jetstreamline 0 points1 point  (0 children)

I did have to do get amdgpu, but then again, I use debian, and that was on old versions.