[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: 363
Thread images: 23

File: fsharp256.png (3KB, 256x256px) Image search: [Google]
fsharp256.png
3KB, 256x256px
What are you working on today?

Statically typed langugaes only please
>>
File: 1418161803307.jpg (68KB, 700x700px) Image search: [Google]
1418161803307.jpg
68KB, 700x700px
I'm working on getting a gf
>>
>>57159081
Still learning Japanese. Is Japanese statically typed?
>>
File: 54d98d10b02ec.jpg (91KB, 512x512px) Image search: [Google]
54d98d10b02ec.jpg
91KB, 512x512px
>>57159081
>No anime in the OP
>No stallman either
>>
>>57159098
It's strongly typed, since words are actually pronounced how they are written at least.
>>
>>57159101
pls. There's often several different way to read a character.
>>
First for claiming Chandler as my husbando.
>>
I'm looking for job (zero skills after 25+ years of school with worthless msc), browsing gee and applying for phd.
>>
Im trying to figure out how to make an app where you can scroll through my differemt comic books ive written wtih a menu to selwct which one you want to see, but i have no idea where to start and its 1am
>>
>>57159113
>Chandler
>Not Alexandrescu
What are you, gay?
>>
>>57159113
Didn't think somebody was able to like ChrisChan.
Oh, well, when I'm wrong I'm wrong Morty.
>>
Employed Haskell programmer reporting in
>>
>>57159155
proofs?
>>
>>57159155
Academic detected.
>>
>>57159155
Simon, is that you?
>>
>>57159158
"academic"
>>
File: drowninginmoney.jpg (950KB, 2592x1456px) Image search: [Google]
drowninginmoney.jpg
950KB, 2592x1456px
>>57159157
>>
>>57159158
This.
Academics, admins and webdevs don't count when it comes to programming.
>>
>>57159089
>>57159098
>>57159099
>>57159113
>>57159115
Can we talk about programming ITT please?
>>
Is there any way in C++ to accomplish something to this effect:
 
template<typename ...T>
class MyClass : T...
{
void method()
{
for(typename Ty : T)
{
Ty::someMethod();
}
}
};
>>
>>57159119
>You're thinking of Gabriel Dos Reis. There's only one.
Love that guy. His accent and cowboy hat are kawaii af.

Compare the average rust nigger: https://www.youtube.com/watch?v=ftQfpAeyxPo
>>
>>57159186
kys
>>
>>57159189
I think you linked the wrong talk m8.
It's from Gabriel Dos Reis.
>>
>>57159215
I don't know what you're talking about but I'm talking about this fine man: https://www.youtube.com/watch?v=IA14LXnBcJg
>>
>>57159215
I meant to say it's not him giving the talk.
>>
>>57159223
Yeah, but you linked something else before.
Nevermind.
>>
If $your_language is so superior why don't you start a business, easily squashing competitors who use $inferior_language?
After all, $your_language is vastly superior.
>>
>>57159239
I linked the average rust nigger.
>>
>>57159241
>PHP
>business
Hmmm no?
>>
>>57159242
Oh, I misread your posts. Sorry for the confusion.
>>
File: kissu2.webm (1MB, 800x450px) Image search: [Google]
kissu2.webm
1MB, 800x450px
/dpt/-chan, daisuki~

Ask your much beloved programming literate anything (IAMA).

>>57159241
http://www.paulgraham.com/avg.html

>>57159089
def findgf():
hash = random();

while hash != 0x616c6c2074686f7365206665656c73:
hash = SHA256(hash);

return True


>>57159081
Please use an anime image next time.
>>
>>57159245
>$ means PHP
It could be bash, POSIX sh, MUMPS, XSLT or PowerShell.
>>
>>57159241
Languages don't matter. Libraries do.
>>
>>57159241
>>57159259
Paul Graham doesn't have a point, because Lisp and Arc in particular is massively inferior to even JS.

He's just a one-trick memster that frauded Yahoo, dont't forget.
>>
>>57159241
I did
>>
>>57159289
>Lisp
>massively inferior to even JS
baits were much better in the past, are you guys still trying ?
>>
>>57159292
>>
Why do you guys even bother with programming languages? Just use ASM, there is no proper tools.
>>
>>57159318
because programming is not about computers at first.
>>
>>57159318
>ASM fag
Nobody with a brain needs ASM. Just use raw binary.
>>
>>57159318
>ASM
Not portable.
>>
>>57159331
java bytecode is portable.
>>
>>57159354
It's not. Good luck running it on a Z80.
>>
>>57159354
>bytecode
>anything like ASM
lel
>>
>>57159326
Nobody with a brain needs to code binary. Just manipulate the bits with ultraviolet rays emitted by the sun
>>
>>57159172
dusty ass desk
>>
>>57159362
What a stupid thing to do. Simply use the raw atoms quantum vibrations to compute bits.
>>
I'm learning FORTRAN for high-performance computing. Nobody told me it was easier than C. It's easier than C.
>>
Post your void.h
>>
>>57159360
bytecode is just an isa where the instructions are encoded with one byte.
>>
>>57159381
>>
File: ocaml.png (58KB, 420x420px) Image search: [Google]
ocaml.png
58KB, 420x420px
>>57159081

Implementing an compiler for a programming class in $PIC_RELATED
>>
>>57159389
Thats not true at all
>>
>>57159389
So MIPs is bytecode?
>>
>>57159354
java bytecode only runs in the jvm
>>
>>57159475
Java FPGA
http://www.jopdesign.com/
>>
>>57159417
___byte___code
>>
File: Web_Development.png (404KB, 2570x1898px) Image search: [Google]
Web_Development.png
404KB, 2570x1898px
>>57159174

>webdevs don't count when it comes to programming

I never got this meme..

WebDev is so much harder than the average John Doe JavaDev job..

Maybe you don't need to be able to explain B-Trees in detail or write a Lexer/Parser. But unless we are talking HTML-bb tier there's a metric shitton to know:

HTML5, responsive Webdesign, CSS3, SASS/SCSS, JavaScript, maybe CoffeeScript/Typescript/Dart.. those are the fucking bascis.

Now we start making a real website, so I know you know your MongoDB, SQL.. what are database normalizations again?

Stuff like JQuery, Bootstrap, Normalize, Grunt Gulp, Bower, Webpack, Jasmine and so on are mandatory, but if you want a real Job you better know your Angular, React (including Flux, Redux).

Things like JSON, XML, YAML are not even worth mentioning, you know them like the back of your hand.


So you want a Job with those?
WTF!! That's only the Frontend we were talking about..

So fuck off unless you know your Node.JS and maybe something like Django (including Python) or Rails (including Ruby) and - why not - a littel bit of PHP (maybe 1 or 2 frameworks) might come in handy.


Congratiulations, you are a WebDev 101 without any special skills.

If you want some respect you better know your HTTP requests, maybe a littel bit of graphic design (if you work design). You should also be able to implement a socket, what was BigEndian vs. LittleEndian again?

OK, and of course a Framework is not a monolithic thing, so say you programmin Ruby, you don't know Rails alon, but also Sinatra. And of course as much of the ecosystem as you can, so example for Rails you need at the very least a decent grasp of RVM, Bundler, Rake, Rackup, RSpec, CanCanCan, HAML.. and everything keeps mogin, i.e. in Rails 5 you have to learn ApplicationRecord instead of ActiveRecord.

Furthermore we didn't even touched DevOps, deployment or Servers. You know your nginx, apache, passenger, thin, puma, unicorn..?


WebDev sooo easy...
>>
>>57159081

In a wafefont .obj file:

what is this supposed to mean?
f  5  4  9


I assumed it would work if I just copied to a openGL element buffer and drew it with GL_Triangles but then I found out that triangles are supposed to be represented like this:

f  5//4//9
>>
>>57159502
Only people who never worked on large, production quality websites think web development is easy.
>>
>>57159475
which make it more portable than an specific cpu ISA.
>>
>>57159502
>Be a webdev
>Write a wall of text nobody will read
>Add unnecessary lines between paragraphs
Hmm

>>57159081
How can some people be so bad without realizing it?
>>
>>57159514
Which makes it less portable than C.
>>
>>57159502
mkdir html
cd html
wget https://wordpress.org/latest.zip
unzip word*

WOW. That was soooooo hard
>>
>>57159487

> it's a phd thesis

that means it's just a experiment
>>
>>57159502
>css
>programming
webdevs, everyone.
>>
>>57159487
Total numale cuck.
>>
File: anal beads.png (9KB, 221x317px) Image search: [Google]
anal beads.png
9KB, 221x317px
LINQ is CUTE!

CUTE!
>>
File: 1475231349636.png (75KB, 695x586px) Image search: [Google]
1475231349636.png
75KB, 695x586px
>PHP
http://www.ajile.com/
>>
>>57159523
you need a c compiler to compile a c program
oracle jvm is written in c
>>
>>57159551
You need a jvm to run a java program.
>>
>>57159499
So you magically think javas opcode parameters are shoved into one byte? Ie: bipush, sipush. All take more than 1 byte to encode
>>
>>57159551
Suns JVM was in C.

Oracles hotspot jvm is C++
>>
>>57159502
WebDev is "hard" because webdevs MAKE it hard for themselves. You stupid faggots have no less than 12 different """frameworks""" for javascript JUST for the aesthetic development of a website, and that's JUST for your client-facing parts. Oh and that's JUST for javascript, too. Only now are webshits starting to realize the absolute mess they're in because they've got 40 different frameworks for the same two or three languages.

If you listen to any kind of podcast/e-radio show that interviews different people in the industry and you reach an episode about a web developer, it'll be a non-stop waterfall of buzzwords and frameworks. Programming Throwdown had their latest episode be about scaling websites and they had the most insufferable-sounding prick as their guest who would just rattle off framework memes to sound intelligent.
>>
>>57159592
errthing oracle does is shit
>>
>>57159509
I haven't written anything to generate .obj files in a long time, but I always thought the numbers represented vertices defined earlier or later. For instance, you would define some points and connect them to form a square:

v 0.000000 0.000000 2.000000
v 0.000000 0.000000 0.000000
v 2.000000 0.000000 0.000000
v 2.000000 0.000000 2.000000
f -4 -3 -2 -1

I'm not sure this works going forward in a program, as I have never tested it, but I'd be surprised if it worked differently.

I've never seen the second style you provided.
>>
>>57159534

>building a wall is dead simple
>therefore I can build a skyscraper


>>57159512

This.

Try to build a simple video plattform like YouTube from the scratch, you will fail to ship something that isn't complete garbage unless you have a team of experienced devellopers.
>>
>>57159081
Just made a script to download all of Podesta's emails.

#!/bin/bash

x=1

while [ "$x" -ne "23423" ]
do
if [ ! -f "emails/$x.eml" ]
then
echo "-----------------DOWNLOADING $x------------------"
curl https://wikileaks.org/podesta-emails//get/$x -o "emails/$x.eml"
sleep 1
fi

(( x += 1 ))
done
>>
>>57159628
Building a wall is not programming either.
>>
>>57159637
wtf is a podesta
>>
>>57159574
the opcode is still one byte.
>>
>>57159653
ur mum faggot
>>
>>57159653
John Podesta is a chairman with Clinton's 2016 campaign.

Wikileaks keeps dumping tuns of his data.
>>
>>57159664
wrong
>>
>>57159653
new /pol/ victim
>>
>>57159678
>>57159667
based pol

too bad your candidate is retarded or something
>>
So I have to parse an html file so that every word is isolated in the context section. Is there an easy way to do this in java. I did something really sloppy in c++ a long time ago but if what I need already exist.
>>
>>57159662
The opcode without a parameter makes most of the instructions completely useless.

There are assembly ISAs where the op ode can fit within one byte or even smaller (ie 6 bits) but no one calls them bytecodes.

x86 has instructions that can be one byte thanks to the variable lengtb abolity yet no one calls it a bytecode
>>
>>57159728
You can do this in literally one line of code.
>>
>>57159728
>So I have to parse an html file
Use regular expressions.
>>
>>57159728
Regexps
>>
>>57159750
>>57159754
Fucking keked. Haven't read that in a long time
http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags#1732454
>>
>>57159750
>>57159754
well memed
>>
A CGI-based Gopher <-> HTTP proxy for my buckd hole

>Statically typed langugaes only please
I'm writing it in C for some unknown reason
>>
File: (you).jpg (44KB, 600x444px) Image search: [Google]
(you).jpg
44KB, 600x444px
>>57159613

>pic related

No, it's not that simple.

All those frameworks exist to solve different problems. Some day some WebDev programmed something the 703rd time and thought to himself "there has to be a better way to do this!".

But when you just look at something like Two-way bindings for the first time you won't understand what they are usefull for, or why you do it like this and not like that.

And it's not even about the aesthetics, you want secure, maintainable, scalable, ... websites.


Look at it like this:
Computers are much older than the internet. So while the programming langauges had almost a century to get mature, WebDevelloping is not that old.

And jsut when they thought they figured it out (i.e. 960 grid), something happend (i.e. smartphones) that made everything before completely irrelevant. A lot of mistakes were made, a lot of lessons learned.

Everything is moving very fast, but it's not because webdev are MAKING it hard, its because there is still a lot of work to do.

Maybe the last few years the WebDevellopment has reached some point of maturity, but there's more topics to come in the future..
>>
>>57159783
>I'm a living meme, the post
>>
>>57159783
Post github and I'll tell you if what you're doing is useful or not.
>>
>>57159548
>basically everything is global/a singleton
>site is Java-related
Pottery.
>>
>>57159783
There are programming languages younger than html and JS and yet are better in every way
>>
>>57159783
>>pic related
What this fallacy called?
>>
>>57159783
It's like you wasted all your life on memes and can't accept the truth. This would be fine if you weren't trying to contaminate other with such idiocies desu.
>>
>>57159783
lmao yes it is that simple, you dip; you people are CREATING the majority of your own problems and then sperging out when people laugh at you for living in your own feces and don't include you in the field of programming. None of this is equivalent to the rocky development of things like Visual Basic and the life and death of languages like Clipper back in the day. Give me a fucking break, pajeet.
>>
>>57159783
its hard but not in an intellectual sense

webdev is not programming
javascript is not programming
html css is not

GAS THE WEBSHITS
PROGRAMMING WAR NOW
>>
If I've got my authentication token in Requests, and I want to call an API from a different function, should I pass the token or the whole Request object?
>>
Will CLRS further supplement my C++ programming abilities
>>
File: 1476950224033.jpg (167KB, 800x731px) Image search: [Google]
1476950224033.jpg
167KB, 800x731px
>>57159827
Yes pls

BUILD A FIREWALL
>>
>>57159850
Whenever someone posts a cute anime girl I automatically value their posts more.
>>
Webdev would be a lot better if the programming language of choice actually fit the domain. Imagine that, if instead of JS, you had something with good async support built-in.
>>
>>57159833
If you don't need the entire request object in the different function then pass only the token, otherwise pass the request object.
>>
>>57159875
And reactive programming to do away with the various frameworks that give you "two way binding" or whatever you idiots call it.

Wait a minute...
>>
>>57159783
I think that if you were actually a webdev, you'd know how to spell 'web development'.
>>
>>57159919
shh, WebDev it is
>>
>>57159935
_WeB_dEvElOpMeNt_
>>
Splitting programming / tech board when?
>>
>>57159935
>>57159949
I think you've missed the fact that he's been spelling it 'devellopment' this whole time.
>>
>>57159259
Are you a mod?
>>
>>57159969
I aM a WeBdEv

I aM aWeSoMe AnD 1337
>>
Which dialect of lisp should I learn? And is J worth continuing to learn?
>>
>>57160007
racket
>>
Cubical type theory is statically-typed. And you don't just have types, you have dimensions.
>>
>>57160007

Racket
>>
>>57160041
>Cubical type theory

what about comical type theory
>>
What exactly is the point of static variables?
>>
>>57160171
that is just a term for global variables right?
it might help when you're doing recursion
>>
>>57160171
Making not-quite-global variables or singletons
>>
>>57160183
Nope
>>
>>57160183
>>57160188
>>57160171
depends on the language, "static" means different things in different contexts so please specify >>57160171.
>>
>>57160171
They're always available to you, and there's only one of them.

Just like that bottom bitch you go fuck after you have a break up desu.
>>
>>57159810

>posting my github on an cambodian hentai board


>>57159813

And what's your point, exactly?
HTML isn't complete shit because the WHATWG pushed the W3. It's far from perfect, but its coem a long way already. HTML5 is nothing like what Tim Berners-Lee had in mind, and that's good.


>>57159826

Wow, not a single argument.
I've probably been coding more VB than you, and I tell you: WebDev is everything but easy.


>>57159827

It's not very "mathematically", yes. But the huge amount of technologies you use makes up for it.


>>57159919

I ain't got time for so many letters, dude.
>>
>>57160201
>>57160188
I was referring to C++'s static

I was thinking static meant const at one time desu
>>
>>57160206
>I ain't got time for so many letters, dude.
Oh for fuck's sake, read >>57159969

Then learn to spell.
>>
>>57160206
Damn, I was kind of depressed lately but reading your bait/retardation made me laugh a lot.
Thank you for your time wasted here! :^)
>>
>>57160228
>>I was thinking static meant const at one time desu
Did you think volatile means atomic too?
>>
>>57160206
Webshits, everyone
>>
Just tried to watch some of the CppCon 2016 videos. Most of them are absolute shit.
>>
>>57160249
static to me kind of meant static in the sense of not moving
like static gun emplacement
>>
>>57160206
>I ain't got time for so many letters, dude.
>
>Writing a shitload of text to prove how clueless he is about technology
Hmm

>It's not very "mathematically"
Is that so?

>Wow, not a single argument.
I won't make any arguments too, just fuck your cancerous cult.
>>
>>57160231

..and that's why I'm writing WebDev.

I rest my case here.


>>57160242

We got our lifes to waste, mate.


>>57160256

>cuck
>>
>>57160329
>Calling me mate
Why do I feel insulted?
>>
>>57160329
>>>/g/wdg
>>
So VPS or Kimsufi?
>>
>>57160329
You're a webdev because you can't spell? Well, that makes sense. Good luck, bro.
>>
>>57159188
https://en.wikipedia.org/wiki/Variadic_template#C.2B.2B

Read the whole section. tl; dr: recursion
>>
>>57160206
Its good that you ruined the web and made it a need to have 2gb of ram just to visit a sinple site?
>>
javascript is turing complete
>>
>>57160366
you waste your words here m8.
>>
>>57160376
That's alright. I have spares.
>>
>>57160366
HTML5 is also Turing complete
>>
CSS is also turing complete.
>>
>>57160396
You're wasting space too.
>>
>>57160406
HTTP headers are Turing complete.
>>
>>57160425
[citation needed]
>>
>>57160425
TCP is turing complete.
>>
>>57160442
[citation needed]
>>
>>57160400
It is?

>>57160416
Someone will be happy to make a new thread.
>>
>>57160445
[citation needed]
>>57160429
[citation needed]
>>
why is reading code so fucking difficult

why is optimizing someone else's code so difficult too

writing it is literally easier
>>
>>57160457
>It is?
Yes, HTML and CSS are Turing complete. However you need a deep understanding of theoretical computer science and mathematics to program it.

http://lemire.me/blog/2011/03/08/breaking-news-htmlcss-is-turing-complete/

So the next time you meet an actual HTML programmer, show some respect.
>>
>>57160460
Great observation Hajeet
>>
>>57160445
>>57160429
>>57160459
Err... "WebDevs are turing complete"

cf:
>>57160206
>>57160329
>>57159502
>>57159628
>>57159783
>>
>>57160460
What
>>
>>57160460
Stop programming in POO.
>>
>>57159259
are you french?
>>
wdg has probably done more programming than dpt and they're not even "programmers".
>>
>>57160509
>wdg has done programming

in JS i bet
>>
>>57160509
Yes, we use papers and pens and we don't shit nonsense all over our projects.
>>
>>57160497
>tfw OOP in reverse is POO
really makesu think
>>
>>57160497
it's C actually

language doesn't really matter, reading code is annoying
>>
>>57160530
no, in Go
>>
>>57160485
Well then, HTML5+CSS3 is a programming language.
>>
>>57160460
>>57160553
>reading code is annoying
You better get good at it, and learn to enjoy it, because reading code is an important part of most software development jobs.
>>
>>57160573
as is fucking commenting your code.
fucking pajeets need to comment their shit with proper english grammar. i want to kill myself.
>>
>>57160509
Don't bring up /wdg/ in here, it triggers all the NEETs and tryhard CS students.
>>
>>57160362

>Its good that you ruined the web and made it a need to have 2gb of ram just to visit a simple site?

It's what the customers want.
Don't hate the player, hate the game.

>>57160400

It's not.

How could you possibly wrote values from one store to the next one? HTML is static.


>>57160509

>(you)
>>
>>57160586
My first real job involved a huge PHP project with hundreds of undocumented global variables and dozens of files included into each other.
The pain goes away after about 6 months.

The bright side is job security.
>>
>>57160605
>It's not.
>How could you possibly wrote values from one store to the next one? HTML is static.
http://lambda-the-ultimate.org/node/4222
>>
>>57160605
>It's what the customers want.
Wow, not a single argument.
>>
>>57160605
>Don't hate the player, hate the game.
fuck
>>
>>57160605
Muh clicked the GitHub link inside the link and 404'ed :(
https://github.com/elitheeli/oddities/blob/master/rule110-grid.html
>>
trying to deal with data binding in UWP. way beyond my experience or knowledge.
>>
>>57160646
>UWP
This micro$hills meming again?
>>
>>57159129
download visual studio 2015 community addition
>>
>>57160605
No its not. As a customer of the web having sites that are bloated, spy on me, use a shit ton of reaources, etc is not want I want.
>>
>>57160671
>>57159129
CAREFUL
The Visual Studio is non-free software that does not respect your freedom.
>>
>>57160680
>But you're not the customer, anon.
>>
>>57160629

You mean this?
>http://eli.fox-epste.in/rule110-full.html

But the point is, you still have to click it yourself. It's not a turing machine, because it can't move values by itself.


>>57160633

How is money not a single argument?
If somebody would throw out enough money for the devellopment of laser weapons, every 5 year old would have one.
>>
>>57160713
And what's your point, exactly?
>>
>>57160683

T H I S
H
I
S
>>
>>57160361
Unfortunately this doesn't do what I want. It may just be impossible.
>>
>>57159081
I am trying to learn MATLAB and SIMULINK. I just bought it last night and have been playing around with it. It seems powerful, and somehow it can generate C code. I haven't figured that out yet. Can't wait to take some advanced math, eng., or physics classes so I can start using this already.

Python, C, C++, and Ruby are on the back burner. Some day I will learn how to use Swift...
>>
>>57160718

My point is, if HTML is a turing machine, then pebbles are also a turing machine, because you can lay then on the ground and have a binary storage.

The point is: it has to move.
>>
>>57160713
>devellopment
Jesus Christ, I literally just told you.
>>
>>57160756
I ain't got time for so many letters, dude.
>>
>>57160754

Wow, take it easy lad.

If you want to learn all those at once, you're not gonna make it. Pick one or two langauges and git gud, then move on.
>>
>>57160766
>I know I can't prove otherwise
Hmm
>>
>>57160757

DE-VE-L-L-OPEMETNTE

I'm try, anon.
I'm trying so hard..


>>57160766

Sick burn, mate.
>>
>>57160794
..and that's why I'm writing WebDev.

I rest my case here.
>>
>>57160683
So you want to limit your customer base because if your own greed?
>>
>>57159502
99% of what you listed is cross disciplinary / common sense. if you can understand a lexer / parser (eg recursive tree logic) then of COURSE you know XML/json.

If you took a basic OS course then you certainly understand interprocess communication better than a web dev (and why the fuck would a webdev be fucking with sockets anyway??).

If you took a basic ASM class of course you know little/big endian better than a web dev.

If you took a language theory class you can easily pick up the nuances of all the meme scripting languages webdevs use.

If you took an intro to software engineering course you can pick up any flavor of the day framework, provided it follows MVC design standards

Furthermore, since very few modern apps DONT involve multiple hosts communicating, you could argue everyone is webdev now. consider the IoT and how even embedded systems dudes have to know transport logic these days.
>>
File: 1472615200243.jpg (311KB, 2094x2095px) Image search: [Google]
1472615200243.jpg
311KB, 2094x2095px
>>57160794
>I'm try
>>
>>57160809
uh, yea?
>>
>>57160809
No. I'm implying webdevs are shit because they don't care about their users but the pigs they rely on.
>>
>>57160821
>If you have a PhD in mathematics of course you know 30 + 30 = 60 better than an cashier.
What did he mean by this?
>>
>>57160661
it's simply my job anon
(to create windows apps, not shill)
>>
>>57160809
It's 2016 anon. User is now a product, not a customer.
>>
>>57160878
so webdevs are just codemokeys aping one another's design patterns?
>>
>>57160806

Praiseworthy.


>>57160821

>99% of what you listed is cross disciplinary / common sense

No. Maybe and JSON are close to each other, but for the most technologies it's not.

The point it, complexity is not within a certain task, but complexity arises as emergence from the complex system that a website can be.

>If you took a basic OS course

You mean SIGKILL is harder to grasp then a POST request? Why so?

>If you took a basic ASM class of course you know little/big endian better than a web dev.

Why would a ASM guy know/care if IP adresses are made big endian or little endian?


>If you took a language theory class you can easily pick up the nuances of all the meme scripting languages webdevs use.

That's actually correct. SICP made me better in Ruby and JS.


>If you took an intro to software engineering course you can pick up any flavor of the day framework, provided it follows MVC design standards

Oh, the Irony. WebDevs brought MVC on a whole new level. Look at the details of Angular or Ember and notice the sublte differences between MVVM, MVC and so on..


> since very few modern apps DONT involve multiple hosts communicating, you could argue everyone is webdev now.

You got it. You can't call yourself a programmer if you don't have a basic undersatnding of the WWW.

That doesn't mean you have to explain subnet masks or XSS works, but if you devellop in Java and don't know how to use servlets just kys.
>>
File: node bsp tree.png (28KB, 1024x1536px) Image search: [Google]
node bsp tree.png
28KB, 1024x1536px
BSP trees.

It's been over 10 years since I've last touched them in any way. Then I suddenly remember their existence and realize that a BSP tree is exactly what I need: just draw a bunch of static polygons in perfect back-to-front order, no matter where the camera is.

This is just a simple test scene. No depth testing needed to render it. Going to need a bigger scenes for testing, but so far everything looks good.
>>
Web dev in 2016
>Keep installing node dependencies until it works.
Tell me I am wrong, bet you can't.
>>
>>57160922
yes, they'll never get to the level of that anon that has written fizzbuzz in 50 languages you never heard of
>>
>>57160937
Are you french?
>>
>>57160946
do you think that is what actual computer scientists spend their time doing?
>>
>>57160922
Yes. See >>57160937
>>
>>57160944
J2EE web service, serving only JSON
Angular with TypeScript in the front-end
>>
>>57160949

No.
>>
>falling for meme platforms like node
>>
>>57159081
>doing data structures hw

It's just covering stacks (which we went over weeks ago), but the professor makes the project extremely convoluted so it's obnoxious.
>>
>>57160963
>anyone on /g/
>computer scientist
I prefer C myself but everyone who says webdevs are shit are incompetent losers who try to feel better about writing ping pong in C over and over while the webdevs accomplish real things lel
>>
>>57160937
of course, web tech is an insane marvel of modern science. you can look at how TCP has improved over the years with self-regulating congestion control as an example that rather blows my mind

but this was the work of PhD'd computer scientists who never "developed a website" in their lives.

we engineer the tools. webdevs just familiarize themselves with the subset they need for their company.

and i think your kitchensink list of all the tools a webdev *needs* to be expert in is completely exaggemated and ridiculous: 99% of webdevs are completely lost without the one framework they know, the one css library their coworker maintains and they barely understand enough to wield, etc
>>
>>57159259
Is there encryption OR hashing algorithms that are guaranteed to cycle through all possible options without repetition if you repeatedly pass the output of the algorithm as input?
What do you computer science nerds call this property (in the general case, not just pertaining to hashing)?
>>
File: 1455596028755.jpg (8KB, 265x265px) Image search: [Google]
1455596028755.jpg
8KB, 265x265px
>>57161066
>we
>>
>>57161050
THIS

like someone already said, While dpt is out here reinventing the wheel, wdg has been working on real projects.
>>
>>57160739
In that case just teach yourself M4 and use macros.
>>
>>57161050
Well anon. Let me just tell you that I've had my younger brother at age 11 try out programming in java script and he 'accomplished' a rather basic RPG game very quickly. He didn't like it though. Because he was just playing with stickers and glue as he put it. It may have turned him off from programming. I'm rather concerned. It was a confused period of my life when I was thinking that people seeing results would motivate them.

I'm sure you can extrapolate something here.
>>
>>57161045
Welcome to computer science. Simple things explained in complicated ways and words.
There's some point to it. But there's not much of a point to it.
>>
File: Tempo.jpg (12KB, 450x300px) Image search: [Google]
Tempo.jpg
12KB, 450x300px
>>57161128
Pic related understands
>>
>>57161128
Javascript is stickers and glue??

Lol what? If anything, javascript gets a bad wrap for not being that, javadcript doesnt even have type safety among other features "real" programming languages have.

Fucking ignorant cuck.
>>
>>57161119
I think he should rather think about why he needs to inherit from
multiple classes and call methods from each of them in the first place.
>>
>>57161170
Javascript does have type safety. It's just checked at run time.
>>
>>57161170
>bad wrap
bad wrap indeed
>>
>>57161170
>bad wrap
>>
>>57161170
This looks very much like a truck full of wormfood on hooks.
>>
>new and been trying to teach myself programming (C) through resources on the internet
>just getting to multidimensional arrays and the like

wew, hope I make it
>>
>>57161171
Yeah, you're right. I don't like to second-guess people's motives, but it does look like his problem could be solved much more simply.
>>
>>57161066
of course, programming is an insane marvel of modern science. you can look at how cpu architecture has improved over the years with x86-64 instruction set as an example that rather blows my mind

but this was the work of CPU designers who never "developed a program" in their lives.

we engineer the tools. programmers just familiarize themselves with the subset they need for their FizzBuzzes

and i think your kitchensink list of all the tools a programmer *needs* to be expert in is completely exaggemated and ridiculous: 99% of programmers are completely lost without the one language they know, the one library their coworker maintains and they barely understand enough to wield, etc
>>
>>57161050
There's a difference between a webdev and a webshit. A webdev is someone generally competent in the field of programming and who understands how their work differs from traditional programming. A webshit is >>57160937 - someone who can't tell his head from his ass and thinks he needs to know 20 different versions of javascript, 3 different versions of python, and go through every meme bootcamp possible to be "good".
>>
>>57161146
Honestly, they way they teach cs at my uni is awful - very rushed, lacks focus, and lectures are ineffective.
>>
>>57161205
>multi dimensional array
Envision an Excel spreadsheet with fixed width and height. Every cell is also a set size (say 3 characters). That's the abstract for a multidimensional array in C. They are a bit fiddly and I find that outside of certain very specific cases you don't really use them. You just have a block of memory and read/write using a pitch and a stride.
>>
>>57161205
>C as your first language

Not going to make it.
>>
>>57161254
What's wrong with using C as your first language?
>>
>>57161205
Arrays in C are weird in general. They really only exist for the sake of easily being able to stack-allocate them. In every other circumstance, they "decay" and are treated the same as pointers.
>>
>>57161233
So no difference then?
>>
>>57161111
/g/ is basically autists trying to cope with being a failure thru shitting on others..
>>57161128
all you had to do was show him a lower level language, different strokes for different folks
>>57161233
yeah i agree that guy is a moron, but still everyone who puts webdevs down in general here is a ASCII diamond generator programmer, at least from my own findings
>>
>>57161245
That's most of university.
>>57161254
Don't be retarded anon. It's perfectly fine as a first language. It doesn't enforce any particular paradigms on you and teaches you the very basic stuff you need to know about programming.
Nothing about it is particularly hard.
>>
>>57161254
you must just be a weak programmer, I started with C
>>
>>57161226
>programmers
>not knowing about pipelining, caching, microcode, hyperthreading, writeback buffers, memory latency, electrical engineering, dma, ...
webdevs are not programmers
>>
>>57161205
make a simple minesweeper-style game in c after you grasp the basic i<n j<n nested loop logic
>>
File: Cu_HTCbUkAA5xWb.jpg large.jpg (215KB, 1398x721px) Image search: [Google]
Cu_HTCbUkAA5xWb.jpg large.jpg
215KB, 1398x721px
Why are so many programmers and IT people furries?
>>
>>57161226
>But 99% of programmers shouldn't actually exist.
>>
>>57161284
>>57161295
>>57161306
Why not learn something that is easier to write, easier to actually finish interesting projects with, and has more jobs?
>>
daily tip: coding isn't the same as programming
>>
Sure is a lot of butthurt appdevs in here
>>
>>57161226
You're not wrong. 99% of "programmers" are corporate slave code monkeys.
>>
Okay /dpt/, this is going to sound a bit weird...
My girlfriend (18) is senior year in high school and lives with her parents. She wanted me to turn her XBOX 360 controller into a vibrator with the vibration motor since she can't get one (parents). I have some knowledge of C# and XNA so I wrote this:
//intensity is an int
KeyboardState keystate = Keyboard.GetState();
if(keystate.IsKeyDown(Keys.Down) && intensity > 5)
intensity -= 5;
if(keystate.IsKeyDown(Keys.Up) && intensity < 9990)
intensity += 5;
if(keystate.IsKeyDown(Keys.Space)) {
GamePad.SetVibration(PlayerIndex.One, 0f, 0f);
Exit();
}
float preciseIntensity = intensity;
preciseIntensity /= 1000;
GamePad.SetVibration(PlayerIndex.One, preciseIntensity, preciseIntensity);

The SetVibration function takes floats so that's what I initially used, but for some reason I could go over 1.0f which the controller can't do. Then I tried ints since I've heard float comparison is a bitch, but it would still go higher than 1.0f. How do I prevent my gf's pussy from being destroyed by her XBOX 360 controller?
>>
>>57161226
>>57161346
That includes 99% of webdev, of course.
>>
>>57161346
>corporate slave code monkeys
Does this mean "has a job"?
>>
>>57161341
Thanks for the daily dose, doc.
>>
>>57161292
>clear difference stated that webdevs are educated and webshits are rote memorization monkeys
>DURR SO NO DIFRENC HUH

>>57161293
You'll also find that most times when people post lengthy webdev stuff without going to /wdg/, they're webshits like him who ape out about being called a webshit. There are plenty of people here who aren't career fizzbuzzers.
>>
>>57161372
More than that.
>>
>>57161360
You don't. A pussy is only valuable on virgins, it's just too late.
>>
>>57161360
Sorry for the shit code formatting. Don't know what fucked up...
KeyboardState keystate = Keyboard.GetState();            
if(keystate.IsKeyDown(Keys.Down) && intensity > 5)
intensity -= 5;
if(keystate.IsKeyDown(Keys.Up) && intensity < 9990)
intensity += 5;
if(keystate.IsKeyDown(Keys.Space)) {
GamePad.SetVibration(PlayerIndex.One, 0f, 0f);
Exit();
}
float preciseIntensity = intensity;
preciseIntensity /= 1000;
GamePad.SetVibration(PlayerIndex.One, preciseIntensity, preciseIntensity);

>>
>>57161360
9990 / 1000 = 9.99, anon. Not 0.999.
>>
>>57161381
What information do you need to decide whether someone is a "corporate slave code monkey"?
>>
>>57161374
read here
>>57161346
a codemonkey is a codemonkey
>>
>>57161390
9990 / 1000 is 9.99, anon.
>>
>>57161360
There's something wrong with girls who use vibrators
>>
>>57161428
wut

How often do you jack it?
>>
>>57161419
>completely lost without the one language they know, the one library their coworker maintains and they barely understand enough to wield, etc
>>
How to create childhood environment that inspires kid to wanna learn about programming?
>>
>>57161455
I can't imagine that really describes many people.

I don't know anyone like that at all.
>>
>>57161438
I have never used a fleshlight
>>
>>57161468
keep him far away from a computer, give him puzzles.
>>
>>57161468
You don't.
>>
>>57161468
encourage crossdressing and make them watch lots of anime
>>
>>57161473
Yeah, me neither. But it's all just masturbation.
>>
>>57161360

>literally writing code to get cucked by a controller

Seriously reevaluate your life choices.

Additionally, if you can write that code like that and think that a valid solution to your current problem of having SetVibration to not exceed 1.0f is to switch fundamental numerical data types rather than checking and capping the value before passing it to SetVibration, you should kill yourself.
>>
>>57161360
She has your dick, why would she need a vibrator?
You should feel offended by this.
>>
>>57161171
>>57161225
Well right now I have a class with a vector of system classes that does it like this.

 
void update()
{
for(std::shared_ptr<comsys> &A : vec)
{
A->systhread=std::thread(comsys::update, A);
}
}


If I could do it the other way, it would just be cleaner to me and I wouldn't need a redundant base class for my systems.
>>
>>57161472
it does, take a chat with all that people on udemy, coursera, etc.
>>
>>57161490
No it's not, it's fucking an object

see
>>57161494
>>57161497

If she just wanted to masturbate, she could.
Even then, comparing a guy's libido to a women's libido is stupid.
>>
>>57161490
>>57161438
if your gf uses anything more than a hairbrush handle she's a slut and you can't pleasure her
>>57161408
i think people always assume subconsciously there's something wrong with the computer rather than they made a stupid mistake
>>
>>57161516
yes, because you can have multiple orgasms...
>>
>>57161497
His dick can't be there for her all the time. Maybe he should create a portal device.

>>57161516
So is using a condom. Consenting adults, bra; let people get on with whatever they want.

>>57161530
But a hairbrush is an object.
>>
>>57161341
>>57161346
>programmer
>noun
>1. a person who writes code for computer programs.
I know it makes you terribly insecure, but that includes a 10 year old kid writing his first FizzBuzz. Your precious "programmer" title is nothing special.
>>
>>57161530
>any vagina wider than a 8 year olds is a slut
reported
>>
>>57161552
>any vagina wider than a 8 year olds is a slut
It's not wrong though.
>>
>>57161552
t. roastie
>>
>>57161543
>Consenting adults, bra; let people get on with whatever they want.
I'll be less subtle then.
You're a shitty, selfish person and your gf will cheat on you.
>>
>>57161564
it is, at least for my 8 year olds
>>
>>57161575
I'm not that dude, bra.
>>
>>57161475
Can't I just give them a puter with dos? I don't believe that tech is damaging to children, and since they'll use it all life early acclimation is probably advantageous.
>>57161489
What if girl
>>
>>57161426
Managed to fix it. Thanks man!

>>57161428
She's never used one. She wanted to try. Why though?

>>57161494
>>57161497
I admit it's pretty fucking stupid to change types but I don't program that often so I guess its normal to do a shit solution. For the cucking part, you guys didn't read that she lives with her parents. Her mom is christian as fuck so I can't even go there. We can't fuck in her place. I have two smaller brothers who are constantly at home so my place is off limits too. We do fuck on parties and on rare occasions when no one is home with the occasional blowjob in an empty cinema. We just can't fuck enough before we go to college.

>>57161530
She's actually pretty shy and vanilla.

>>57161543
Portal devices would be too hard, but at least you understand my situation.
>>
>>57161573
intel is going to use your dick as a transistor for the next node
>>
>>57161550
so is someone who makes a slingshot with a rubber band an engineer?
>>
>>57159129

That sounds hella easy m8. Just have one by I page with buttons that are images of your comics (the front cover). Then selecting them moves to only the front cover. From there the entire cover is clickable and once clicked it open/goes to the next page.

Wouldn't be too hard, I don't think.
>>
>>57161552
Now you understand why little girls are the best.
>>
>>
>>57161586
Is not damaging, you are taking it wrong. Think about what happened when your mom told you to not pick those coockies? yes, the taste of the forbidden.
>>
>>57161550
Neither is your precious "webdev" title, not that I consider either to be something notable.
>>
>>57161586
>What if girl
then she's already destined to be an expert programmer
>>
>>57161339
>Easier to write
Depends on what you're writing. I haven't found better alternatives. There's always tradeoffs.
>easier to finish projects with
Like what? What kind of project do you actually finish faster?
Because in my view you finish different amounts of work. If you want you can write a video player from scratch using opengl and OS interfaces in C. But that's a very different task from writing a gui for a video library and calling it your player. C can do that too. That you're using C doesn't necessarily mean that you're working at a much lower level from other languages (depending on the language) and often its not harder.
>More jobs
I'm no job market expert (unlike you I'm sure) but I find that there's very high demand for C developers. When you're talking about other more popular languages (funny way of putting it given C is still a rather massive share of the job market) there's often a much higher level of aptitude within that market required to actually get hired.

>Why not learn something else
Why not learn C? It's one of the most persistent languages around, one of the few performance oriented languages if you look at the most popular languages available in a time where our performance headroom is quickly shrinking.
It's a small and rather easy language to learn. It has a compiler on every platform I know of. I don't think it will ever really go away. And most infrastructure (energy, waste, water etc.) relies on the older languages. Where C is one of the primary languages. If more and more people focus on the popular languages all the time (as they are) you're gonna find that the average salary for C programmers (or fortran, cobol etc) will rise. And its already quite high. Especially for people who specialise with C programming (being an expert at good API, optimising for specific hardware etc).

This answer is far longer than you deserve (I do this for free). But I find it important to not be mislead early on.
>>
>>57161564
Vaginas actually don't really get looser from fucking except for in extreme cases
>>
>>57161587
Do you have a car?

Failing that, just go find a field or a forest somewhere.

If parents could stop kids shagging, the human race would have died out long ago.
>>
>>57161606
Forgot to add the post that started it
>>
>>57161593
print "/thread"
>>
>>57161606
>conversation threads
I think you know where you should go.
>>
>>57161609
i'm not a webdev, i'm a code artisan
>>
>>57161622
No car yet. Will live on campus in college so I see no reason to buy one for half a school year worth of sex. I mean don't get me wrong, sex with her is awesome but I just don't have the money to spend
>>
>>57161604
i already do, i was just baiting ;3
>>
>>57161226
>99% of programmers are lost
I dunno anon. I imagine it's more of a shock/panic rather than inability. Most languages are so C-like if you know C (or a C-like) you can get by in all of them.
>>
>>57161587
Anon just a heads up, you should just go buy her an actual vibrator/toy.

Sticking a 360 controller up your vagina is incredibly unsanitary, and is also difficult to get fully clean.
There's a much greater chance of her getting an infection, which would be pretty bad for both of you.
>>
>>57161650
Then just go find a relatively deserted public place. Anything with large amount of shrubbery is ideal.
>>
>>57161673
Didn't think about the infection. She won't put it in though. Just the clitoris.

>>57161688
We did it once in a abandoned police base. Running from cops wasn't fun.
>>
File: shrubbery.jpg (87KB, 450x254px) Image search: [Google]
shrubbery.jpg
87KB, 450x254px
>>57161688
>shrubbery
>>
>>57161707
My point still stands, grimy hands have embedded a ton of filth into that controller, and sticking it anywhere near her wet spot is a terrible idea.
If she can't buy herself a device, why can't you walk to the sex shop yourself and get one for her?

Also, don't expect /g/ to help you on the workings of a vagina.
>>
>>57161707
Yeah, that's not ideal. You sure there aren't any forests nearby?
>>
>>57161757
Sound advice. I can go and buy her one. She can too. The problem is hiding it at home with her militant parents. Will probably try to desinfect or something. Might as well abandon the whole idea cus it now that I think it over. It really is a stupid plan.
>>
File: 1476733924880.jpg (45KB, 736x492px) Image search: [Google]
1476733924880.jpg
45KB, 736x492px
>>57161710
That is literally what I was thinking about when I wrote that. Well done, sir.
>>
>>57161587
>She wanted to try
Tell her not to be convinced so easily
>>
>>57161360
>ive tried ints because float comparison is a bitch
It's not a big problem at all. You select an epsilon to use with your comparison that's appropriate for the resolution available.
More explicitly:
 
if(myValue>0-epsilon&&myValue<0+epsilon)
//do thing

This produces an approximate 'range' where we can consider myValue to be equal to 0.
In your case

But either way. Your issue is not a float comparison issue. I'm not sure what your float version is but I recommend clamping rather than trying to detect if you're at the max or not. That is to say see if the value is over 1. If it is you set it to 1. Same with zero (if it's less than 0 set it to 0).

But she really should do this shit herself.
>>
>>57161530
>always assume the computer is wrong
That's what morons do. Unless you're writing in high level languages but this is too trivial to assume that still.
>>
>>57161800
Convinced on what. No one persuaded her. She just wants to try something new.

>>57161808
She can't do it herself. This makes a lot of sense though. Thanks!

>>57161826
I'm not saying that the computer is wrong. I'm just saying that the way it stores floats makes them hard to compare.
>>
>>57161847
>Convinced on what. No one persuaded her. She just wants to try something new.
That's exactly the problem
>>
File: Capture.png (22KB, 636x253px) Image search: [Google]
Capture.png
22KB, 636x253px
algebra is so difficult to implement in 3d

I just can't visualize this stuff
>>
>>57161785
buy her a cheap phone (those with buttons)
>>
>>57161888
I don't get it...

>>57161899
Why when she already has a vibrating device at home?
>>
>>57161907
so that it doesn't look suspect, so that she doesn't insert belly shit in her hole and because you don't know other way to solve the problem.
>>
How high of a COM port is normally assigned for USB devices? I'm making a program scanning and flashing USB devices and I'm just testing every COM port to see if there is a valid device on there, but how high do I need to check? Can I encounter like COM10 ports normally? What about COM20 or higher?
>>
>>57161943
>Has two phones
Yeah they wont think she's masturbating. They'll think she's dealing weed.

>>57161943
>insert belly shit
What are you talking about? Also not inserting.
>>
>mfw we're still talking about controller masturbation

Come on, chaps. It was entertaining at first, but back to the topic.
>>
>>57162022
What topic?
>>
>>57161996
>belly shit
The same stuff you have in your belly is in your keyboard. And the ammount is bigger than what is found in your anus.
http://navels.yourwildlife.org/
>>
>>57162027
Apparently, it's "Statically typed langugaes only please".
>>
>>57161847
Anon just include the xbox controller next time you have sex. Or ignore all the comments here.
>>
Church-encoded higher inductive types in cubical type theory. Well, that was easy. It's also nice because cubical type theory becomes parametric type theory when abstracted a bit, meaning you can derive induction and not just recursion.
Circle : U
Circle : (A : U) => (a : A) => Path (i -> A) a a => A

base : Circle
base A a p = a

loop : Path (i -> Circle) base base
(loop @ i) A a p = p @ i
>>
>>57162038
>using a language that is dynamic typing by default
>not using a language that simply allows you to dynamic type if you want
>>
>>57162039
I think you mean he should include himself next time she fucks the xbox controller.
Doesn't go well when the cuck challenges the bull. And this bull offers her more than sexual pleasure. He's screwed.
>>
>>57162049
explain paths to me
>>
>>57162069
>le cuck xD DD
Kill yourself.
>>
>>57162079
Heterogeneous equality that isn't a mere proposition, i.e. two terms of the same path type are not necessary equal. Integral to homotopy type theory.
>>
>>57162097
ok now explain it better
>>
>>57161516
> Le wymen don't like sex meme
>>
>>57161092
Bump? I thought you were the best of computer academia here at /dpt/. With all your fancy functional languages and fizzerbuzzin.
>>
>>57162121
Under the Curry-Howard correspondence, a term of the type
Path (i -> A) a a'
is a proof that a = a' given that their types are also equal.
>>
 a(()=>b(()=>c(()=>{})));
>>
>>57162167
>>57161092
anti idempotent

>>57162173
what does i -> A do
>>
>>57162190
It's to do with the cubical type theory part, but it's how you witness that the types are equal. If the dimension i is in the context, a type A is a line, a proof that the endpoints (the types of a and a' respectively) are equal.
>>
Hey /dpt/, question for you.

I convinced my side girl to use a vibrator when we have sex. Unfortunately she lives with her parents and isn't allowed to buy one, so I gave her the idea to turn her XBOX 360 controller into a vibrator. Her bf is a programmer and is tried to whip something up (she told him it was for "personal use" LOL) but he made the vibration motor spin way too much. What should I do? Is there a way to dampen the vibrations?
>>
>>57162212
is a line not sufficient
does it need to prove that they're equivalent in any context
>>
>>57162231
Kek
>>
File: CvMZ66TUsAITQ4O.jpg (79KB, 1200x732px) Image search: [Google]
CvMZ66TUsAITQ4O.jpg
79KB, 1200x732px
'''modern''' languages
>>
/!\ A L E R T /!\

New thread

>>57162274
>>57162274 >>57162274
>>57162274 >>57162274 >>57162274
>>57162274 >>57162274 >>57162274
>>57162274 >>57162274
>>57162274


/!\ A L E R T /!\
>>
>>57162190
>Idempotent
Doesn't seem to be relevant at all.
Are you trying to fool me into learning something nerd?
>>
>>57162311
one definition of an idempotent function is one for which
f (f x) = f x
>>
>>57161092
the number of possible output of sha-256 is

2**256 = 115792089237316195423570985008687907853269984665640564039457584007913129639936

if i am not outdated, there still no know collision for sha-256 !

i know i am not answering your question but this is all i know.
>>
>>57161092

>>/sci/8425658
>>
>>57162424
three alligator mouths chomping to the left, anon
>>
>>57162457
Yeah, I've totally butchered that, it's a post not a thread that I'm trying to link though.
Gonna use this dead thread to try it out...

>>>/sci/8425658
>>
>>57159188
>>57160739
>It may just be impossible.

You can't do it cleanly with vanilla C++11/14/17 variadic templates, but it should be pretty straightforward with Boost MPL.

The very building blocks of the library are compile-time iterable and searchable type sequences.

> http://www.boost.org/doc/libs/1_62_0/libs/mpl/doc/index.html
>>
>>57161500
Really, keep the vector approach.
In general, prefer member variables over inheritance where possible.
It's straight forward and reduces coupling, which is always a good thing.

Only use inheritance when you really want to express a is-a relationship between types.
Having to use inheritance just to share code, rather than expressing a real connection between types, is a bad sign.
>>
>>57160270
The analogy is correct, the gun does not move. It can change, but it doesn't move. Static means that the location is present from the start of the program to the end, so it is built into the executable (.data if initialized, .bss is not).
>>
>>57160041
I know cubical type theory, AMA.
>>
>>57159099
KYS please.
Thread posts: 363
Thread images: 23


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