[ / / / / / / / / / / / / / ] [ r8k / ck / wooo / fit / random / doomer / f1 / foodism / harmony / lathe / lewd / warroom / wtp ]

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


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.



File: 1449949563535.jpg (224.88 KB,1140x1310,114:131,1446060072351-0.jpg)

f009b4 No.3709 [Open Thread]

Sup /prog/,

I am currently at uni and I am also working as a dev. I've been programming for 3-4 years but I feel like I'm stuck on a platoe. How can I improve? I have 2-3 projects I've completed but they're not very serious.

I can work with Python/C++/Rust/C#/Java/C but I spend most of my time working with Python and Rust.

I tried starting to pick up some CS in order to help me but I'm unsure if this will help me be a better programmer.

What advice would you give me?

1 post 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.

f009b4 No.3731

To be marketable in the workforce, you'll probably want to learn how to work with databases. Learn SQL while you're at 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.

f009b4 No.4491

A better programmer how?

Do you want to develop practical skills?

If so, work on projects in strange territory. If you usually do frontend stuff, learn backend stuff. And it's not just writing code. This involves learning some sysadmin tasks, like how to daemonize your code, how to handle config files and logfiles.

And if you usually do backend, learn some frontend technologies. Not just Javascript, but learn some libraries like Angular and Bootstrap. Learn to make web UIs that don't suck ass.

If you want to become smarter, learn smart people languages, ones that will expand your mind. Some examles are Lisp, Ocaml or Haskell. Smalltalk is kind of glossed as a smart person language, but I think it has lots of merit. It's pretty much the gold standard for an OOP 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.

f009b4 No.4492

If I could do it over, I would spend more time learning math. I had a cousin who went to college for bio-engineering and now he is a developer just learning how to program on the job working on an application that can identify cancer cells viewed through a digital microscope. His skills as a programmer or lack thereof at the time isn't what got him that interesting gig, but his domain knowledge. Develop domain knowledge outside of programming so you can apply your programming to new and interesting 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.

f009b4 No.4516

>>4492

Wow, i would have never imagined that. Not op but thanks.

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

f009b4 No.4517

>>3709

Learn a different prog language. I love python and the C family, but try out something like LISP. it makes you think about programming in entirely new light

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: 8b941db9cf41786⋯.png (2.77 MB,2000x2000,1:1,background.png)

7fb563 No.4477 [Open Thread]

Anyone have a guide on how to customize your 8chan page?

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

7fb563 No.4493

File: 5a197de7c615d6f⋯.png (440.47 KB,2880x1630,288:163,Screen Shot 2016-12-08 at ….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.

7fb563 No.4494

>>4493

>click [Options]

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

7fb563 No.4525

>>4477

lrn 2 css newfag

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: 4919ea536e99123⋯.gif (25.19 KB,228x250,114:125,serveimage.gif)

26033f No.4450 [Open Thread]

Good book for learn Perl?

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

26033f No.4451

The llama book (Learning Perl) is great if you don't know much about programming.

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

26033f No.4453

Modern Perl, you can read it free online

http://onyxneon.com/books/modern_perl/

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

26033f No.4457

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

26033f No.4615

>>4457

>sicp

lol

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: 28e6d15361c9fd2⋯.png (2.64 MB,1440x900,8:5,wizard.png)

3a653e No.4444 [Open Thread]

So I'm thinking of making a D&D application that handles maps and turns and so on. Kind of like roll20 but not on a website.

So I'm just wondering what api you guys might recommend for the graphical portion. I'm using C#. Its what I was taught sorry

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

3a653e No.4634

C and assembly, goy.

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

3a653e No.4635

>>4634

Elaborate

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: e374a3de2bdc0e3⋯.png (10.78 KB,722x434,361:217,2b99ae2367ccd41ab0ce8501f3….png)

7009d1 No.4441 [Open Thread]

Hey, i'm working on a hobby operating system called FutureOS. The name is because it'll only get finished in the future, as in, never complete. The goals are to have a FAT12 or FAT32 filesystem, basic sound support, and TCP networking by then end of 2016. The operating system currently runs in 16 bit real mode on the x86 architecture but there will be a way to enter 32 bit protected mode later in development. If you want to contribute to the github repo, you can find it here: https://github.com/Penot1/FutureOS

Right now, there are two commands, "echo" and "loadb". echo prints whatever parameter it is given and loadb loads the second floppy disk into memory. Feel free to submit pull requests, and if you have any questions either send me an email or put them in this 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.

7009d1 No.4585

Hey how'd you get started on building your own operating system? Have already but want to see how others' ideas came about

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



c8a876 No.4429 [Open Thread]

Alright, so I've been making scripts that interact with websites for awhile now, usually what I do is view the relevant requests with Live HTTP Headers and then work from there. However, this program I am working on now isn't showing the requests to send a message to the chatroom in Live HTTP Headers. Someone told me to use mitmproxy however I am having trouble installing the certificates. Does anyone have any suggestions?

____________________________
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: e2abec74e427e38⋯.png (262.35 KB,287x410,7:10,2016-09-17-205906_287x410_….png)

6044d4 No.4425 [Open Thread]

Do any of you know any learning resources similar to build your own lisp(http://www.buildyourownlisp.com/), except for C++?

A tutorial where you build a small/medium sized project, and in the meantime learn about the 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.


File: 44aa4f69c4aa74a⋯.png (3.83 KB,319x158,319:158,download v45vbn.png)

32d5a9 No.4418 [Open Thread]

Do you guys have any guide to learn C# / Visual Studio?

I'm just out of HS and we learned Java but I don't like it, it's a bit too reclusive and I heard C# with VS is more sugary (also more jobs for it 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.

32d5a9 No.4419

I've been learning c# for some time now and have never found a great guide for it. You'll probably want to use multiple sources to get the best results. I've never used anything for just learning VS itself, I just pick things up from using it for C#/C++.

This is alright if you want to learn basic syntax. It also has some quizzes and tests, although I can't speak for how great they are:

https://www.tutorialspoint.com/csharp/index.htm

These two are more focused on Windows Forms, which is nice to know for learning the language but mostly obsolete compared to WPF these days. The videos also go a bit slow but aren't that long:

http://www.homeandlearn.co.uk/csharp/csharp.html

https://www.youtube.com/playlist?list=PL0EE421AE8BCEBA4A

For learning WPF, these are okay:

https://www.youtube.com/playlist?list=PL8m4NUhTQU48LI4hMrzdiLxfSY4-QcJ3l

http://www.wpf-tutorial.com/

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

32d5a9 No.4420

Are you willing to get actual books? Get Microsoft Press "C# Step by Step". requiresJust as a word of caution, the most recent editon focuses on Universal Windows Platform development with VS 2015 and Windows 10. If you only have Windows 7, you probably want to look for an earlier edition (from a quick search this may mean the 2010 edition; yes it uses VS 2010, but most things about the IDE will carry over and WPF is worth learning, probably more so than UWP).

>>4419

I wouldn't use WinForms for developing commercial software, but it still works great and allows you to quickly throw together GUI applications, so it works great for personal projects and LOB programs. It also has the benefit over WPF of being supported by Mono.

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

32d5a9 No.4423

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

32d5a9 No.4424

Using IDEs like visual studio or meant to develope prototypes, getting a working program together quickly. But because of the generated code, it's better to develop 3 tier programs from scratch while using the prototype as a guide

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



53bbbc No.4280 [Open Thread]

Is it possible to learn Java basics in about 1 week?

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

53bbbc No.4287

Depends on what you mean by "the basics." If you're starting from no programming knowledge or experience, then probably not. If you are making a thread to asking this question, probably not.

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

53bbbc No.4408

>>4280

IIRC I had the basics down in a few hours and my first ever project was to write an equivalent of a unix shell.

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

53bbbc No.4409

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

53bbbc No.4411

The basics are pretty easy really. It's just about rote memorisation of the Java syntax.

Where it can get difficult and where most tutorials fall short is in learning to conceptualise the best way to build and layout a program you're building for good readability and code portability.

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

90f250 No.5267

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.



Delete Post [ ]
[]
[1] [2] [3] [4] [5] [6] [7] [8] [9]
| Catalog | Nerve Center | Random
[ / / / / / / / / / / / / / ] [ r8k / ck / wooo / fit / random / doomer / f1 / foodism / harmony / lathe / lewd / warroom / wtp ]