[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: 348
Thread images: 28

Old thread: >>57592132

What are you working on /g/?
>>
First for JetBrains IDEs
>>
way to wait for the bump limit

sage
>>
File: diversity in tech.jpg (299KB, 1400x814px) Image search: [Google]
diversity in tech.jpg
299KB, 1400x814px
Second for women coders ^_^
>>
Working through SICP. After the first few sections on basic LISP I'm having a lot of fun.
>>
>>57603411
kek
>>
>>57603415
keep at it and ignore the memes anon
it's a very good book
>>
>>57603388

They're good.
>>
File: 64d161bffd68d208abb1bdf8f1ebdbf2.jpg (405KB, 1920x1080px) Image search: [Google]
64d161bffd68d208abb1bdf8f1ebdbf2.jpg
405KB, 1920x1080px
In C, how do I prototype a function which returns function pointers with the prototype
void (*function)(char *)
?

Background: I have a dictionary with a bunch of function pointers in it. I want a function which will go through the dictionary and find the function pointer associated with the identifier provided. I figure it would look something like:


void (*function)(char *) return_function(const char *identifier){
//return the appropriate function pointer
}
>>
I recently began getting into c++, and am now trying to write a simple program which converts all files ening in .webm in a folder to mp4 via ffmpeg, keeping their respective names. It's really just basic, as I've done one like this in other languages before, but I always think It's good practice
>>
File: 1479629303993.png (11KB, 411x267px) Image search: [Google]
1479629303993.png
11KB, 411x267px
>>57603365
Rewriting the linux kernel in Coq
>>
>>57603520
void(*)(char*)

(void(*)(char*)) (*) (const char*)
>>
>>57603415
I read part of SICP during my 3 eight hour lifeguard training renewal courses instead of listening to the instructor. Great read to pass the time during a boring class
>>
File: 1475006078639.png (593KB, 480x640px) Image search: [Google]
1475006078639.png
593KB, 480x640px
I want to make my own language. Have never done this before. Have the basic syntax laid out. It will be similar to LISP.

For writing the compiler I was going to just use C but I've heard OCaml can be better. Does anyone know why or if that is true? Any other good links for compiler writing?
>>
>>57603365
i wrote a script that pulls emails from craigslists and adds them to a list. then another scripts checks if duplicates if no duplicates it sends an email to taht address.

only problem is i get -

550, b'Requested action not taken: mailbox unavailable\nFailure sending mail. Try again later


so i don't know if ti's the email provider i'm using or what. i can't make a fuckinggamil without a phone number.
>>
File: 588842.jpg (672KB, 1920x1080px) Image search: [Google]
588842.jpg
672KB, 1920x1080px
>>57603556
How would I call the function? And without an identifier for the parameters, how would I refer to the identifier?
>>
File: index.png (6KB, 225x225px) Image search: [Google]
index.png
6KB, 225x225px
Can a developer from, say, France or Germany, get a job at facebook, twitter, etc in United States?
>>
>>57603579
look up lex and yacc, and their newer equivalents, flex, and byacc or bison. These are all in C. Also, if you want to go with a more ground up approach, make sure to look up Dijkstra's Shunting-Yard algorithm for parsing as well as the system calls brk() and sbrk for managing a heap/stack in C when it comes time for that.
>>
File: d4615dfa7d8bbbbae7a6b72366ba80df.jpg (273KB, 1600x1200px) Image search: [Google]
d4615dfa7d8bbbbae7a6b72366ba80df.jpg
273KB, 1600x1200px
>>57603598
only if your name is Dinesh
>>
Taking the time to learn Sepples properly. What a truly ugly language. Sometimes I wish they took the hint and stopped trying to make it "an almost superset" of C
>>
are there haskell ide's?
>>
>>57603597
>how would I call that function
like any other
in fact because it returns a function you can do it haskell style

f (something) (somethingElse)

>identifier for the parameters
doesn't matter when you're calling it
>>
>>57603520
void (*return_function(const char *identifier))(char *) {
}


Tips for working this out:

- Start at the calling site, as if you were to invoke it directly:

return_function("lookup_ident")("arg_to_returned_function");

- Ok, so the returned functions argument must be at the very right:

something(char *)

- something is itself a function, taking some parameter (const char *):

something(const char *)(char *)

- And finally the return value, since it's a function pointer we need parenthesis around the entire something(arglist)

void (*something(const char *))(char *)

Welcome to C syntax.
>>
>C 2016
>still no lambdas
am i doing it right

#define mkAdd(n) \
int addr ## n (int x) { return x + n ; };

mkAdd(0); mkAdd(1); mkAdd(2);
mkAdd(3); mkAdd(4); mkAdd(5);
mkAdd(6); mkAdd(7); mkAdd(8);

(int (*) (int)) add (int n) {
switch (n) {
case 0: return addr0; case 1: return addr0;
case 2: return addr0; case 3: return addr0;
case 4: return addr0; case 5: return addr0;
case 6: return addr0; case 7: return addr0;
case 8: return addr0;
}
>>
can someone clarify the difference between . and $ in haskell for me? i'm a bit confused reading the wiki
>>
>>57603833
whoops, should b e addr 1 through 8
>>
Threadly reminder that you should not refer to the act of programming as coding. It is improper and makes you look like a 16 year old

You are a programmer, not a coder

Software Alchemist is GOAT
Developer is okay
Magician is okay
Software Magus is okay
Software Engineer is okay
Software Architect is okay
Computational Conjurer is okay
Information Systems Sorcerer is okay
Purveyor of Programs is okay
Code Guru is questionable

Archmage is reserved for only the most senior of programmers

Writing in HTML and CSS is not programming, therefore it should be referred to as designing
>>
>>57603874
Except those make you look like a 14 year old.
>>
Hi.
I was working on CIS 194 in order to learn Haskell.
I'm doing the homework of 2nd week and did a function for creating a sorted tree as
insert :: LogMessage -> MessageTree -> MessageTree
insert (Unknown _) tree = tree
insert m (Leaf) = Node (Leaf) m (Leaf)
insert (LogMessage k t m) (Node t1 (LogMessage kn tn mn) t2)
| t <= tn = Node (insert (LogMessage k t m) t1) (LogMessage kn tn mn) t2
| otherwise = Node t1 (LogMessage kn tn mn) (insert (LogMessage k t m) t2)

It works, but looks fugly. Is there a way to improve it?
>>
>>57603874
> prescriptivism
This is not how language works, son.
>>
Is there any beautiful feature to use instead of bitmasks as flags in haskell? using Data.Bits seems a bit pedestrian, one can mappend Monoids, but not check individual bits.
>>
>>57603874
STFU
I'm a proud coder.
>>
I want to learn programming.
There is a SICP for python, but it seems like I have problems getting through a chapter.
It takes long, so I wrote a py file with the methods and tried to access it from the python 's root folder.
It doesn't seem to work.
Please, what can I do in order to advance?
I would be very, VERY grateful for your assistance.
>>
>>57603898
Spoken like a real koder kid
>>
>>57603527
c++ isn't really made for string manipulation, that's what scripting languages were invented for. C and c++ are more for abstracting memory allocations and moving memory around and performing calculations on them.

For example, structs and pointers are all just ways to abstract memory. Need 8 bytes, ok UINT64 my8Bytes; or need to define a region that holds a float and int, ok struct {float f; int i} myStruct; Need an array, typedef that struct and make an array out of it, etc.
>>
>>57603932
t. literal pajeet
>>
>>57603967
Want me to roll my eyes ?
>>
Can somebody fucking explain to me what lambdas are and where are they useful? I've gone through like 10 videos and a few articles and I still can't understand them.
Can someone explain them to a stupid person?
>>
>>57603979
u see what u have to do...is instal java 6 JDk with ecklipse...an then u start the magic of coding...
>>
>>57603979
i want you to learn to fuck off somewhere else with your broken english and come back when you can write a coherent paragraph
>>
i need the best C guide
>>
>>57603980
It's like when you need to perform some action and return a result but you don't want to write a function for it. Like I guess if you want to write a comparator like in std::sort. You can pass in a lambda that does like [](int a, int b){return a > b;}; and it will just use that function to return true if a is bigger than b, and you're not just writing a one time use function and passing in a function pointer. (the compiler is doing it for you!)
>>
How do we escape Github?
>>
>>57604007
K&R

>>57604014
gitlab
>>
>>57603993
>>57603995
Don't make me poo on street.
>>
>>57603980
>I've gone through like 10 videos
You'll never be a good coder. Give up now.
>>
>>57603980
Imagine if you could write an inline function and define it with a function literal.
Then you could assign it to a variable and mix your code and data like some kind of computer scientist.
>>
>>57603980
Anonymous functions: functions which you may use only once, where giving them a name (and hence memory space) is not useful.

You could do this
square n = n * n

map square [1, 2, 3, 4, 5]


But, if you aren't going to use a function again, use a lambda instead:
map (\n -> n * n) [1, 2, 3, 4, 5]


The parenthetical expression is a lambda in Haskell.
>>
>>57604026
programmer*
>>
>>57604014
why?
>inb4 "\Github"
>>
>>57603980
for creating functions on the fly. for example, a mapping of a list applies a function to every member in the list. so you could do

mymap list = map f list
where f x = (x*2) + 1


or you could equally do

mymap list = map (\ x -> (x*2) + 1) list


lambdas can make more concise code when you're just using a throwaway function you don't intend to use anywhere else
>>
>>57604057
programmer == coder == developer
>>
>>57604074
pajeet detected
>>
>>57604059
dont like the idea of relying on a service that can force you to change/remove your code because someone in the "community" feels offended by it
>>
>>57604059
github is full of sjws
>>
>>57603980
You can also use lambdas in GUI coding. Like say you want to wait to download data from a database but you don't want the gui to be unresponsive during that time. So you create a lambda that populates your table of items. Pass in the lambda into the getData function. This will allow the window to be drawn and the program to handle other input (like clicking other menu items) while your data downloads. When the download is done, it will populate the table using the lambda you passed in.
>>
>>57603365
So i've been building up the basic parts of the haskell prelude in c#. This is, of course, impossible as c# lacks HKP. even still, you can get pretty far. you can even manage a bastard sort of Traversable that works for any given such functor; the problem is that the type-class only really works for that particular functor, since other functors want to use a slightly different Applicative.
>>
>>57604086
Code monkeys like you can never offend a code guru like me. Go fix your bugs, filthy code monkey.
>>
I made a web admin panel in C#.

It has the usual SQL, file management, sessions, e-mail communiques, SMS alerts, a page where check ins are updated/shown, another page where workers can make requests, preferences saved to cookies.

what else should i add?
>>
>>57604074
Just because you write code doesnt mean that you are in any way a developer. You are just a stupid code monkey. A 'coder' is the guy who moves the bricks and mortar into place the developer writes the schematics and planning.
>>
File: ?.png (7KB, 120x120px) Image search: [Google]
?.png
7KB, 120x120px
For a college assignment ,I need to detect bugs in C programs.

Can someone give me online repositories with C code so i can test the shit out of those programs?

thanks
>>
>>57604088
>>57604091
Man, didn't knew it was happening something like that in github. After all, I only go there for my repos, not to make friends.
>>
>>57604112
>C#
Stopped reading right there.
>>
>>57604119
Github.
>>
>>57603901
I don't think so, what's the type actually like?

>>57603921
does this help?
https://hackage.haskell.org/package/data-flags-0.0.3.2/docs/Data-Flags.html
>>
>>57604115
You're cute anon. Only complexed coders (ie. code monkeys) argue about the verbs to describe their activity.

You can call what I do programming, coding or developing. I do not care I do not have complex like you.

Code monkeys will always code monkey.
>>
>>57604107
Code guru != coder

Please refer to the following shitpost >>57603874
>>
>>57604115
It's really whatever your corporate overlords decide to call you. In the end you're still writing code in an IDE. Whether you're a SDE, programmer, SE, etc you're still doing the same shit.
>>
>>57604106
see >>57604127
>>
hasklel should be banned from this general
>>
>>57604122
Yeah look up the code of conducts and the changing of words like "master and slave" to "leader and follower"
>>
>>57604136
Thanks you. This is de type of the tree:
data MessageTree = Leaf
| Node MessageTree LogMessage MessageTree
deriving (Show, Eq)


and the LogMessage:
data MessageType = Info
| Warning
| Error Int
deriving (Show, Eq)

type TimeStamp = Int

data LogMessage = LogMessage MessageType TimeStamp String
| Unknown String
deriving (Show, Eq)
>>
>>57604132
no shit sherlock
>>
>>57604115

Fucking kek. This bullshit is why we're still a joke even though the world runs on the shit we build.
>>
>>57603901
You could make LogMessages Ordered on t's. I don't know what you're doing with the Unknown nonsense but it feels like putting them in the tree insert function is the wrong place.

insert (Unknown _) tree = tree 
insert m Leaf = Node Leaf m Leaf insert m (Node t1 mn t2)
| m <= mn = Node (insert m t1) mn t2
| otherwise = Node t1 mn (insert m t2)
>>
>>57604177
yes shit watson
>>
>>57604142
I am simply stating objective fact. Not arguing

Enjoy your braindead job coderposter
>>
>>57604194
>braindead job
It's OK I'm paid to do OCaml.
>>
>>57604149
At the end of the day you are a corporate wageslave code monkey

>>57604189
Who is we?
>>
>>57604210
Sure thing coder brainlet
>>
>>57604194
>objective fact

I can't handle this level of shitposting.
>>
>>57604210
>It's OK I'm paid to do OCaml.

pls describe what day looks like in your life as programmer
>>
>>57604190
The task is to classify some logs, so there will be invalid entries. And while parsing them, I need to be sure they aren't introduced into the tree, so I need to check for `Unknown` types
>>
File: tumblr_naxxtzdZFZ1svqa72o1_500.jpg (20KB, 460x460px) Image search: [Google]
tumblr_naxxtzdZFZ1svqa72o1_500.jpg
20KB, 460x460px
>>57604212
>corporate wageslave
Joining the proletariat.
>>
>>57604237
Shitpost in /dpt/ evidently
>>
>>57604247

Communism doesn't work.
>>
>>57604237
I'm paid to develop a C code generator for embedded in OCaml. I'm a code guru and was hire because of that.

Proud coder master race.
>>
>>57604247
There is a spectre haunting the development industry
>>
>>57604257
that's why murrica fear it right?
>>
need a haskell magi to tell me what i'm doing wrong. ghci tells me
λ> :l rotateMatrix
[1 of 1] Compiling Main ( rotateMatrix.hs, interpreted )

rotateMatrix.hs:16:17:
Expecting one more argument to `Matrix'
In the type signature for `rotateMatrix':
rotateMatrix :: Matrix -> Matrix
Failed, modules loaded: none.
λ>

here's the file
import Data.Matrix

rotateMatrix :: Matrix -> Matrix

rotateMatrix m = fromLists (rotate (toLists m) 1)

rotate m c
| c <= (length m) = t:(rotate m (c+1))
| otherwise = []
where t = map (!! ((length m) - c)) m


the code worked when i had it just representing matrices as lists and not using Data.Matrix
>>
>>57604260
>""useful"" FP language
>its only use is generating code for an imperative language
>>
>>57604257
Communism has never been implemented
>>
>>57604257
You have been raised to think this. Rise up comrade.
>>
>>57604264
rubbing shit in your eyes doesn't cure nearsightedness, and i think most americans would fear that belief gaining traction too
>>
>>57604151
This was the expected reaction. thanks for the (You)!
>>
>>57604264

It's feared because of the devastation it causes.
>>
>>57604266
Matrix is a parametric type, like Vector in C++

what you want is this:

rotateMatrix :: Matrix a -> Matrix a

aka

rotateMatrix :: forall a. Matrix a -> Matrix a
rotateMatrix is a function, for any type "a", from a Matrix of "a" to a matrix of "a"
>>
>>57604289
ah, i see. thanks
>>
>>57604288
It is feared because it is an ideological enemy of the country you were raised in
>>
shut
the
fuck
up
about
politics
>>
>designing board game
>using Minimax to find best move the AI can make

Depth 0 analyzes 0 moves, takes 0s to complete
Depth 1 analyzes 8 moves, takes 0s to complete
Depth 2 analyzes 72 moves, takes 0s to complete
Depth 3 analyzes 583 moves, takes 0s to complete
Depth 4 analyzes 4643 moves, takes 0.001s to complete
Depth 5 analyzes 36633 moves, takes 0.013s to complete
Depth 6 analyzes 285693 moves, takes 0.099s to complete
Depth 7 analyzes 2194383 moves, takes 0.768s to complete
Depth 8 analyzes 16534863 moves, takes 5.778s to complete
Depth 9 analyzes 121715463 moves, takes 43.455s to complete
Depth 10 analyzes 871356663 moves, takes 317.061s to complete


>perfect AI would use Depth 22 but this is unrealistic as it takes days to calculate best move

How long do you think is reasonable to wait for an AI to make a move in a game? Is 6s (Depth 8) acceptable? Higher depth = higher wait times but also better AI.
>>
>>57604330
wrong
>>
File: HbuZUe.png (268KB, 850x679px) Image search: [Google]
HbuZUe.png
268KB, 850x679px
>>57604288
>>
>>57603932
First learn English. Then, stop learning psuedo-code and go learn a programming language instead.
>>
>>57604330
This. Amerifats are brainwashed into hating everything that's not capitalism.
>>
>>57604340
Do like gnu backgammon use a neural network to rate position.
>>
>>57604340
make a difficulty slider. depth 7 might be impossible to beat
>>
>>57604340
Why not let the user choose?
>>
You guys argue over the most retarded shit.
>>
>>57604385

I considered having a difficulty slider:

2 = very easy
4 = easy
6 = medium
8 = hard
10 = very hard
>>
>>57604385
end user is dumb and keep breaking things that you will have to solve for free
>>
>>57604370
I fucking wish
>>
>/dpt/ supports communism.
No wonder you guys love haskell so muchl.
>>
>>57604357
OR maybe the "greatest country" could stop spending all their money on their military while some states don't have clean water. Really makes you think.
>>
>>57604370
There are some of us who loathe capitalism, we wish to escape the haunted mall inside the virtual plaza
>>
>>57604401
No we don't.
>>
finally started to learn to program. in c.

writing some basic basic exercises like

#include <stdio.h>
int main(void) {
int x, y;
printf("upisi dva cijela broja odvojena razmakom\n");
scanf("%d %d", &x, &y);
if (x == y) {
printf("brojevi su jednaki\n");
} else { if (x > y) {
printf("x je vece od y\n");
} else {
printf("x je manje od y\n");
}}
return 0;
}
>>
>>57604401
Welcome to 4chan.
>>
>>57604453
Have you done Hello World? post code
>>
>>57604453
why are you printing base64?
>>
>>57604468
i can't believe i didn't do that.

that opportunity is gone forever now.
>>
>>57604453
Looks good my dude. Keep it up
>>
>>57603635
Lemon is better. thread safe. nicer format.
>>
>>57604502
>you will never complete hello world
>>
>>57604453
Do a fizzbuzz now and post it. people get hard ons for that shit
>>
>>57604453
>} else { if (x > y) {
printf("x je vece od y\n");
} else {
printf("x je manje od y\n");
}}

dude what
>>
*executes every single communist in this thread*
>>
So I wrote this batch file in Windows,
:loop
set /P link="Enter your link"
set name=%link:~30,41%
set command="C:\Users\YOURNAME\ffmpeg.exe -i "%link%" -c copy "C:\Users\YOURNAME\streams\%name%.ts"
%command%
goto loop


How would I go about programming this in Python? This is what I have so far (sorry if I seem like a pajeet, I haven't coded in 5 months)
import os
import subprocess


link = raw_input('Ener your M3U8 Link')
print str(link[30:41])
os.chdir('C:\Users\YOURNAME\streams')
subprocess.call('ffmpeg -i', link '-c copy output.ts', shell=True)
>>
>>57603579
Haskell
not joking or meming you
All sorts of good tools like Parsec and Happy and Alex
Very straightforward
>>
>>57604522
YEAAHHH DUDE!!! AMERICA FUCK YEAHH!! GREATEST COUNTRY ON EARTH FUCK DIRTY COMMIES AMIRITE
>>
>>57604522
this
>>
>>57604522
*teleports behind you*
nothing personal coder
>>
>>57604543
*dereferences[behind + you]
>>
>>57604522
this.do();
>>
>>57604556
*codes a binary barrier*
git push --force ur head off
>>
>>57604453
same here, started programming in c, it's pretty similar to javascript

i need to make a program that prints the numbers inserted in even position, it's weird cause we still didn't study arrays, but i tried to make it with that little javascript knowledge i had.

why doesn't it work tho
[CODE]
#include <stdio.h>
#include <stdbool.h>

int main(void) {
int nNumbers, number, i, c, nEvens;
bool even = false;
do {
printf("How many numbers?\n");
scanf("%d", &nNumbers);
} while (nNumbers <= 0);

nEvens = nNumbers / 2;
int list[nEvens];

for (i = 0; nNumbers != 0 ; nNumbers--){
printf("\nInsert value no. %d.\n", i+1);
scanf("%d", &number);

if (even == true) {
list[i] = number;
even = false;
}
else if (even==false){
even = true;
}
i++;
}


for (c=0; c < nEvens; c++){
printf("%d, ", list[c]);
}

}
[/CODE]
>>
>>57604536
fuck off with your socialist country
*shoots you in the head*
>>
File: 1479605643910.gif (3MB, 445x247px) Image search: [Google]
1479605643910.gif
3MB, 445x247px
>stdbool.h
every time
>>
>>57604584
welp fail, newfag spotted

lurking on /b/ since 2011 tho
>>
>>57604536
yes
>>
>>57604490
whaaa

>>57604509
thanks!

>>57604520
what seems to be the problem? i know i could've also used three ifs.
>>
File: 1463920108959.png (35KB, 625x626px) Image search: [Google]
1463920108959.png
35KB, 625x626px
>>57604584
>started programming in c, it's pretty similar to javascript
>>
>>57604337
t. mad af libtard
>>
>>57604536
AH YEAH VENEZUELA SUCH PARADISE OH YEAHHHH
>>
>>57603980
I'll give it a shot:

The idea behind lambdas is that "functions" are not a special language construct anymore (like a class, a namespace, an if block, ...), but are treated as "objects": you can pass them around, use them as an argument, return then from another function, generate them dynamically based on parameters, ...

It is useful because it can usually simplify the code greatly. A classical example is a "sort" function.
No matter what kind of objects you handle, the sort algorithm is the same.
Only the way you compare 2 objects changes (to determine which one is greater than the other).
Lambda's allow your "sort" function to not care about this issue, and focus only on sorting objects.
Take a sort function defined like this:
function objects[] sort(
objects[],
lambda (boolean first_greater_than(object, object))
)

At one point your sort function will simply do:
if(first_greater_than(first, second)) { ... } else { ... }

But the sort function doesn't really know how the two objects are compared. You'd have to call the same sort function, but with two different lambdas to compare a set of int or to compare a set of Coord (x, y).

Lambdas are just one programming paradigm though, there are other (efficient) ways of achieving the same result. Sometimes lambdas are more convenient, sometime something else is better.

For instance the same reslult could be achieved in OOP by making sure the objects you want to sort implement the "IComparable<T>" interface which guarantee your object will have the .isGreaterThan(T) method:
interface IComparable<T> { function isGreaterThan(T); }
function sort<T>(IComparable<T>[] list)
{
var first, second: IComparable<T>;
// ...
if(first.isGreaterThan(second)) { ... } else { ... }
}
>>
>>57604603
kys
>>
>>57604608
>what seems to be the problem?
I was wondering what the hell you were doing but I figured it out. Just use else if, it's a keyword on it's own. You don't need

else { if (cond) { [..] }}

you can do

else if(cond) { [..] }
>>
i'm making an w10m app for an assignment in my course, it's supposed to be just like the android app from my group

the android guy is fucking over with the database of the group

I had to make some niggarriging but it worked

there's two differente databases that my app is using, but the professor only wants a video of my app, he'll not be able to know that

at least it works
>>
i'm writing a spatial virus to murder all communists in the world
it will be complete in a few hours
>>
>>57604603
oh god please stop posting

fucking christ that hurt to read
>>
>>57604529
Can you guys stop responding to shitposters and help me?

I feel like I'm a bit beyond myself right now, so can one of you at least confirm that it's possible to succinctly write a piece of code to perform this operation?
>>
I like Haskell!!!!
>>
>>57604655
Are you targeting the died hair, or the nose rings? Or just deploying it at starbucks?
>>
>>57604608
Hes refering to the styling your using, like just how you have written your code.

Note that this will do the same thing

#include <stdio.h>
int main(void) {
int x, y;
printf("upisi dva cijela broja odvojena razmakom\n");
scanf("%d %d", &x, &y);
if (x == y) {
printf("brojevi su jednaki\n");
} else if (x > y) {
printf("x je vece od y\n");
} else {
printf("x je manje od y\n");
}
return 0;
}


You have some unnecessary brackets
>>
>>57604655
thank you
>>
>>57604682
dyed*
>>
>>57604682
>>57604655
I think you have communists and libcuck socialists mixed up.
>>
>>57604453
FTFY
#include <stdio.h>
int main(void)
{
int x, y;
printf("upisi dva cijela broja odvojena razmakom\n");
scanf("%d %d", &x, &y);
puts(x == y ? "brojevi su jednaki" :
x > y ? "x je vece od y" : "x je manje od y");
return 0;
}
>>
Hobby programmers and actual programmers should have separated threads.
>>
>>57604703
>(==?:>?:);
>>
>>57604703
absolutely disgusting
>>
>>57604597
*double back flips and cuts your head off with my katana*
Heh. To easy.
>>
>>57604698
no it's libcucks that have socialism mixed up with communism.
>>
File: Political_chart.svg.png (196KB, 2000x2177px) Image search: [Google]
Political_chart.svg.png
196KB, 2000x2177px
>>57604682
i'm deploying it at starbucks yes. initially anyway. it'll spread across the world in a few days through airports etc.

to all communinsts willing to live. renounce your shitty """"""""""""philosophy and maybe you won't be targeted by the virus
>>57604698
the virus will target anyone beyond this line
>>
>>57604639
>>57604683
thank you, both!
>>
File: 1470859164409.png (817KB, 546x546px) Image search: [Google]
1470859164409.png
817KB, 546x546px
Let's settle this once and for all
****************************************
http://www.strawpoll.me/11696581
****************************************
>>
>>57604703
>Using meme ifs
>>
>>57604703
Ugly AF.
The only place this kind of code is acceptable is in code golf.
>>
>>57604718
git gud pleb
>>57604719
its alright, pahjeet. don't be mad
>>
>>57604742
Why is macOS on this poll?
>>
>>57604737
Hyper capitalism machines make me sick.
>>
>>57604767
well that won't matter. you'll be dead in a few days, a few weeks max
>>
>>57604737
That's faulty sempai. there should be another line in the middle of the other side. So that whole range should be exterminated.
>>
>>57604584
Plz somebody help me
>>
>>57604794
You got the answers you deserve.
>>
can someone explain what's the deal with github someone was speaking yesterday?
>>
>>57604786
my virus doesn't yet make that distinction and i can't be bothered to write that at this point. i'm too eager to just unleash it upon the world
>>
>>57604737
>>57604655
We will never escape this cultural nightmare
>>
>>57603874
I'm a femnigger
>>
>>57603365
so to try to up my programming name next year I plan on doing atleast one project a month to learn python here's what I have so far
encrypted facebook client
encrypted server/client chat service
countdown time using config files
something to calculate accurate implied probability

anything else to add? also is there any negative caused by having a large number of repos on github? I mean smaller things I plan on just putting in my scripts folder but if all goes well I should have like 20+ repos by the end of next year, will this reflect badly on me?
>>
>>57604801
it's run by SJWs that make winky faces on twitter
>>
>>57604807
We will. wait a few weeks and the communist population is gonna go down drastically
>>
>>57604813
try something that isn't python
>>
>>57604815
and how is that bad? I mean, isn't /g/ full of SJW too?
>>
>>57604846
that isn't a factor anymore. anyone left of the red line is going down >>57604737
>>
>>57604822
The cultural nightmare is rampant unchecked capitalism. PLEASE WAKE UP
>>
>>57604843
I only plan on using it as my first language, I like how I don't have to bother with GUIs
>>
>>57604846
they will delete your repo if it's offensive :^)
>>
>>57603579
Have a look at boost spirit
>>
>>57604865
yeah. if you call that a nightmare i'm sure you'll be glad that you will never be able to witness it since you'll be dead lmao
>>
>>57604794
#include <stdio.h>
#include <stdlib.h>

int main()
{
int n;
int i;
int *arr;
printf("How many numbers: ");
scanf("%d",&n);

arr = malloc(n*sizeof(int));

for (i = 0; i < n; ++i) {
printf("\nInsert value no. %d.\n", i+1);
scanf("%d",&arr[i]);
}

puts("The numbers are:");
for (i = -1; i < n; i+=2)
printf("%d\n",arr[i]);

return 0;
}
>>
for MOST people is programming just continuously memorizing a bunch of ways to accomplish stuff as opposed to using ingenuity to combine different stuff into unique stuff
>>
>>57604872
that's ok as I have several backups, but what objetive measure is used as "offensive"?
>>
>>57604880
Is this seriously how convinced that wage slave amerifats are that capitalism isn't evil?
>>
File: PhotoGrid_1436122604223.jpg (2MB, 1920x3413px) Image search: [Google]
PhotoGrid_1436122604223.jpg
2MB, 1920x3413px
Will living in Tim world be as effective as crossdressing at improving my coding skills?
>>
>>57604737
please release your virus fast m8, I'm tired of the leftist cancer
>>
>>57604893
This could be applied to any field.
Most people are incapable of critical thinking, they just parrot things they've been taught verbatim.
>>
>>57604893
that's OOP
>>
Capitalism doesn't work in its natural state as in "autarchic individuals trying to promote their own survival".
We need to gamify life and create a meritocratic society that benefits to the long term survival of humanity.
>>
>>57604900
If a girl wants to contribute to your repository but writes terrible code you still have to accept her pull request because it would be rape and oppression otherwise.
>>
dont mind me just dumping my favorite lisp program

part 1 of 13
((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
>>
>>57604910
i agree with you. i was genuinely asking a question. i'm not trying to make a statement.
>>
>>57604904
i'm not american though.
>>57604907
soon my friend, soon.
>>
>>57604900
Ok, that's bullshit. I understand now. Thanks.
>>
>>57604900
usually if any female or minority deems it offensive
>>
>>57604926
pls be quick senpai
>>
>>57604926
Anyone with a deccent education can identify that capitalism will end the human race
>>
>>57604935
meant
>>57604921
>>57604939
>>
>>57603411
Why do people really think this happens?

I'm a grill and I got to where I am with study, hard work and risk.

I don't have some easy life where I can just drift in to whatever programming job I want.
>>
>>57604955
t. ugly grill
>>
>>57604920
this

Under 3 digit iq should be enslaved for factory work
>>
>>57604920
i'm pretty sure this places you left of that line. which means im talking to a dead person
>>57604940
sure. i just need to complete my virus and start deliviring it via starbucks
>>57604945
we will see shortly. your """"""""education"""""""" won't help you from the virus that's about to be unleashed
>>
>>57604955
>I'm a grill
Wearing girl cloths doesn't make you a girl.
>>
>>57604955
no, you got there thanks to tits
>>
>>57604955
Because you're an exception.
Any attractive woman can dicksuck their way into a low-stress token tech job where they have no responsibilities and only exist to inflate diversity quotas.
>>
>>57604955
It actually does though, just not for any good jobs. Companies are being flamed by the far left unless they hire a shit load of intern women, but because the women are so utter garbage after finishing their #girlswhocode boot camp they just sit around drawing and complaining to pahjeet programmers about their ethnicity or something and it falls on deaf ears.
>>
can anyone spot what i'm doing wrong?

--- If an element in the matrix is 0, its entire row and column are set to 0.
import Data.Matrix
import Data.Vector

zeroMatrix m = zeroTransform m 1 1 m

zeroTransform input x y output
| (y > (ncols input)) = output
| (x > (nrows input)) = zeroTransform input 0 (y + 1) output
| ((Data.Vector.any (==0) (getCol y input)) || (Data.Vector.any (==0) (getRow x input))) = next
| otherwise = next
where next = zeroTransform input (x+1) y (setElem 0 (x,y) input)


this is when i run it
λ> let a = Data.Matrix.fromList 3 3 [1..]
λ> let b = setElem 0 (2,2) a
λ> zeroMatrix b
*** Exception: ./Data/Vector/Generic.hs:386 (slice): invalid slice (-3,3,9)
λ> b
( 1 2 3 )
( 4 0 6 )
( 7 8 9 )
>>
>>57604955
>I'm a grill and I got to where I am with study, hard work and risk.
that's great but that isn't how it is for the majority of women in tech, statistically if you're a woman in tech you got there because the company is pushing some diversification shit
>>
File: 1474229641700.jpg (12KB, 258x245px) Image search: [Google]
1474229641700.jpg
12KB, 258x245px
>>57604971
>via starbucks
>>
>>57604955
ebin bait mate
>>
>>57604983
doing it in haskell
>>
>>57604584
Time to switch to Ada
>>
>>57604971
>i'm pretty sure this places you left of that line
It doesn't actually.
I'm implying we need a model/system that is harder than capitalism.
>>
>>57604971
Just because I hate capitalism doesn't mean I'm a leftcuck you autist.
>>
>>57604993
as silly as it sounds that really is the best way to get it going. next airports and the whole world is infected.
people right of the line will be permanent carriers of course in case any new leftists emerge.
>>57605014
>>57605015
post your scores here and i will decide.
>>
>>57604906
I lived in tim world and can testify, it's great for productivity
>>
>>57605038
yeah starbucks is actually a fucking great idea
>>
>>57605038
Post the link to your retarded facebook test, subhuman.
I'm not even a physical entity so I won't be affected by your virus anyway.
>>
>>57604737
>dead and going to heaven
>rest is sentenced to eternal hell called earth
>>
>>57604983
need a hero, please help someone
>>
i just have to write in immunity for myself and we're good to go.
don't want any bugs to cause my sudden demise in case anything strange happens.
>>57605060
i don't have facebook but google the test.
that doesn't matter. my virus is both spatial and ethereal. you will go down no matter what if you are left of the line.
>>57605061
your kind isn't allowed in heaven
>>
>>57605082
did you get cucked by two black men
>>
File: 1463220953737.jpg (175KB, 1000x889px) Image search: [Google]
1463220953737.jpg
175KB, 1000x889px
>>57605082
reminder
>>
>>57605091
i don't associate with those kind of "people". there aren't many of them where i live
>>
File: Autistic.gif (521KB, 245x181px) Image search: [Google]
Autistic.gif
521KB, 245x181px
Being retarded and trying to install visual studio 2015 on Windows 8.1
>>
>>57605082
You are on a downward spiral ladie
>>
>>57605101
what is this picture supposed to show? as i have stated previously - anyone left of the line is a goner
>>57605106
in what way?
>>
So I have my CSS and HTML in the same folder but this shit will not compile. Whenever I googled for help it said to run some batch file called CC so I ran that and now everything is fucked. Anyone have a good HTML/CSS tutorial?
>>
>>57605112
Every post you are getting more and more autistic
>>
>>57604529
Why python?

#!/bin/bash
function usage() {
echo "Usage: slurp-stream <url>"
exit 1
}
function main() {
if [ $# < 2 ] ; then
usage
fi
local link="$1"
local name=${link:30:41}
ffmpeg -i "$link" -c copy "/path/to/streams/${name}.t"
}

main $@


(untested)
>>
>>57605126
that hardly matters at this point and i'd even say it didn't matter in the first place.
I am going to be the one to save this world from perpetual leftism
>>
>>57605112
it shows who are you're gonna leave behind
>>
File: d1eecbd3133ca2915a0d6104970fe858.jpg (177KB, 1920x1200px) Image search: [Google]
d1eecbd3133ca2915a0d6104970fe858.jpg
177KB, 1920x1200px
Have to write my own shell for class. Parsing is my least favorite thing to do in the world. Also strtok is the worst function in the C standard library.
>>
>>57605102
Your girlfriend would be associated with them if you got cucked, friend-o
>>
File: 1477548983189.jpg (16KB, 600x600px) Image search: [Google]
1477548983189.jpg
16KB, 600x600px
>>57605120
>>
>>57605130
>Why python?
this. when will people stop falling for the python meme?
>>
>>57604429

You know more money goes to welfare """entitlements""" than the military, right?
>>
>>57605142
yes. that is precisely my intention.
>>57605144
don't think that's geographically likely and most of them will be dead in a few weeks anyway
>>
>>57602920
thanks. still getting errors but ill manage
>>
>>57605159
so you want literal hell on earth
question is why?
>>
>>57605153
When people stop using "FUNCTIONAL" meme languages.
>>
>>57605178
if the removal of all leftists from this earth is hell, fine by me
>>
I need to make a program that reads some numbers and prints only those in even position.
Example:
How many numbers?
6
Insert numbers:
7
5
2
0
6
3

Output: 5, 0, 3

why doesn't this shit work
#include <stdio.h>

int main(void) {
int nNumbers, number, i, c, nEvens, even = 0;

do {
printf("How many numbers?\n");
scanf("%d", &nNumbers);
} while (nNumbers <= 0);

nEvens = nNumbers / 2;
int list[nEvens];

for (i = 0; nNumbers != 0 ; nNumbers--, i++){
printf("\nInsert value no. %d.\n", i+1);
scanf("%d", &number);

if (even == 1) {
list[i] = number;
even = false;
}
else if (even==0){
even = true;
}

}


for (c=0; c < nEvens; c++){
printf("%d, ", list[c]);
}
}
>>
File: Optimusprime-originaltoy.jpg (22KB, 348x352px) Image search: [Google]
Optimusprime-originaltoy.jpg
22KB, 348x352px
>>57605159
this nigga is autismus prime
>>
>>57605194
no, no. what you'll leave is hell. it'll be worse than the North Korean famine perios
>>
>>57605141
You're retarded and you should kill yourself.
>>
>>57605206
see this you retard >>57604882
>>
>>57605211
that doesn't matter to the virus, buddy
>>57605213
you call the removal of all left wingers from this earth hell?
so be it, heaven's not my kind of place anyway lol
>>57605218
why? can you explain further?
>>
>>57605239
oh
>>
>>57604955
Some of the best people I've worked with were women. Good coders. But also, programming is a team sport and the autists are terrible at that. It takes a good mix of people to make a good team. Like a team of forwards would be shit at soccer. A team of 'on the spectrum' bit shovellers is not good for a team.

This is discussed in The Mythical Man Month. Brooks suggests designing a software development team like a surgical team. Doctor, nurses, people running the machines. Even if the autists believe that the surgeon is doing the hard work, if you take away the nurses then the patient will probably die.
>>
>>57605245
i'm just asking why you hate right wing so much?
>>
Why isn't NSLog(@"message") written with square brackets like other method calls in objective-c.
>>
>>57605267
do I? in what way? I'm going to single-handedly murder every single left winger on this earth
no one can claim to have done something even remotely close to this
>>
>>57605143
strtok.c from glibc:

https://github.com/lattera/glibc/blob/master/string/strtok.c

char *
strtok (s, delim)
char *s;
const char *delim;
{
char *token;

if (s == NULL)
s = olds;

/* Scan leading delimiters. */
s += strspn (s, delim);
if (*s == '\0')
{
olds = s;
return NULL;
}

/* Find the end of the token. */
token = s;
s = strpbrk (token, delim);
if (s == NULL)
/* This token finishes the string. */
olds = __rawmemchr (token, '\0');
else
{
/* Terminate the token and make OLDS point past it. */
*s = '\0';
olds = s + 1;
}
return token;
}


forces you to use a buffer otherwise your original string is fucked. Also what the fuck is this syntax. Why does the world run off of GNU libraries with 50 year old syntax and formatting that looks like something a college freshman would write?
>>
Learning C atm. I don't know if this is even good idea. But I will learn it anyway.
>>
File: chart.png (17KB, 480x400px) Image search: [Google]
chart.png
17KB, 480x400px
>>57605038
Will you help me leave this hell?
>>
>>57605334
It's K&R edition 1 C.
It was the defacto standard before C89.
GCC will let you get away with tons of pre-standardized syntax.
It also allows you to bypass the type system completely, which is especially useful when passing around function pointers.
>>
>>57605300
so you're offering instant salvation for everyone on the left side and leave the right side completely to themselves, without anyone to protect them or look after them so they will slowly kill themselves in the worst possible way imaginable, like a bunch of animals
i can't imagine any worse fate for them than what you want to do
>>
>>57603411
I want a cute coworker named Treespirit

>The black girl is the cutest
Did Austin make this?
>>
>>57605344
he just said he will. prepare for nirvana
>>
>>57604813
bump also meant to write programming game not name
>>
>>57605344
you're pretty much lost if you don't try really hard.
where do you live? you have about 1 day if you live in western europe. 2 days if you live in eastern europe. about 15 hours if you live on the west coast. about 5 more if you live on the east coast
>>57605357
in what way is this a likely outcome? i'm offering them a world free of leftism. i don't think they can ask for anything more
>>
programming is racist
>>
>>57604869
nigger just use c++ with Qt
>>
>>57605375
left wingers don't go to heaven man
it's physically impossible. he's gonna die a very painful death soon
>>
>>57605397
Just do it now. I have been waiting to die forever.
>>
Who is John Galt?
>>
>>57605427
are you sure? how far are you into the land of the delusional? maybe you can be saved.
you should try it, it's your last chance anyway
>>
>>57605397
it's like you would leave your pets in a cage all to themselves. they wouldn't know what to do and soon, hunger would make them kill each other until the last one stands. and that one would die of hunger
>>
>>57603901
I got it, the guy ran out of mustard
>>
>>57605424
It's impressive how retarded one can be.
You're hating an opinion just because it's """left""" or """right""" without ever thinking about it. What's even your point you degenerate sheep.

>>57605438
You don't get it: I don't care.
>>
>>57604983
>>57605075
figured it out, i'm retarded
>>
>>57605448
yes. that's what I predict will happen if i reverse everything and place the line at exactly the opposite position.
i'm sure there will be "civil war" but that's none of my concern after all my mission is simple.
>>
>>57605397
It will be like Mad Max. Or african tribal conflicts.

Communism is the strategy for most families. The parents earn money and take care of the kids. The kids don't contribute, but then they get older and then contribute.

Unbridled capitalism, on the other hand, has never worked. Which is why we have regulations so companies can't dump poison into rivers and so on.
>>
>>57605468
i don't think i've shared my motives with you though. how can you possibly claim that i haven't thought this through when I've been working on this for a while now.
even the position of the line is very precise
>>
>>57605474
no, no. this will happen if you stick to your plan. you sure you didn't confuse left with right?
also the reverse would end just fine
>>
>>57605473
I told you already
>>
>>57605493
Stop fucking trolling this is a technology board.
>>>/b/
>>
File: wf2.png (75KB, 1337x1076px) Image search: [Google]
wf2.png
75KB, 1337x1076px
Switching states, compiling and immediate words working.
My Forth dictionary structure is dual xts, one for compiling and one for executing, so you just set both to the same thing for immediate words.
Until I have a proper assembler I have to write manual opcodes, but writing an x64 assembler/disassembler is gonna be a pain. M
ight cheat and just not care about all opcodes, and since I know exactly what code gets generated I don't need to have a complete disassembler either.

For those unfamiliar with Forth:
: bar ;

// is the equivalent of
void bar()
{
return;
}


So what that code does is compiling the code for a function (and it does it interactively).
Normally semi should just compiling a ret or a jump of tail call eliminating, but I don't have any other compiling words so I put some default machine code for now.

One final hurdle left and that is CREATE DOES> and then the core is complete.
>>
>>57605355
I understand that, but my question is "why is the backbone of the entire world running on this shit"
>>
File: 1337202361488.jpg (44KB, 409x393px) Image search: [Google]
1337202361488.jpg
44KB, 409x393px
>>57605505
>this is a technology board.
now this is top tier trolling
>>
>>57605489
i see you have been brainwashed by 'them'
it feels so fucking great to know that "people" like you will be dead in a while.
>The kids don't contribute, but then they get older and then contribute.
which has nothing to do with communism, but i don't think you even know what you're talking about so yeah, prepare.
>>57605496
but i've calculated this and ran multiple simulations. the outcome will be pretty good. the worst thing that can happen is a right wing "civil war" which is long overdue anyway
>>57605505
and my posts are about a spatial virus which i'm writing as we speak. your point?
>>
>>57605451
Are programmers the only ones who hates themselves for understanding?
>>
>>57605551
your simulations were wrong because you confused left with right
>>
>>57605575
/thread
>>
>>57604742
>Windows : 44%
anons???
>>
>>57605575
nope. i controlled for that as well and i had "help" from various supercomputers so there's no fucking way what i'm doing will result in anything worse than we have right now
i just think you're afraid of dying because you know you're a leftie
>>
>>57605595
Linux is the Haskell of operating systems
>muh Unix
>muh bash
>muh pipes
>>
i'm injecting the immunity "virus" into me right now. it'll run a sanity check on me to ensure that i'm right of the line just in case i've been compromised by some outside organizations
>>
>>57605601
Terry, you need your medication.
>>
>>57605520
cool anon!
>>
>>57605622
I understand Linux does suck a lot but seriously Windows? Are you literally blind or something?
>>
>>57605622
What else is there to use anyway
>>
>>57605639
i don't use medication since i do not trust the government of this country to not mix in leftist mind control into it
>>
>>57605649
I never said it sucked

>not Windows
>not Linux
Holy shit
are you actually gay?
>>
>>57605622
there's no better thing tho
>>
>>57605662
>I never said it sucked
It still does.

>are you gay
no thx
>>
>>57605662
hehe
it'll be so fun watching as apples revenue drops like a fucking rock
>>
>>57605676
>>57605682
>Doesn't know about BSD
>>
>>57605701
>he doesn't know that most apple customers are gonna be dead in a few days
>>
>>57605708
>
Literally what?
>>
>>57605701
fuck this shit. i'd take Solaris any day
>>
>>57605722
>he's a gay leftist fuck whos gonna die in a few days
sucks to be you :(
>>
>>57605738
fight me in hell
>>
okay guys, i think it's enough feeding the troll
>>
>>57605701
BSDs would be the best OS by far if they had more drivers/software
>>
>>57603365
Making lpg terminal control system on Wonderware. Really enjoy this
>>
>Linux.
Disgusting desu. You support that misogynistic man?
>>
>>57605757
sorry mate.
i'm immune to the virus. tough luck being you i guess haha
>>
>>57605701
On the subject of BSD:
From an end users perspective, what is the difference between Linux and BSD?

I asked earlier in the stupid questions thread, but got no response.
>>
>>57605798
one is not being controlled by leftists like rms who'll die soon anyway lmao
so no difference in a few days
>>
>>57605622
>>57605649
>>57605662
>>57605772
>>57605798
I'd just like to interject for a moment. What you’re referring to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project. There really is a Linux, and these people are using it, but it is just a part of the system they use.
Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux.
>>
>>57605823
actually...
i'm gonna make him immune as well.
we will publicly torture and execute him.
>>
>>57605798
no software
>>
>>57605823
does anyone have this man's DNA?
I really need it. Does anyone know where he lives so I can collect a sample myself?
>>
>>57605834
>Implying you're using Windows.
Seriously are you trying to make a world full of autistic pajeets and retarded fat 'ricans?
>>
>>57605823
https://www.youtube.com/watch?v=umQL37AC_YM
>>
File: Just Linux.png (95KB, 1279x492px) Image search: [Google]
Just Linux.png
95KB, 1279x492px
>>57605823
>>
>>57605886
I'm using BSD which won't suffer much after the global purge
pajeets will become extinct mate
>>
>>57605823
All right, what is the difference between GNU/Linux and BSD?

>>57605854
Then what is BSD good for? I assume you're talking about BSD.
>>
>>57605887
>I never saw a point in learning how to install my own software
This is who freetards worship
>>
i'm probably the only fag on this entire board who still has an actual, honest side-destoying laugh whenever i see this Stallman pasta being posted
>>
>>57605913
it's better in all aspects
not being controlled by a bunch of leftists is already enough for anyone sane to use it over linux
>>57605935
well, you won't be alive for long so hey, see it as something good :)
>>
>>57605551
>and my posts are about a spatial virus which i'm writing as we speak. your point?
not really, you haven't posted source code gave details about how it functions all you've done is talk about your target group
>>
Please nobody feed the troll next thread.
>>
I develop on Windows and test on Linux.

Come at me, bros.
>>
TOO LAZY TO CREATE A NEW THREAD
Someone to do it?
>>
>>57606094
nice try leftist. i'm not going to give you even the slightest chance. you won't be able to read through the source code and make an antidote for your kind
>>57606116
this "troll" is gonna make you disappear.
probably your family too
>>
>>57606136
Better wait until there are more quality posters around.
>>
>>57606159
So this is the end of /dpt/ then
>>
>>57606159
I can only guess we've been linked on reddit or /b/ or /pol/ or some similar shit
>>
>>57606191
Well, i meant a bigger ratio of quality posters
>>
>>57606159
what do you mean when you say "quality posters"?
>>57606191
i guess you could say so
>>57606201
wrong. try again.
>>
you should know by now that /g/ is one of the easier boards to troll
>>
>>57606218
>>57606218
>>57606218
>>57606218
>>57606218

New thread
>>
>>57606263
depends what you mean by trolling
i guess this is just a defense reaction of sorts creatad by the fear of death
>>
>>57604955
This is just the extreme and it does happen. I've seen it. Most don't view it anywhere close to this. And /g/ especially tends to be more bias against women due to their homosexual tendencies. Sounds ridiculous but if you look at how they post about women across a longer period of time you will probably see that too.

But if you consider yourself proficient at what you do you probably don't fit in there. Most of this happens in the entry levels where merit doesn't matter as much. Not because women can't be skilled but because the field doesn't have that many women and they're over represented in entry level positions. That's also a reason for the jealousy because entry level positions can be quite hard to get for a lot of programmers (who generally don't know what the fuck they're doing).
>>
>>57603980
A lambda is just a function, that's all.

In most languages, when you define a function you have to give it a name. Lambdas, on the other hand, are anonymous.
Thread posts: 348
Thread images: 28


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