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

You are currently reading a thread in /pol/ - Politically Incorrect

Thread replies: 255
Thread images: 64
File: MWC_WhereICode.png (895 KB, 1000x1000) Image search: [Google]
MWC_WhereICode.png
895 KB, 1000x1000
Until now, emoji representing women haven’t been, well…representative.
Let’s change that. Google is working to make sure emoji include a wider range of female professions. And now, we’re inviting you to join the movement by coding your own.

What's the matter /pol/, can't handle women who can do computers better than you?

#MadeWithCode

THINK </BIG> BE </BOLD> SHOW YOUR </COLOR>

https://www.madewithcode.com/
>>
>changing x and y values
>coding
pick one
>>
>>81519521
>made with code
>uses html
Well, I'm glad they've started learning entry-tier 90s web code. They have only two decades to go to catch up!
>>
File: image.png (29 KB, 478x478) Image search: [Google]
image.png
29 KB, 478x478
Her name is Angie the Autist
She wears the helmet because she has autism
>>
>>81519521
>World emoji day
>shows female emojis
Like girls are "logical"
They are sympathetic, emotion hunger organism
>>
File: 1464884752074.jpg (226 KB, 869x1776) Image search: [Google]
1464884752074.jpg
226 KB, 869x1776
>>81519521
but anon coding is over. didnt you get the memo?
https://medium.com/@loorinm/coding-is-over-6d653abe8da8#.jfu5ond0p
>>
File: fieldhand.png (33 KB, 478x478) Image search: [Google]
fieldhand.png
33 KB, 478x478
>>81519521
Posted this in another thread, but,

r8 my emoji senpaitachi
>>
>>81519708
What? You do realize that's what all websites are built in. Shit son, I earn 50$/hour for HTML/CSS stuff.
>>
File: wakemeupinside.jpg (8 KB, 480x360) Image search: [Google]
wakemeupinside.jpg
8 KB, 480x360
>>81520817
PLEASE WAKE ME UP
>>
File: whore.png (196 KB, 1390x554) Image search: [Google]
whore.png
196 KB, 1390x554
women will never be good at coding
>>
Why is there only big money outfits available? No homemaker or secratary. Millionare outfits only. Not very representative desu
>>
File: whore_cant_into_logic.png (761 KB, 1205x1643) Image search: [Google]
whore_cant_into_logic.png
761 KB, 1205x1643
they simply lack the mental capacity.
>>
>made with code
>dragging and dropping shit and changing a couple values

ok
>>
File: 1404931161666.png (2 KB, 347x257) Image search: [Google]
1404931161666.png
2 KB, 347x257
>>81521202
that is very impressive indeed
>>
File: whore_pt2.png (1 MB, 1614x1414) Image search: [Google]
whore_pt2.png
1 MB, 1614x1414
women will use every opportunity to make things about themselves, even their failures.
>>
>>81521335
She should stick to being a hooker and pimping out her cuck lapdog.
>>
>>81521007
I really hope you're not comparing HTML only with higher end programming. Especially the backend.
>>
File: Women in tech.png (1 MB, 1357x1281) Image search: [Google]
Women in tech.png
1 MB, 1357x1281
>women
>code
rofl
>>
>>81520817
OMG grrrrl power :DDDDD
>>
>>81521007
where do you work toronto?
>>
>>81521007
>HTML/CC
>Not using PHP
get out you tag liker
>>
>>81519521
>coding
>dragging and dropping preset shit

wew lad too much computer for me
>>
>>81520817
o lawd.

did none of them even search for 0x5f3759df to get the story behind the left algorithm? zero curiosity?

it's a good story, encourage you to search for 0x5f3759df famalama
>>
File: 1382856427088.jpg (9 KB, 127x153) Image search: [Google]
1382856427088.jpg
9 KB, 127x153
>>81520817
>tfw too stupid to understand the thing on the left
>>
File: I WANT TO PLAY A GAME.png (41 KB, 478x478) Image search: [Google]
I WANT TO PLAY A GAME.png
41 KB, 478x478
You all know you can add multiple sets of eyes, right?
>>
>>81521595
fucking kek
>>
File: emoji.png (36 KB, 478x478) Image search: [Google]
emoji.png
36 KB, 478x478
>>81519521
This is fucking horrible and a real disservice to women who are real-life programmers. Yes they exist. Fuck it /pol/ dipshit girls who have no clue annoy me as much as they do you, but this whole 'madewithcode' thing is a strawman argument. I know a female coder who maintains here awesome program on github and this would probably make her puke.
>>
File: chuckle.jpg (15 KB, 413x395) Image search: [Google]
chuckle.jpg
15 KB, 413x395
>>81521335
i'm not even into coding and i could probably understand that if i took 3 seconds to google it like any other asshole in IT
>>
The only positive encounter I ever had with women in computer science was when a female classmate asked me to explain her something on her laptop and her tits rubbed against my hand when I was using her keyboard.
>>
File: image.png (130 KB, 500x500) Image search: [Google]
image.png
130 KB, 500x500
>>81520817

Reinventing the wheel is bad, and just as we've moved from assembly to C, and from C to more expressive abstracted languages, we'll move to primarily developing with models. So she's sort of right
>>
File: emoji.png (23 KB, 478x478) Image search: [Google]
emoji.png
23 KB, 478x478
>>81519521
uhh.. sexist and racist much?
>>
File: Eggs.gif (3 MB, 280x191) Image search: [Google]
Eggs.gif
3 MB, 280x191
>where I code
>uses tiny ass laptop with tiny ass screen
>>
>>81521897
It's a very fast way to compute x^(-1/2), which is useful in computer graphics (normalizing vectors and the like)

It was used by John Carmack in quake 3, among others
>>
>>81522107
Too small of a forehead
>>
File: pure autism.gif (7 KB, 480x360) Image search: [Google]
pure autism.gif
7 KB, 480x360
>>81521808
It's like Scratch horked down 12,437 estrogen pills and washed it down with 13 industrial barrels of Xanax.
>>
File: 1381724859330.jpg (88 KB, 1002x617) Image search: [Google]
1381724859330.jpg
88 KB, 1002x617
>>81521335
>why is this logic crap so hard
No wonder she was a hooker.
>>
This thread is hilarious. I demand more pictures of women legitimately attempting to write code.
>>
File: 1468197503249.png (311 KB, 652x669) Image search: [Google]
1468197503249.png
311 KB, 652x669
>>
>>81522044
Most code is still in C. Some people still even use assembly in applications where efficiency is more important than anything else.
>>
>>81520817
All this proves is that we're more efficient at coding.
>>
>>81521897
its cool dude, when i first started programming i hit f12 in a browswer and freaked the fuck out. now i can dissect every inch of javascript and what have it. only takes time friend.
>>
>>81522107
kek'd
>>
>>81522321
Isn't scratch supposed to be a great way to introduce children to coding? I've never tried it myself, but I learned about it when I bought a raspberry pi.
>>
File: how-men-and-women-take-photos.jpg (32 KB, 500x356) Image search: [Google]
how-men-and-women-take-photos.jpg
32 KB, 500x356
>>81520817
>>
>>81521516
Also it's not fucking called "coding". It's called programming. Wtf is wrong with women? The code is just a mean to an end. The end being the program or algorithm
>>
File: Download.png (32 KB, 478x478) Image search: [Google]
Download.png
32 KB, 478x478
That shit's actually pretty realistic
>>
>>81519521
I honestly have no problem with trying to get girls into coding by giving them a tiny taste of some ultra-simple stuff.

The media (mostly women themselves) have demonised STEM and driving their own gender away from it. Think of any talk show, and when they say "We're going to cut live to [tech show] now and see what the NERDS are up to! They must have come out of their basements! NERDS!" and then the presenter there is laughing at the attendees.

And they wonder why girls don't want to enter STEM? It's not mass sexist rapist white males in STEM stopping them, it's the fucking women themselves.

So anyway, if Google wants to say "Look, you tweak some text and things change!" as a little taste, I say go for it. Because MSM sure as fuck isn't.
>>
fucking women.
>>
>>81522451
return a/(1/b)
>>
>>81522898
Yes. Scratch, much like Google's uhh... 'thing' is a block based language. The difference is that with Scratch, there is little-to-no guidance on how to do things, whereas with this, every step is pretty much done for you and there are a stupidly limited number of blocks.

Scratch is a basis for learning code, all that this thing does is teach you how to type numbers and make pretty pretty pictures.

About the autism thing, While some try to advance to learning syntax, others just stick to Scratch, shitting it up with Warrior Cat shit.
>>
>>81523280
>trying
there is your mistake. if they gave a fuck they would do it on their own. nothing is simpler and open to everyone than programming. you literally only need a shitty laptop
>>
>>81520817
>commenting what each individual step does when any novice coder could tell what it does by glance
>making it more complicated than it ever needed to be

holy shit I just realized I do this
>>
>>81519690
it's called diversity coding kek
>>
>>81522135
I did that for a couple of months for my thesis and my posture got fucked up for a while and my eyes got super tired. Not a good idea tbqh
>>
>>81523554
Sure, I get that. My point is that these things generally need to be taken back to first principles. I'm all for equal opportunities, etc etc, but I'm against affirmative action and quotas. So my point is that young girls should stop being discouraged from entering STEM, because then they don't want to, and nothing can force them into it.

If that makes sense.
>>
>>81523799
What was your thesis on? Post a link, Francesco.
>>
File: Kirbyraeg.jpg (17 KB, 476x357) Image search: [Google]
Kirbyraeg.jpg
17 KB, 476x357
>>81520817
>Software engineers are grossly overpaid, and many (I) feel entitled to the money and benefits they (I) enjoy. In reality, software engineers are not smarter or better than any other type of worker. With the death of coding, diversity will increase. Engineering will reflect the rest of society, rather than favoring a very small and socioeconomically exclusive subset of people.
>>
>>81521941
they do exist, but they are rare.
>>
>>81523280
If you're so smart, then solve this simple task:

You have this set of coins (lets say there's 1, 2 and 5 dollar coins):
{1ct, 2ct, 5ct, 10ct, 20ct, 50ct, 1$, 2$, 5$}

Now, given an amount of money, you have to output the number of all possibilities that form the amount.

Example
Input: 0.05 [$]
Output: 4

Should be ez for you
>>
File: image.jpg (60 KB, 687x389) Image search: [Google]
image.jpg
60 KB, 687x389
Females can be Engineers too
>>
>>81521941
I know a good female coder as well.
>>
>>81522469
C++ optimizers are at the point where it is really really hard to write more efficient code using asm than C++.
>>
>>81524266
I say women in the media shouldn't demonise STEM for young girls and you give me your homework?

Fuck off, Johannas.
>>
>>81524266
That's an NP hard problem lol
>>
File: you-woot.jpg (13 KB, 300x300) Image search: [Google]
you-woot.jpg
13 KB, 300x300
>>81524431
phony
>>
What I don't understand is why they keep picking shitty rolemodels.

There were plenty of women who influenced computer science. Ada Lovelace, Margaret Hamilton, etc. If you want a role model pick a goddamn good one.
>>
>>81523546
See I was under the impression that Scratch teaches you how code works so that when you start programming and use a for loop, you say "Oh that's the same as like xyz in Scratch!"

tfw you dedicate your life to learning the intricacies of Scratch
>>
>>81524526
P = NP faggot, I proved it but lost the paper
>>
File: image.png (37 KB, 478x478) Image search: [Google]
image.png
37 KB, 478x478
I call her Susan
>>
>>81524656
Imagine losing a million dollar paper
>>
>>81521595
but who was camera?
>>
Ive hired serveral programmers for me. Ive never seen a female apply even once.
>>
>>81519521
That's not how coding works

And then people wonder why no one takes them fucking seriously
>>
>>81524526
What's the solution? Or maybe, what is this type of problem called? Genuinely curious about how to solve it.
>>
>>81524780
No problemo, I have the paper that proves the Riemann hypothesis flying around somewhere here.

Besides, that's not the point, you completely destroyed my shitpost
>>
>>81523974
It's about designing lenses for a specific application of non-imaging optics. I ended up writing a bunch of python to generate the optical surfaces. Pretty fun desu but it's not over yet, now I gotta look at some electronics for constant current generators that are being designed right now. I'm a physicist btw
>>
Not sure what this drag and drop shit has to do with coding...

And not sure what I'm doing with my life...
>>
>>81525044
>It's about designing lenses for a specific application of non-imaging optics.
What do you mean?
>python
Fucking disgusting pleb tier shit.
I fucking hate python and people who program in python.
N-No offence.
> I'm a physicist btw
Jesus, m8. What's that like? What kinda job you gonna get?
>>
>>81524996
"Dynamic programming" etc.
Should be tought in any algorithm/data structures class.
>>
>>81522451
I was taught Caml but don't know how to do it with another language.

let rec product =
| 1,b -> b
| a, b -> product (a-1,b) + b
>>
>>81519521
>THINK </BIG> BE </BOLD> SHOW YOUR </COLOR>

The slash negates every one of those statements, but that was not what was intended, was it?

I want to fuck the pain away.
>>
>>81525340
That's supposed to be some kind of XML-typish language and doesn't make any fucking sense.

But yet again, these are women destroying Google internally and we are some hobbyless neckbeards wasting our time on a vietnamese knitting forum
>>
>>81522451
>>81523447
>>81525334
I think the answer they're looking for is using bit shifts.
>>
File: 1468115566386.png (15 KB, 646x720) Image search: [Google]
1468115566386.png
15 KB, 646x720
>>81520817
>I love being called an engineer, especially after only three months of “education”.
>three months

>As working software engineers, we usually interact with code.
>we
>>
File: image.jpg (66 KB, 720x438) Image search: [Google]
image.jpg
66 KB, 720x438
>>81525340
>THINK small THINK weak SHOW YOUR grayscale

That's how I saw it and laughed
>>
>>81524996
No idea what's the solution for that one. It kinda is like a variant of the subset sum problem but you want to calculate all possible solutions.

NP hard problems are called that because if P =/= NP (which everyone assumes but no one has proven it) it means that it is impossible to solve them in polynomial time.

You could easily write up an algorithm that bruteforces the solution but would take up 2^n in time for calculating one solution to the problem he posted. n being the amount of different coins you can use.

It doesn't mean they're hard to program. Just means they're hard to solve for a computer.
>>
>>81525488
No, they're looking for recursion, is everyone on this board fucking retarded?
>>
>>81524996
Pretty sure it can be brute forced. Basically you do a depth first search, adding coins of monotonic values. When you reach the stated amount or go over it, you go back two nodes and try a bigger coin. Should be doable with a recursive function and a global counter. No global counter if you're autistic about globals and don't mind passing a bunch of values
>>
>>81525708
That's unnecessary. Shifting would be quicker to code for and more efficient code.
>>
>>81524405
Bullshit. No one uses C++ to write low level firmware or OSs or anything like that. If you do you are doing it wrong.
>>
>>81525289
Thanks. I wish I would have learned more about algorithms in school, seems nifty.
>>
>>81524996
>>81525289
>>81525649

Gotta be honest, I skipped this part in my computer science bachelor, but I would solve it dynamically like anon said.

Just create a table that would go from 1 to n and then go trough each coin c € C and subtract it from your input n; if it's negative then it's not a valid solution, if it is, then look the solution up in the table. It it's not in the table calculate it in the same way

>>81525820
Can you post your solution pls? How would you go about that? Let's say 3 * 5?
>>
>>81525881
Is there a significant difference between how efficient C and C++ are?
>>
>>81521595
>she needs to join our startup
>>
>>81521941
Why am I reminded of the doctor from Rocko's Modern Life?
>>
What the fucking hell was this supposed to teach?

That X and Y values can be plotted along a coordinate grid? Didn't people learn this is basic schooling?

What the fuck man? And then the utter condescension of making it GRRL FRIENDLY by having it revolve around fucking emojis and making your own U GO GURL image with doctor and astronaut imagery.. yes girls can do anything, such as learn what a coordinate grid is, if you just teach them in a convoluted way for an hour and incentivize them with happy cheerful colours and no logic or math.

This is a big middle finger in the face of every woman out there, but I bet the SJWs will cheer it as a positive initiative.

How the fuck would girls learn how to code if this is how they're taught. I mean, if we're actually looking for women programmers and not virtue signalling and then having these clueless idiots drop out or be unemployed for life? This is what a women's studies degree in charge of teaching programming looks like.
>>
>>81526193
Isn't there this joke about C++ parsing being an undecidable problem? The added complexity basically means hell if you have to formally proof program correctness for a safety critical system.
>>
>>81526627
c++ templates are turing complete with source code as the tape and compiler messages as output
>>
>>81526193
if you have to ask in such a general fashon, it doesn't matter
>>
>>81526627
if you have a mission critical system that needs provable code then you don't use cpp
>>
>>81525250
I don't wanna go too specific bro. Anyway it's shitty deprecated ironpython in a cad program; nothing more than a toy to get my feet wet, but the result will go on an audi so I'm quite proud desu. Physics is pretty cool m8, just have to make sure you don't get stuck in academia. Prolly gonna get hired as the resident smart-ass/researcher. People at this company are pretty crazy but kinda cool
>>
>>81526193
For many high level applications no, which is why its no big deal to write high-level programs using objected oriented languages. But when you get into firmware level code, efficiency gets alot more important and using objects is really inefficient. I know a guy who used to work on very low power embedded applications and he ran into several instances where there was literally no way to reduce power consumption anymore without switching to assembly. Obviously even for most embedded applications you wouldn't need quite that level of efficiency but it's not unheard of.
>>
>>81526188
That solution doesn't account for using more than one coin as a valid solution, i.e. 1*1ct +2*2ct, 3*1ct + 1*2ct, etc.
>>
>>81526883
You're right it definitely doesn't matter, I was just looking for a yes or now answer, like >>81526627
>>
>>81524996
General idea is to make an array of size amount, initialized with the 0th value as 1. You then loop for each index from 0 to amount. Within that loop, loop over each coin value, and set array[index] = array[index - coin] + 1 (if that's a valid index). Once you're done looping, return array[amount].

Since it uses memoization it runs in O(amount * number of coins) -- so not NP.
>>
>>81527083
You can calculate the solution that uses the least amount of coins and then break up coins from there although you also need to backtrack I guess
>>
File: image.jpg (505 KB, 838x1182) Image search: [Google]
image.jpg
505 KB, 838x1182
Its been awhile since >>>/g/ has done anything. They could probably have fun with this.
>>
>>81525334
You joking guys? This solution is correct but it's not about bit shifts, it's just a shitty for loop in C
>>
>>81527083
I really don't understand what you're saying there, it's nearly 4 o'clock, sorry. Maybe you can simplify what you're saying
>>
>>81526564
>boy wants to learn how to code
>scientists and teachers tell him how to set up a development environment on his PC and let him experiment with a programming language of his choice


>girl is told she should learn to code
>google takes over an hour of time and tons of GRRL POWER emoji images to show her what a carthesian coordinate system is

i agree with what one other anon said earlier - if they wanted girls to become interested in coding, they shouldnt have had the media collectively shit on nerd shit for decades.

they sort of tried to turn around on this with the whole push of "le quirky randum nerd culture xD" recently, but that's little more than swap a bad but true stereotype for a dumb and false one instead. it wont make women develop an actual interest in tech stuff, it just attracts a bunch of superficial attention whores who latch onto the """culture""" side of it for 'nerd cred'
>>
>>81519521
Wow, because emoji's don't have hair they can't be women!? That's pretty ableist and canerphobic of you.
>>
>>81527345
That's pseudopolynomial and still NP
>>
It's good to see that feminism is dealing with the big issues.

I'm beginning to really appreciate the true meaning of "first world problems". It's basically making non-issues into problems.
>>
>>81527345
Sorry that should be array[index] += array[index - coin]
>>
>>81520817
The right is an obvious clusterfuck of moronic code, so whatever.

I will say, the code on the left could use some better variable names and at least one comment at the top briefly explaining what it does.

Variable names like, "x", "x2", "i" are just asking for trouble needlessly.
>>
>>81527510
It's linear in space and time you dingus.
>>
I'm not afraid.

Google, and most top tier tech companies are staunchly against lowering their hiring bars in any form. I spoke with some google recruiters about outreach initiatives like Girls Who Code and PoC things they sponsor in NYC.

They have no problem investing in expanding potential pools of talent to hire from but they will not hire anyone who is sub par.

This is exemplified well from this article: https://techcrunch.com/2016/07/01/google-diversity/

tl;dr google invested heavily in Black Girls Code but still only hires 5% black, the article injects its own views but Google as a company wouldn't dare compromise themselves.
>>
>>81527393
No worries, I'm an EE asking questions in a CS thread. I can now ask google the questions I have, until I get bored with them. Thanks anons.
>>
File: images (2).jpg (7 KB, 187x269) Image search: [Google]
images (2).jpg
7 KB, 187x269
>>81521007
>no jQuery
>no ajax
>no php
>no unix
>>
>>81524274

>Interaction Engineer

Wat
>>
>>81527616
5 coins 10000000000€ amount to calculate
Lol polynomial he said
>>
>>81520817
god this makes me rage
>>
>>81527616
I think the burger is right, that's actually a pretty simple problem.
>>
>>81526627
It's not undecidable like perl would be but it is a context sensitive grammar. Which is why a reasonably big program can take over an hour to compile.
>>
>>81527769
You'd loop over the 5 coins 10000000000 times. Still linear.
>>
>>81520817

>hacker code
>to steal photos

Bitches are dumb.
>>
>>81520736
hence the emoji targeting them.

men dont give a fuck
>>
File: emojis.jpg (94 KB, 690x364) Image search: [Google]
emojis.jpg
94 KB, 690x364
Emojis should be banned.
>>
File: 1447495462801.gif (1 MB, 680x680) Image search: [Google]
1447495462801.gif
1 MB, 680x680
THE FUCKING Y VALUES GO IN REVERSE
IM FUCKING DONE
>>
>>81520817

>Shalom Ayash
>>
>>81519521
I've dealt with stuff more complicated than this in 9th grade
>>
File: 1234231452354.png (17 KB, 477x477) Image search: [Google]
1234231452354.png
17 KB, 477x477
I am the greatest luchador
>>
>>81528045
Not linear in the input size because it depends on the input value.
Input size would be 5 or 6 (if you count the amount as wrll) and even 6! doesn't nearly get to the 5000000000000 "operations" you have for that example
>>
>>81520817
FYI: the left algorithm calculates the reversed squareroot used for computer graphics calculations in a much faster time than the standard C library (back then).

This specific code snippet is taken from the Quake III engine code (with the comments removed) and was written by John Carmack.
However, it's rumored that Carmack didn't wrote the algortihm himself, as he commented "what the fuck?" on line with the magic number. People think that it originates from SG.
>>
In a consumerism society, you can't win against women.

They have this unbeatable skill at attention whoring, wether you praise them or criticism them they won. Ultimately, ridiculizing women who code will only give them more media coverage, like a negative buzz, and inspiring more women to do the same.
>>
>>81522451
>>81523447
>>81525334
>>81525488
>>81527376
>>81525708
>>81525820
>>81526188
>>81527083
>>81527369
>>81527393
>>81527697
>>81528045
>>81527769
>>81527616
>>81527966
>>81527345
>>81527510
>>81527551
>>81524526
>>81524266
>>81524266
>>81523280


LMAO ITT men who can't even solve a basic introductory programming problem.

what would you expect, after all programming is a job that takes a woman's mind ;^)
>>
>>81521335
>rock paper scissors game
>taking more than 5 minutes even for a beginner
>>
File: 1468709398176.jpg (262 KB, 800x802) Image search: [Google]
1468709398176.jpg
262 KB, 800x802
>>81519521
></BIG> </BOLD> </COLOR>
>>
>>81528304
And I used to think krauts were smart.
>>
>>81521516
how can you not understand arrays? thats like…even nigger children understand arrays
>>
>>81524526
Even if it's NP it can still be coded, even if it takes a long time. Traveling salesman problem would be a quick example of that.
>>
>>81528459
You fucking idiot, its dead simple.

func m(a, b) {
if(a == 0 || b == 0)
return 0;

else if(b == 1)
return a;

else return m(a, b-1);
}


implying the numbers are non negative
>>
>>81520817
When I took software development it was required that we put notes in the code and while I wasn't the best at explaining it, these notes are just retarded
>>
>>81525250
python is such a gross language, if it weren't for javascript i'd call it the worst language thats actively used
>>
>>81528459
Pretty sure we gave like 3 or 4 correct solutions
>>
File: emoji.png (42 KB, 478x478) Image search: [Google]
emoji.png
42 KB, 478x478
Please rate my masterpiece pol, I call it ching chang ching chong.
>>
>>81520817
This is like someone walking up to a Trauma Surgeon, placing a bandaid on their scratch, fucking that up and putting the sticky part on the scratch, and saying the Trauma Surgeon complicates things too much.

Then like 10 idiot bimbos coming along and agreeing.
>>
>>81528696
In computational complexity theory, a numeric algorithm runs in pseudo-polynomial time if its running time is polynomial in the numeric value of the input, but is exponential in the length of the input – the number of bits required to represent it.

Made me google for you. Good job
>>
File: 9d4.jpg (21 KB, 400x287) Image search: [Google]
9d4.jpg
21 KB, 400x287
LOL holy shit the nigger threading is over the fucking top tonight.

Kill yourselves Shit Reddit Says. You have no power here, and in open combat your ideas always lose. That's why you have to resort to Jewy tactics like sub hijacking, but that's not an option here.
>>
Strong competition for pajeets
>>
>>81521516
No kidding, but we started CS with 800 students, less then 2 weeks dropped to 600 and not even 200 got past the first exam which was bascially arrays only.

I witnessed a friend of mine refusing to understand arrays like it was something completly abstract. I explained it to him, showed it to him on paper and even got so far to rip paper appart to demonstrate that it's like a row of drawers where you can put stuff in.

He was forced to quit CS 2 years in after failing the exam 3 times
>>
>>81522451
tfw self teaching in my spare time and don't know how to do this

I mean I'm sure I could figure it out in a few minutes of google but still.
>>
File: JakeTucker.jpg (51 KB, 720x480) Image search: [Google]
JakeTucker.jpg
51 KB, 720x480
>>81520635
Match made in August heavan
>>
>>81524718
Susan looks sad, I'm sorry Susan.
>>
File: emoji.png (35 KB, 478x478) Image search: [Google]
emoji.png
35 KB, 478x478
>>81528280

I made this atrocity...
>>
>>81521335
>can't even "hello world!"
the retardation is through the roof
>>
>>81529041
You obviously didn't use PHP then. It's arguably the most retarded language really used in production. Also JavaScript is not a bad language at all. And Python is used by scientists all over the world because the understand it's mathematical notations and it's simple and clean code, even undocumentated.
>>
File: 1405039230209.jpg (16 KB, 267x181) Image search: [Google]
1405039230209.jpg
16 KB, 267x181
>>81529262
I know that feel

I am a failure
>>
>>81529150
Here's an example proving it's solvable in O(nk), which is linear.

http://www.ccs.neu.edu/home/jaa/CS7800.12F/Information/Handouts/dyn_prog.pdf
>>
>>81521595
Its an advertisement primarily desu
>>
>>81527760
Have to fill those female quotas somehow.
>>
abortion emoji when
>>
>>81529238
ouch, that's bad. which uni? (rwth hier)
>>
>>81527481
> boy wants to learn to code
> googles how to fucking learn to code
> learns to code
> builds portfolio
> applies for dozens of jobs
> eventually lands one, making high 5 figures
> works way up to 6 figures

versus

> girl wants to learn to code
> tells literally everyone she's going to be a programmer
> watches youtube videos on programming
> can someone teach me?
> convince someone to pay for shit hackreactor or whatever
> graduates
> applies at company
> literally gets 6 figure offer right out the gate
> can't code for shit
> who cares, tits.diversity.jpg
>>
>>81519521
>closing tags without opening tags
>not using self closing tags
>>
>>81529744
make one with photoshop
>>
>>81528176
ror
>>
>>81521962
This is high school freshmen level coding so give yourself about 2 seconds
>>
>>81528863
Wouldn't this just return a? Or am I missing something here?
>>
>>81523207
Women lack creative capacity and logical sense for the programming aspect, they just copy/paste or brute force whatever they can.
>>
>>81529597
Its still pseudo polynomial. k is the amount of different coins you have n is the change you want to return.
>>
>>81529986
kek'd
>>
>>81529791
Achen? Dortmund hier...ziemlich nette Uni, aber die Fachschaft besteht aus ungepflegten Bilderbuchnerds.
Habe mir überlegt meinen Master trotzdem irgendwo anders zu machen, ist die RWTH zu empfehlen?

>>81530181
No you're not, it should be "a + m(a, b-1)" in the last part; like I said, it's late
>>
File: BreadMilliband.jpg (83 KB, 625x466) Image search: [Google]
BreadMilliband.jpg
83 KB, 625x466
>>81524266
If you can't figure this out, you are a literal nigger. Here's the brute force, done in 3 minutes. I don't give a fuck about styling.
class Solution {

public static int count = 0;
public static final double goal = .05;
public static final double[] coins = {.01, .02, .05, .1, .25, .5, 1.0, 2.0, 5.0};

public static void main(String[] args) {
for(double d : coins)
spam(d);
System.out.println(count);
}

public static void spam(double total) {
if(total < goal)
for(double d : coins)
spam(d + total);
if(total == goal)
count++;
}

}
>>
File: 1467347439323.jpg (143 KB, 967x571) Image search: [Google]
1467347439323.jpg
143 KB, 967x571
>>81521202
At least she uses the one true and correct way of placing braces
>>
>>81530410
Yes, and the algorithm scales linearly with both n and k. Where are you getting polynomial? Explain your reasoning.
>>
>>81528863
res = 0
for i in range(0, b)
res += a
return res
>>
>>81524645
Don't forget Grace Hopper!
>>
>>81530571
Ah, yeah thats what I was thinking. Easy mistake.
>>
Is it wrong I don't know shit about coding or programming if I'm a fucking white male in 2016? Where do I start learning?
>>
>>81519521
Only women use emojis anyway

Real memers use emoticons :^)
>>
File: austin lolno.gif (475 KB, 150x113) Image search: [Google]
austin lolno.gif
475 KB, 150x113
>>81530599
fite me
>>
>>81530836
literally this :D
>>
>>81524266
Done like a man.

http://pastebin.com/AV7Jb3t1
>>
>>81522451
>no case for 0
hope she fucking failed...
>>
>>81530744
mit ocw 6.00 sc
>>
File: 1465592325563.png (123 KB, 1003x1647) Image search: [Google]
1465592325563.png
123 KB, 1003x1647
How exactly is diversity supposed to result in better programs?
>>
File: 1467436656035.gif (429 KB, 480x270) Image search: [Google]
1467436656035.gif
429 KB, 480x270
>>81520817
Reee
>>
>>81530744
all the codecadamy khanacademy stuff is utter bull shit

read SICP (not TAOCP, thats a reference book that has been adopted as a meme nerd-jerkoff tome)

get a real life project to work on, not a 'fibonnacci calculator' or any of that garbage.

the #1 best way to learn to code is to identify something that people need that doesn't exist in current open source software, and implement it. if you do this a lot, it becomes resume material

this gets you experience in consuming other people's code, and adapting to systems already in place.
both of these are skills that most so-called programmers fail at.
>>
>>81531075
well unix is an example of diversity
>>
>>81519521
>can't handle women who can do computers better than you?
Well, that exception escalated quickly.
>>
>>81530744
https://mitpress.mit.edu/sicp/full-text/book/book.html
http://www.htdp.org/

both free
>>
>>81519521
Do you have to be good at math for coding? Or is akin to learning a new language?
>>
>>81531024
>>81530744

most mit open courseware stuff is meme bs.

view their courses as infotainment at most.

this is supplementary material that will mostly just help (more likely: damage) you culturally. its part of the large swaths of hyped up 'coding is power!!!' advertising sentiment as in the OP.

source: graduate student in electrical engineering, undergrad in applied math
>>
File: 1467428009338.jpg (133 KB, 1024x768) Image search: [Google]
1467428009338.jpg
133 KB, 1024x768
>>81521595
This pic gets me every time
>>
>>81530575
input: 0.05
output: 9

Why? My solution would be
{{1,1,1,1,1}, {1,1,1,2}, {1,2,2}, {5}} which should be 4. Looks like your solution cares for the ordering.
>>
>>81531075
Losers that can't code can feel like they are part of a "community". GitHub code of conduct says you shouldn't discriminate on technical ability.
>>
>>81531075
This is a troll push, yes? Please tell me it's just shitposting in swift.

>>81531174
>>the #1 best way to learn to code is to identify something that people need that doesn't exist in current open source software, and implement it
Good fucking luck finding that niche. You can't swing a dead cat on github without hitting 20 implementations of the same thing for anything you can think of.
>>
>>81531372
You don't need math. I think the best predictor is your aptitude for problem solving, e.g. puzzles.
>>
>>81530744
I learned from reading the original K&R C programming manual. There are alot of really terrible tutorials on the internet as well as books that will make you feel stupid, but really the problem is just that many expert programmers are autistic and can't explain things very well. A good tutorial I read just for learning object oriented shit is here: http://www.learncpp.com/
The early sections are pretty good for just basic programming fundamentals and until they introduce classes all of it will pretty much work with C as well.

Here is a good one for embedded programming if you ever want to get into anything like that: https://www.embeddedrelated.com/showarticle/453.php

The key is just to no get frustrated. Alot of times it can feel like if you don't understand something you must be stupid, but like I said earlier alot of the time its more an issue with the tutorial/explanation not being very good.
>>
>>81521595
Im surprised you guys didnt notice this but

>>HELLO WORLD
>>
>>81531174
Good advice, but people have to learn the basics first. Something like a program to calculate the first 50 numbers in the Fibonacci sequence could be great practice for a beginner in loops and arrays, for example. If people jump in too quickly they just drown, that's why introductory programming is taught the way you seem to be annoyed by.
>>
>>81531372
depends on the coding you do.

you probably don't have to be great at math to do a web scraper

to do image/time series analysis or similar, yeah you have to know some math and statistics

99% of the programming most people would want to do won't involve a ton of math you can't learn on the spot. that doesn't mean having done higher level math (like proofs etc) won't help with your analytic thinking skills.

the answer to this is dependent on the applications you are interested in

>>81531594
this is a good post.
>>
>>81531708
Can you elaborate senpai?
>>
File: 1441831579550.jpg (162 KB, 1462x1462) Image search: [Google]
1441831579550.jpg
162 KB, 1462x1462
>>81521595
every time
>>
>>81530670
it scales linearly with the value of n. not the size of n. it scales exponentially with the size of n.
>>
File: topkek.jpg (3 KB, 124x125) Image search: [Google]
topkek.jpg
3 KB, 124x125
>>81521335
LITERALLY INDIAN SHIT TIER LEVEL COURSE
>>
>>81530599
allman > all
i bet you use camelcase too you uncultured fuck
>>
>>81521335
>Msg.length
What oversimplified degenerate language is this?
>>
>>81522451
>the multiplier is too large
kek
>>
>>81531921
n and k are both integers. what are you talking about?
>>
>>81520817
>implying even a single faggot in this thread can tell you the origin of the magic number found in the left code snippet
>>
>>81531441
don't listen to this guy OP, he is trying to ruse you

SCIP will make you want to cut your dick, as well as shifting through shitty open-source spaghetti clusterfucks

And OCW courses are not meme material, they are literally all reading material, code hand outs, excercises, tests, lectures and recitations from actual college classes

>>81531372
depends what you want to do with it
if you want to use it as a tool then no, if you want to work with it i don't really know but i guess having an intuitive grasp of what you can do with math is what distinguishes good from bad programmers
>>
>>81519521
>on a netbook
>"coding"
>>
>>81524266
i wanted a recursive solution but this is O(n!) or something
http://pastebin.com/98Kq3SU5

>>81527345
>>81527616
post "linear" solution

>>81530575
i dont think this is right

>>81531075
triggered me
>>
>>81532006
I don't even think this is a language. I think this is "pseudo-code".
>>
>>81532210
Linear solution is here

>>81531007
>>
File: 1460931380434.jpg (34 KB, 694x732) Image search: [Google]
1460931380434.jpg
34 KB, 694x732
>>81531563
I think it was a joke (since the author was "pcbro"), but it actually got accepted.
>>
>>81532006
>>81532227
... javascript?
>>
>>81532077
It's a good runtime but its not linear by definition.

k is the number of input parameters
n is just a value.

Since the runtime is not only dependent on the amount of input parameters it isn't classified as polynomial/linear
>>
>>81532006
At a glance, i'd say Python. But what are you bitching about? Even C++ has a string.length() method.
>>
File: 1466800117458.png (11 KB, 117x125) Image search: [Google]
1466800117458.png
11 KB, 117x125
>>81531981
You must be paid by the line or something - do you use Allman to pay the bills? absolutely degenerate
>>
>>81521742
are you seriously this retarded. HTML is a formating language. PHP is a server side scripting language. They are not interchangeable, and on top of that PHP is probably the shittiest language known to man.
>>
>>81530571
>ungepflegten Bilderbuchnerds
Kommt mir bekannt vor, plus die obligatorischen Genderverrückten.

Ich mache gerade den Master, mir fehlen ein bisschen die interessanten Vertiefungsrichtungen. Computer Graphics und die Hardware-Leute haben gute Lehrstühle, aber ist nicht mein Interessengebiet. Die Logiker sind nett, aber eben auch ziemlich theoriebesessen, die Verifikationsleute sind ein bisschen das Auffangbecken für alle, die irgendwie Spaß an formalen Sachen haben, aber auch was praktisches machen wollen und sich nicht richtig entscheiden können. Von den anderen Lehrstühlen hört man nicht so viel.
>>
>>81520817
This made me so angry I wanted to punch something. For some reason while reading, I knew the author would be a woman.
>>
>>81532408
I guess that fits
>>
>>81532422
You are fucking retarded and it's clear you've never written a line of code in your life.

No wonder kraut tech companies are so worthless.
>>
>>81530571
Studiere such in Dortmund. Ziemlich chillig desu
>>
File: dickseverywhere.jpg (191 KB, 1512x1080) Image search: [Google]
dickseverywhere.jpg
191 KB, 1512x1080
>>81519521

remember

draw dicks
everywhere
>>
>>81521941
I know an excellent female programmer miles ahead of anything I could do, but she is not your average woman.
>>
>>81532667
I'm right though. But I guess as a software engineer graduate you never needed anything that resembled computer science even in a remote way
>>
>>81519521
>THINK </BIG> BE </BOLD> SHOW YOUR </COLOR>
are you sure thats how code works because i dont think it is
>>
>>81532210
>http://pastebin.com/98Kq3SU5
Seems to be working for me.

>>81532557
Habe am Lehrstuhl für grafische Systeme meine BA geschrieben, heftig stressig, da die den Arbeitsaufwand von meiner Arbeit heftig unterschätzt haben...also wenn es dich nicht interessiert, kann ich nur abraten davon.
Wie ist die Uni an sich so? Also Umgebung, die Leute, das Essen, etc.?

>>81532725
Was studierst du? Welches Semester?


I have so many storries to tell about women and computer science; you would literally ragequit 4chan if I would tell you some of them.
>>
Reminder - old copypasta

ITT: People falling for the "lol lern 2 code" cash scheme entrepreneurs took advantage of back in 2013 during the obamacare website meltdown.

Lets take a brief look at this little marketing scandal that I'm talking about:

late 2012 -- teamtreehouse, a start-up to teach programming online, begins to ramp up marketing
https://www.youtube.com/watch?v=3BFjIoVBxT0
Feb 2013 - Code.org launches a viral video featuring notable multimillionares to tell young ones that "anyone can code"
https://www.youtube.com/watch?v=nKIu9yen5nc

It's gotten so viral that hundreds of these so called "programming schools" began to sprung up, and who got rich from the gold rush? The very people who opened these schools such as codeacademy
>and Codecademy continued the program into 2013.
>2013
>https://en.wikipedia.org/wiki/Codecademy
hmmm I wonder why? Because all the entrepreneurs saw this gravy train and mules lapped it up.
>https://en.wikipedia.org/wiki/HealthCare.gov
After the meltdown, obama states this:
https://www.youtube.com/watch?v=6XvmhE1J9PY
As we transitioned into 2014 the gravy train yearns for more pockets to eat from. It needs to market to women of course! Programming is NOT just for CIS white males! That's where all these coding "schools" for women come in. It's sooo empowering for women to code these days~
>https://www.girldevelopit.com
Ada Developers Academy
Hackbright Academy
Skillcrush
Codebar.io
Code First:Girls
CodeChix
Girl Develop It (GDI)
Ladies Learning Code
PyLadies
Rails Girls
RailsBridge
Women’s Coding Collective (WCC)
App Camp For Girls
Black Girls Code
Girls Learning Code
Girls Who Code (GWC)
TechGirlz
to name few

short version: the learn to code meme is a marketing ploy by entrepreneurs who've made hundreds of thousands of dollars 'teaching' people to code basic skills and premium for bootcamps. They realized it's even more of a gravy train to market to women and so they have.
>>
>>81527561
Wew. This guy is one of those guys.
>>
>>81532966
Here's my solution: >>81531007

Explain to me how that's not linear.
>>
>>81533083
Informatik an der FH. Semester 6. Bachelorarbeit fast fertig und dann arbeiten denke ich.
>>
>>81532946
I run a development team. Our second most senior developer is a Spanish girl and she is extremely talented and efficient.
>>
>>81533143
It'd be polynomial if you iterated over the coins in 10 loops resulting in O(n^10)

You're iterating over the amount which can turn problems with 2 coins so ugly that you wish you had the tianhe-2 to calculate them.
>>
File: Calm.png (15 KB, 819x460) Image search: [Google]
Calm.png
15 KB, 819x460
>>81520817
MEDPACK REEEEEEEEEEEE
>>
>>81522451
i=0;
While(0<=b){
a+=a;
}

Something like that lol
>>
>>81533581
That's wrong -- n times 10, not n^10. You're counting to 10 once for each coin -- so 10 + 10 + 10 + etc.
>>
>>81529534
php isn't a language. its a hypertext preprocessor thats been abused into a language.

Its like calling CS console scripts "programming"

Javascript isn't bad, but its full of retardation.

Python itself isnt bad, but its community is the biggest group of autists on earth
>>
>>81531563
That's why the kid that wrote GoChat has a million downloads in a week?

Many engineers make a comfy living writing software for niche areas. Like seating chart planning to forestry/logging management.

Even for semi popular stuff it can be hard. Find a real nice desktop Go(baduk) client, for instance.

Sure it is a lot harder then it was 20 years ago.
>>
>>81533796
Might want to add a '--b;' in there, slick
>>
>>81533843
That was an example of what'd be polynomial because it would just be dependent on then amount of coins.

It doesn't matter if you have coins that have the value 5 or 500 or 5000000
The coin value doesn't change the runtime only the coin amount does.

But because changing the change amount does change the runtime its not polynomial because 2 coins 5 trillion change amount gives you a problem with n=2 where an algorithm running I'm O(n!) would be faster
>>
>>81534008
PhP is a language for doing hypertext preprocessing.

Can I ask you a question: why are Chinese programmers that come to the US all terrible?
>>
>full stack node.js developer

at least it's more fun than php with SQL
>>
File: 1464559490324.jpg (13 KB, 601x601) Image search: [Google]
1464559490324.jpg
13 KB, 601x601
>>81533143
>>81531007
That's awesome - that did not seem like a problem that could be done O(kn) - props
>>
>>81533143
It looks to me like O(n) when we declare the set of coins constant (which it is), otherwise it's O(n * k) with k being the coins-set-size.
But there is at least one mistake you've made there; entering 0 as the amount should obviously return 0, but it returns 1.

>>81534008
PHP is a language; next time read the full wikipedia article pls.
But I agree on the Python community, at least some of them are borderline autists.

>>81533236
Achso, kannst du durch Kollegen oder so die Uni mit der FH vergleichen? Ist da ein großer Unterschied? Und wie sehen die Arbeitgeber das?
>>
>>81520817
the max of the set [10,10] is 5.
>>
>>81519521

Hooker emoji?
>>
>>81534161
i=0;
While(0<=b){
a+=a;
i++;
}
System.out.printf(a);
>>
>>81534472
This would never terminate with b being >0; you obviously meant b-- and there is no need for i I guess...
>>
>>81534169
I think you're confused about what n and k are. n is the value we're looking for, k is the number of coins. The value of the coins doesn't factor into the runtime at all.
>>
File: killitwithfire.png (51 KB, 478x478) Image search: [Google]
killitwithfire.png
51 KB, 478x478
>>81519521
Thread replies: 255
Thread images: 64

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

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