>>Official Radio<<

Post a reply×


PROGRAMMING IN C WITH TRAPS Traps 25/03/2018 00:17:48 11750 >>11759 >>13000


So we have someone on here who wants to learn to program and I thought it would be fun to create a short guide for 4kev users who are new to programming to have some fun and hopefully learn something. Others are welcome to add to or criticize it. For this guide we will be using C. I want to stop your fresh new programmer minds from being corrupted by object-orientation, interpreters and dynamic typing, if you don't know what those mean then good, you have not been ruined yet and you can learn things the good ol' fashioned way.

27 replies [Reply]

kev 28/03/2018 00:53:52 11920

Actually they can just do

Anonymous 29/04/2018 17:36:25 12800

Implement BBCode so when someone writes [Code]text[/Code] "text" will be monospaced and preserve indentation in a box with maximum size. Also, make sure that if someone writes [Code] with closing [/Code] it will be only on their reply and not the entire site (...again).

Anonymous 28/05/2018 08:39:58 13000

reminder that if you're writing C from a Linux or Unix machine that you have access quick and easy access to the man pages for all standard functions. Always consult `man 3 function_name` when using a new function so that you can be sure of the side effects and errno conditions to expect.

Not checking for any reasonable and possible errno value out of a function call is a sin :^)

Traps 18/07/2018 21:37:39 13455

Why the fuck is 4kev and Lainchan both hosted in the US?

9 replies [Reply]

Traps 23/07/2018 08:51:41 13483>>13525

Well I've had the server in the netherlands for a while now, dunno when the site will be ready, I keep changing and rewriting stuff.

Ceil 04/08/2018 23:58:37 13525>>13529

Your fortune: Excellent Luck

at this rate, you'll always be rewriting stuff

Traps 05/08/2018 01:22:09 13529

Nah I'll get there eventually, I am making progress in a 3 steps backwards, 4 forwards kind of way so eventually, some day, I will make it.

Traps 04/06/2018 10:45:18 13112>>13113

Github has had problems for a while now but this is the final straw. Time to abandon ship.


3 replies [Reply]

Traps 04/06/2018 11:48:15 13113

Deleted my account.

Anonymous 04/06/2018 22:11:12 13115>>13139

What's the issue really? I hope that they integrate Azure Notebooks (which is a fine platform with absolute shit interface and no shareability the kind that exists on Github) and help in making Jupyter notebooks manageable with git. This is in their interest as they've F# (an ML on top of .NET; a good language overall) and an R distribution, that can be pushed in scientific computing.

Traps 06/06/2018 19:29:21 13139

>What's the issue really?
It's microsoft.

Anonymous 18/05/2018 16:26:39 12932>>12934

Ok here's the idea. A software where you can load high definition 3D scans of pornstars and play with them. You can make them say things with their own voice and use virtual reality to """interact""" with them. I'm sure something similar already exists but I'm talking about real girls, not simple 3d models

3 replies [Reply]

Traps 18/05/2018 18:25:42 12934

>load high definition 3D scans of pornstars
>I'm talking about real girls, not simple 3d models
Nah man, most porn stars are ugly and this is just a limitation. I'm much more in favour of designing and modeling my own perfect girl from scratch.

Anonymous 18/05/2018 18:30:17 12936>>12937

Perfection is boring and unnatural. Sometimes you like a girl because she has something different from others, little imperfections

Traps 18/05/2018 18:45:20 12937

Well I've found you do need imperfections to make your brain believe it's real, perfection looks artificial and fake and so breaks the suspension of disbelief but I'd still rather design her exactly how I want, then she could actually be mine and nobody else's.

Ontropy.org Traps 01/05/2018 19:50:26 12834

New countdown is up, is for realz this time I swear.

5 replies [Reply]

Anonymous 13/05/2018 04:40:23 12890>>12893 >>12895
File: Screen Shot 2018-05-12 at 10.39.40 PM.png (92.39 KB, 511x174)


Traps 13/05/2018 10:52:05 12893>>12895


Traps 13/05/2018 14:44:35 12895

I'm done with fucking countdown clocks. I'll just make a thread when it's up.

Traps 29/04/2018 16:42:25 12795

Who here would actually be interested in a virtual girlfriend project?

4 replies [Reply]

Anonymous 29/04/2018 17:25:17 12799>>12801
File: 18.04.29-18.24_sel_maim.png (344.83 KB, 748x439)


Traps 29/04/2018 18:17:22 12801

lol classic kev

Traps 29/04/2018 18:30:18 12802

https://www.youtube.com/watch?v=58y056QMhcA [embed]

I'm most interesting in working on the CG part. I think if you can make something that looks realistic and convincing enough and cross the uncanny valley then it won't matter so much if her AI is shit. In saying that her "subconcious" intelligence should be good, by that I mean stuff humans don't think about such as spacial awareness as in not fucking walking into walls and shit in AR. As for speaking with intelligence I'm not sure it even matters. As for anime characters I think 3D models of realistic girls would be better. Anime girls seem better in anime but you never get to see them up close and if you were actually face to face with an anime girl with her eyes a few centimeters from yours I think it would just be weird and the illusion would be shattered esp since there is no detail. Also 3D models of 2D characters generally look bad, you would have to go with something like this:
https://www.youtube.com/watch?v=fMI_augunA4 [embed]

Traps 05/04/2018 00:31:11 12386>>12442
File: Screenshot_20180404_232928.png (59.8 KB, 423x412)

Think I'm just gonna remove these entirely.

5 replies [Reply]

Anonymous 06/04/2018 12:37:23 12442>>12453 >>12458

>Love & Romance
waste of time
>Forever Alone
requirement to being a top-tier programmer

Traps 06/04/2018 18:22:36 12453

quality post

Ghost 06/04/2018 22:12:14 12458


nice I'm becoming a top-tier programmer

Projects Traps 05/04/2018 01:31:19 12398

What are you working or hoping to work on soon?
I'm working on my website at the moment but hoping when I get done with that and get a new graphics card that I can get back to working on my game engine and make some games.

5 replies [Reply]

Anonymous 06/04/2018 12:50:13 12448>>12454 >>12455

>game engine
Written in based C, C++ or meme D, Rust or other?

Traps 06/04/2018 18:23:20 12454>>12455

C of course.

Traps 06/04/2018 18:46:04 12455

Will probs mix in a little bit of x86 assm as well.

Anonymous 24/03/2018 15:11:26 11729>>11730
Url: https://s3.amazonaws.com/gsoc2017/ItWasEasy.gif

10 replies [Reply]

Omega 24/03/2018 21:19:41 11739

Rule 1

Anonymous 25/03/2018 05:47:45 11762>>12449
File: af3801f06c52e0e1a5e9dd80049cfe9ca3e6c82093cc371a790cc5419b212f01.jpg (102.42 KB, 565x678)

>be me waiting for ReactOS, Haiku, and Hurd

Anonymous 06/04/2018 12:57:51 12449

Hurd will never be done. ReactOS also has slow as fuck development. Haiku though has good traction but personally I couldn't care less.

Anonymous 03/04/2018 08:13:45 12295
File: hqdefault.jpg (15.64 KB, 480x360)


13 replies [Reply]

kev 04/04/2018 23:59:38 12377>>12378 >>12441

You mean with Ajax?

Traps 05/04/2018 00:01:35 12378

Yes, I'm not doing it in my site though, well maybe for a few particular features but not for the whole site.

Anonymous 06/04/2018 12:32:10 12441

But Ajax requires JS and JS is evil.

Traps 01/04/2018 18:08:59 12177
File: general-data-protection-regulation-concept-illustration-25-may-2018-illustration-id903899986.jpg (28.85 KB, 750x422)

This is such a fucking pain in the ass.

2 replies [Reply]

Anonymous 01/04/2018 19:41:29 12188

And that's how you like it, don't you?

kev 01/04/2018 22:47:31 12221
Url: https://i.ytimg.com/vi/t6DQNFzGgMM/maxresdefault.jpg

Traps 28/03/2018 21:55:07 11938>>11946

I've had the idea to add 'pseudo' forum boards to my site. These 'boards' do not actually contain threads but instead are a collection of threads from other boards in one. So far I'm gonna have:

Everything - A board with all posts on the site.

Popular - A board with the most replied to threads on the site.

Trending - A board with the most recently replied to threads.

Dead - A board with only threads that have not been bumped in a long time.

Ignored - A board with only threads that have no replies.

Lonely - A board with only threads that have replies from the OP only.

Deep Discussions - A board with threads that contain many long posts.

40 replies [Reply]

kev 31/03/2018 22:16:12 12126>>12128

>I had a situation before where I was glad I had logs
Tell us about it
What can I collect apart from the IP? Location? What for?

Traps 31/03/2018 22:21:10 12128

>Tell us about it
Wasn't anything major there was just a bunch of .xyz domains pointing at my server IP and some law firm found a domain that infringed a trademark and went to it and it went to my site so they emailed me with legal shit.

>What can I collect apart from the IP? Location? What for?
Well you can only really get location from guessing based on the IP. I'm gonna store the user agent though.

Anonymous 31/03/2018 23:09:11 12136

I don't know man. She had a board full of pedos and managed to have it stay up. That ought to count for something (unless it's a honeypot).

Omega 29/03/2018 07:02:26 11962>>11963

Made another style based off of my rice, still dependent on base.css because I refuse to let kev get away with letting his spaghetti code fall all over the floor. When it's injected from the Firefox developer options (How I test it to make sure it works natively) it works great, but because Stylish (My more permanent option) sucks dick it doesn't load local fonts and requires @import's

18 replies [Reply]

kev 30/03/2018 23:40:54 12087>>12101

Nope, doesn't work

Anonymous 31/03/2018 00:12:36 12101>>12102

I don't know then, I guess just set a cron job to wget the script from github then.

Anonymous 31/03/2018 00:13:59 12102

WAIT, try replacing the url with https://github.com/The-Soulless/4kev-css/blob/master/themes/Stalenhag.css

Anonymous 30/03/2018 05:21:19 12025>>12031

I made a Discord spamming script, do you guys no any ways to improve it other than write it in another language?

7 replies [Reply]

Anonymous 30/03/2018 18:26:17 12032>>12048

I plnned on sharing it with my none Linux using friends, now that I think of it I don't know if curl works on windows

Anonymous 30/03/2018 21:07:23 12048>>12090

>I don't know if a script requiring a program on PATH will work on a computer not having said program
It won't, except if they go out of their way to download it and put it in their PATH (they won't). Learn Python or (for Windows) PowerShell and drop curl.

Anonymous 30/03/2018 23:45:48 12090

*blocks your PATH*

Traps 29/03/2018 20:53:03 11985

My site has a crossdressing board and a homosexuality board. CHECKMATE KEV, 4KEV IS FINISHED.

1 replies [Reply]

Anonymous 30/03/2018 01:25:01 12003

Why have two redundant boards instead of just one called /bulge/?