/dpt/ - Daily Programming Thread

Previous thread: What are you working on, Sup Forums?

Other urls found in this thread:

docs.oracle.com/javase/tutorial/
chicago.craigslist.org/search/fbh)
chicago.craigslist.org/chc/fbh/5884348610.html)
twitter.com/NSFWRedditVideo

>warning: scoped enums only available with -std=c++11 or -std=gnu++11

Got this from trying to use enum class. Not sure what to do.

use -std=c++11
faggot

>What are you working on, Sup Forums?
Less JS, more server.

Thank you, but shouldn't that be the default?
faggot

no it shouldn't nigger

i'm making a robot to apply for jobs for me but i pissed off craigslist wiht too many requests. now robot only do three requests every 30 minutes but the capcha page still up.

I think it is on the newer versions, cumdrop

So what happens if civilian ownership of compiler gets banned for national security reasons, what then?

I've got gcc 5.4 so something else might be wrong, semenslurper

std? more like Sexually transmitted disease

gnu++14 is standard from gcc6 and later

>I can't read warning messages
It literally spells it out for you, you baka

someday in the not too distant future the only software that will be allowed on domestic computers will be government signed code (compiled on government registered cloud compilers)

Is haskell really worth learning and in that case what are some good books?

>Is haskell really worth learning
absolutely not

First# for F#

>Not sure what to do.
jesus fuck

kek

Best baby language for beginner baby?

6502 ASM

Phrogram

java

docs.oracle.com/javase/tutorial/

>ambassador of the capacitor

PHP

C

Chicken Scheme

I've been cross compiling (and automating the process) the hurd kernel. IDK I'm just kind of play around so so far i've got a nice script for building cross compilers, and a hurd-targetted glibc.

Working on compiling bash now.

Any of them really, C or PHP or even plain old bash is fine you just wanna get down how variables, loops and conditions work right now desu.

c++17

can't wait for the filesystem standard

Crawled (200) (referer: None)
2016-11-19 15:55:11 [scrapy] DEBUG: Crawled (200) (referer: chicago.craigslist.org/search/fbh)
2016-11-19 15:55:12 [scrapy] DEBUG: Crawled (200) (referer: chicago.craigslist.org/chc/fbh/5884348610.html)


the final one is the reply page where the email is stored that's what i'm trying to mine. it gives me a captcha page becuase before my script was literally trine to mine every fucking link on there now ilimit it to the first link. the capcha has already been thrown for my ip though.

>baby language
C++ is a grown alpha male's language

start with java imo, it's a great introduction to C++, it's literally a simplified C++

MEMORY {
ZP: start=$10, size=$f0, type=rw;
HEADER: start=0, size=$10, type=ro, file=%O, fill=yes, fillval=$00;
STACK: start=$0100, size=$0100, type=rw;
RAM: start=$0300, size=$0500, type=rw;
EXTRAM: start=$6000, size=$2000, type=rw;
ROM7: start=$C000, size=$4000, type=ro, file=%O, fill=yes, fillval=$FF;
CHR: start=$0000, size=$2000, type=ro, file=%O, fill=yes, fillval=$CC;
}

SEGMENTS {
INESHDR: load=HEADER, type=ro, align=$10;
ZEROPAGE: load=ZP, type=zp;
BSS: load=RAM, type=bss, define=yes, align=$100;
DMC: load=ROM7, type=ro, align=64, optional=yes;
CODE: load=ROM7, type=ro, align=$100;
RODATA: load=ROM7, type=ro, align=$100;
VECTORS: load=ROM7, type=ro, start=$FFFA;
PATTERN: load=CHR, type=ro, optional=yes;
PATTERN0: load=CHR, type=ro, optional=yes; # Implicit start at $0000.
PATTERN1: load=CHR, type=ro, optional=yes, start=$1000;
}


Anyone familiar with linkers? I'm trying to figure out how this works exactly, but the ld65 documentation mostly just describes the syntax. Does each memory area in a binary have its own "address table" or something? I'm kind of confused how CHR here can have an address range that overlaps with ZP/HEADER/STACK/RAM while representing physically separate regions of memory.

Threadly reminder that you should not refer to the act of programming as coding. It is improper and makes you look like a 16 year old

You are a programmer, not a coder

Software Alchemist is GOAT
Developer is okay
Magician is okay
Software Magus is okay
Software Engineer is okay
Software Architect is okay
Code Guru is questionable

Archmage is reserved for only the most senior of programmers

Writing in HTML and CSS is not programming, therefore it should be referred to as designing

Is there any way to determine the type of a variable inside a function in haskell? in a circumstance where the compiler can't deduce it:

import Foreign

-- foreign function that takes a (void *) and the size of the structure pointed at
-- then stores stuff in the passed address
foreign import ccall "cfun" cfun :: Ptr () -> Int -> IO ()

f :: Storable a => IO a
f = do
retPtr

Go

Programming involves coding but is not coding. HTML/CSS/etc are coding but absolutely not programming.

static String shitCrypt(String input, int shift) {
String result = "";
char temp;
int x;
for (int i = 0; i < input.length(); i++) {
temp = input.charAt(i);
x = (int) temp;
if (x > 64 && x < 91) {
result += (char) (((x - 64 + shift) % 26) + 64);
} else if (x > 140 && x < 173) {
result += (char) (((x - 140 + shift) % 26) + 140);
} else {
result += temp;
}
}
return result;
}

everything else aside
why does it never follow the else if? It only either shifts capital letters (first if) or puts the char right back in (last else)

What about Computational Conjurer, (Information)Systems Sorcerer and Purveyor of Programs?

++ without C

because a char goes up to 127 unless it's unsigned

meant for this faggot

ah fuck me looked in the wrong table and didn't think about what I copied

this is why you don't do shit when you're sleepy
thanks