Random

 Anime

 Cyberpunk

 Design

 Development

 Feels

 Music

 Technology

 Meta

 Home



Development

>>Official Radio<<




Post a reply×






[Catalog]


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

PROGRAMMING IN C WITH fags
===========================

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

>>11918
Actually they can just do
a
a
a
a
a
a
a
a
a
a
a
a
a


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

>>11918
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

>>11750
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 :^)



Anonymous 05/10/2018 03:20:55 14025>>14027

Hey should I start a Kickstarter?


3 replies [Reply]

Shark 05/10/2018 08:49:02 14027

>>14025
No


Anonymous 05/10/2018 12:28:28 14029

I can start kicking you anytime if that's what you mean


Anonymous 06/10/2018 03:59:32 14031

Alright :]



Shark 03/10/2018 18:58:51 14011

I should release a new version of Turbo 4kev that does nothing but changes my name back.


2 replies [Reply]

kev 03/10/2018 20:18:25 14012>>14013

Cmon Shark is a cool name


Shark 03/10/2018 21:23:14 14013

>>14012
Why is there no account management page where registered users can change their username, password and email address?



Shark 30/09/2018 18:47:16 13965

Hey Kev, I added 'Online Users' feature to my site and got me wondering how you do your online user counter? What technique you using?


7 replies [Reply]

Anonymous 01/10/2018 14:31:44 13974>>13977

>>13969
>>13970
20s seems too low though


kev 01/10/2018 19:20:48 13975>>13977

Are you working on other projects atm?


Shark 01/10/2018 20:53:03 13977

>>13974
I think it's okay but might change it to 1 min.

>>13975
Yes



Shark 03/09/2018 00:17:53 13768
File: putin_bebek_bekliyor.jpg (585.82 KB, 2379x1451)

>He doesn't run his web server inside a FreeBSD jail
>He doesn't isolate other services like his mail server in other jails


3 replies [Reply]

Anonymous 04/09/2018 19:29:53 13787>>13790

>FreeBSD
>not OpenBSD


Shark 04/09/2018 19:46:26 13790>>13792

>>13787
OpenBSD is cool but it lacks features and is less popular so harder to find support resources and stuff, it's not available as an option with my hosting provider either although you could find ways to install it yourself. I'm not fully on board with their approach to security, its cool that they take it so seriously but some of the things they do to increase security just make the OS uglier imo.


Anonymous 04/09/2018 20:02:48 13792

>>13790
FreeBSD is the best overall but OpenBSD seems fine for virtual hosts. The most important features missing in OpenBSD are: (1) lack of ZFS which is important for servers and (2) no TRIM support which can slightly shorten your SSD if used in laptop, none of which is an issue. Also DragonFly looks based though I haven't tried it to say anything.



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

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


9 replies [Reply]

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

>>13475
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

>>13483
at this rate, you'll always be rewriting stuff


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

>>13525
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.



Shark 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.

https://www.bloomberg.com/news/articles/2018-06-03/microsoft-is-said-to-have-agreed-to-acquire-coding-site-github?


3 replies [Reply]

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

>>13112
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.


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

>>13115
>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]

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

>>12932
>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


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

>>12936
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 Shark 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)

10/10


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

>>12890
:)


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

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



Shark 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)

>>12798
dafuq?


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

>>12799
lol classic kev


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

>>12798
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]



Shark 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

>>12386
>Sex
non-existent
>Gender
meme
>Love & Romance
>Relationships
>Dating
waste of time
>Forever Alone
>Asexuality
enlightenment
>Heterosexuality
>Homosexuality
>Transgender
normies
>Crossdressing
requirement to being a top-tier programmer


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

>>12442
quality post


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

>>12442

nice I'm becoming a top-tier programmer



Projects Shark 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?


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

>>12448
C of course.


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

>>12448
>>12454
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

>>11736
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

>>11762
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)

https://www.haskell.org/


13 replies [Reply]

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

>>12369
You mean with Ajax?


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

>>12377
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

>>12377
But Ajax requires JS and JS is evil.



Shark 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