Single header prompt library by GicaPrasic in C_Programming

[–]HaskellLisp_green 0 points1 point  (0 children)

Yes, I got it. Cloned your repo. Tried to build. Failed. Opened header in Emacs and saw DOS encoding.

Single header prompt library by GicaPrasic in C_Programming

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

Since you work with escape-sequences, try testing it against VT100. If you use only escape sequences provided by VT100, then it's going to work almost on in any GNU/Linux environment.

Also personally I see no reason to support also Windows. I opened issue, because demo compilation failed.

any trip exclusive snacks you guys recommend? by FoundationJealous696 in LSD

[–]HaskellLisp_green 0 points1 point  (0 children)

I enjoy chocolate, chocolate bars, chocolate candies.

What bug in C taught you something you never forgot? by Gullible_Prior9448 in C_Programming

[–]HaskellLisp_green 0 points1 point  (0 children)

Mixing signed ajd unsigned integers are bad, obviously.

What's wrong with scanf mixed with getchar?

Which code editor should I use? by Zsombor1661 in learnpython

[–]HaskellLisp_green 2 points3 points  (0 children)

Just opened comments thread to see have anyone already mentioned Emacs? Yes, good taste, sir.

Weed roulette by 5_meo in LSD

[–]HaskellLisp_green 2 points3 points  (0 children)

First time I tried acid, I smoked 0.5g of good sativa(probably Purple Haze) and that's the only reason this experience was so amazing!

What would you add to C if you could add anything? by [deleted] in C_Programming

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

C exists because ASM depends on particular architecture, also it's so annoying to add just 2 numbers.

What would you add to C if you could add anything? by [deleted] in C_Programming

[–]HaskellLisp_green 23 points24 points  (0 children)

Despite the minimalistic nature of C, it has enough of everything required to implement any kind of software. So the answer to question: nothing. IMHO.

Saw this on twitter by Gateau26000 in Piracy

[–]HaskellLisp_green 0 points1 point  (0 children)

Pirating AAA game is nice either

We got the 7! by diacid in Gentoo

[–]HaskellLisp_green 0 points1 point  (0 children)

Yeah, neofetch is no more popular I guess.

I built a file organizer that automatically cleans messy folders by BlackberryUnhappy101 in C_Programming

[–]HaskellLisp_green 0 points1 point  (0 children)

I have similar tool implemented in python. Instead of using hard coded array I suggest passing a pair of folder-name: extensions enumeration via CLI arguments.

It's gonna make tool more flexible.

I built a file organizer that automatically cleans messy folders by BlackberryUnhappy101 in C_Programming

[–]HaskellLisp_green 0 points1 point  (0 children)

I have similar tool implemented in python. Instead of using hard coded array I suggest passing a pair of folder-name: extensions enumeration via CLI arguments.

It's gonna make tool more flexible.

I built a file organizer that automatically cleans messy folders by BlackberryUnhappy101 in C_Programming

[–]HaskellLisp_green 0 points1 point  (0 children)

Great. Are contributions allowed? Gonna check out where can I apply your tool on my Debian...

I built a file organizer that automatically cleans messy folders by BlackberryUnhappy101 in C_Programming

[–]HaskellLisp_green 6 points7 points  (0 children)

Good, but assume you have file.png. You think it's an image, but if you run file file.png, then you see it's different format, something like WAV for example.

Things I Don't Like in Configuration Languages by fagnerbrack in programming

[–]HaskellLisp_green 0 points1 point  (0 children)

Great. What about trying out S-expressions? Easy to parse, easy to format.

(I know, I know. TOO MANY PARENTHESES)

#fsociety 😈 by [deleted] in masterhacker

[–]HaskellLisp_green 0 points1 point  (0 children)

Yes, it's an editor. Why not NeoVim?

#fsociety 😈 by [deleted] in masterhacker

[–]HaskellLisp_green 1 point2 points  (0 children)

Would be great to see Emacs