▶ No.865207>>865226
Trannies look more feminine than 'her'.
▶ No.865217
▶ No.865219
Modern women are in desperate need of ethics, not some tech-feminist who wants to push them into manly domains.
▶ No.865224>>865562 >>867469
>he doesn't want his company to hire models to do pair programming with him
▶ No.865226
▶ No.865227>>865250
>>865205 (OP)
What about Physics Girl AKA Terry's wife?
▶ No.865234
> "the dynamic possibilities the tech world has to offer"
> not talking about how shit the tech industry actually is, there is nothing dynamic about it
Karlie Kloss x Neil deGrasse Tyson when ? ! !
This trailer feels like straight out off Million Dollar Extreme season 1.
▶ No.865239>>865244 >>865245 >>865297 >>865548 >>865611 >>865744
>>865238
Coding challenge for /tech/, see how quickly you can find all the errors/warnings/bugs on the right.
If it takes more than 10 seconds then you're retarded.
▶ No.865240
>>865205 (OP)
>Geeky, Beautiful, and Dude
▶ No.865244>>865278 >>865744
>>865239
I'm not that familiar with C(?), but I would guess :
> missing curly brackets in control flow
> a > b && b < a
> really? is that necessary
idk
▶ No.865245>>865251 >>865278 >>865744
>>865239
I must be a brainlet, because the only odd thing I can spot is the condition of the 'else if', where a>b and b<a, which are essentially the same thing expressed twice, but I'm not sure if gcc would report anything unusual about it.
▶ No.865248
▶ No.865250
▶ No.865251
>>865245
gcc shouldn't report it IMO since it's too obvious to be of any real use, but it'll be optimized away (I'd guess even at O0). If you don't see anything wrong you're either a complete noob or particularly dumb.
▶ No.865256>>865545
>>865238
>the code on the left is bad
>Shalom Ayash
EVERY FUCKING TIME
▶ No.865278>>865326 >>865451 >>865599
>>865245
>>865244
Think about what would happen if a and b are the same number, then think about what would happen if this case was tested with 5.
If a and b are the same then it will always return 5, which is clearly not intentional, but if this was tested with 5 then there would appear to be no flaw in the logic.
Instead it should be
if (a > b)
{
return a
else
return b
}
▶ No.865280
1950 : Code with Margaret Hamilton in COBOL
2010 : Kode (sic) with Kiley ... on the Chrome Javascript console ?
▶ No.865286>>865293 >>865295 >>865563
how many times do we have to go through this thread to satisfy our latent hatred of women? ffs, she is a model, not an embedded programmer, what did you expect?
▶ No.865293>>867217
>>865286
>to satisfy our latent hatred of women?
Uhh, problematic much? This is a Kloss-friendly board.
▶ No.865295
>>865286
We don't hate her she's
/OurGirl/
▶ No.865297>>865301 >>865451 >>865714 >>865744
>>865239
You might be a retard, that code checks out. Although you should never make if statements like that. Without the curly braces they only execute one line after.
▶ No.865301>>865303 >>865744
>>865297
>that code checks out.
It really doesn't. I mean it's fine for a girl, but you have no excuse. Unless you're a girl, which you aren't.
▶ No.865303>>865451 >>865744
>>865301
The question was whether it would throw errors and warnings, not its general quality.
▶ No.865310>>865508 >>865597
>>865205 (OP)
>STEAM
How the fuck does art fit in with STEM? Protip: it doesn't.
▶ No.865326>>865457 >>865571
>>865278
You used six lines of code for a one-liner. You code like a girl.
return a > b ? a : b;
▶ No.865451>>865744
>>865303
>>865297
>errors and warnings are the only kind of bug
see >>865278
▶ No.865457>>865458 >>865647
>>865326
return x if x>y else y
▶ No.865458>>865474
>>865457
Is this the Rust I've heard so much about?
▶ No.865474
>>865458
It's python. Rust doesn't Howe the ternary operator either though.
https://github.com/rust-lang/rfcs/issues/1362
▶ No.865522
>>865508
>stem + art
Laughed
▶ No.865527>>865542 >>865647
>>865238
the original code for Q_rsqrt actually had some comments
float Q_rsqrt( float number )
{
long i;
float x2, y;
const float threehalfs = 1.5F;
x2 = number * 0.5F;
y = number;
i = * ( long * ) &y; // evil floating point bit level hacking
i = 0x5f3759df - ( i >> 1 ); // what the fuck?
y = * ( float * ) &i;
y = y * ( threehalfs - ( x2 * y * y ) ); // 1st iteration
// y = y * ( threehalfs - ( x2 * y * y ) ); // 2nd iteration, this can be removed
return y;
}
i didnt say they were insightful comments
but this is the c language we are talking about here
if you dont know ieee754 gtfo because thees a pajeet that does
▶ No.865542>>865647
>>865527
Can this thing be applied to cube roots as well?
What about double precision or quad-precision?
▶ No.865545
>>865256
what's funny is that the code on the right is obviously a joke, presumably one that Karlie is in on, but none of the fucking twitter people can read code even well enough to get it. they're just lining up to show how virtuous and pro-women they are.
▶ No.865548>>865560
>>865239
How about
#define MAX(a, b) (a > b ? a : b)
instead of all what was written there?
▶ No.865560>>865574
>>865548
x ^ ((x ^ y) & -(x < y));
▶ No.865561
>>865205 (OP)
>a poser fabricated to help create an army of "professional diversity hires"
Wew, what a role model you found.
▶ No.865562
>>865224
>pair programming with thots
>wants 2x the work for the same pay
>believes this will get him pussy he has a burning desire for
>thot will never fuck him
>thot still prefers to get blacked on a regular basis
you're a special level of cuck, cuck
▶ No.865563
>>865286
It's called "dojikko" appeal, reddit whiteknight friendzoned-soygoy.
Fuck off back to where you belong under the soil
▶ No.865571
>>865326
this anon is correct.
▶ No.865574>>865583 >>865586 >>865591 >>865607 >>865610
>>865560
// let x be 3 and y be 8
0011 ^ ((0011 ^ 1000) & -(0011 < 1000));
0011 ^ (1011 & -0001);
0011 ^ (1011 & 1111);
0011 ^ 1011;
1000; // reduces to 8 as expected
// let x be 8 and y be 3
1000 ^ ((1000 ^ 0011) & -(1000 < 0011));
1000 ^ (1011 & -0000);
1000 ^ (1011 & 0000);
1000 ^ 0000;
1000; // also reduces to 8
// let both x and y be 5
0101 ^ ((0101 ^ 0101) & -(0101 < 0101));
0101 ^ (0000 & -0000);
0101 ^ (0000 & 0000);
0101 ^ 0000;
0101; // reduces to 5
Appears to work for the above examples. Care to explain why it works in general (assuming it does indeed)?
▶ No.865577
>>865508
>gamergirl webm
sounds like jodie foster tbh
▶ No.865583>>865585 >>865587 >>865608
>>865574
x < y returns 00...01 if x < y, and 00...000 otherwise
In the first case where x < y = 000...001:
> x ^ ((x ^ y) & -(x < y))
> x ^ ((x ^ y) & -(000...001))
> x ^ ((x ^ y) & 111...111)
< x ^ (x ^ y)
< y
In the second case where x < y = 000...000
> x ^ ((x ^ y) & -(x < y))
> x ^ ((x ^ y) & -(000...000))
> x ^ ((x ^ y) & 000...000)
> x ^ 000...000
> x
Note that for the and or operator, x ^ 1 = x, and x ^ 0 = 0 (bitwise).
▶ No.865585>>865649
>>865583
no.
x & -1 = x
x & 0 = 0
x ^ 1 = x with LSB toggled. 2 becomes 3. 3 becomes 2. never happens with this MAX expression.
x ^ 0 = x
▶ No.865586
>>865574
remaining piece is that x^(x^y) = y, as x's bits are toggled twice (to what they aren't, and then back to what they were originally) in y.
▶ No.865587
>>865583
Also, another rule I forgot to mention
^ is a commutative operator, a ^ b = b ^ a (although this actually isn't useful here.)
x ^ x = 0, since if x = 1, 1 ^ 1 = 0 and 0 ^ 0 = 0.
Considering you did it with examples, you seem to understand how it works. All you needed to do was replace your examples with variables in it becomes a simple proof with two general cases.
▶ No.865591
>>865574
>if x < y then it XOR's x with x XOR y
<x XOR x XOR y = 0 XOR y = y
>otherwise, it XOR's x with 0
<x XOR 0 = x
▶ No.865597
>>865310
>protip it doesn't
yes it does the fact that the design and user experience for "linux circles" never went anywhere. there's too much functionality but zero marketablility because even if you have 1KiB of code it still won't matter if the UI looks like shit. Don't even throw the 'speed' card here
Just embrace it and use soygoys to design your web design so it can appeal to other soygoys and SJWs and then jew out their money until their blood grows cold and dry.
Look at discord, it's IRC made "marketable" and imagine how much shekels it generates. IRC and IRC-clones have been here since forever.
▶ No.865599>>865601
>>865278
>it will always return 5, which is clearly not intentional
It is intentional, you faggot.
Did you even read the comments?
/*else return 5 because I'm so random yay :D*/
▶ No.865601
>>865238
>>865599
she should rewrite it in rust
▶ No.865606
>>865508
Doing porn as a career is equal to being a whore, so it's rather hard to respect her as a person no matter how high her IQ, how much of a gamer she was or how many Linux/ava/TCP/IP etc. books she had (and I somehow can't shake off the doubt she actually read all those books on the shelves she showed - I tried, but it somehow just seems implausible).
▶ No.865607
>>865574
Three people beat me to it, but I'll give you a simple explanation.
If x < y is true, then we get a 1, and negative one in two's complement is all 1's. ANDing anything with with all 1's results in no change, so ignore it.
We're left with x XOR x XOR y It should be easy to see that the x's cancel out, and we're left with y.
The other case results in ultimately ANDing with 0. Which reduces to x XOR 0, which is just x.
▶ No.865608>>865649
>>865583
>x ^ 1 = x, and x ^ 0 = 0 (bitwise)
You are clearly confusing ^ (XOR) and & (AND).
For single bits, x|0, x^0 x&1 are x, x|1 is 1, x&0 is 0, and x^1 is !x. In other words, to set bits OR them with a mask of set bits, to zero bits AND them with a mask of zeroed bits, to flip bits XOR them with a mask of set bits.
▶ No.865610>>866031
>>865574
Also if you want more of these, https://graphics.stanford.edu/~seander/bithacks.html has a good list. Don't feel too bad if you don't get these at first, you're not a computer after all.
▶ No.865611>>865621 >>865676
>>865239
Not every guy who can program is J. Carmack, so this example is fatally flawed.
▶ No.865612>>865618 >>865728 >>865750 >>865755
>>865238
Repeat after me:
I SHALL NEVER SAVE SCREENSHOTS IN JPEG
I SHALL NEVER SAVE SCREENSHOTS IN JPEG
I SHALL NEVER SAVE SCREENSHOTS IN JPEG
also, why are these comments so retarded? what's the shithole where you found them?
▶ No.865618>>865619
>>865612
>random normies (possibly with more or less of a sjw leaning) comment on things they don't have a clue about based on a false pretense and uneducated impressions
>why a those comments retarded
Seriously, why?
▶ No.865619>>865656
>>865618
>he doesn't know the pic is photoshoped
Aww, how naive.
When have you arrived here? Last summer?
▶ No.865621
>>865611
>J. Carmack
Does something like a counterpart to "Masters of Doom" exist that would go into technical details like what specific equipment, software and other technologies they were using throughout their career, how they were progressing with developing their skills etc.? "Masters of Doom" is a good and interesting read, but it mostly focuses on relationships between people and the outcomes of those, and is rather very vague on technicalities.
▶ No.865626
>>865508
> interview.webm
What did I just watch !
> no bedroom
> bedroom is living room
> but dedicated pool table room
Ugh, can't even watch this shit.
▶ No.865627>>865675
>>865508
"STEAM is an initiative from the Rhode Island School of Design."
Oh, the irony.
What did they do to Sam while he was there. Now I believe he might have actually been raped by a bunch of lesbian feminist teachers of his.
No wonder he became a mass shooter.
▶ No.865647
>>865457
That's the same thing, except Python. Here, have a Lisp versions as well:
(if (> a b) a b)
>>865527
It's not like this code really needs comments though. It's bit-twiddling magic, you either know what the bits do or you just take it as a magic function that's pure and only does one thing.
>>865542
The code exploits the fact that floats are stored in some particular way in memory. I have no idea whether one could find such a hack for cube roots, probably not.
▶ No.865649
>>865608
>>865585
>You are clearly confusing ^ (XOR) and & (AND).
good catch. Thanks
▶ No.865656>>865674
>>865619
I just had the realization i have been here for 3 years. The fuck happened.
▶ No.865674
>>865656
>Don't forget you're here forever.
▶ No.865675
>>865627
>What did they do to Sam while he was there.
He didn't get enough powsi.
▶ No.865676>>865685 >>865752
>>865611
Even Carmack had help from academics and graphics experts with his bithacking.
▶ No.865685>>865688
>>865676
>implying Carmack is important
>when a woman go through 4 hours in the chair for their photo op
>and knows cd and ls commands
Anon, don't you know women have it harder by default because they have to look pretty AND learn basic commands?
▶ No.865688
>>865685
> implying white, hard-working, heterosexual males have it not hard and are not discriminated against.
▶ No.865690
Pushing women in programming is a ploy to lower wages for programmers.
▶ No.865714>>865745
>>865297
>only execute one line after
thats not how statements work.
▶ No.865728>>865748 >>865953
>>865612
JPEG is the most efficient compression ever invented.
▶ No.865744>>865745 >>865753
>>865303
>>865451
>>865301
>>865297
>>865239
>>865244
>>865245
Hate to say this but the code checks out. Is it a horrid abomination? Yes. Does it work? Yes. Looked at her shit, and she was using java at the time. Pic related, the thing compiles and runs, although it will fail if the two number are equal.
▶ No.865745
▶ No.865748>>865750 >>867517
>>865728
JPEG may reach at least the same-as-source size on this image only by disfiguring it to complete shit. This is one of the extreme examples but screenshots are usually similar.
Get educated, faggot.
▶ No.865750>>865751 >>866102
>this thread again without any new material or nudes
>>865748
>>865612
>anything but FLIF or farbfeld
commit sudoku thanks
▶ No.865751
>>865750
>>anything but FLIF
go ahead and post one.
8ch doesn't support arbitrary file extensions you dinghole
▶ No.865752
>>865676
Yeah for sure and 99.9…% of the other programmers are still inferior compared to him. That was the fucking point.
▶ No.865753
>>865744
>not using Math.max
▶ No.865755>>865756
>>865612
t. durrrrrr
jpg for pictures
png for text
everyone knows this.
▶ No.865756
>>865755
and? that picture was mostly text.
sure, most sane people know this, but that body didn't.
▶ No.865810>>865832 >>865955
>>865238
This tweet just seems like a joke to me. I mean, no one could really code something like "a > b && b < a", which is just checking the same thing twice. Of course /tech/ autists don't realize it and instead stroke their e-peen showing the "errors" in the code, lol.
▶ No.865832>>865902 >>865945
>>865810
The meme you reference is fake but she really is this stupid. See pic related.
▶ No.865902>>865914 >>865984
>>865832
No I think it's just marketing shit. The code didn't really matter, just the idea that she's coding.
▶ No.865914>>865984
>>865902
The point is "women in tech" only ever pretend to code
▶ No.865938>>866091
Her job is to be pretty in front of computers? She is also freakishly tall.
▶ No.865945
>>865832
>Kode with Karlie Kloss
>KKK
▶ No.865953
>>865728
JPEG is a lossy compression scheme which works well for images with lots patterns which have little regularity to them (like photos). PNG is a lossless compression scheme which works well for images with lots of regular patterns to them (like screenshots of OS UI elements, text etc.).
▶ No.865955
>>865810
>something like "a > b && b < a", which is just checking the same thing twice
If a > b is false then it should short-circuit though and skip processing the other (along with skipping any side effects that it might have). Similarly (x || y) will skip y if and once x is found true. At least it works that way in C. Btw not saying that (a < b && b > a) makes much sense generally, just sayin that it's not that both conditions are always processed.
▶ No.865962
>>865205 (OP)
Grace Hopper is rolling around in her grave.
▶ No.865984
>>865514
>>865902
>>865914
That kind of shit annoys me. If they can program decently then I don't give a fuck, but if it's just positions like this or hyping up that someone is "trying to code" then why the fuck should I care about them? They're not "women in tech". They're either HR positions or entry-level bullshit that any kid with a word processor can fuck around with.
▶ No.865993>>865994 >>865995 >>866546
Reminder that Linus Torvalds makes sure to never be alone with a woman at tech conferences/conventions/events/whatever, lest he'll get accused of sexual assault. Never let the women in tech vampires sink their teeth into you.
▶ No.865994>>866045
>>865993
If the BSD cuck says so it must be true.
▶ No.865995>>866006
>>865993
You only have to worry if you're somewhat relevant (not even Linus-level, that Appelbaum faggot was high up enough) or have money, otherwise only the completely crazy ones are a risk.
▶ No.866005>>866009 >>866011 >>866027
Has there even been any successful female game programmers since the Atari days?
https://en.wikipedia.org/wiki/Carol_Shaw
>Mike Albaugh later put her on a list of Atari's "less publicized superstars":
>I would have to include Carol Shaw, who was simply the best programmer of the 6502 and probably one of the best programmers period....in particular, she did the 2600 kernels, the tricky bit that actually gets the picture on the screen for a number of games that she didn't fully do the games for. She was the go-to gal for that sort of stuff.
http://www.qotile.net/minidig/disassembly/RiverRaid.asm
▶ No.866006
>>865995
He's still right in not taking any unnecessary risks, though. It's guilty until proven innocent often enough, and they don't have to win a court case to ruin your repuation.
▶ No.866009
>>866005
I was about to bring up the talented female programmer who single handedly ported Doom to the 3DO in ten weeks. However, in doing some cursory research, it turns out she's actually a tranny. I swear, every fucking time...
▶ No.866011
>>866005
Super successful probably not (how many really successful male vidya devs you can name? most famous ones moved from programming to other roles), but Angelique Trois was made only by women. It's a game for girls though or girly men so no crazy coding must've been needed.
▶ No.866027
>>866005
>lets all celebrate this random chick that did something at activision while there are plenty engineers out there that have revolutionized computer engineering and we don't know their name
▶ No.866031
>>865610
>am engineering major in an embedded systems class
Thank you anon, finally something to sate my autism.
▶ No.866045>>866067 >>867519
>>865994
>Being a GPL cuck boy
>not writing proprietary software and selling it
▶ No.866083>>867519
▶ No.866091
>>865938
>She is also freakishly tall
isn't that a good thing though?
▶ No.866102>>866365
>>865750
>farbfeld
Basically suckless BMP
▶ No.866365>>866716
>>866102
Its pretty much BMP but its A STANDARD vs BMP which is 50 billion different possibility
▶ No.866546>>866553 >>866744
>>865993
>Raymond's conspiracy theory
▶ No.866547>>866553
Is Kloss worthy of a deepfake?
▶ No.866553
>>866546
Go away, roastie
>>866547
Yes
▶ No.866716>>866742
>>866365
>what is PPM/PFM?
one must 100% do some fucking research before proposing new redundant "standards".
▶ No.866742>>866764
>>866716
PPM is way more complicated supporting 3 different formats
▶ No.866744
>>866546
>feminists patriarchy conspiracy theory
▶ No.866764>>867042
>>866742
they are not too different, but fuck this I am too lazy to teach people today.
▶ No.867042
>>866764
One is has multiple modes, one does not. BMP and PPM are not that different either, one is still more complicated.
▶ No.867109
>>865205 (OP)
>Name a better role model for girls in tech then Karlie Kloss
Terry Davis
▶ No.867217
▶ No.867296
▶ No.867469
>>865224
>let's waste money on a distraction
Have fun, but I'd rather have my company give me the money they would've paid her, because I'll be doing the work anyway.
▶ No.867510>>867563
▶ No.867517>>867521 >>868140
>>865748
whats poppin cunt
▶ No.867519>>867644
>>866045
>>866083
<(((BSD))) cuck calling anti-cucks cucks
<calling someone a commie cuck for extending the dynamics of free market economics to software developement
>mfw
▶ No.867521
>>867517
I like how it lapses into Arabic at the end
▶ No.867563
>>867510
Decent points except his inane hate for lolis.
▶ No.867644
>>867519
>letting corporations make hundreds of billions off of GPL software while you beg for money
▶ No.868140
>>867517
so? that's what I said
▶ No.869331
>>865205 (OP)
isnt that the chick that cant code
Kode with Kloss or whatever the fuck?
I'm not opening hooktube links its just youtube embeds, gibe me a webm or something