[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
/dpt/ - Daily Programming Thread
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 38
File: trap programmer.png (1 MB, 1702x2471) Image search: [Google]
trap programmer.png
1 MB, 1702x2471
old thread: >>51755311

What are you working on, /g/?
>>
first for cross dressing at work
>>
File: ;D.png (57 KB, 800x334) Image search: [Google]
;D.png
57 KB, 800x334
Best language?
>>
>>51760395
Oh. It's you again.
>>
>>51760395
Killing niggers.
>>
Fourth for forth
>>
how do I have diferent workspaces in eclipse?

I don't want to have my project tab filled with diferent projects.
>>
>>51760416
That looks like a bad mishmash of C and Java and Python
>>
File: 12-most-influential-programmers.jpg (146 KB, 1024x768) Image search: [Google]
12-most-influential-programmers.jpg
146 KB, 1024x768
Friendly reminder that you guys are the untermenschen of computer science.
>>
why dpt is full of faggots
>>
>>51760395
>What are you working on, /g/?
Still the GPUDirect RDMA thing (I went home from work to eat)
>>
>>51760446
check my "repeating digits"
>>
i give up with you guys
>>
just go to lgbt
>>
File: 1330171713428.gif (449 KB, 229x173) Image search: [Google]
1330171713428.gif
449 KB, 229x173
>>51760395
>>51760406
why do people have to share their degenerate life choices to a programming thread?
>>
>>51760444
>no Ritchie
>Fuckerturd who knew php and html well enough to make facebook and basically handed it off to his dev team to build up
absolutely shit
>>
attwhr
>>
File: 1426941715091.png (2 KB, 110x153) Image search: [Google]
1426941715091.png
2 KB, 110x153
Why do most programming languages take the integers to be primitive instead of the naturals? This seems like a historical mistake that no one bothered to correct
>>
>>51760552
nobody is actually crossdressing at work, calm down
anime isn't real life, nobody could get away with it unless they're literally more female than male to begin with
>>
>>51760561
Ritchie died of aids years ago, tard. It's only living people.
>>
>>51760552
It legit made me better at programming to be completely honest, family.
>>
>>51760579
https://en.wikipedia.org/wiki/Sophie_Wilson
>>
Can the assert function be used for passwords if one uses the define function and scanf? I was gonna do a basic return 5 digit number but everytime i declare a pw of 01224, the integer becomes 1224.
>>
>>51760552
Frustrated white males
>>
>>51760595
go kill yourself faggot
>>
>>51760582
He died in 2011
>>
>>51760582
>only living people
>uriel
u wot m8?
>>
File: reaction_birdneck.jpg (378 KB, 960x1800) Image search: [Google]
reaction_birdneck.jpg
378 KB, 960x1800
>>51760573
>take the integers to be primitive instead of the naturals?
>>
>>51760615
cancer
>>
>>51760633
He continues to live in our hearts, anon.
>>
>>51760608
Read the input as a sequence of characters instead. Also consider cross dressing while working to improve your programming skills.
>>
>>51760638
-5 ... 0 ... 5
vs
0?, 1 ... 5
>>
>>51760657
>Also consider cross dressing while working to improve your programming skills

Does this help? I have some stripey socks
>>
Should I write an interpreter or a compiler for a custom language in C++?
>>
>>51760671
post pics
>>
File: ss+(2015-12-09+at+01.10.26).png (32 KB, 919x564) Image search: [Google]
ss+(2015-12-09+at+01.10.26).png
32 KB, 919x564
Can someone give me a hint? I'm brand new and I can't figure out why my else return statements wont just shit out a False
>>
>>51760657
you ruby programmer, you can't do much
>>
>>51760633
Uriel was a programing literate. Oop is harmful, he died for your sins.
>>
>>51760671
Yes! Try it yourself, you'll feel awesome!
>>
>>51760664
Because integers are literally defined to be all whole numbers from -inf to +inf and they have been defined like that for hundreds of years.
>>
its fury invasion
>>
File: agdg in a nuttshell.png (64 KB, 914x800) Image search: [Google]
agdg in a nuttshell.png
64 KB, 914x800
>>
>>51760684
Because a is always True.
>>
>>51760705
one of crossdressers
>>
>>51760684
Do you know what 'a or b' does?
>>
>>51760684
what you want to do is compare a and b to == 10
now it takes the value of a which is none zero integer which evaluates to True
>>
>>51760684
'if a or b' doesn't make any sense as a boolean expression give a and b are ints.

if (a == 10 or b == 10) or ((a+b) == 10)
>>
>>51760705
Why does the SICP guy make fun about OOP though? It's one of the concepts that can be implemented using Scheme, pretty easily as well.
Also one could argue that the book even contains examples that uses OOP features, at least encapsulation and objects with their own methods.
>>
>>51760740
>((a+b) == 10)
lispfag detected
>>
File: 2015-12-08_17-15-54.png (149 KB, 1920x1080) Image search: [Google]
2015-12-08_17-15-54.png
149 KB, 1920x1080
babby's first C
>>
>>51760761
Looks more like a C fag who's used to its shitty macro system to me. And even then he would have failed.
>>
File: 1435288604110.gif (2 MB, 385x500) Image search: [Google]
1435288604110.gif
2 MB, 385x500
>>51760684
>>51760707
>>51760729
>>51760733
>>51760740


Thanks alot guys. I was kinda thinking in this direction already but couldn't wrap my head around it. I'll be back later with another dumb question.
>>
>>51760693
Naturals are 0...inf or 1...inf
>>
>>51760743
>Why does the SICP guy make fun about OOP though?
Because it's a meme.

Only a code monkey would limit himself to strictly follow some narrow paradigm and refuse to use anything else. OOP and FP are easily combined, use the right tool for the job.

>a house isn't build only with a hammer or only with a screwdriver
>>
>>51760766
No shame, every big project I start in a new language or framework I start with a hello world, just to test if everything is working as it should.
>>
>>51760780
they're 1...inf
>>
>>51760787
fuckin tranny
>>
So I'm starting to learn C.

I was reading Learn C the Hard Way, and got pretty much bored on the 15th exercise and I believe I'm ready to try and do some basic programs and teach myself the rest.

My question is, how much of a retarded idea is it to try and teach myself C by googling around and finding commands I could use to do whatever I want? I know it'll be slower than reading a guide, but doesn't it feel better to say "I taught myself this shit".
>>
File: NoShitSherlock.jpg (48 KB, 352x464) Image search: [Google]
NoShitSherlock.jpg
48 KB, 352x464
>>51760780
>>
>>51760743
there's always some anons arguing against OOP and telling people to use C.
>>
>>51760766
>notepad++

Better not support NF

>>51760791
depends who you ask
>>
>>51760799
retard, fuckin retard
>>
>>51760791
Is infinity a natural?
>>
>>51760799

>>51760693
>>51760638

dick
>>
File: kERNTTm.png (179 KB, 1024x946) Image search: [Google]
kERNTTm.png
179 KB, 1024x946
>>51760684
return a+b == 10
>>
>>51760820
no
>>
>>51760395
i honestly can't concentrate on programming if i crossdress. i just think about cock
>>
>>51760820
are you retarded?
infinity is an ideology, not a number.
saying "1..inf" means adding 1 to the current integer, which can go on for an infinite amount of times.
>>
what the fuck, so many fuckin trannies
>>
>>51760830
if a+b is 10, it returns true

i don't get the issue
>>
>>51760856
you can do it in one line is her point
>>
>>51760843
this comment is retarded, it's literally pure coincidence that you happen to be correct that infinity is not a natural number (a kind of infinity can be a surreal number)
>>
>>51760692

oh, I actually do it all the time, i just don't know how to program.

filthy casual tbqh

>>51760682

nah, too lewd
>>
>>51760875
>her
>>
>>51760875
>her
if a is 10, return true
if b is 10, return true
if a+b is 10, return true
>>
>>51760888
Hey, have you heard about Lain?
>>
>>51760797

Sorry for pushing this, but no opinions? The language itself doesn't really matter, the question is mostly directed towards teaching yourself coding.
>>
>>51760888
Nice
>>
Currently experimenting with a HTML5, Siri-like search UI for Stackoverflow. It only works on desktop Chrome (alpha code).
If your computer has a microphone, talk to the webpage in plain English, and it will redirect the search to SO:

https://raskie.com:88

Opinions very welcome. :]
>>
>>51760893
woops
return 10 in [a, b, a+b]
>>
File: lain-is-a-bear.jpg (48 KB, 1008x720) Image search: [Google]
lain-is-a-bear.jpg
48 KB, 1008x720
>>51760910

What about Lain?
>>
>>51760923
nice
>>
>>51760830
More like
return 10 in [a, b, a+b]
>>
>>51760925
She is a bear.
>>
>>51760966
What the fuck happened to her sister?
>>
>>51760983
bears
>>
>>51760911
>>51760797

Please? ;-;
>>
>>51761011
Well, that's just great. You hear that, Anon? Bears. Now they're putting the whole thread in jeopardy.
>>
>>51761036
>I was reading a book
>I got bored
>HELP PLZZZ ;________;

Get fucked kid did you think this was going to be a fucking trip to Disney?
>>
>>51761075
Did you even read my question? I'm asking if trying to teach myself shit is worth it or If sticking to the book and doing exactly what it says is worth shit.
>>
>>51760797
Read C Primer Plus but Stephen Prata. It's great. You can get through it rather quickly and come out confident of what you know.
>>
>>51761105
Learn C the hard way is a shitty book.
Read K&R.
>>
>>51761105
The "book" you were trying to learn from has a very bad reputation. Just give a real book a shot.

>>51761112 and >>51761115 are good ones. Another one is "C Programming: A Modern Approach."
>>
I'm currently making a two player yahtzee game in java. Can someone help me with the rerolling method? The dice should be read in on one line, but can't get it to loop back. It just sits there letting me input the dice I'd like to reroll until I terminate it.
public void rollAgain()
{
boolean input;
input = false;
int x;
x = 0;
int dice;
Scanner scanning;
String no;
int[] newDice = new int[5];

while(!input && x < 2)
{
x++;
System.out.println("Throw again?" );
if(scan.nextLine().equalsIgnoreCase("yes"))
{
System.out.println("Which dice? ");
scanning = new Scanner(scan.nextLine());

while(scanning.hasNext())
{
if(scanning.hasNextInt())
{
dice = scan.nextInt();

if(dice >= 1 && dice <= 5)
{
yahtzeedice.roll(dice - 1);
yahtzeedice.toString();
}
}

else
{
no = scan.next();
}

}
System.out.println("You rolled + " + yahtzeedice.toString());
}
else
{
input = true;
}
x++;
}
>>
>>51761129
>>51761115
>>51761112

Thanks, I just asked for opinions from friends, never expected them to be good, but opinions are opinions. I'll take a look at those books.
>>
>>51761164
Never read anything from Zed Shaw.
Granted, Learn C the Hard Way taught me about makefiles, it has horrible pacing and pretty much boils down to
>COPY THIS 200 LINE PROGRAM
>NOW BREAK IT AND TELL ME WHY IT DID THAT
>NEXT SECTION!
>>
>>51761164
Ignore those NEETs
Make a project you're actually excited for, it's a great way to learn
>>
I pretty much finished the packet dissector tonight. It now spits out a list of all detected protocols.

[<EthernetPacket dst=ff:ff:ff:ff:ff:ff src=e0:cb:4e:06:40:26 ethertype=0x0806>, <stack.protocol.network.arp.ARPPacket object at 0x7f0a3b006cd0>]
[<EthernetPacket dst=01:00:5e:00:00:01 src=74:d4:35:e5:ec:09 ethertype=0x0800>, <stack.protocol.network.ipv4.IPv4Packet object at 0x7f0a3b006cd0>]
[<EthernetPacket dst=33:33:00:01:00:02 src=00:0c:29:7a:94:79 ethertype=0x86DD>]


Defining protocols is also pretty elegant. Adding of properties/fields to the class is automated from the __fields__ list.

class EthernetPacket(LinkLayerPacket):
__fields__ = [
('dst', MACAddressField),
('src', MACAddressField),
('ethertype', ShortField),
]

__bind__ = (
'ethertype', {
0x0800: IPv4Packet,
0x0806: ARPPacket,
})

def __repr__(self):
return '<EthernetPacket dst={} src={} ethertype=0x{:04X}>'.format(self.dst, self.src, self.ethertype)


Now I just have to add more field types (boolean, integers of arbitrary length, IPv4 and IPv6 addresses, strings), and implement some more protocols.
Then I can program the interfaces to filter out certain traffic (promiscuous mode, broadcast).
Slowly getting there
>>
>>51761196

Thanks, I'm new to reading programming books (aside from some stuff I learnt back in school, but it wasn't really "programming") so the more I know about what autor is shot and what autor is not the better.
>>
>>51761238
>is shot
Meant "is shit", I hope you understood what I meant.
>>
>>51761210
Can't do anything when you have to look up how to do a for loop :\
After he gets through a good amount of a book then I agree (but continue the book after the project is satisfyingly 'complete')
>>
>>51761238
What really matters at this point is learning the basics of programming, for loops, conditionals, functions, code reuse, etc.
Most programming languages are very similar and at the end of the day, the only difference is their syntax.

I always suggest starting with C because it remains very relevant even in 2015, it prevents you from learning bad habits, and all modern programming languages look like C anyway.
Also, do yourself a favor and avoid object oriented programming. It abstracts away a lot of things and you need to understand what you're abstracting away before you can fully understand it.
Also, do you speak spanish?
>>
>>51761279
You can start building an application without knowing how to do a for-loop.
>>
Software A is MIT licensed
Software B is GPL licensed

What happens when I combine the two?
>>
>>51761340
Nothing, MIT is GPL compatible.
>>
>>51761340
You satisfy both
>>
>>51761332
I do, actually. There is any good Spanish book about C? I'm pretty fluent with it.
>>
>>51761340
check the wikis
GPL is MIT compatible
>>
>>51761369
K&R in spanish, naturally.
>>
>>51761372
>>51761366
>>51761364
I know it's compatible but the resulting software must be GPL licensed, right?
MIT is compatible to GPL but not the other way round.
>>
>>51761412
Only if GPLv3 I think.
You basically just have to follow what's provided in the license of the GPL software, which I think GPLv2 allows you to use another license as long as you include copies of the source in your distribution. Check SO.
>>
>interview for an internship awhile ago
>everything goes okay, at the end of the interview we start having a casual conversation and talk what work I would be doing there
>guy says I would hear from him that night
>a week later and I haven't heard back
What do? I don't even know if I got the job. I'm guessing I didn't at this point.

I'm a little wary of emailing him because I don't want to sound desperate, although I'll probably end up doing that anyway.
>>
>>51761405

Will look into it, thanks a lot.
>>
>>51761412
>I know it's compatible but the resulting software must be GPL licensed, right?
No, not the part that was MIT originally.
>>
>>51761464
Nothing wrong with a follow up email. Thank him for his time which you should have done anyway and see where it goes. Worst case scenario you're at square one. Best case you have a new job.
>>
>>51761412
DUAL LICENSE
U
A
L

L
I
C
E
N
S
E

You keep both.
>>
>>51761464
You should always follow up, now is the time. Usually it should be two weeks but he said he'd contant you that night.
>>
see, when the op posts anime or trap shit, half the thread is complete off-topic

also see, faggots and anime fucks are all fucked in the head
>>
File: oh shit, I'm sorry.jpg (90 KB, 884x645) Image search: [Google]
oh shit, I'm sorry.jpg
90 KB, 884x645
>pay lots of money for class
>have asp.net project
>wants us to use database
>doesn't give us server to host it on
>"how are we supposed to host it"
>lol i dunno that's for you to find out
what the fuck
>>
>>51761493
This

Always follow up
>>
>>51760438
pls respond.
;u;
>>
>>51761500
>pay lots of money for class
this was your first mistake

I hope you realize at this point you could have learned this shit on your own without a class or instructor.
Also, you can buy access to a remote linux server for $5 a year.
>>
>>51761570
yeah but i need the piece of paper for a decent job
>>
>>51761500
>>51761570
>>51761587

forgot to mention we have to use SQL Server.
I can't afford that shit for a one time use class.
>>
>>51761587
>he fell for the college meme
you don't need college to learn to program you dumb shit
>>
>>51760395
Testing out Objective-C++. It feels weird.
>>
>>51761609
and you fell for the proprietary software meme too
i can guarantee you your "skills" in whatever proprietary language you're using aren't going to be worth jack shit outside of that class.
>>
Post your codeeval stats!
>>
>>51761500
Request from your college/uni a Dreamspark account or register with a credit card on Windows Azure. Databases up to 80 MB are free, which is more than plenty for some dev work.
>>
>>51761624
get out
>>
I'm trying to learn Python right now with "learn Python The Hard Way". It's my first language ever. I'm currently at excercise 15. Is it normal that i feel like i don't understand it all, especially since english is not my first language. I mean i'm good at it, there are just a few words i never heard before, but i guess that's not a big problem.
Also, i want to do web developing. What languages should i learn after Python? I'm from germany, if that matters.
>>
>>51761675
no
>>
File: Screenshot_2015-12-08_17-14-15.png (61 KB, 1154x556) Image search: [Google]
Screenshot_2015-12-08_17-14-15.png
61 KB, 1154x556
>>51761649
git gud
>>
>>51761660
we have to populate it with at least 2000 records over the tables. Will 80MB handle that?
>>
>>51761676
>from germany
>not good at english
you're a disgrace to your country to be honest family
>>
yay traps are back some qt post a pic
>>
>>51761718
that's 40 KB / record (10,000 integers)
>>
>>51761736
just buy some clothes and do it yourself
>>
>>51761736
Can we get faggots like this out of here?
You have your own board, fuck off.
This shit is just as annoying as those /mlp/ cunts before the board existed.
>>
>>51761755
>be hiroshima nagasaki
>create /trash/ board
>it becomes /mlp/2
>mfw
>>
>>51761747

im not a qt im hairy and 6'1 and somewhat ripped..somewhat not really trap material.

>>51761755

Did you check ops image? Do you know where you are? How about you get out of here newfag and an hero?
>>
>>51761777
You can look qt if you know how to play with camera angles.
Just be yourself
>>
>>51761718
It's a bit strange to have to populate a dev db with 2k records, it will probably hold it though
If you choose to go the Dreamspark route, do more research how big dbs can get.
I'm a student that uses his credit card for Azure shit.
>>
>>51761736
traps are shit desu
actual men are a lot more attractive
>>
>>51761793
no you cant
every angle contains a male feature because of evolution

>jaw
>shoulders
>back
>hips
>feet
>hands
>eyes
>hair
>>
>>51761810
that's kinda gay bro
>>
>>51761829
no homo
>>
Are you still using a procedural programming language? A functional one? An OOP one?
If so, your language may be deprecated.

>python
DEPRECATED! Use Venture instead.
>scheme
DEPRECATED! Use Church instead.
>clojure
DEPRECATED! Use Anglican instead.
>C
DEPRECATED! Use probabilistic-C instead.
>C#
DEPRECATED! Use Infer.net instead.
>javascript
DEPRECATED! Use webppl instead.
>haskell
NOT DEPRECATED! Haskell actually supports the paradigm of the future.

Face it, dinosaurs, if you're not using a probabilistic programming language in 2015, your time is already over.
>>
>>51761829
no homo of course
>>
>>51761627
let me guess. Your cs program taught with lisp or python, didn't it?
>>
>>51761845
D
>>
>>51761816
maybe you shouldn't have gotten ripped then
>>
>>51761845
Wow such a hipster faggot
>>
>>51761876
EPRECATED!
>>
>>51761886
i'm not a trap, i'm just saying nobody will fall for your jewlry
>>
>>51761729
Well, i said it's not my first language. Doesn't mean i'm bad at it. I really don't know why i expect serious advice on 4chan.
>>
>>51761886
exercising is fun, anon
>>
>>51761910
Is Microsoft a hipster? No? Then why do they use infer.net?
>>
File: 1439065064127.png (305 KB, 640x974) Image search: [Google]
1439065064127.png
305 KB, 640x974
I am working on this anon-chan~~
>>
>>51761939
>talking snake trying to weasel people into python
>>
>>51761917
It's fine to not understand everything at first, as long as you keep at it and have fun, you'll get better.
>>
>>51761845
what if my language of choice is valutron++
>>
>>51761939
Step 0. Be a NEET that has time for this bullshit
>>
>>51761989
In that case even 'no homo' can't save your faggot ass
>>
File: 1439236434769.jpg (113 KB, 684x626) Image search: [Google]
1439236434769.jpg
113 KB, 684x626
>>51761994
>20 lectures
>need to be a neet
Anon-kun~~ have you considered that you are just retarded?
>>
>>51762014
what if i also happen to actually be gay and offended by your incredibly rude statement??
>>
>>51762016
A weebshit calling another person retarded.
Rich.
>>
>>51762023
then you would probably be better off going back to reddit
>>
>>51762032
wanting respect doesnt mean i belong in reddit, you filthy breeder
>>
How do I make this print out the flipped bits on an integer in the right order?
It goes in reverse as written.
I'm starting to hate C in general, I spent a whole hour trying to figure out why my code was segfaulting on other machines and it turns out I forgot to null terminate the string.
void to_binary(unsigned num, char *buf)
{
unsigned i = 0;
while (num > 0) {
if (num & 1)
*(buf+i) = '1';
else
*(buf+i) = '0';
num >>= 1;
i++;
}
*(buf+i) = '\0';
}
>>
File: 1430030345850-1.jpg (198 KB, 1280x900) Image search: [Google]
1430030345850-1.jpg
198 KB, 1280x900
>>51762026
Go back to /r/programming~~
>>
>>51760444
No Abrash?

And why would Mark Zuckerberg be influential as prgrammer? Why not Elon Musk or Bill Gates then? All billionaires who started by programming, but the software they wrote isn't influential.
>>
File: 1439590011623.jpg (259 KB, 1000x1502) Image search: [Google]
1439590011623.jpg
259 KB, 1000x1502
>>51762075
Kill yourself, you fuckin' manchild.
~~
>>
You nogs have any good interactive guides on java?
>>
>>51760442
> C - manual memory management
> Java - bloated VM, garbage collected, slow
> python - REALLY fucking slow
>>
>>51762053
no, but your post content does.
>>
File: svettigkattflicka.jpg (80 KB, 447x630) Image search: [Google]
svettigkattflicka.jpg
80 KB, 447x630
>>51762104
I'll do it when you are good at programming, I am looking forward to die of old age~
>>
File: mikucrotch.jpg (46 KB, 1280x720) Image search: [Google]
mikucrotch.jpg
46 KB, 1280x720
>>51762026
>>
>>51762105
codeacademy?
>>
>in order to make a 1-byte char, you have to make an 8-bit boolean array

What the fuck perverted sense of humor does the universe have to have to make Java a popular language?
>>
File: 1443600921558.jpg (34 KB, 500x500) Image search: [Google]
1443600921558.jpg
34 KB, 500x500
>>51762104

umad?
>>
File: stupid plebs.jpg (485 KB, 2400x1590) Image search: [Google]
stupid plebs.jpg
485 KB, 2400x1590
>he doesn't write ANSI C89
>>
>>51762153
?
byte myChar = 0xWhatever;
(char) myChar;

An 8 bit byte, and a way to use it as a char.
>>
>>51762152
They have javascript, not java.
>>
holy shit guys, I'm learning to program and it took me way too fucking long and I had to google search how to make a factorial function

am I too retarded to be a programmer?
>>
>>51762213
Nah, that sounds like my first day learning C.
It gets better.
If you're still this frustrated after a week, or a month, then yeah, you're too dumb to program.
>>
>>51762180
K&R C's where it's at m8:
main(argc, argv)
char *argv[];
{
extern puts();
puts("Hello, world!");
}
>>
File: 1411310869705.jpg (141 KB, 1280x957) Image search: [Google]
1411310869705.jpg
141 KB, 1280x957
>>51762104
>>
>>51762230
what the hell is this, pre-ansi C?
>>
I am a sanitation engineer, not a programmer. I am doing genetic programming on wastewater data to find out if there is a way to estimate phosphorus using other parameters that are easier to measure
>>
where can i go to find other homosexual programmers
>>
>>51762241
You mean a garbage man?
>>
How do I avoid boring CRUD jobs?
>>
>>51762213
most of programming is just using algorithms that have already been invented unless you get into some r&d job
>>
>>51762239
Aye, the old way of declaring parameter types:
foo(a, b, c)
unsigned int a;
float b, c;
{
/* ... */
}
>>
>>51762268
Finding the right people to work for
>>
>>51762252

would you give head to them anon? How good are you?
>>
>>51762230
K&R C was pre-standardization. Kernighan and Ritchie worked on ANSI C and all modern versions of The C Programming Language use it.
>>
File: 1428250039668.jpg (15 KB, 192x154) Image search: [Google]
1428250039668.jpg
15 KB, 192x154
>>51762252
go to a swift lecture
>>
>>51762285
that looks neater
>>
>>51762313
True, but K&R C was nonetheless publicly available at the time and reflects the state of the language then during its development
>>
>>51760395
I'm trying to think up how to make an app for my phone that communicates with my computer so I can open apps from far away. What programming language should I use for this and would I need any outside hardware like an arduino?
>>
>>51762359
I didn't realize you were memeing. I thought you were genuinely suggesting people use K&R C.
>>
>>51762303
at giving head or programming?

>>51762344
I'm sorry, I should have specified: A place with normal* homosexual programmers, not macfags
>>
>>51762252
Grindr
>>
Anyone got any idea for programs in C? I want to learn the language but my Arduino is currently broken.
>>
>>51762404
>I'm sorry
our dad taught us not to be ashamed of our dicks
>>
>>51762266
No, maybe sanitation is the wrong word. I design wastewater and drinking water treatment plants, make sure rain water is moved to avoid flooding, design the urban water networks and that sort of thing... Water engineering?
>>
>>51761500
murica fuck yeah!
>>
>>51762407
Believe it or not, I have yet to meet a single fucking gay guy into comp sci/maths/programming on grindr

>>51762436
well memed my hilarious friend
>>
File: 1422385664777_5.jpg (289 KB, 2500x1000) Image search: [Google]
1422385664777_5.jpg
289 KB, 2500x1000
>>51760596
>https://en.wikipedia.org/wiki/Sophie_Wilson
>>
>>51762445
Civil engineer then?
Don't use the word sanitation unless you want to look like a janitor.
>>
>>51762404

head but tell us programming as well. Have you much before?
>>
>>51762501
What a fucking disgusting freak. He would've done the world a favor by not being born.
>>
>>51762467
> I have yet to meet a single fucking gay guy into comp sci/maths/programming on grindr
There's a crossdressing thread on /d/ with a bunch of crossdressing gay dudes studying CS.
>>
>>51762479
either declare c outside of the for loop and do for(c=0;...) or compile with -std=c99
>>
>>51762072
help
>>
>>51762525
I'm told I do it pretty well, so take what you will from it
>Have you much before?
2nd year c.s. undergrad

>>51762531
>crossdressing
I just want a normal guy who likes dicks, is it so much to ask
how can c.s. attract so many deviants and yet no normal gay guys
>>
Is anyone on this fucking board NOT gay?
>>
>>51760416
>std.stdio
Why didn't they just make it std.io?
>>
>>51762593
>normal guy who likes dicks
statistically speaking, a normal gay dude does not exist.
gays only make up 4% of the population, you're a statistical anomaly
a gay CS guy who doesn't like crossdressing is even more of an anomaly

seriously tho, just take what you can get
>>
>>51762593
>how can c.s. attract so many deviants and yet no normal gay guys
Your guess is as good as mine.
The only two gay CS guys at my school are bronies who each weigh over 300lb and shower maybe once every other week.
>>
>>51762659
I'm willing to bet they're not even really gay, they just gave up on women.
>>
>>51762567
What's not working?

>>51762646
>seriously tho, just take what you can get
that's like settling for an ugly programmer gf, I'd rather settle for a non-programmer bf than a crazy one

>>51762667
this
>>
>>51762692
>that's like settling for an ugly programmer gf, I'd rather settle for a non-programmer bf than a crazy one
nobody's telling you to do that
why don't you give a qt trap programmer bf a shot?
>>
>>51762659
if you were here and in /r9k/ for long enough you would notice this is just frustration in relationships instead of being gay.
>>
>>51762710
Not everyone is as mentally ill as you are.
>>>/lgbt/
>>
>>51762710
>qt trap programmer bf a shot
I don't feel sexually attracted to women, so why would I want a bf that dresses up like one in the bedroom?
>>
>>51760395
>What are you working on, /g/?
Just had 4 days off, but starting tomorrow project planning/preparations for a thing that's starting in February and some bugfixing/adjustments according to the customer.

Also have my first actual meeting with one of our customers for that upcoming project.

Only 10,5 workdays left this month and then it's holidaaays.
>>
REMINDER:


TRAP FAGS SHOULD GO TO >>>/lgbt/


ANIME FAGS SHOULD GO TO >>>/a/


THESE PEOPLE DESTROY EVERY SINGLE /dpt/, EVERY TIME THEY START THESE THREADS


SAGE GOES IN ALL FIELDS
>>
I'm learning C

Am I following the right path, /dpt/?

Also, what was the first language you guys learnt? What was your first project aside from "Hello World"?
>>
>>51762593

i meant given much head. can you take it deep? details qt anon
>>
>>51762659

people like this actually exist irl? They're such a cliche
>>
>>51762815
First lang was C++. Tried to self teach with a book, failed, ended up self teaching with some pdf file where I could copypaste the code when I mistyped something.

Feels good. I use C++ all the time now, all these years later, and I consider it my second favorite language outside of F# (which is completely useless).

If I remember correctly the first 'real' project that the pdf had me do was some chose your own adventure game using ifs and switches.
>>
>>51762743
>I don't feel sexually attracted to women, so why would I want a bf that dresses up like one in the bedroom?
Holy shit someone else that actually makes sense.

>>51762860
I'm surprised too desu. What makes it even better is one of them wants to make videogames for a living, but hates math and can't program.
>>
File: 1449038418412.jpg (70 KB, 413x319) Image search: [Google]
1449038418412.jpg
70 KB, 413x319
>>51762812

didnt read op
>>
>>51762815
>what was the first language you guys learnt?
C
>What was your first project aside from "Hello World"?
One of the earliest programs I remember writing was a sudoku solver.
>>
public class JTestbuild
{
public static void main(String[] args)
{
int i = 1;
if(i)
{
System.out.println("Nice frob!");
}
}
}


>this results in nothing being printed in java
jesus christ the memes write themselves
>>
>>51762843
If you just want to talk about sex, I'll give you a temp mail and you can shoot me your questions anon. I didn't mean to shit up /dpt/ (much), just venting because I don't even know where to look for a qt bf with the same interests as me

>>51762878
>Holy shit someone else that actually makes sense.
I'm pretty sure most people realise this, and just make fun of guys who like traps for the sake of it. Fucking a guy that looks like a girl aside from his dick is 100% straight
>>
>>51762815
>Am I following the right path, /dpt/?
C is a very low level language so is useful to know, because you understand how a computer works and the cost of things that are abstracted away in higher level languages
>Also, what was the first language you guys learnt?
C is a small language so some people would say so. But I think higher level languages, but still small, like Scheme, are better because they make you focus on programming concepts, and with C you also have to spend time learning how a computer works for allocating memory, using pointers, etc
>>
>>51762815
>Also, what was the first language you guys learnt?
Does HTML count?
It was HTML at around ~2000 when I was about 13 or 14..
>>
>>51762890
I'm not into Java, but does Java really see the integer 1 as "true"...?
>>
>>51762942
C/C++/most languages do, but Java doesn't.
In Java, ONLY boolean variables can be directly evaluated in an if statement. Everything else throws an exception.
>>
>>51762884
How to make a Sudoku solver?
>>
>>51762942
C does that too.
C didn't even have real booleans until C11.
Everyone knows that a non-zero value evaluates to true and a 0 evaluates to zero.
>>
File: 1435351676439.jpg (78 KB, 456x320) Image search: [Google]
1435351676439.jpg
78 KB, 456x320
>tfw my Java teacher is so hot I can't focus on her lectures
>>
>>51762968
* a zero evaluates to false
>>
>>51762953
>In Java, ONLY boolean variables can be directly evaluated in an if statement. Everything else throws an exception.
*doesn't even compile, you mean
>>
>>51762971
Post pics
>>
File: 1403138235577.png (138 KB, 350x350) Image search: [Google]
1403138235577.png
138 KB, 350x350
>>51762971
bring her a java from starbucks and she'll put out for sure
>>
>>51762953
Huh, I'm mostly into web developement and try to keep true/false and 1/0 differentiate.
E.g. in PHP I'd never write if(i), but always do if(i == 1).
>>
>>51762910

Sure tell me
>>
>>51763028
[email protected]
I'll be playing so I might not reply right away
>>
>>51760395
why do you have to do the things you do?
why can't you just conform to the rest?
why do have to keep doing it?
why can't you just stop?
why?
>>
>>51761845
DARPA is pumping mad dosh into these languages. Are you sure you want to be left in the dust, like one of those modern-day cobol programers?
>>
>>51763084

Because its the done thing here and you don't belong. Pic related
Thread replies: 255
Thread images: 38

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.