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

/dpt/ - Daily Programming Thread

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 277
Thread images: 54

File: dpt.png (572KB, 540x698px) Image search: [Google]
dpt.png
572KB, 540x698px
What are you working on, /g/?

Previous thread: >>61416003
>>
Thank you for using an anime image.
>>
>>61424474
Second for sublime
>>
>>61424474
>muslims
>anime

they would be executed on the spot
>>
>>61424507
>persecution against muslims is real
I know, that's so sad!
>>
Thank you for using a muslim image.
>>
>>61424474
A mobile imageboard based on 4chin with some features on top so students from all the campuses of my college unite in a single platform rather than being scattered through facebook in shitty facebook groups.
>>
A program which interprets code submitted by other users. I live life on the edge.
>>
AI to filter muslim images
>>
>>61424529
multiple language autodetect?
>>61424540
sounds NSA sponsored
>>
>>61424562
Mossad*
>>
>>61424562
>sounds NSA sponsored
sounds normal actually
>>
>>61424507
Being persecuted because of your religion or how you dress in this day and age is absurd and outrageous, and while I know 4chan is about le edgy teens internet hate machine XDDDD, I hope all the islamophobic comments we keep getting in this board are really just sarcastic and not serious.
>>
>>61424597
>>61424573
will it filter out infidels tho?
>>
>>61424474
>leave /dpt/ for some time
>op images went to shit
>>
>>61424562

Just one language. It's mostly an exercise in how to reduce risk stemming from user incompetence
>>
File: meat.gif (3MB, 428x240px) Image search: [Google]
meat.gif
3MB, 428x240px
>>61424474
I'm working on a python script that scans all the posts on /pol/ and then lists all the potential muslim replies in a text file, which a secondary script uses as reference for a script that using 4chanX replies to those replies with pictures of pork meat.
>>
hittin up that /greenprogramming/

i'm writing spatial analysis functions that allocate stuff like electrical grid infrastructure, building locations (with populations) to parking lots to optimize site selection for electric vehicle charging stations

fuck i love doing this, after selling my soul to the oil corps for years i feels so good to work on something i can feel proud of for once
>>
>>61424624
>leave dpt for some time
>keep leaving dpt for more time
No ragret
>>
Is it too straining to learn both programming, and networking at the same time? Or are they related in some way or another?
>>
>>61424519
>>61424611

What the fuck are you kids talking about? You do know muslims literally through homosexuals off of roofs and lynch them in countries where they are the majority, right? No doubt they would do the same to a male that watches anime, because it means he is also a homosexual.
>>
Using Z notation to do formal verification against a system dealing with environmental data. (It is a research project, nothing for commercial use.)

>>61424611
The internet amplifies the worst in people, 4chan is no exception.
>>
>>61424640
>reduce risk stemming from user incompetence
How would them coding help you do that?
>>
>>61424670
dude... you're replying to muslims.
>>
>>61424670
a tiny radical fundamentalist minority*
>>
>>61424732
I still hope the majority of them dies.
>>
File: FED_metric.png (119KB, 399x470px) Image search: [Google]
FED_metric.png
119KB, 399x470px
>>61424611
Only takes a small amount to destroy a nation and a people
>>
>>61424732
>tiny radical fundamentalist minority
>vast majority of muslims
hmmm
>>
>>61424757
What? The US are becoming reasonable sansd want to use the metric system?
>>
>>61424474
FUCK YOU YOU PIECE OF TERRORIST SHIT!

These terrorist incubators ARE NOT ANIME!

KYS immediately you degenerate piece of PIG SHIT!

Would the mods please ban these ISIS supporters already!
>>
File: images(2).jpg (34KB, 701x438px) Image search: [Google]
images(2).jpg
34KB, 701x438px
>>61424691
>the internet amplifies the worst in people
No, the internet is great. It's impunity for hate speech that does that.
>>
How do people go about building bots for certain websites? I want to be notified when a class opens up. Any video or textbook recommendations?
>>
>>61424611
Fuck you. I unironically think muslims are dangerous and around them I never relax.
Some guy in my university was from Morocco and you'd think it's just another peaceful and tolerant country? Absolutely not.
He told me how gays are less than subhuman and even cops beat them up.
So get the fuck out with your "everyone is beautiful and peaceful" attitude and go take a walk in a muslim country, we'll see how long you survive faggot
>>
>>61424670
In previous times the Muslim countries were more tolerant of homosexuality than the western world. In any case you only care about this topic disingenuously to further a ideology you subscribe to.
>>
>mfw It's possible to avoid Win32 API calls when programming in Visual C++ due to advancements in the language.

>mfw they added "enum class" in C++11
>>
>>61424812
curl [url] | grep [classname] 
>>
>>61424830
What are you talking about? The C++ api call win32 under the hood.
>>
>>61424772
The metric system is designed around materialistic values that wouldn't make sense using outside of the planet. The US standard has been crafted down to perfection over hundreds of generations of people since the first concept of measuring something exsisted. It is designed around the Human (Specifically European) mind and then makes sense to be applied anywhere.

In a sense the US Standard is a result of evolution and Metric is a result of denial of a greater force that isn't materialism
>>
>>61424812

some websites have REST APIs

if not, you can use a browser driver like selenium to automate form-filling

failing that, you can also scrape HTML directly using beautifulsoup
>>
>>61424874
Yes but my code is more portable now. I don't have to touch Win32 API
>>
File: retard.gif (480KB, 493x342px) Image search: [Google]
retard.gif
480KB, 493x342px
>>61424879
And you're serious... One day US will wake up and realize how retarded they are in the world.
>>
>>61424812
>I want to be notified when a class opens up.

If it is as simple as that, are RSS feeds still a thing? Generally speaking though, most universities offer a way to receive a notification when a course opens up, via e-mail or something of the such.
>>
File: NotAn.jpg (58KB, 598x792px) Image search: [Google]
NotAn.jpg
58KB, 598x792px
>>61424916
Nice not argument faggot
>>
>>61424909
>Yes but my code is more portable now. I don't have to touch Win32 API
C++98 was already portable. Why did you need to call win32 api for?
>>
>>61424934
There is no need for arguing. 6.7 billions of humans are using the metric system. One retarded country is just late.
>>
>>61424474
fuck you fucking muslim
>>
>>61424965
>if everyone does something stupid, that makes it smart
>>
>>61424830
>Win32 API calls
So c++ somehow calls system functions from the kernel whithout calling them ?

If by that you mean using the interfaces provided by the standart libraries, they still end up using the windows api under the hood.
>>
File: 1497217992511.jpg (30KB, 468x450px) Image search: [Google]
1497217992511.jpg
30KB, 468x450px
I like
>>
>>61424986
You're so cutre anon-kun. Do you know that US scientists use the metric system?
>>
>>61424965
>argumentum ad populum

I'm in favour of the metric system anyway, the conversions are simpler.
>>
>>61424936
Probably threads.
>>
>>61425010
Just so lesser nations can understand their work
>>
>>61425017
That's what I was thinking (and file path manipulations). I just wanted a confirmation. But it's not huge.
>>
>conversions are eaiser in the metric system anon
>implying milimiles and kilopounds arent a thing
>>
>>61424779
Most victims of ISIS are Muslims, my friend.
>>
>>61424817
So let me get this straight, you're worried about homophobia so you decided to become islamophobic? Fuck logic!
>>
File: 1497812465545.jpg (25KB, 480x474px) Image search: [Google]
1497812465545.jpg
25KB, 480x474px
>>61425091
>implying it isn't because of the different secs in islam and that they wouldn't kill more christians if given the chance
>>
>>61425075
kibipounds*
>>
>>61425106
sort of like those people who rag on Westbro Baptists because of their insane beliefs?
>>
File: webasm.png (331KB, 500x684px) Image search: [Google]
webasm.png
331KB, 500x684px
>>61424611
I'm dead serious, your ideology is anti-progress and anti-anime as well, it's a matter of facts.
I dare you run through Riyadh with your car while blasting YuruYuri opening song from your radio.
>>
>>61425075
You can't convert mile to pound
check mate atheist
>>
>>61425106
>So let me get this straight, you're worried about X so you decided to care about X? Fuck logic!
The only places in the world where faggots are free to be faggots are White-majority nations.
>>
>>61425125
It's not like Christians couldn't stop killing each other not a century ago, lad.

Also, the only reason this turmoil in the Islamic world is taking place right now is because the USA funded, armed and trained radical mujahideen during the Cold War just because they opposed the Soviet Union. The irrelevant, inexpressive group of fundamentalists eventually became a serious force, and an once tolerant and progressive Middle East has become a clusterfuck.
>>
>>61425106
No don't get me wrong, I hate fag but I would throw them out of a building.
People claiming muslims are peaceful are just fucking delusional, that what I said.
>>
>>61424611
>>>/pol/
kys muslim fag
>>
>>61425168
>bringing race into the issue
Thanks for admitting your real issue isn't with a particular religion, but with brown people.

>and these idiots look surprised later when we call them racist
>"b-but Islam is not a race!"
Fuck off, you're not fooling anyone!
>>
>>61425177
wouldn't*
>>
>>61425189
I can dislike brown people and a religion. My views have nothing to do with anyone else's in this thread, this is my first post.
>>
>>61425149
I've done so in Jakarta, kiddo (but on a motorbike). The problem isn't Islam, it's Saudi Arabia.
>>
Metric for science etc, imperial for daily use. I'm from yurop and was raised on metric from birth but I still find it impossible to visualise something like a metre, whereas a foot is much more intuitive and I can easily estimate how long/tall something is in feet.
>>
>>61424611
This is what happens when you allow rust developers to post on here.
>>
>>61425168
You mean like Russia?
>>
why is her head so big ?
Her eye brows are where her nose should be..
>>
File: _88153376_88153375.jpg (49KB, 660x371px) Image search: [Google]
_88153376_88153375.jpg
49KB, 660x371px
>>61425203
>I can be an idiot
You sure can, my friend. You sure can.

>>61425168
There are Islamic majority white countries out there, my friend. OP's girl could just as well be white, you know.
>>
File: wNMvfSk.png (88KB, 2678x941px) Image search: [Google]
wNMvfSk.png
88KB, 2678x941px
Probably fits more in the stupid questions thread but I'm really out of ideas.

Left side, with the blue brush = my painting program. The blue 1 was made in one stroke of blue color first. Then, the 2 was made with a second stroke that first goes through the blue 1 but then also goes through itself. It's easy for me to make the old color bluer since I know I haven't modified it yet with the current stroke. But how can I tell that I can modify the color made by the current stroke when I go over it again within the same stroke? Like how can I tell the difference when it's okay to make the color darker? Because as the brush moves, say, left to right, the leftmost part of the brush would try to paint over pixels that were already painted blue by the rightmost part of the brush.
And it gets even worse if the brush is say, two colored. Let's say the left half of the brush is green, the right half is red. Then, if I go left to right, the rightmost pixels will always be painted red, but it should be followed by an increasingly longer "tail" of green, if you know what I mean.

Right side is how it's done in MSPaint. As you can see, even in the top left example, if the yellow brush goes in one stroke through itself, the color gets slightly darker.

Am I missing some blatantly obvious solution here? How can I tell if the brush should paint over pixels that the brush just painted within the same stroke?
>>
File: 1473088606621.jpg (68KB, 720x720px) Image search: [Google]
1473088606621.jpg
68KB, 720x720px
>>61425174
>It's not like Christians couldn't stop killing each other not a century ago, lad.
The crusades were a result of muslim conquest.

>Also, the only reason this turmoil in the Islamic world is taking place right now is because the USA funded, armed and trained radical mujahideen during the Cold War just because they opposed the Soviet Union.
Anon, the middile east is also known as the graveyard of empires. From Alexander the great to the American and Soviet empires. It's not a fucking coincidence, the people there are dug in fighting over transgressions that happened 100s of years ago. Since Islam is both an Ideology and a form of government, it is subjected to both changes in social, spiritual, and economical changes.
>>
File: saommich.jpg (123KB, 1280x720px) Image search: [Google]
saommich.jpg
123KB, 1280x720px
>>61424817
Another thing mudslimes will never admit: there's no logical reason behind their porkophobia.
They just pretend you never asked, because otherwise their whole ideology starts falling apart.
>>
File: 1471172015300.gif (40KB, 200x204px) Image search: [Google]
1471172015300.gif
40KB, 200x204px
>>61425206
>The problem isn't Islam, it's Saudi Arabia.
Good joke m8, I jiggled.
>>
>>61425275
Well I don't understand it either but one once said it's because they didn't know how to cook pork and always got sick and so they just said it's banned.
Don't know if true tho
>>
>>61424493
Sublime kinda sucks. I'd rather use Atom.

I'm almost sure I'm going to give Visual Studio Code the ol' college try.

I can't get down with vim/spacemacs. I really don't need word yanking and shit.
>>
>>61425275
In the past it was because pork would spread disease, but now with modern meat preparation, it is not an issue.
>>
>>61425274
>The crusades
Who said anything about crusades? I was talking about Protestant/Catholic wars. Also, it's not like Christians didn't conquest too. How do you think Christianity spread through Europe and then the Americas and Africa? Why is it okay for Christians to conquest, but it's not okay for Muslims to?
>>
>>61425324
Stop pointing out their hypocrisy, anon. It's useless.
>>
File: 1477735503557.jpg (54KB, 500x425px) Image search: [Google]
1477735503557.jpg
54KB, 500x425px
>>61425318
>>61425301
yet it's still banned and a grave offense to any follower of the islamic faith, truly progressive and logical faith, model ideology for all the world, am I rite?
>>
>>61425345
>why won't people eat what I want them to eat? REEEEEEEEEEEEEEEEEEEEEEEEEEEEE
You're the only one being regressive and illogical here.
>>
>>61425222
Read my post again, then consider suicide

>>61425248
>>61425248
>There are Islamic majority white countries out there, my friend. OP's girl could just as well be white, you know.
White countries are the only countries where homos are free to practice their deviancy. That does not mean every white country has this, or that every country would always have this. This does not mean that a White Islamic country would have this, or that a non-white Christian country would have this. You seem to confuse race with ideology. Both are important, but they are distinct.
>>
>>61425324
I don't want to defend Christianity, If I had it my way, Roman paganism would of not been subverted by Christianity. but oh well, the point of these religions IS conquest.

Your originial point was
>Most victims of ISIS are Muslims, my friend.
and what I was trying to say was that it doesn't matter they would kill who ever they need to conquer and I used that image because I want you to stop being a faggot
>>
>>61425381
>I've no arguments to back my belief
Thanks fore confirming my point, Ahmed.
>>
haskell!
>>
>>61425383
>White countries are the only countries where homos are free to practice their deviancy.
You mean like Poland?
>>
>>61425414
>The only X are in Y
>What about z, z is in Y and it's not X
/dpt/ never fails to disappoint
>>
File: 1462509055774.png (403KB, 551x529px) Image search: [Google]
1462509055774.png
403KB, 551x529px
OP must be truly happy that there's so much talk about coding in this thread.
>>
File: 1498012456057.jpg (201KB, 879x1183px) Image search: [Google]
1498012456057.jpg
201KB, 879x1183px
>>61425414
Poland hasn't gotten jewed yet
>>
>>61425436
>anti-semitism
Not funny.
>>
>>61425434
I recognize that hentai face.
>>
File: 1493036213420.gif (398KB, 500x460px) Image search: [Google]
1493036213420.gif
398KB, 500x460px
>>61425414
Homos get lynched and killed every day in Poland? that's new to me.
>>
>>61425434
Welcome to /dpt/, you must be new here!
>>
File: img_6555.jpg (133KB, 1200x781px) Image search: [Google]
img_6555.jpg
133KB, 1200x781px
>>61425296
But it's true, anon.
>>
HTML and CSS suck. GUI library that uses webgl / canvas for web when?
>>
File: FED_Race.png (63KB, 362x490px) Image search: [Google]
FED_Race.png
63KB, 362x490px
>>61425450
Hope you're trolling anon. I don't hate all jews, but majority of people I do hate are jewish
>>
>>61425474
When I was lurking here a month ago or so, people were actually posting code blocks and talking about programming.
Why the fuck are mods allowing this bullshit to go on?
>>
>>61425507
hahaha we don't have mods here
>>
File: SA.png (27KB, 1214x196px) Image search: [Google]
SA.png
27KB, 1214x196px
>>61425490
Where do you think islam came from in the first place?

>what is mecca
>what is the caliphate
>what is hundreds of years of islamic history
>>
>>61425507
The thread before this one was fine. OP just wanted to ensure the next dpt would be an abortion.
>>
>>61425574
>>
>>61425549

We've had several /dpt/s with girls in hijab pics in them that went just fine.

https://rbt.asia/g/thread/61252761
https://rbt.asia/g/thread/61246538
https://rbt.asia/g/thread/61300449
https://rbt.asia/g/thread/61268823
https://rbt.asia/g/thread/61364395
https://rbt.asia/g/thread/61359546
https://rbt.asia/g/thread/61321347

This thread became an abortion because of islamophobia, not due to OP's image.
>>
>>61425414
You can be a fag in Poland and still live a happy life. But God help you if you live in the Middle East
https://en.wikipedia.org/wiki/LGBT_in_Islam#/media/File:World_laws_pertaining_to_homosexual_relationships_and_expression.svg
>>
>>61425653
I'm an atheist bi and the OP pic is extremely offensive to me. Go fuck yourself.
>>
>>61425653
How come the left uses the term Islamophobia all the time, when even Buddhists and Hindus in places like Burma and China (who have lived along side Muslims for hundreds of years) also note that Islamic fundametalism is a big problem there, to the point that China is forcing Islam-practicing Uyghurs to shave their beards and Burmese peasants are literally fending off these violent Islamic groups?
>>
>>61425720
>Islamophobia
That's a term made to forbid every criticism of Islam.
>>
>>61425703
>muh feelings
kek
>>
>>61425765
>muh islamophobia
>>
>>61425770
>muh hate speech is freeze peach too
>>
>>61425789
>all criticism is hate speech
>>
>>61425789
ok but you cant criticize Christianity either! Even Westboro Baptists! That would be hate speech!
>>
File: Dsl_smok.gif (2MB, 500x298px) Image search: [Google]
Dsl_smok.gif
2MB, 500x298px
>>61425789
Even if it was hate speech, it is still and should be free
>>
>>61425812
Haram. Check your privileges!!1
>>
>>61425789
>It literally is
>>
>>61425789
>he doesn't like hate
what a faaag
>>
>>61425789
>muh hate speech
>it's ok if we do it
https://www.youtube.com/watch?v=Q9nzSEGbQBg
https://www.youtube.com/watch?v=3qwSNFz4uIA
https://www.youtube.com/watch?v=XqCoLnkZ6C0
https://www.youtube.com/watch?v=WZQ7RR3dCos
https://www.youtube.com/watch?v=EhpRlkrMWy8
>>
haskell!
>>
>be muslim programmer
>post programming thread
>"oh boy time to talk about programming i cannot wait :)"
>everyone else: "HIJAAAAAAAAAAAB BLEB BLEB MUDSLIME BLEB FREEDUMB BLEH BLUH EXECUTION"
>get memed off the face of the earth
Why does this happen?
>>
>>61424825
>In previous times
We don't live in previous times.
>>
>>61425970
>be muslim programmer
>meme everyone else off the face of the earth like all muslims do with their dank terrorism memes
>get memed off the face of the earth in return
>you are surprised
>>
>>61425945
LISP
>>
>>61425993
Idris!
>>
>>61426012
<insert name of meme language nobody uses>
>>
>>61426038
HTML!
>inb4 not a programming language
WRONG! HTML is a domain specific declarative programming language that isn't Turing complete!
>>
>>61426038
Java!
>>
>>61426038
Somebody already said Haskell!
>>
>>61426038
J
>>
>>61426066
Sea plus plus!
>>
>>61426064
You sound confused, anon.
>>
>>61426098
Python!
>>
>>61425720
Fundamentalism is a problem in general. Islamic fundamentalism especially. But Islamic non-fundamentalist non-extremism is not a problem and should not be treated as such. Treating it as a problem because Islamic fundamentalism and Islamic extremism are problems is the definition of islamophobia.
>>
pls islamic friend op
do hte needful and delt
>>
>>61426105
Javascript!
>>
>>61426169
You're right, the problem is that the Arabs are genetically lower IQ and more apt for violence (and crime) and more apt for tribal conflicts.
>>
>>61426206
Pure condensed memes!


Bappity boopity!
>>
>>61426251
1) That's not what I said at all. That's nearly the opposite of what I said.
2) That's incorrect.
>>
>>61426251
Most Muslims aren't Arab, anon.
>>
>>61426270
Sure thing anon, must be nice having your head stuck in the sand
>>61426287
Talking about Arabs though, which are mostly Muslim.
>>
How would you find the next odd multiple of 5 from a given number x? E.g.:
x = 7
next_x = 15


x + (5 - (x % 5))
will find the next multiple of 5, but not only odd, and it's also a costly modulo, so ideally with bitwise operations.
>>
File: iq_by_country.png (28KB, 1357x800px) Image search: [Google]
iq_by_country.png
28KB, 1357x800px
>>61426319
>>
>>61426328
Check if it's odd by dividing by 5. If it's not, sum 5 to it.
>>
>>61426328
10 * (((x - 1) / 10) + 1)

Does not work for negatives (not tested).
>>
>>61426319
"Race realism" is a myth. It's nothing more than a modern resurfacing of social darwinism, which has only ever been a fallacious but superficially convincing way for the middle class to justify shifting their frustrations onto the scapegoat of the "other" to avoid having to face the upsetting reality that the force that subjugates them is not a racial or religious minority but in fact none other than the mainstream corporate media they so esteem. So, if anything, you're the one with your head in the sand, because out of sheer cowardice you would rather blame "the Arabs" for your quality of life than do what must be done and revolt violently against the disgusting capitalist usurpers.
>>
>>61426380
>check at all
>dividing by 5 instead of
x & 1

Terrible. This is why /sci/ makes fun of us. I know for a fact is can be done in one single arithmetic operation, I just can't figure out how. This is probably elementary math - boy do I feel stupid.
>>61426398
>x = 7
>16 is an odd multiple of 5
>>
File: Akane.png (900KB, 1440x807px) Image search: [Google]
Akane.png
900KB, 1440x807px
>>61424474
How do I prepare for an interview lads?

I said I have experience with java and python because that was on the job description but I have no clue what I'm doing. I haven't used java in 3 years and only write small scripts in python.
>>
>>61426169
>But Islamic non-fundamentalist non-extremism is not a problem and should not be treated as such.
Are you talking about the Muslims that don't commit the violent acts but at the same time don't do anything to stop Islamic fundamentalists from committing them, because while they are casing the problem, by not modernizing Islam and getting rid of all that fundamentalism inherent to the religion, they aren't helping either and they shouldn't be congratulated until they at least want to make Islam a reformed and modern religion ala Christianity, Judaism, Buddhism,etc.
>>
>>61426535
Sorry for my even formula. Here the odd formula.
10 * (((x + 4) / 10) + 1) - 5
>>
File: Sweating.gif (3MB, 346x195px) Image search: [Google]
Sweating.gif
3MB, 346x195px
I'm working on. Well. Literally getting started. I'm ashamed to say that I have been slacking. I've been struggling with what language to start with.

I want to become a video game designer in the long run. Which I'm sure is kind of a joke on this board..

But I've been trying to decide the best path, seemed like learning C# for unity made some level of sense, but at the same time I feel like developing a perspective from closer to the metal first would probably be for the best.

I just don't know how to start one way or the other. Code academy.. books.. etc.

Impart upon me some wisdom?
>>
>>61426563
>but at the same time don't do anything to stop Islamic fundamentalists from committing them
You mean like the Assad Muslims who are defeating ISIS as we speak?

Fuck off with your Fox News horseshit.
>>
>>61426557
Python is supposedly 1 million times faster than C to develop, so you should be able to write full fledged suit, some APIs, and a couple robust programs in no time.
>>
>>61426535
>
x & 1

>doing obscure shit because wanna look smart
Don't. The purpose of your code must be clear. If it's not, you're writing legacy code.

0/10 would never hire a smartass like you
>>
File: Come_on_now.gif (2MB, 500x391px) Image search: [Google]
Come_on_now.gif
2MB, 500x391px
>>61426468
Evolution is real and happens both fast and slow. Especially under circumstances which breed out certain traits. Take the Russians who've domesticated the fox recently in around 10 generations. Or how humans domesticated dogs or cattle. For the Middle East world, the only ones who breed successfully are the ones who closely adhere to Islam and since this has been going on for 100s of generations. The results speak for themselves, you have a low IQ, inbred group of people, who only have to adhere to the principles of their religion. Corruption is not seen as a bad thing, and death is not feared by them.
>>
>>61426535
((x - 5)/10 + 1)*10 + 5
>>
>>61426616
>"evolution is real"
>cite two cases of intelligent design as "evidence"
>>>r/atheist
>>
>>61426594

Yeah but what should I do to practice? I have like a week, should I forget java and just focus completely on python?
>>
>>61426587
Assad is an Alawite, basically a Muslim who holds paganistic beliefs from Antiquity as well as Christian and Jewish customs. They are a religious minority in predominantly Sunni Syria. He's basically the on protecting the rest of his fellow Alawites from being annihalated by Islamic extremists like ISIS, who are mainly Sunni Wahhabist hardliners. Way to show how little you know about Islam idiot.
>>
>>61426655
Alawites are under 13% of the Syrian population. Are you unironically saying Assad's army only drafts Alawites? Are you that retarded?
>>
Muslim women are beautiful, it's a shame they must cover their faces.
>>
>>61426563
Believing in a religion does not make it your responsibility to stop other people who believe in the same religion from committing atrocities.
The most you can reasonably ask of them is to express intense disapproval for terrorism, and many of them do.
No one's talking about congratulating anybody. We're just talking about not treating people who aren't terrorists like they are.
>>
>>61426575
literally write pong
start right now
>>
>>61426641
Fuck nigga, I wouldn't know if these traits were already there or added there through random mutation. I was just saying that they are different from us white people because of their different breeding controls making them more dangerous and stupid
>>
>>61426564
>>61426634
Great, thanks.
>>
File: 1490717652644764887.jpg (353KB, 1280x1262px) Image search: [Google]
1490717652644764887.jpg
353KB, 1280x1262px
>>61425318
>now with modern meat preparation, it is not an issue.
http://www.who.int/mediacentre/news/statements/2015/processed-meat-cancer/en/
>>
File: dira.jpg (175KB, 810x1080px) Image search: [Google]
dira.jpg
175KB, 810x1080px
>>61426688
They don't have to. I was in Jakarta for business yesterday and fucked this little islamic pearl. She drinks and doesn't wear a hijab and literally nothing happens to her.
>>
>>61426695
They might not be, but their is a good chance that their offspring will be, or that their offspring will be a net drain on (white) society
>>
File: s.png (200KB, 1680x1050px) Image search: [Google]
s.png
200KB, 1680x1050px
>>61424474
>What are you working on, /g/?

Exploring the deepest, darkest corners of racket.
>>
>>61426616
This is why IQ is a culturally biased measure of intelligence.
What it measures is not genuine and holistic intelligence but inborn ability to adhere to particular cognitive patterns which have been passed down in the manner you describe.
The Arabs invented algebra.
>>
>>61426779
No there isn't.
>>
>>61426687
NO. The majority of the country is Sunni like I stated and almost certainly majority of the army is too. The thing is the people that are fighting ISIS are doing so because they like having a stable gov't that doesn't start religious massacres all the time, not really religious reasons for the most part.

>>61426695
The thing is though if you want a religion to be accepted in the West, you have to get rid of most of it's worst barbaric tendencies in the first place. It happened with Christianity and Judaism. Rural Islamic peoples who've had their countries bombed by the US repeatedly and other Western forces aren't going to give two shits about that, so why should we accept them into our society, why do we think that their children won't be extremists of a sort because it was the US that did ruin their countries due to our terrible foreign policy for the last 45 years and more importantly why did we bomb them too

>>61426817
>The Arabs invented algebra.
Actually that guy was Iranian and he discovered it.
https://en.wikipedia.org/wiki/Muhammad_ibn_Musa_al-Khwarizmi
>>
>>61426610
>bitwise AND
>obscure shit
>unclear
You're retarded, my friend. This is trivial stuff - all even numbers end on 0 in base 2, while odd end on 1, e.g.:
10 -> 1010
11 -> 1011
>>
>>61426653
I just don't understand how someone in your position can get an interview, while I can't even get a call back.
>>
>>61426884

The only thing I have going for me is I graduated from a top Uni with decent grades.
>>
>>61426860
>The thing is though if you want a religion to be accepted in the West, you have to get rid of most of it's worst barbaric tendencies in the first place.
See: Christianity.
>It happened with Christianity and Judaism.
No it didn't.
The Bible still says some pretty barbaric things.
The point is, you don't have to get rid of the barbarism of the religion itself, only that of its people. Which is yet another reason not to treat Islamic non-terrorists like Islamic terrorists. Because Islamic non-terrorists are, *by definition*, *specifically* the ones who aren't barbarians.
>>
>>61426817
Hey I agree, IQ is judging intelligence from a European perspective. But it proves my point, they do not view the world from our perspective and therefore are different from us in our cognitive functions. If they were born in Europe and lived all their life in Europe, their IQ tests would still be of the same margin as their former nations is.
>>
>>61426860
>The thing is the people that are fighting ISIS are doing so because they like having a stable gov't that doesn't start religious massacres all the time, not really religious reasons for the most part.
No, you just moved the goalposts. You claimed moderate Muslims didn't do anything to stop fundamentalist Muslims, and I just showed they do, so you moved the goalposts.

Get fucked, you sophist!
>>
>>61426862
If you need to explain it, then it's not trivial, lad.
>>
>>61426911
In 500AD Europe that barbarism was pretty brutal. But that has changed and is much lower now. "Why" you may ask, it is because of the rule of law, murders die and their children are outcasted, Robbers die, and their children are outcasted. Corrupt officials, killed in a mob, and their children hunted down and killed. This is eugenic, and lowered violence and corruption down significantly.
>>
>>61426919
>But it proves my point, they do not view the world from our perspective
It doesn't prove that at all.
It comes close to proving they're *genetically predisposed* not to view the world from our perspective, which is not quite the same thing, but it doesn't even prove *that*, because it doesn't prove their perspective is incompatible with ours.
Especially if we're talking about specifically the ones who aren't terrorists and vehemently reject terrorism. Which we are, that's already been established.
In addition, I remain convinced that most of what makes us mentally human at all also unites us more strongly than our differences. I remain convinced that diametrically opposed worldviews that are both genetically rooted are reconcilable by way of appeal to both parties' more fundamental humanity.
>>
>>61426971
I'm explaining it to a retard like yourself. Even a child needs to be explained 2 + 2. But what kind of a "programmer" doesn't know the basics of binary? Go read a goddamn book, you're embarrassing yourself.
>>
>>61427001
And?
Barbarism is at an astonishing rate of precisely nil among muslims who are not barbarous.
Which are the muslims we're talking about.
The muslims who are barbarous can go fuck themselves.
>>
>>61427001
See >>61425174
>>
>>61426884

You need to lie on your resume and bullshit your way through the phone interview. The HR people have no idea what they're doing so getting past them should be easy.
>>
>>61427009
You're writing unmaintainable code and I would not hire you. Now get the fuck out of here.
>>
>>61425984
In future times, perhaps the US would stop funding Muslim extremists, but this is getting way OT.
>>
>>61427019
Already responded to that faggot. It's the people not the religion.

>>61427002
That is a situation that I don't want to risk. I know for a fact that white people are better off if left alone. But I do not know if the races mix, if the outcome would be acceptable society or ultimately the fall back to the bronze age
>>
>>61427081
>Already responded to that faggot.
You didn't, you threw unrelated facts around.
>>
>>61427097
I must of did it to some other faggot with same argument, read the thread.
>>
>>61427039
I doubt you're in a position to hire anybody when you don't understand bitwise operations. Or, maybe you are, which would also make sense. But yeah, keep on imaging that I somehow invented bitwise AND, and that I somehow came up with the idea to efficiently check for evenness vs a costly modulo operation. Maybe stop hiring code monkeys like yourself that can't program.
>>
>>61427128
You failed to address the fact that not a century ago, different sects of Christianity were killing each other left and right (and, in some parts of the world, to this day they still are even).
>>
>>61427154
You sound frustrated.
>>
>>61427081
>That is a situation that I don't want to risk.
There's no alternative. It's either peace now or war later, and because all lives are of enormous value, war later means loss of an unacceptable magnitude. No amount of culture or land is worth its weight in blood.
>I know for a fact that white people are better off if left alone.
I disagree.
>cancer
>obesity
>man-made climate change
>income inequality
>oompa loompa for president
>healthcare and education conceptualized as premium services, not commons
>>
>>61427159
I'm arguing in favor of white people, and also stating the fact that because of the rule of law, white people now are more intelligent and less okay with violence (non-state) towards people makes them different from Arab and middle eastern people (of today)
>>
>>61427154
It is entirely unnecessary as just about any compiler from the last 3 decades will optimise it anyway. Modulo is more readable so there is no reason why you shouldn't use it.
>>
>>61427081
To add to the list (>>61427189):
>representative """"""democracy""""""
>>
File: 1494915123670.png (461KB, 611x686px) Image search: [Google]
1494915123670.png
461KB, 611x686px
>>61427175
>n & 1
>"obscure shit"
>>
>>61427205
>I'm arguing in favor of white people
Bosnians are white too.

>white people now are less okay with violence
Sure thing, my man.
>>
>>61427249
Dumb animuposter.
>>
>>61426911
No they aren't barbarians but they won't acclimate to Western culture to well since they are often poor people that have had their countries attacked by the USA and other nations for decades now. So why should we trust these people in our nations and why would they trust us (really rightfully)

>>61426940
There's still religious violence against Christians of the Maronite and Melkite faiths there on a regular basis perpetuated by fundamentalists of which little is done by the more moderate of these groups because kuffir aren't humans. However, it just so happens that ISIS is a group of fundamentalists that want to destabilize the gov't, not beat up a bunch of Christfags. Of course these people would want to fight ISIS because even groups like the Taliban are afraid of ISIS because they are the most fundamentalist of all Muslim groups today at least.
>>
>>61427269
>So why should we trust these people in our nations
Because they're already here and they're not terrorists. Except the ones that are. We shouldn't trust those ones.
>>
>>61427189
>I disagree.
>cancer
>obesity
>man-made climate change
>income inequality
>oompa loompa for president
>healthcare and education conceptualized as premium services, not commons

Cancer rate, higher in non-white counties
Obesity, higher in non-white countries (b-but americas white, only 50-60%)
Man-made climate change, man made or natural earth cycles, white people will be okay out of them all. I don't see china cleaning up rivers n shit
Income inequality, Because all the jews have the money and don't trust us goyim with it. (jews are not white)
Oompa loompa, git fuc'd librul
healthcare and education HIGHEST in European countries (white countries)
>>
>>61427269
>Alawites aren't Muslims because they incorporate pagan elements
>Maronites and Melkites are still Christians despite incorporating pagan elements
?????
>>
File: 1498875669957.png (427KB, 400x538px) Image search: [Google]
1498875669957.png
427KB, 400x538px
>>61427250
I specifically said non-state violence retard
>>
CSP or STM?
>>
>>61427312
ISIS considers itself a fucking state, you fucking moron.
>>
>>61427290
>Cancer rate, higher in non-white counties
Inaccurate.
>Obesity, higher in non-white countries (b-but americas white, only 50-60%)
Also inaccurate.
>Man-made climate change, man made or natural earth cycles, white people will be okay out of them all. I don't see china cleaning up rivers n shit
The Chinese are white.
>Income inequality, Because all the jews have the money and don't trust us goyim with it. (jews are not white)
1) Jews are white.
2) Jews are not the ones who have the money. It's large corporations.
>Oompa loompa, git fuc'd librul
40% approval rating.
>healthcare and education HIGHEST in European countries (white countries)
Yes. But you sound like an American.
>>
After spending several hours thinking of my next project, I have two very interesting ideas in mind.
I'm definitely going to complete these.
It won't be like the last few times.
>>
>>61427290
(continued from >>61427340) Also:
>white people will be okay out of them all
White people CAUSE it.
They need to figure out a way to survive that does not destroy the world.
Arabs, for one, seem relatively good at this. Maybe they should put their heads together.
>>
>>61427335
They think they are a state, yet we don't see a fucking ambassador at the the UN. It's because we're at war with them. If that wasn't happening most people wouldn't even know who was slaughtering who over there.
>>
>>61427189
-Cancer literally has a thing since the age of dinosaurs, so has obesity
-Climate change is real but it came on the back of industrial revoluttion. So are you saying we shouldn't have technology actually advance, not to mention it's too late to care since now we would have to go carbon-negative to prevent any major climate change
-Income inequality literally has always been a thing
-Trump wouldn't have been president if you co-opted his message and had a candidate like Jim Webb run instead of a brain-dead socialist and Bush with a Vagina. Also, you shouldn't have abandoned your blue-collar base. Even the Republicans (the party of Ted Cruz, both Bushes, John McCain and Lindsey Graham (i.e. evangelical neocons)) didn't even manage to fuck that up, and that's saying how useless and idiotic the whole DNC is. King Nigger fucked your party up good.
-The gov't shouldn't make your life decisions for you. You should. The reason why Venezuela and the USSR failed was because they squandered their wealth on social services like all socialist systems do, instead of investing in infrasructure.


>>61427301
>Alawite, basically a MUSLIM who holds paganistic beliefs from Antiquity as well as Christian and Jewish customs.
>>
>>61427232
>just about any compiler from the last 3 decades will optimise it
I was thinking about that, but how exactly will it guess the intentions? E.g. suppose you have the "readable" code
n % 2 == 0
- how is that any different that
n % 7 = 6
, etc? wheres with an AND operating it just knows to check the first bit of n with the only bit of 1.
>Modulo is more readable so there is no reason why you shouldn't use it
I see n & 1 in code all the time. It's perfectly readable. Only people who think otherwise are Javascript artisans and the likes who's only ever dealt with programming through an abstracted language and illiteracy. Binary knowledge is 101; there's a reason many interviews have you read a binary clock.
>>
anyone wanna code for me? I can reimburse you for your time but it won't be money.

Drink and snack on me.
>>
>>61427380
Unfortunately, "interesting ideas" don't cut it. I too am an ideas man of sorts.
>>
Acid douse all programming heretics.
>>
File: 1499165550126.gif (925KB, 700x478px) Image search: [Google]
1499165550126.gif
925KB, 700x478px
>>61427381
>>61427340
I took the time to check before I posted, go back to /r/I'm_retard
>>
>>61427390
>-Cancer literally has a thing since the age of dinosaurs, so has obesity
They've both gotten much worse as a direct result of mainly white people's advancements.
>Climate change is real but it came on the back of industrial revoluttion.
Yes.
>So are you saying we shouldn't have technology actually advance,
Yes.
>not to mention it's too late to care since now we would have to go carbon-negative to prevent any major climate change
What a defeatist attitude.
>-Income inequality literally has always been a thing
Not among socialist nations.
Most of which are white, but, again, you sound like an American, so that's where that point came from.
>-Trump wouldn't have been president if you co-opted his message and had a candidate like Jim Webb run instead of a brain-dead socialist and Bush with a Vagina. Also, you shouldn't have abandoned your blue-collar base. Even the Republicans (the party of Ted Cruz, both Bushes, John McCain and Lindsey Graham (i.e. evangelical neocons)) didn't even manage to fuck that up, and that's saying how useless and idiotic the whole DNC is. King Nigger fucked your party up good.
I'm not a democrat.
>-The gov't shouldn't make your life decisions for you. You should. The reason why Venezuela and the USSR failed was because they squandered their wealth on social services like all socialist systems do, instead of investing in infrasructure.
1) The Netherlands.
2) Being healthy and educated enough to make life decisions is not a life decision, it's a life essential.
>>
>>61427445
>I took the time to check before I posted,
Amazing you still managed to be wrong.
>>
>>61427458
Don't get your point, so you want to let ackmed and his 4 wifes and 15 children to come into your country, your state, your town and take up welfare and commit crime. Because white people deserve it?
>>
I can't come up with anything useful I could do with a computer
>>
>>61427489
>ackmed and his 4 wifes and 15 children
No. The other ones.
>take up welfare and commit crime
No. Also the other ones.
>Because white people deserve it?
No. Because people as a whole deserve not to have a race war.
>>
File: Broase my wears.png (142KB, 600x842px) Image search: [Google]
Broase my wears.png
142KB, 600x842px
>>61427474
>You'll never live in a nice place
>You'll never be able to have a nice job
>You'll never find a nice wife
>You'll never reach your full potential
If you keep trolling the way you do, the future will not be pleasent
>>
>>61427522
>believe in and preach race """"""""""""""""""""""realism""""""""""""""""""""""
>someone disagrees with you
>that person is a troll
>you are certainly not the one who is a troll
lel feg
>>
File: C programming language.png (387KB, 424x600px) Image search: [Google]
C programming language.png
387KB, 424x600px
What is the reading list for learning C?
k&r -> 21st century C -> interfaces and implementations -> advanced programming in the unix enviroment
Or should I aim for something else?
>>
File: 1498875204366.png (32KB, 290x300px) Image search: [Google]
1498875204366.png
32KB, 290x300px
>>61427544
Well the responses are so poor, I can't tell if they are trolling or not
>>
File: cancer rates.jpg (267KB, 1250x1667px) Image search: [Google]
cancer rates.jpg
267KB, 1250x1667px
>>61427458
>They've both gotten much worse as a direct result of mainly white people's advancements.
You mean like living longer and being able to better diagnose illnesses ?

https://seer.cancer.gov/archive/csr/1975_2003/results_single/sect_01_table.11_2pgs.pdf

Look at those ages, 100 years ago you would have died before you were diagnosed with cancer.
You would have likely died from some (preventable today) infectious disease 100 years ago then to die from cancer.
>>
>>61427458
>They've both gotten much worse as a direct result of mainly white people's advancements.
[citation needed]
>What a defeatist attitude.
*realistic attitude
>Not among socialist nations.
You mean nations where majority of the population is poor and the people that "distribute the wealth" often take the majority of it and horde it for their friends and what not like the aforementioned Venezuela, the USSR, China, the Eastern Bloc,etc. You fail to realize that the people that distribute wealth are going to get greedy cause they are human after all.
> The Netherlands.
1)I don't think they can support their growing low skill, low wage earning potential migrant population for much longer
>I'm not a democrat.
That may be the case and I'm not denying that, but leftists right now seem just like Republicans circa 2008, when Obama came into office. They didn't know why they los the election even though they ran a shitty presidential campaign and there were better options (Jim Webb in 2016 D side, Ron Paul in the 2008 R side), they made untrue conspiracy theories about their new president and overall were acting exactly like I would expect a highly partisan idiot would.
> Being healthy and educated enough to make life decisions is not a life decision, it's a life essential.
Then why put it into the hands of a gov't, which is more concerned with how much power it has than whether you are healthy or not. This is the same gov't that bombed hundreds of thousands of innocent people in Afghanistan and Iraq over nothing, so why should they be trusted with your health again? Just exercise fucking free will.
>>
File: s.png (108KB, 1680x1050px) Image search: [Google]
s.png
108KB, 1680x1050px
>>61427551
C primer plus but you shall avoid C and learn Racket.
>>
File: common lisp sicp.png (72KB, 252x479px) Image search: [Google]
common lisp sicp.png
72KB, 252x479px
>>61427589
I'd rather learn a useful lisp rather than Racket
>>
File: Laughter-e1460729421204.jpg (33KB, 600x439px) Image search: [Google]
Laughter-e1460729421204.jpg
33KB, 600x439px
>>61427643
>useful lisp
>>
File: jcracket.png (514KB, 1680x1050px) Image search: [Google]
jcracket.png
514KB, 1680x1050px
>>61427643
racket is probably the most useful lisp out of the box (with clojure)
>>
File: indians-are-socialists.jpg (373KB, 1125x750px) Image search: [Google]
indians-are-socialists.jpg
373KB, 1125x750px
>>61427458
>not to mention it's too late to care since now we would have to go carbon-negative to prevent any major climate change
>What a defeatist attitude.
>So are you saying we shouldn't have technology actually advance,
>Yes.
Anon...

>Income inequality literally has always been a thing
>Not among socialist nations.
Anon... you're retarded. India. Syria. Libya. I guess those people don't count because they're not white and only Europeans can do socialism correctly, huh?
>>
>>61427714
Out of the box is a idiotic measure of a lisp. Most assume that you're smart enough to install libraries and make it yours.
>>
>>61427763
i am talking about tools
>>
I can't get Django to load a css file: I did everything: the motherfucker does recognize the path and knows he has to find a file there, but he 404 me on it
>>
>>61427770
Such as what?
>>
>>61427835
racket come with

- a package manager
- a test unit framework
- an IDE
- a documentation generator
- a profiler
- a debugger
- a GUI framework
- a static type system
>>
>>61427935
Sounds like a hipster language but ok.
>>
>>61428292
They're all hipster languages
>>
x = 1:x

x = [1,1,1,1,1,....]
>>
File: 1485162494153.gif (1MB, 320x240px) Image search: [Google]
1485162494153.gif
1MB, 320x240px
>>61424474
What are the differences between programming as an amateur and programming for a company or organization?
I feel like I'm good enough to go out and get a job, but I'm still scared to do it.
>>
File: Lawn Mower Man.jpg (93KB, 643x857px) Image search: [Google]
Lawn Mower Man.jpg
93KB, 643x857px
>>61424474
Going through K&R

Is there any way I could improve this?

/* Exercise 3.2 - Write a function, esacpe(s, t), that converts
characters like newline and tab into a visible escape sequence
as it copies the string t to s.

Use a switch statement
*/

void escape_to_char(char s[], char t[])
{
int t_ind, s_ind, c;
t_ind = s_ind = 0;

while( (c = t[t_ind++]) != '\0') /*get character at current index */
{
switch(c)
{
/* place escape sequences, if there are any */
case '\n':
s[s_ind++] = '\\';
s[s_ind] = 'n'; break;
case '\t':
s[s_ind++] = '\\';
s[s_ind] = 't'; break;

/* place regular character */
default:
s[s_ind] = c;
}
s_ind++; /*move forward to place the next character */
}
}

>>
>>61424670
based
>>
what do you guys think of using uintx_t types
>>
thread local GC or Global GC?
>>
File: s.png (55KB, 1680x1050px) Image search: [Google]
s.png
55KB, 1680x1050px
>>61428543
i prefer using my own type definitions.
>>
>>61424474
>Another hajib /dpt/

Mudslimes, stop posting
>>
File: 1469643738953.png (541KB, 1280x720px) Image search: [Google]
1469643738953.png
541KB, 1280x720px
>>61424474
How do you build for windows using autotools?
>>
>>61428660
Non-hijab edition
>>61425574
>>
I think I finally understand lisp.

Writing a program is like building a bridge. On one side, you have the general, ambiguous problem that you want to solve. On the other side, you have the unambiguous language that a computer will execute. Programming is about designing and implementing all of the abstractions in between. A more complex problem will require a longer bridge
Every language gives you a different set of primitive abstractions to work with. Numbers, lists, functions, objects, classes, etc. These are incredibly useful, but they are never sufficient tools for expressing the complex problem we set out to solve.
When you write complex software in non-lisp languages, you have to constantly rephase all of your problems into whatever set of abstractions the language gave you. If those abstractions suck, then good luck.
When you write software in lisp, you can create the appropriate abstractions at each level that they come up. Each sub-problem can be expressed intuitively in its own language, with Lisp macros to glue it to the next problem
>>
>>61424732
>gallup proves that over 50% muslims supported bin-laden while he was alive
>"muh tiny minority"

stop hitting the pipe, buddy
>>
>>61429508
100% of the CIA supported Bin Laden
>>
>>61428617
You're (read)'ing twice, m8
(for ([i (in-port todice)])
(printf "~a " i)
>>
>>61428451
Yes.

    case '\n':
s[s_ind+1] = 'n';
case '\t':
s[s_ind+1] = 't';
s[s_ind++] = '\\';
break;
>>
>>61429634
CIA is 200% muslim?
>>
>>61428451
for loop would be prettier
>>
>>61428451
Yes, stop writing buffer overflow-prone code. Ideally use a decent modern language invented after memory protection, but if you have to use C, then check the boundaries of your fucking strings for crying out loud (send the size as a parameter).
>>
>>61429942
why would you send the size as a parameter instead of checking the size of the array?
>>
>>61430015
The sizeof operator is evaluated at compile time. How's your compiler supposed to know how big your (possibly random) strings are going to be?
>>
>>61430090
then use a global max string length
>>
>>61430090
>>61430107
I guess what I don't understand is how being able to pass an overflowing string length is safer
>>
>>61430107
You can do that, but then you waste a shit ton of space on the stack and you impose an artificial limitation on the capacity of your software.

>>61430164
You just understood why C is a shit language.
>>
>>61429690
That's exactly what I was missing. Thanks!!
>>
>>61424641
Let me guess, you're sixteen, you get all C's in your classes, you sit in the back, and you brag about your strict intellectualism.
>>
>>61430697
You guessed right!
>>
>>61428695
Why would you?
>>
File: 1482414116049.jpg (12KB, 480x640px) Image search: [Google]
1482414116049.jpg
12KB, 480x640px
>climate change is real
>>
>>61430697
They didn't teach any C in the astrophysics course.

>lel what did he mean by this
>>
I'm generating strongly typed code (ocaml) and I need some way to take a user defined function and associate it with a string. My first idea was to use a Hashtable and an anonymous function, which seemed to work, until I realized all the functions would have to take the same number of arguments and all arguments must be the same type.

Do any of you have a solution? How do I into weakly-typed hashtables within Ocaml?

Example of erroneous code:
let hashtable = Hashtbl.create 255;;
Hashtbl.add hashtable "fuck" (fun e -> e + e);;
Hashtbl.add hashtable "cunt" (fun e d -> e ^ d);;


>two DPT threads
>"must wait 4 minutes before posting a duplicate reply"
>>
>islamic propaganda on /g/ of all places
Fuck off, this is irreligious board.

Legit thread:
>>61425574
>>61425574
>>61425574
>>
>>61433617
>tfw stupid autists in the argument thread weren't able to even start to think of a solution in the time it took the other thread to give me multiple.
What could this say about y'all? ',:^)
>>
>>61429636
because the first number is how many numbers there are.
>>
Still learning Nim
Thread posts: 277
Thread images: 54


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.