[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/prog/ - Programming

Programming

Catalog  Archive

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: 6fc01fa32961dee⋯.jpg (1.17 MB,2816x2624,44:41,TIMESAND___QDRH.jpg)

711bc1 No.5380 [Open thread]

I have this disproof of the Riemann hypothesis and I want to use it to come up with the general solution to RSA encryption, and actually all prime factorization encryption algorithms. After disproving RH, what is the next step? Also, thread about RH.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.


File: aa70a04d74d6ff7⋯.jpg (15.29 KB,259x194,259:194,download.jpg)

5b09b9 No.5294 [Open thread]

my first thread here ,my friends suggested to me this site so if its the wrong board suggest me the right one

so

running out of time

anons , i have a project for uni

i must create a website and i only have sum days left

when it comes to programming i have no problem

the problem that i dont have any ideas for the content of my website

its not a big thing

its like a website for an online library when a customer can check books , loan and order them or a website for an online school ,bank and that shiit

but the fuckers my mates took all subject and here i am with just a week left

anons any ideas or examples of content for the website ??? i really need help

any thing that comes to your mind anons

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

132944 No.5295

imageboard

reference manual (asm, c, wireless cards supported by linux, commodore computers) these have the bonus you might actually want to USE it later. a full z80 reference is not very hard to write but it takes some looking around. you can slap together a half-working z80 interpreter in like a week with just very basic c knowledge.

a gallery of high res vinyl album art scans/painting photography sorted by album ID/chronology and artist.

it sounds like you just need a framework so you can just put in empty todo pages instead of content and you're good to go.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

c87570 No.5372

>>5294

the prjects probably over, so whatd you do?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



e41f60 No.5135 [Open thread]

Discuss and share HolyC related talks here.

Important: Stay only on the subject of HolyC only. Terry is wonderful but nobody seems to ever focus on his work. This will try to fill that gap.

Some documentation: https://web.archive.org/web/20170531043554/http://www.templeos.org:80/Wb/Doc/HolyC.html

2 posts omitted. Click [Open thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
Post last edited at

dd2ac1 No.5285

>>5278

HolyC used to be more like C, but due to the need for the language to work as the shell and the main programming language Terry had to modify the way the language was written. Think how he ones spoke about function pointers how he had to find a new way to represent them in HolyC because of the shell. Terry also wanted to use C as the shell because he never really learned the window batch files or the unix shell.

GCC for Terry had couple of problems

1. GPLv3

Originally terry had a loose idea of selling his OS.

2. JIT

As far as I am aweare GCC does not jit compile any languages..

3. The Size

The feature set of GCC very large and the way how most GNUproject software is written. Means that GCC would take up way too many lines of code and thus either fillup or excede the somewahat arbitrary LOC limit that Terry had. Also GCC has dependencies so those would have to be either ported or reimplemented.

4. Format

TempelOS uses a special fileformat that is somewhat similar to RTF called DolDoc. This is what enebles for the system to have a complex HyperText linking system and for the code to have embeded 3D models, sounds, images and so on. It would propably take a while to implement a proper parser for the format in GCC.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

08a59b No.5334

So is there any project to create a HolyC compiler for a platform other than TempleOS?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

d456bb No.5341

why is C 'holy'?

do you really think there are Divine things about C?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

6e5023 No.5342

>>5341

There is a language called HolyC. It's similar to C and has a lot in common, but is not the same language.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

2f5c53 No.5355

>>5341

The name "HolyC" is a pun. Holy See is the governing body of the catholic church.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



f0f016 No.5133 [Open thread]

Discuss and share C related talks here. K&R, Ansi/ISO, C99, C11, embedded are all welcome.

23 posts omitted. Click [Open thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

abd724 No.5286

can someone explain ALL the uses for the -> operator?

i'm trying to learn OpenGL|ES 2.0 for the raspberry pi and don't really know what the fuck i'm doing besides reading K&R once and the code example here ( https://github.com/Apress/raspberry-pi-gpu-audio-video-prog/blob/master/EGL/window.c ) repeatedly uses the arrow operator from a struct to its members, whereas K&R and other resources I've found say it's only supposed to be used for a pointer to a struct to access members.

so for example, if you have a struct s and a pointer to struct s as ptr_s, and the struct has members x and y, what does s->x even do? shouldn't it only be s.x or ptr_s->x?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

abd724 No.5287

>>5286

nevermind, i'm an absolute nigger monkey. the naming conventions are just horrible in this code, it really is the struct's pointer being passed to a different function and then used with the same name as the main struct. global variables can swallow fat loads.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

791e11 No.5289

>>5167

digital mars has FIRE c++ compiler for windows... high recommend it. Everyone @ rockstar games uses it :)

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

791e11 No.5290

GCC: GNU's C compiler, available for almost every platform, and popularly installed on Unix machines.

Digital Mars C/C++: The hackers at Digital Mars have a pretty rippin' C/C++ compiler for Windows that you can download and use for free, and that will work wonderfully for all the code presented in this guide. I highly recommend it.

VC++: Microsoft's Visual C++ for Windows. This is the standard that most Microsoft programmers use, and I freaking hate it. Nothing personal, but I'm one of those crazy people that still uses vi.

Turbo C: This is a classic compiler for MSDOS. It's downloadable for free, and I has a special place in my heart. (It can't handle the "//"-style comments, so they should all be converted to "/**/"-style.)

cc: Virtually every Unix system has a C compiler installed, and they're typically and merely named cc (C Compiler, see?) Just try it from the command line and see what happens!

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

791e11 No.5291

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



5252ca No.5228 [Open thread]

Discuss and share Visual Basic 6.0 (not modern version) related talks here.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

8ae8b3 No.5252

On Error Resume Next

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

d3c79c No.5272

God I fucking hate Visual Basic.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



8d3fbd No.5136 [Open thread]

Discuss and share Pascal related talks here.

This includes all variations (for now), but specify which one you're referring to.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f255cd No.5197

begin

writeln('Hello');

end.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

eb5fa0 No.5211

program answer;

const pascal = shit;

begin

write('Pascal is ', pascal)

end.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1411372549161.jpg (64.52 KB,447x553,447:553,23456456789.jpg)

5e99de No.60 [Open thread][Last50 Posts]

Does /prog/ need images?

http://strawpoll.me/2622392

Also you can suggest changes (rules, dashboard).
68 posts and 4 image replies omitted. Click [Open thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5e99de No.4504

>>2465

>>2467

>>2483

All of you faggots were never on the original /prog/.

Go to >>>/tech/ all of you.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5e99de No.4593

>>4504

I'm not sure if you're telling them to go to tech to get educated, or as insult like you're exiling them

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5e99de No.4606

>>4593

>go to tech

>to get educated

That ain't happenin

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5e99de No.4626

>>4606

I suppose that depends on your level of knowledge / experience. It has certainly helped point me in the right direction (TOR/VPNs, GNU/Linux, FSF, /prog/, etc)

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

b5dad5 No.4767

more textbrowser-friendly sites will go a long way toward reducing internet cancer levels

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 7002c2cb85fa58d⋯.png (51.6 KB,363x403,363:403,progsnake.png)

35e92a No.4632 [Open thread]

What happened to progrider.org?

4621660041777045444937266963038269833218516043439221319077608463680501833478931199808593675140090794

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

35e92a No.4646

File: 316d3507b9c178e⋯.png (47.78 KB,1320x222,220:37,1490785527307.png)

https://goatfinger.ga aims to be the successor

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

35e92a No.4647

Their admin threw in the towel because he got bored of the site.

He gave a copy of the database to world4search.readsicp.org, I think.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: b6232a4bd5ffaad⋯.png (344.43 KB,581x371,83:53,ClipboardImage.png)

606ddb No.4558 [Open thread]

Hi /prog/,

I'm looking for some books about Designing programming languages and compilers, give me your best!

(I lost my collection)

I remember specifically liking a book from a professor from the University of Amsterdan, which had a more applied approach.

It had examples in C, but that's all I can remember…

Also, general Compiler and Programming Language Design thread…

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.


7c8df8 No.4555 [Open thread]

I can't find any valid link to download this book. Can any one help me on find it.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.


ae1596 No.3228 [Open thread]

I miss the days of the Fibonacci Butt Sort.

Ya'll don't even know what the fuck FBS is.

Pour some out for the fallen, rip /prog/

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

ae1596 No.4486

yeah

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

ae1596 No.4500

> tfw you order two arduino pro mini's and only one arrives and then you plug it in and short the 5v with ground and a puff of smoke comes out and you think it's dead but it's just the drivers on win7 being manual and then you get a sketch to upload and it's fine again

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

ae1596 No.4529

i keep hearing about the fibbonacci buttsort but i have no idea what it acctually is

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

ae1596 No.4543

>>4529

It's a meme from world4ch /prog/. It has no meaning beyond being a buzzword.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

ae1596 No.4553

HAX MY ANUS

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 389d0bedb7111bf⋯.pdf (6.49 MB,Tony Gaddis-Starting out w….pdf)

4d3a8e No.4437 [Open thread]

Read the title, post awesome C++ related books, I'll start with a very accessible one

1 post and 1 image reply omitted. Click [Open thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

4d3a8e No.4458

it's website, not a book, but it's great:

http://yosefk.com/c++fqa/

intro here:

http://yosefk.com/c++fqa/defective.html

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

4d3a8e No.4484

PPP is good.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

4d3a8e No.4539

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

4d3a8e No.4550

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3ec13f No.5268

alacrity

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 2515ff4280cb6d9⋯.png (145.04 KB,1021x1622,1021:1622,theoutcomeEdited.png)

a37c8a No.4519 [Open thread]

Pic related, /prog/

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a37c8a No.4520

File: 6c2f03156acffc5⋯.png (65.57 KB,906x660,151:110,1477019738451.png)

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a37c8a No.4521

>Python

>not Prolog

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

a37c8a No.4547

* You use tons of functions you don't declare; you only import randint

* you set tons of local variables inside the outcomeOfElection function but do nothing with them

* "global" doesn't work like that in python (world_war is already a global variable. "global" is used to access global variables, not create them. They're created by scope. If anything, they're badly named, because they don't access a "global" scope, just the module scope). All your world_war assignments in the function apply to local variables in the function

* You use `if not Trump_wins` followed by `if Trump_wins`, but they are the only members in the loop and "Trump_wins" isn't changed by the loop, so it's functionally no different from an `if … else`

* You use "while not civil_war", but you break on every set of civil_war and return nothing. In fact, your "outcomeOfElection" appears to simply to run, set nothing external, and return nothing.

* You use some bizarre combination of `investigation_occurs` and `investigation(occurs)`. Are these supposed to represent the same value?

* Your casing is inconsistent. I can understand Trump, but Fraud_Found is just title case out of nowhere.

* MAGA just prints "*MAGA*"? Points off for uncreativity.

* In fact, every single one of your conditionals is `if foo` and `if not foo` instead of an if else. Have you never learned the fucking else statement?

* You can't assign one value to two variables. That syntax treats the left as a tuple (the structure designating the tuple is the comma, not parens; play with it in your REPL), so the right side needs to be an iterable (even custom iterables and generators work, mind you).

Did you even try to run this shit? F; does not run.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1446760767583.png (222.42 KB,996x979,996:979,2015-11-05-145758_996x979_….png)

caa1fa No.3533 [Open thread]

Enough arguing about languages, about editors, and about operating systems.

Let's argue about colorschemes.

I alternate between wombat256mod and a hand-modified eva01.

What colors are your favorites?

12 posts and 5 image replies omitted. Click [Open thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

caa1fa No.4472

>>3537

Acme gave me the idea to turn off syntax highlighting completely. Which is the best set up I did to my editor so far.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

caa1fa No.4514

>>3710

>light-color shill

Just… why?

Anyway, I use solarized light on lit environments and Tomorrow Night on dark environments.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

caa1fa No.4515

>>4514

I know a guy who had to switch to light colors after he passed 40.

Also, if you're writing stuff for a white-background web app, switching between black editors and white browser windows will fuck you up. Best to stick with all-light or all-black or make sites that are white-on-black in dev and black-on-white in production.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

caa1fa No.4522

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

caa1fa No.4546

>>4522

I might as well give it a shot. I've gotten used to weirder things.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



File: 1427437591038.png (163.4 KB,400x400,1:1,lispchan.png)

e72a6b No.1845 [Open thread]

Let us have a thread for the greatest programming language (family) of all time.

Favorite dialect?
Favorite Lisp software?
Working on any Lisp projects?
What got you interested in Lisp?
22 posts and 2 image replies omitted. Click [Open thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e72a6b No.4315

>>3336

What makes R7RS better than R6RS? The latter appeals much more to me as a programmer.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e72a6b No.4316

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e72a6b No.4489

>>3237

>It is a dialect though. Clojure is a Lisp-1 meaning that it does not allow the same name to be used for a function and a variable simultaneously. Lisp-2 is a different dialect, it's Common Lisp.

The way I see, it, dialect is an important term in the Lisp scene because you can interpret all lisps as the same "language", to some extent.

With lots of macro fuckery (and occasionally some preprocessor fuckery, for lisps with special read syntax), you can turn any lisp into any other lisp.

This is true for all languages, but it's more apparent in lisps.

Scheme is "a lisp".

Clojure is "a lisp".

Racket is "a lisp".

Common Lisp is "a lisp".

etc

They are all different lisp dialects. (Well, Racket is mostly Scheme, but yeah.)

That's the way I see it, anyway.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e72a6b No.4509

File: 3b247952b690d2b⋯.png (17.19 KB,640x400,8:5,1389549171701.png)

I don't know any Lisp but I'm wondering if I should learn it. I'm looking for a language that's not constantly changing all the time. I'm fed up of having to deal with broken code because compiler changed, environment changed, or whatever. Even Perl has been annoying in the way they add/remove features to the core, and the situation with modules is much worse. So maybe I can try Lisp, but all this R6RS and R7RS stuff is making me nervous. Would it help if I write my own Lisp?

Otherwise I'll probably just give up programming altogether except for old platforms (pic very related), even if I have to use emulator.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

e72a6b No.4530

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



Delete Post [ ]
[]
[1] [2] [3] [4] [5] [6] [7] [8]
| Catalog | Nerve Center | Random
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]