[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: 341
Thread images: 33

File: 1494714311638.png (32KB, 1172x675px) Image search: [Google]
1494714311638.png
32KB, 1172x675px
Previous thread: >>60513923

What are you working on, /g/?
>>
File: 1495394420701.png (159KB, 1000x500px) Image search: [Google]
1495394420701.png
159KB, 1000x500px
a good programmer should be able to solve this with pen and paper in 10 minutes or less
>>
>>60519540
What cock cage does /dpt/ use?
Where did you guys bought it?
>>
Scala is the best JVM language.
>>
Best resource for learning Java?

Youtube channel with good tutortials, etc.

I want to take the Oracle Certified Associate, Java SE 7 Programmer exam by the end of next month.
>>
>>60519601
the one endorced by the rust community. Bought it from mozilla.com
>>
>>60519545
I'm gonna guess 7.
>>
>>60519545
27.
>>
File: wut.png (449KB, 610x482px) Image search: [Google]
wut.png
449KB, 610x482px
>>60519545
cut in half, then stack. then cut that stack in half.
rinse and repeat.
>>
>>60519624
I think this is correct.

1. Cut into 64 + 36
2. Cut into 3x32 + 4
3. Cut into 6x16 + 4
4. Cut into 12x8 + 4
5. Cut into 24x4 + 4
6. Cut into 48x2 + 2x2
7. Cut into 96x1 + 4x1
>>
>>60519681
bingo

in the general case it is log2(n) if n is a power of 2, log2(n) + 1 if n is not a power of two
>>
>>60519622
Is it pink? Did the lock come with a key?
>>
>>60519540
Lisp is such a joke.
So slow too, slower than Python I heard.
>>
>>60519696
>log2(n) + 1
floor(log2(n)) + 1
>>
>>60519624
Literally round up the result of log 2 (100) and you get 7, super easy
>>
>>60519663
2 * 50
4 * 25
8 * 12.5
>12.5 => x * 1
dumb nigger poster
>>
>>60519545
ceil(log(100)/log(2))
>>
File: IMG_7345.jpg (63KB, 457x610px) Image search: [Google]
IMG_7345.jpg
63KB, 457x610px
>>60519540
>sneaks behind her(the lady in OP)
>stealthily lift up her gown
>she says what are you doing anon, stop it, someone might see us
>doesn't listen to her advice
>she gets more and more turned on. Her nipple gets erect
>flirtatiously, puts my hand in her underwear.
>bonus:she is wet too
>after mild fingering, slowly slide down her underwear.
>tease her pussy with my cane while she gasps looking really satisfied.
>gently insert Moses's stick in her wet lubricated pussy while she is bent.
>in the middle of the action force down her dress, so as to expose her melons
>fondles and lick them while she's bouncing on my cock while shouting "ahh!ahh! Ahhh!ahhh!"
>sit on the potty deck and continue in missionary position while also sucking her tits.
>she cums. Brrrraapppp!
>Still keep fucking for a bit.
>I cum. Bbrraaaappppp!
>the mixture of her and my semen dripping from her pussy.
>I gently lick all the excessive semen from her pussy and she laughs uncontrollably due the tickling sensation
>get dressed up and continue on with the day
>at the dinner table, she's sitting beside me on an adjacent chair.
>gently get my hand under her gown and start to finger her....
>she's confused as hell on how to react and people looking at her clueless.
>and the legend continues
How was that? Did it make your dick hard? Like and subscribe to my YouTube channel for more such amazing content and comment about next topics you want to here fan fics about. Peace out!
>>
>>60519703
You heard wrong.
>>
>>60519703
Lisp is faster than python though.
>>
>>60519738
This is a programming thread, you shouldn't be able to fuck her if you her in your proper cock cage.

Do you even program?
>>
File: 1398702332389.jpg (112KB, 1024x729px) Image search: [Google]
1398702332389.jpg
112KB, 1024x729px
>>60519738
>>
>>60519748
>>60519745
It isn't.
>>
>>60519776
>>60519778
Don't bother, it's some pajeet from /pol/, with an ero pasta, he is spamming
>>
>>60519819
You can believe what you want, but remember, you'll always be wrong.
>>
File: Россия.png (287KB, 539x539px) Image search: [Google]
Россия.png
287KB, 539x539px
Hey, I'm learning C. No previous knowledge of programming.

I'm going through 2 books atm, "The C Programming Language", which I found kinda hard. And "Pratical C Programming", which I found a lot easier.

I know they are quite old and probably not up to date with current practices. I intend on picking up a more modern book after I finish these 2, but that will take a LONG time.

Would appreciate some advice or tips on how to proceed.
>>
>>60519854
Initialize all your variables.
>>
>>60519819
They're right, it is, just like 1.1 times faster though.
>>
>>60519872
This is incorrect also.
>>
>>60519854
just buy yourself an arduino, save yourself from the helloworld bullshit
>>
>>60519854
Are you russian?
>>
>>60519540
dumb frogposter this isn't reddit
>>
>>60519619
pls help
>>
>>60519619
>>60519997
>certification
https://www.docdroid.net/pQf8OjP/sierra-k-bates-b-oca-ocp-java-se-7-programmer-i-ii-study-guide-2015.pdf.html
just pajeet the shit out of this book and you're golden
>>
>>60519886
>posts no proof
>>
>>60519967
this place has been reddit since 2010, lurk more
>>
>>60520090
https://benchmarksgame.alioth.debian.org/u32/compare.php?lang=sbcl&lang2=python3
https://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=sbcl&lang2=python3
:^)
>>
>>60519867
I usually do. Except when I use a "for" and the variable in initialized in the begining of the "for".

>>60519957
I have googled what a arduino is, I still don't understand. Could you explain what it does?

>>60519960
No, I just like Russia.
>>
>>60520127
>1000+ seconds
why is this allowed
>>
>>60520127
This isn't very helpful.
It says on that site that haskell is slow.
It can't be right.
>>
want start ruby, have programming experience already. what's a good place to start?
>>
File: 1494219560695.jpg (420KB, 3200x1703px) Image search: [Google]
1494219560695.jpg
420KB, 3200x1703px
>>60519967
it may as well be
>>
File: 2017-05-21-174544_849x183_scrot.png (23KB, 849x183px) Image search: [Google]
2017-05-21-174544_849x183_scrot.png
23KB, 849x183px
>>60520127
Lmao
>>
>>60520172
I didn't expect this to make me laugh as hard as it did.
>>
File: 1452623946690.jpg (65KB, 1280x720px) Image search: [Google]
1452623946690.jpg
65KB, 1280x720px
>>60520123
>>60520185
go back into the shadow
>>
>>60520172
Well haskell is fast at generating garbage with speed of 1GB garbage / s.
Too bad that garbage generation isn't really useful in applications that needs to be fast in real time.
>>
>>60520179
>what's a good place to start?
2006
>>
>>60520134
Learn to code IRL , in 1 year i learned more than my friends in 4 years of programing.
Its' just simplified C++ but the process of learning it's hugely boosted , and as a bonus you learn the hardware stuff like sensors, I2C comunication.
>>
>>60520197
Haskell is faster than Java
>>
>>60520179
https://learnrubythehardway.org/book/

As a heads up, Ruby has implicit returns. Whatever the last evaluated expression was when a function finishes is what it will return, so you'll frequently find functions ending with seemingly nonsense or just a variable name.
You can do explicit returns via the return keyword, but it's not really "the ruby way"
Also use shovel operators for simple string concatenation and indentation should be two spaces.
If you're using a semicolon, you're writing mystical one-liner crap and should rethink it.
>>
File: ArduinoEnvironment.png (29KB, 640x624px) Image search: [Google]
ArduinoEnvironment.png
29KB, 640x624px
>>60520134
I mean look at this, you must be pretty retarded not to understand it after some time looking at it.
>>
>>60520193
oooooo 1 out of 10! this is UNBELIEVABLE performance. did you see the one where python didn't even work?
>>
>>60520193
yeah, if you look at the cpu load, the lisp version is mono cpu.
>>
learning about CSP

I feel like a brainlet ;_;
>>
>>60520246
alright cool, will get into that book when possible
>>
I'm learning PHP
>>
>>60519545
that "note" is a pretty essential piece of information
>>
What's the best language for me to learn for multi platform applications? Ive been out of the programming scene for years.

I just want to develop on my Macbook while I'm at work and then save to the cloud so I can work from my desktop at home(PC/Linux). I'm not super concerned with the mobile platform. Just need some type of web-viable databasing so I can create a few tools for me and some friends to share information faster than what is currently available to us.

I was thinking Java but I'm primarily looking for a way to create a good looking interface as well. Unless there's some libraries I don't know about, Java UI is hideous.
>>
>>60520302
I too am learning how to commit suicide.
>>
>>60519545
>>60520313
also this is just the base 2 logarithm you stupid weeb
>>
>>60520319
Join me. Let's do this together.
>>
>>60520327
>implying you wouldn't choke in an irl job interview
>>
>>60520319
>>60520344
>Cute boys doing cute things
>>
>>60520358
are you angry people think you question's stupid, interview roleplayer?
>>
>>60520251
SO it turns the LED on when something is high or turns it off when something is low, right?

I really can't but anything though but I think I understand the arduino. I had a teacher that spoke of this also.
>>
>>60520314
Common Lisp
>>
>>60520372
>being this insecure
you probably plagiarized the answer from the replies lmfao
>>
>>60520414
if you still don't see why that question's so stupid, you yourself are likely stupid
>>
>>60520388
What resources are available from front end development? What can I use to make it look good. What can I use as a back end and for server based features? Simple SQL with it?
>>
>>60520428
sure is mad in here
>>
>>60520246

>You can do explicit returns via the return keyword, but it's not really "the ruby way"
If you want to do early returns, you're kinda forced to do it.

>Shovel operator
Whoever came up with this name needs a good right hook to the jaw.
>>
>>60520444
https://github.com/fukamachi/clack
http://8arrow.org/caveman/
>>
>>60519854
these books are kinda trash, try Kenneth Reek `Pointers on C`. you can find a copy on the internets.
>>
>>60520376
Well, somehow, but not in this case. This case is much simpler. You just specify the board you have a led conected to pin 13 , then you tell it to light it, wait 1 second, turn it off, wait another second, repeat to infinity. That's how simple it is.HIGH means put 5 volts trough pin 13 and LOW means shut off that curent. In this case pin 13 is used only as an output pin.
>>
>>60520594
I see so it just keeps turning on and off.

I understand that learning programming in this way can be helpful because you have a visible representation of what you are doing.

>>60520589
Okay, thank you, will check it out.
>>
>>60520651
Really, buy an arduino and a bunch of sensors, you have to spend at max 20 dollars, but it worth it so much belive me , it's the most simple way to bind coding and real time variables, plus tons of tutorials all over the internet.
I have been playing with arduino for 4 years now as a hobby, and made some money making simple electronic controlers throughout college.
I've been trying to learn C since 9th grade but no one would explain shit to me , and manuals would just feed the same helloworld bullshit nonsense with no real aplication. Sorry for the scrambled ideas but a lot of programing frustation had to be put off.
>>
>>60520470
quicko question:
In ruby, if I declare a 2D array of 0's like so
arr = Array.new(5) { Array.new(5, 0) }

What would be the best way to iterate over a specific xy coordinate to fill everything in that column and row?

E.G. if I have (3,4) then I want
[0,0,0,0,1]
[0,0,0,0,1]
[0,0,0,0,1]
[1,1,1,1,1]
[0,0,0,0,1]


I'm not sure how to specify these things because (to my knowledge) Ruby doesn't have a concept of 2D arrays like C. i.e. I can't just say arr[x][y] and iterate over it like that
>>
>>60519819
I haven't tested Python and Lisp side-by-side on the same algorithms, but Python's slowness always seemed to stand out to me, while I didn't have that issue with Lisp.
>>
>>60520848
These benchmark websites are always run by somebody with an agenda. Somebody submits an example in a language that beats the site operator's favorite language? "Didn't compile!" "Didn't run successfully!"
>>
>>60520775
Thanks man, really interesting stuff, I'll try to get a hold of one.

I definitely know about programming frustration, and dealing with manuals is hard. I put up with it because I want a career in the area, and realize it will take me years to learn, and I'm not young to be starting.
>>
>>60520868
Waaahhhh! Everything's a conspiracy! >>>/pol/
>>
>>60520127
Not fair, SBCL is compiled, unlike Python. Comparing it with an interpreted Lisp would be more meaningful.
>>
>>60520868
They're not meant to be taken as an objective, pure comparison of speed. They're meant to be used to take averages of languages overall memory usage and speed.
Which if you look literally anywhere else or read any articles of systems that switch languages, you'll find similar results.

Some shit like regex-redux runs blisteringly fast in PHP despite PHP taking ten quintillion years to do some other far more simple task.
>>
I finished implementing an ORM and JWT in a Golang + React progressive web app I've been working on.

Pretty fun so far. Golang is a nice change of pace than my regular C/C++/NodeJS backend.
>>
>>60520893
It's not SBCL's fault that Python isn't compiled. Sounds like Python's fault if anything. This is the problem with letting people like Guido design languages, the languages end up being shit.
>>
>>60520892
You just confirmed my suspicion that you along with most of this thread are straight from plebbit. He wasn't even stating a /pol/ opinion, you have to go back.
>>
>>60520952
>plebbit
>>>/r/abbit
>>
>>60520944
>the languages end up being shit
How is this a bad thing? Do you think retards (the target audience of languages like Python) will use better languages?
>>
>>60520936
Golang gets a shit rep for being a meme language but it's pretty damn enjoyable to write in
>>
>>60520981
I hope they'll either learn to program properly or stop programming altogether.
>>
>>60520975
>>>/b/

>>60520985
>meme
>>>/v/
>>
why is it so hard to find an ide that works with cmake projects and is as good as visual studio?
I'm looking for a nice ide to work with ROS, but every ide I tried is lacking.
>>
>>60521000
emacs
>>
>>60520985
Congrats on the lobotomy!
>>
>>60520996
>literal spam
>>>/trash/
>>
>>60520975
>>60520996
Deallocate yourself.
>>
>>60520868
>Can't do any programming
>hurr durr why won't the compiler listen to me waaaah
typical /g/ toddler
>>
>tfw struggling with python

Help me lads
I'm about to buy some online course just to learn it ;_;
>>
>>60520790

>I can't just say arr[x][y] and iterate over it like that
Yes you can.

Ruby does 2D arrays using arrays of arrays. So you send the :[] message, you get an Array. You send the :[] message to that array, you get a Fixnum.

If you had
x = [
[0,0,0,0,1],
[0,0,0,0,1],
[0,0,0,0,1],
[1,1,1,1,2],
[0,0,0,0,1]
]


then if you did this:
puts x[3][4]


It would print 2. Because this expression:
x[3]

evaluates to
[1,1,1,1,2]


and this expression:
[1,1,1,1,2][4]


evaluates to 2.
>>
>>60521122
Learn Lisp.
>>
File: 1460875240093.jpg (57KB, 570x720px) Image search: [Google]
1460875240093.jpg
57KB, 570x720px
>>60521021
>>60521073
>>60521122
Who said that though??
>>
>>60521145
Well don't I feel retarded.
>>
>>60521149
This meme should've died
>>
>>60521158
You probably got shadow banned for not being able to see the origin of my quotes
>>
>>60521180
What the hell is a "shadow ban"? Is it like a false flag operation?
>>
>>60521175
It is objectively the most powerful programming language.
>>
>>60521197
No it's a ban where you can't see certain posts without a 4chan gold account
>>
>>60521198
What is a "powerful language"?
>>
>>60521219
One that isn't shit. (see: Haskell)
>>
Post exotic hello world programs.
>https://ptpb.pw/nKBB.c/c
>>
>>60521174

Everything in Ruby is objects and message passing. When you use the [] operator, you're just sending a message to an object and getting an object back. Multiple [] operators is just method chaining.
>>
>>60521229
What is a "shit language"? And how do you determine if one language is more "powerful" than another language?
>>
>>60521229
Please do not mention hask*ll ITT. Spamming is not encouraged
>>
>>60521254
>What is a "shit language"?
trashkell
>>
>>60521254
>What is a shit language
Ruby, PHP, and JavaScript for starters.
>>
>>60521254
Java
>>
>>60521266
>>60521260
Do you hate it because you don't understand it?
I, for one, am not really good at it, so I just don't talk about it.
>>
>>60520314
>I was thinking Java but I'm primarily looking for a way to create a good looking interface as well. Unless there's some libraries I don't know about, Java UI is hideous.
JavaFX, specifically https://github.com/edvin/tornadofx

or you could just use electron

also pic rel UI is done in Java, so you can't really use blanket statements like "Java UI is hideous"
>>
>>60521254
Any "functional" programming language
Like Javascript, h*kell etc
>>
>>60521284
>I, for one, am not really good at it, so I just don't talk about it.
*tips euphorically*
>>
>>60521266
So is it the only shit language? If I create a dialect of Haskell is it also a shit language?
>>60521268
>>60521272
Is there a decision procedure for determining if a language is shit?
>>60521284
I don't know about him, but I understand it and I hate it.
>>60521295
What is a "function" "language"?
>>
>>60521303
While programming in a language, you must determine if you suddenly acquire the desire to poo in the street.
>>
>>60521303
>What is a "function" "language"?
You tell me, since you brought those two words together.
>>
>>60521294
But that UI looks horribad
>>
>>60521315
Sorry, I meant "functional" "language".
>>
File: Modulator_Zoo_6C.gif (599KB, 1400x548px) Image search: [Google]
Modulator_Zoo_6C.gif
599KB, 1400x548px
>>60521319
you're mom looks horribad
>>
>>60520936
So I take it you would recommend Go as a backend sol for someone with C/C++ background?
>>
>>60520936
>web app
>>>/g/wdg/
>>
>start learning a new programming language
>frustrated
>Good programmer: "Hmm, I should learn it some more, my ignorance frustrates me."
>Bad programmer: "I should bitch about that language on /dpt/"
>>
File: 1457893150514.png (278KB, 706x412px) Image search: [Google]
1457893150514.png
278KB, 706x412px
>>60521355
Where can I read the full story?
>>
Never actually used the SQLite API before. Holy shit this is so much better than using hacky custom formats. No more worrying about race conditions and atomicity and fragile binary dump structures. I don't know why it isn't the standard for more stuff.
>>
>>60520314
Electron seems to be a way to go in 2017 as far as crossplatform meme goes
>>
>>60521355
>>start learning a new programming language
>>frustrated
>>Good programmer: "Hmm, I should move onto some language that's actually enjoyable."
>>Bad programmer: "I should defend my language on /dpt/, my language is good! is GOOD!"
>>
>>60521375
>>60521380
Not programming related.
>>>/g/wdg/
>>
>>60521343
programming is a part of web development :^)

>>60521355
>Good programmer: "Hmm, I should learn it some more, my ignorance frustrates me."
That's reasonable only if the language is not shit.
>>
@60521396
>web """""development"""""
>:^)
We don't like your kind around here.
>>>/g/wdg/
>>>/v/
>>
Are you guys jealous because a cs degree doesn't give you practical skills?
>>
>>60521389
>SQLite API as in Application PROGRAMMING Interface
>Not programming related

>>60521409
you seem frustrated
>>
>>60521355
>start leaning chapel
>that shitty language can't even call to the libraries that was compiled with it
>>
>>60521380

Realistically, give one good reason to use Electron over Qt Quick.
>>
>>60521422
>SQLite
Not programming related.
Please use >>>/g/wdg/
>>
>>60521436
Easier development
>>
>>60521457
>""development""
see >>60521441
>>
>>60521441
It's "SQLite API", not "SQLite". Are you brain damaged?
>>
meme
>>
>>60521415
Are you jealous because you don't understand why your code is slow, so you need to spend next week hunting for another snippet to copy from StackOverflow and hoping it's faster?
>>
>>60521482
>SQLite
Please discuss web "dev" related things on >>>/g/wdg/
This is /dpt/.
>>
>>60521465
Hi, gate keeper.
>>
>>60521489
>code
see >>60521490
>>
>>60521457

But you produce a shittier product. Now give me a reason why someone who actually knows how to use C++ should give a fuck about Electron.
>>
>>60521490
SQLite is widely used in desktop software.
>>
>>60521497
If you spend all your time complaining about the "gate keeper", you won't ever improve enough to be able to contribute to /dpt/.
>>
>>60521505
"Coding" is not "webdev". Aren't you CS types supposed to be good at logic?
>>
>>60521489
>implying
I can learn all of cs concepts outside of a cs degree.

Too bad you can't hold a job, how many cs majors even know how to fizzbuzz? :^)
>>
>>60521490

SQLite is not necessarily a web technology. It's an embedded database. So if you have, say, a desktop or mobile application that needs to interact with some relational data, you might keep the database on the device and interact with it using libsqlite.
>>
>>60521520
>Too bad you can hold a job
I know man, life would be so much better if I were unemployed and living in my parents' basement but I just can't seem to stop earning money.
>>
>>60521516
People may not like C or C++ and that's completely fine.

Honestly there should be a language-universal GUI toolkit. Electron is not the solution but I wouldn't go anywhere near C/C++
>>
>>60521389
I'm not using it for the web. It would be inappropriate for all but the smallest webapps.
>>
>>60521436
Each and every piece of software developed in Qt I've seen is bloated, ugly and has poor UX. It might be a coincidence, but I doubt it.
>>
int hours = floor(secondsIn / oneHour);
int minutes = fmin(59, (floor((secondsIn - (oneHour * hours)) / oneMinute)));
int seconds = fmin(59, (secondsIn - ((oneHour * hours) + (oneMinute * minutes))));


    
int hours = 0;
int minutes = 0;
int seconds = 0;
while (secondsInput > 0) {
if ((secondsInput - oneHour) > 0) {
hours++;
secondsInput -= oneHour;
} else if ((secondsInput - oneMinute) > 0) {
minutes++;
secondsInput -= oneMinute;
} else {
seconds++;
secondsInput -= oneSecond;
}
}


What method is faster?
>>
>>60521547
>I can learn all of cs concepts outside of a cs degree.
Doubtful, if you weren't even good enough to get into a cs degree program.
>>
>>60521517
>desktop """software"""
Please see >>60521490

>>60521525
"coding" is not programming.
Discuss it in some other place. I honestly don't care where you do it as long as it's not here.
>CS types
I never claimed to be a *""S"" "type".

>>60521565
>webapps
Discuss that on >>>/g/wdg/
>>
>>60521589
software is now web related?

>>60521589
>"coding" is not programming.
coding is a part of programming, namely the implementation part
>>
qt ugly as fuck, noone will buy an app this ugly except for geeks and i prefer to sell to normies. ditched qt and gtk for electron, never look back.
>>
>>60521566
>"UX"
Not programming related.
Discuss that on >>>/g/wdg/

>>60521605
>coding is a part of programming
No. You are mistaken. Discuss "coding" on >>>/g/wdg/
>>
My 5 years of experience writing half-finished hobby projects in awful JS, PHP, and Python is just as good as any CS degree! Why won't you hire me?? Are you part of the CS degree mafia too?! Stop oppressing me!!!
>>
>>60521436
Eh, I'd pick js/css/html over non-idiomatic C++ any day of the week desu senpai, for a quick crossplatform gui that is. It's just, I kinda know webshit and I know C++ but I don't know Qt C++ and what is more important it's not applicable anywhere outside of Qt.

Anyway, crossplatform gui has always been kinda crap

>>60521566
I am not saying you are wrong but using this argument when debating about Electron vs Qt, come on lad
>>
>>60521611
>app
>electron
Discuss such trash on >>>/g/wdg/

>>60521622
>JS, PHP,
Doesn't belong here. Discuss it on >>>/g/wdg/

>>60521623
>I kinda know webshit
You don't belong here. Stay in your containment thread >>>/g/wdg/
>>
>>60521641
eat dick

now the question is: react or vue?
>>
>>60521641
Show me a browser that runs PHP.
>>
>>60521641
You are trying to send people to other places faster than Haskell (1 GB/s)
>>
>>60521589
>>60521614
>>60521641
someone quick trace his eye pee and send help, he's having an attack
>>
>>60521623
>I'd pick js/css/html over
See >>60521490

>>60521660
>PHP
Please discuss that on >>>/g/wdg/
>>
>>60521664
kek
>>
>>60521548
>mobile application
>device
>>>/wdg/
>>
>>60521547
CS has nothing to do with programming thou, CS for softdev is like astronomy for telescopes lol

This is CS for example
https://www.youtube.com/watch?v=0JUN9aDxVmI
>>
>>60521578
Put a timer on it and find out, fagfuck
>>
Working on my imageboard, 4kev.org
>>
>>60521664
underrated
>>
WELL I MAY NOT KNOW ANY OF THAT FANCY SCHMANCY CS BULLCRAP OR HAVE ANY ACADEMIC CREDENTIALS AT ALL BUT I CAN WRITE HELLO WORLD IN TEN DIFFERENT COMPUTER LANGUAGES AS YOU CAN SEE I AM A MUCH MORE VALUABLE ASSET TO YOUR COMPANY THAN AN MIT GRAD
>>
router bots need to btfo, please report
>>
>>60521563

Oh wow, good thing Qt and GTK have bindings to fucking everything!
>>
>>60521701
dumb eggposter
>>
>>60521701
>Redirecting webdev discussion to the webdev general
>a bad thing
I hope whoever gookmoot hires as a janitor deletes all the worthless shit you post
>>
>>60521688
>soft"dev"
Discuss that on >>>/g/wdg/ or on some other place. This is the "Daily Programming Thread".
>>
>>60521716
It's too bad both of them are utter dogshit
>>
I see gatekeepers having a blast today

developing an WebApp right now btw
>>
>>60521716
JS shitters will never not try to justify their laziness no matter what a bad experience their users have, nor will they ever attempt to learn another language (which is how we came to have node and electron). Truly the worst "developers", they are largely responsible for the decline of software engineering over the last decade. By democratizing software we have killed it.
>>
>>60521716
>Not thumbnails in the file picker
>>
>>60521589
Getting triggered? Don't worry I'll trigger all the buzzwords.

webdev
javascript
typescript
react
angular
java
jquery
webapps
electron
chrome tabs
design trends
UX
coding
code
koding
kode
scripting
publishing
azure
docker
apache
php
spas
wamp
servers
http
requests
responses
get
post
delete
update
put
json
xml
html
html5
css
sass
framework
golang
asp.net
asp.net core
app
material design
bootstrap
nosql
mongodb
sqlite
mysql
wdg
web development general
mobile webapp
node.js
node.js exploits
websockets
abstraction
hasklel
python
routing
serverside
bi directional
todo
microsoft
google
facebook
mozilla
firefox
>>
File: 1213644657399.jpg (111KB, 255x288px) Image search: [Google]
1213644657399.jpg
111KB, 255x288px
>>60521749
>>
>>60521749
saved
>>
>>60521692
>imageboard
see >>60521490
>>
>>60521563
>Electron
Discuss that in some other thread. I recommend >>>/g/wdg/

>>60521740
>WebApp
Sorry, that doesn't belong here. Discuss it on >>>/g/wdg/

>>60521747
>JS
>node and electron
This is not programming. Please take it to some other thread such as >>>/g/wdg/
>>
>>60521740
same here, meme lad, web apps for life amirite
>>
>Isomorphic JavaScript

>JavaScript applications which run both client-side and server-side. Isomorphic JavaScript frameworks are the next step in the evolution of JavaScript frameworks.

That's not what isomorphic means
>>
File: mlady.png (207KB, 474x432px) Image search: [Google]
mlady.png
207KB, 474x432px
>>60521759
>see >>
>(in referred post) >>>/
>>>/trash/
>>
>>60521740
>gatekeepers
>plural
>>
You know, I feel like the whole webshit problem is actually "general programmers" fault. You have always been to busy le hacking kernels and being smug about webdev. Result? Literal Netscape retard comes up with an ugly language in 10 days, this language being used up to this day. Where were you? Why haven't you saved the tech?
>>
>>60521761
Why don't you code a script to make those posts for you?
>>
All shitposting aside,
Rust is just
>>
File: dum forgpopstr.png (22KB, 296x378px) Image search: [Google]
dum forgpopstr.png
22KB, 296x378px
>>60521761
> >>>/
> >>>/
> >>>/
>>>/trash/
>>
>>60521773
The referred post contained the reason for the referral.
>>
>>60521783
too busy writing useless console apps lol
>>
>>60521783
Like things are any better over here. What is the current state of backend programming? Go? Python? Ruby? Absolute fucking garbage.
>>
>>60521563
Any that export C bindings are effectively language-universal though. And the language you write the GUI in doesn't need to be the language you write the "main" logic in either.
>>
>>60521763
>JavaScript applications
JavaScript is isomorphic to shit and shouldn't be posted here.
Think about it for a while >>60521761

>>60521785
>code a script
That doesn't belong here. Discuss it on >>>/g/wdg/

>>60521808
>apps
Not programming.
>>
>>60521776
It is plural though. There's the faggot who keeps telling everyone to go to /v/ and /g/wdg/, and then there's the only slightly less of a faggot who keeps posting irrelevant pictures while telling everyone who tells anyone to go anywhere to go to /trash/.
>>
>>60521821
>>60521749
>>
Is there a use of JS+HTML that falls under "programming" rather than "webdev"?
>>
>>60521783
>webshit
>web """dev"""
Please post that on >>>/g/wdg/
It is not programming and doesn't belong in this thread.
>>
File: 192.png (217KB, 600x600px) Image search: [Google]
192.png
217KB, 600x600px
>>60521821
> >>>/
>>>/trash/
>>
>>60521824
And there's me who tells you to get a CS degree before posting here. Didn't get one? Well boo-hoo, whose fault is that? Yours.
>>
>>60521821
i told you to eat dick, how did you managed to do eat so fast?

now eat a bag of dicks
>>
>>60521783
Actual programmers can create a shitlang during coffee break.
>>
>>60521761
>Electron
>A framework specifically designed to bring webapps to the desktop
>Belong in webdev
You are easily the most obnoxious, cancerous fuck on this board. You're worse than tripfag because you're immediately identifiable even without a tripcode.
>>
>>60521845
> >>>/
>>>/trash/
>>
File: 1487104280216.jpg (170KB, 806x605px) Image search: [Google]
1487104280216.jpg
170KB, 806x605px
>>60519738
If you want to describe a feeling of comfort and satisfaction, by all means say you are "content," but using the word as a noun to describe written and other works of authorship adopts an attitude you might rather avoid. It regards these works as a commodity whose purpose is to fill a box and make money. In effect, it disparages the works themselves.

Those who use this term are often the publishers that push for increased copyright power in the name of the authors ("creators," as they say) of the works. The term "content" reveals their real attitude towards these works and their authors. (See Courtney Love's open letter to Steve Case and search for "content provider" in that page. Alas, Ms. Love is unaware that the term "intellectual property" is also biased and confusing.)

However, as long as other people use the term "content provider", political dissidents can well call themselves "malcontent providers".

The term "content management" takes the prize for vacuity. "Content" means "some sort of information," and "management" in this shadow means "doing something with it." So a "content management setup" is a setup for doing something to some sort of information. Nearly all programs fit that description.

In most cases, that term really refers to a setup for updating pages on a web site. For that, we recommend the term "web site revision setup" (WRS).
>>
>>60521409
Why do you send people in /v/? I don't even like videogames
>>
>>60521842
>JS+HTML
>web ""dev""
Not programming related. If you wish to discuss such trash then do so in >>>/g/wdg/

>>60521864
>webapps
Sorry, but that's not programming. Which means it does not belong here. Discuss it on >>>/g/wdg/
>>
this thread is full of people with hate towards each other, while wdg has people who help each other.

really makes me think
>>
>>60521848
>And there's me who tells you to get a CS degree before posting here.
No, fuck you.
>Didn't get one?
Nope.
>Well boo-hoo, whose fault is that? Yours.
Wrong. It's my parents' fault for not having me at an earlier date.
>>
>>60521864
>framework
Discuss it on >>>/g/wdg/
"frameworks" aren't programming related.

>>60521878
>while wdg has people who help each other
Good. Then go there and never come back.
>>
>>60521878
>full of people with hate towards each other, while wdg has people who help each other.
one* person
>>
File: 1487230052357.jpg (24KB, 430x270px) Image search: [Google]
1487230052357.jpg
24KB, 430x270px
>>60520314
I would simply like to interject for one short while. What you're referring to as Linux, is really, GNU/Linux, or as I just the other day began to call it, GNU + Linux. Linux isn't an OS by itself, but really another free component of a fully operational GNU setup fashioned into something practical by the GNU core libraries, shell facilities and essential setup components fulfilling a full OS as defined by POSIX.

There are a substantial number holders use a altered edition of the original setup everyday, but do not realize it. Through a strange series of situations, the edition of GNU that is being widely used now is often called "Linux", and a substantial number of its holders do not know that it is in actuality the GNU setup, made by the FSF.

There truly is a Linux, and this population are indeed using it, but it is simply a part of the setup they use. Linux is the core: the program in the setup that gives out the machine's resources to the other programs that you run. The core is a necessary part of an OS, but cannot work on its own; it will work only in the structure of a whole OS. Linux is often paired with the GNU OS: the whole setup is in actuality GNU with the addition of Linux, or GNU/Linux. All the alleged "Linux" distros are really distros of GNU/Linux.
>>
File: macfags btfo.png (557KB, 800x1026px) Image search: [Google]
macfags btfo.png
557KB, 800x1026px
>>60521877
> >>>/
>>>/trash/
>>
File: Nick_Jr._LazyTown_Sportacus_4.png (817KB, 1350x900px) Image search: [Google]
Nick_Jr._LazyTown_Sportacus_4.png
817KB, 1350x900px
>>60521891
> >>>/
>>>/trash/
>>
>>60521888
No, it's your own fault for not getting a CS degree. Stop making excuses. Get the degree or get out.
>>
>>60521932
>No, it's your own fault for not getting a CS degree.
wrong, how the fuck am i supposed to get a degree i'm literally a junior
>Stop making excuses.
yeah ok w/e
>Get the degree or get out.
no fuck you i'm staying, what you gonna cry about it
>>
>>60521910
>PC = Heart attack at 50
>Mac = Expensive, but healthy
>Linux = Fucking leaves and you starve to death waiting for them to grow into edible food
>>
>>60521749
abstraction
angular
apache
app
asp.net
asp.net core
azure
bi directional
bootstrap
chrome tabs
code
coding
css
delete
design trends
docker
electron
facebook
firefox
framework
get
golang
google
hasklel
html
html5
http
java
javascript
jquery
json
kode
koding
material design
microsoft
mobile webapp
mongodb
mozilla
mysql
node.js
node.js exploits
nosql
php
post
publishing
put
python
react
requests
responses
routing
sass
scripting
servers
serverside
spas
sqlite
todo
typescript
update
UX
wamp
wdg
webapps
webdev
web development general
websockets
xml

I couldn't help a little | sort, it should improve the triggering efficiency since you can easily spot your personal trigger words
>>
>>60521898
>Linux
not programming related.
>>>/g/wdg/

>>60521932
CS degree
not programming related.
>>>/g/wdg/
>>
File: compiling.png (22KB, 451x342px) Image search: [Google]
compiling.png
22KB, 451x342px
What's the procedure for debugging huge ass applications? Attaching GDB takes like 2 minutes everytime, and adding debug messages then recompiling+relinking (with ccache) takes about the same amount of time. Writing unit tests doesn't seem possible because the things that need to be tested rely on so much other shit that it's not much different than recompiling the whole thing. Is this the fate of large established codebases? Or is there an easier way that I am unaware of?

Because it's a bit of a pain in the ass.
>>
>>60521953
I'm going to continue gatekeeping and, based on past experience, you're going to cry about it.
>>
>>60521747
>JS shitters will never not try to justify their laziness no matter what a bad experience their users have
Lately I've been using an electron app daily (vscode) and my experience has been.
As for the little thing I'm doing in electron myself - I've evaluated other options and this is just the best thing for the job.

>>60521783
>Where were you? Why haven't you saved the tech?
in their fathers' ballsacks

>>60521842
yes, the part when you're writing javascript
>>
Should I fall for Emacs? It seems to me that everyone who bothered to actually learn are pretty happy with their professional lives
>>
>>60521959
>the macfag is so spoiled he would starve if he had to grow his own food
>mfw
>>
>>60521968
Cross your fingers and pray
>>
>>60521974
>electron app
>javascript
Not programming. Discuss that on >>>/g/wdg
>>
>>60521980

Waiting for food to grow is like waiting for the year of the linux desktop.
>>
>>60521749
Pyth*n is not so bad though, it's allowed to be discussed here, and so is Hask*l and G*lang
>>
File: 5CJTPZ4.jpg (466KB, 1600x2200px) Image search: [Google]
5CJTPZ4.jpg
466KB, 1600x2200px
>>60521964
> >>>/
>>>/trash/
>>
>>60521974
>I've evaluated other options and this is just the best thing for the job.
Because you're lazy, you don't care about your users' experience, and you can't or won't learn another language.
>>
>>60521964
You are fake news.
>>
very related
https://www.youtube.com/watch?v=aa9eksbc_lE
>>
File: 07d.jpg (239KB, 500x750px) Image search: [Google]
07d.jpg
239KB, 500x750px
>>60521995
> >>>/
>>>/trash/
>>
>>60521977
Yes.
>>
>>60521749
I sorted them for you famfam. They trigger me more when they're unsorted.

abstraction
angular
apache
app
asp.net
asp.net core
azure
bi directional
bootstrap
chrome tabs
code
coding
css
delete
design trends
docker
electron
facebook
firefox
framework
get
golang
google
hasklel
html
html5
http
java
javascript
jquery
json
kode
koding
material design
microsoft
mobile webapp
mongodb
mozilla
mysql
node.js
node.js exploits
nosql
php
post
publishing
put
python
react
requests
responses
routing
sass
scripting
servers
serverside
spas
sqlite
todo
typescript
update
UX
wamp
wdg
webapps
webdev
web development general
websockets
xml
>>
Ok, /dpt/ help me out
>custom "Code artisan" t-shirt
>Mac air 13'' with Debian installed
>Atom in Vim mode
>Ruby
Something to add?
>>
>>60521973
Please elaborate on this supposed "past experience"
>>
>>60521964
>programming
Not programming related
>>>/g/wdg/
>>
https://www.youtube.com/watch?v=H5Vzo-iPGCo
>>
>>60522032
Suave space toad
>>
>>60522032
Butt-plug
>>
>>60522040
>programming
Not programming related
>>>/g/wdg/
>>
>>60521968
>What's the procedure for debugging huge ass applications?
Unit tests.
>Writing unit tests doesn't seem possible because the things that need to be tested rely on so much other shit that it's not much different than recompiling the whole thing.
I've got a two-tier solution for you.
1) Refactor your code to make it more modular. Since this project sounds enormous enough that you're probably doing it with other people, convince them to do the same.
2) Unit tests.
>>
https://www.youtube.com/watch?v=6Pg8dCvKORk
>>
>>60521995
>making my notification pop up over my reply form with your bullshit post as I'm replying to another thread
that's rude

>>60522010
>you don't care about your users' experience
I do. Electron is great for creating usable UIs, and my user experience with the apps based on electron/cef/nw.js I've been using has been good.
>and you can't or won't learn another language
I know several of them well enough and at this point picking up another one is not a problem. I'm more interested in the tooling available.

>>60522032
well, at least there's the vim mode
>>
>>60522063
see >>60522063
>>
There hasn't been a lot of programming discussion on /dpt/ in a while... I recommend the removal of gate keeper and pushing discussion of type theory to a separate thread. Allow discussion of web development, so long as it does not dominate the thread (people who shun I/O and turing completeness don't really write software). Encourage discussion of mobile, desktop, and embedded programming to bring about a more diverse range of programmer types.

What does everyone think of this plan?
>>
https://www.youtube.com/watch?v=pWx86_IoZHs
>>
I donated $10 to some girl code non-profit once
>>
File: hqdefault (2).jpg (11KB, 480x360px) Image search: [Google]
hqdefault (2).jpg
11KB, 480x360px
>>60521973
until kgb will put a soldering iron up admin's ass, share your ip with dpt, then i come to your house, rape your mother with your sisters cutoff head while you will be watching, then cutoff your mothers head, rape it with your sisters head, than rape you with your mothers head raped by your sisters head. then i am gonna cutoff your head and facefuck your head with your sisters head, while you watch from hell. livestream it on /dpt/. set your house on fire. now do you want me to use condoms or not? i don't want your mother's cutoff head to catch aids because i've gone raw into your sister prior to that.
>>
>>60522000
all three are unironically shit
>>
>>60522091
No. Shut up.
This thread had a cancerous OP picture, so it's doomed to have cancerous discussion.
>>
>>60522084
>>making my notification pop up over my reply form with your bullshit post as I'm replying to another thread
That other thread, is it by any chance /wdg/? Because if it is, just close this tab and stay there.
>>
>>60522091
>removal of gate keeper
The fuck is gate keeper
>>
>>60522091
An absolutely terrible plan. I'd expect nothing else from someone who idolizes Ruby. I liked you better when I thought you were female, not a fan of dynamic trash.
>>
>>60522098
""""non-profit""""

you just made some (possibly male) bay area executive $10 richer
>>
https://www.youtube.com/watch?v=0wxGVztsmjg
>>
>>60522101
That's not the point. They're not web-related per se, ergo they're allowed to be discussed here.
>>
>>60522128
WE
>>
>>60522091
>I/O
Sorry, this is a thread about programming, not ``softdev"
>>
>>60522116
https://np leddit com/r/gatekeeping/top?t=all
>>
https://www.youtube.com/watch?v=lHC10q_a7Nc
>>
>>60522128
Why do black women think they're allowed to """code"""?
>>
>>60522128
I like black girls so goddamn much, sheeet. How do I get a job in America?
>>
>>60522149
Not opening that site for any reason. All you're telling me is that it's reddit cancer, which means it should be deleted my mods immediately anyways.
>>
>>60522084
>Electron
>electron/cef/nw.js
>"tooling"
Use >>>/g/wdg/ instead. This thread is about programming.

>>60522091
>Allow discussion of web development
>mobile, desktop
Discuss that on >>>/g/wdg/

>>60522135
>web-related
That's not programming related. Take it to >>>/g/wdg/
>>
>>60522110
no, sorry
>>
https://www.youtube.com/watch?v=2Viy2UFyb7U
>>
File: 1488836659135.jpg (174KB, 754x566px) Image search: [Google]
1488836659135.jpg
174KB, 754x566px
>>60521998
I would simply like to interject for one short while. What you're alluding to as Linux, is in fact, GNU/Linux, or as I simply the other day began to call it, GNU and Linux. Linux is not an OS on its own, but really another free piece of a fully working GNU setup fashioned into something practical by the GNU libraries, terminal tools and vital setup components completing a full OS as defined by POSIX.

There are numerous holders use a subspecies of the original setup everyday, without knowing it. By a unseen series of situations, the version of GNU which is widely utilized today is often called "Linux", and many of its holders do not know that it is really the GNU setup, created by the FSF.

There is in fact a Linux, and this population do have it installed, but it is simply a part of the setup they use. Linux is the core: the part of the setup that distributes the machine's resources to the other programs that you run. The core is a necessary part of an OS, but cannot work on its own; it can only function in the shadow of a fully developed OS. Linux is most commonly utilized in combination with the GNU OS: the whole setup is really GNU with the addition of Linux, or GNU/Linux. All the "Linux" distros are really distros of GNU/Linux.
>>
>>60522091
>Ruby !ImaTripfag
Stopped reading right there.
>>
>>60522192
i'm a fag
>>
>>60522192
>Ruby
Please discuss that on >>>/g/wdg/
It is not programming and therefore it doesn't belong in the Daily Programming Thread.
>>
So I'm trying to test a template class header and source file to make sure I'm doing it right but I keep getting linker errors. Do I need a test file to properly test it or something?
>>
>>60521968
refactor and write functions that are SUPER easy to unit test
>>
>>60522177
>>web-related
>That's not programming related. Take it to >>>/g/wdg/
I said NOT web-related. Open your fucking eyes.
>>
https://www.youtube.com/watch?v=xlaFbTPVJow
>>
>>60522203
Ruby is regularly used outside of rails, most frequently in management and deployment scripts.
>>
>>60522211
>web-related
Discuss it on >>>/g/wdg or some other place.
>>
The C programming language is one of the best programming languages ever, am I right‽
>>
>>60522230
>>>>/g/wdg
Discuss it on >>>/g/wdg or some other place.
>>
>>60522241
No
>>
>>60522241
It's akin to JavaScript
>>
>>60522227
>Ruby
>rails
>""deployment"" scripts
Not programming related.
I suggest you discuss this in a thread where more people like the kind of garbage you like.
Here is one such thread >>>/g/wdg/
>>
File: titsgtfoorban.jpg (92KB, 782x387px) Image search: [Google]
titsgtfoorban.jpg
92KB, 782x387px
>>60522116
The guy that keeps telling people to go to /wdg/.

>>60522118
Anon, the default assumption for each and every individual on 4chan should be that they are male, with zero exceptions.

Also, dynamic languages have their uses. Deal with it.

>>60522148
Software development is just another term for computer programming.

>>60522177
Web development, mobile development, and desktop development are all programming.

I recommend that you go >>>/out/
>>
I miss when the spam in these threads was about how C wasn't a language worth using anymore, instead of just literal spam.
>>
>>60522227
>scripts
Please discuss that on >>>/g/wdg/
It is not programming and therefore it doesn't belong in the Daily Programming Thread.

>>60522251
>JavaScript
Please discuss that on >>>/g/wdg/
It is not programming and therefore it doesn't belong in the Daily Programming Thread.
>>
>>60522251
>JavaScript
Not programming related. Discuss it on >>>/g/wdg/

>>60522259
>Web development, mobile development, and desktop development
Sorry, but that's not programming related. Take it to >>>/g/wdg/ or some other thread which discusses Web """development""", mobile """development""", and desktop """development""".
>>
Threading newbie here.

Thread A writes data to a store. Thread B consumes this data one batch at a time. A might have written more data to a store by the time B is done processing a batch. B needs to consume all the data in the store. I don't want it to poll, so I want A to be able to signal to B that new data is ready, perhaps by increasing a counter of some kind.

B should keep going with another batch if the counter is positive and otherwise sleep until it is.

What sync primitives do I need for this? A semaphore? Note that the store itself is synced in a different way and is irrelevant here.
>>
>>60522168
Who died and left you in charge of deciding who's allowed to ``code"?
>>
>>60522280
>programming
Not programming related
>>>/g/wdg/

>>60522274
>programming
Not programming related
>>>/g/wdg/

>>60522253
>programming
Not programming related
>>>/g/wdg/

>>60522203
>programming
Not programming related
>>>/g/wdg/

>>60522177
>programming
Not programming related
>>>/g/wdg/

>>60522063
>programming
Not programming related
>>>/g/wdg/
>>
>>60522241
yes, it's up there with javascript and php and also html webapps

>>60522298
steven jobs did
>>
Do we kode on Sundays?!
>>
>>60522298
>code
Take it to some other thread please. For example to >>>/g/wdg/
>>
>>60522298
This is a funny thread.
>>
>>60522304
>javascript and php and also html webapps
>steven jobs
I'm afraid that isn't programming related. I recommend you take it to >>>/g/wdg/
>>
>>60522287
Ask again in 4 hours when all the retards have gone to sleep and this becomes a moderately-decent place to discuss anything again.
>>
so i wrote a small cronjob that sends a request from my raspberry pi every 2 minutes to my routers homepage, scrapes the information and puts it in a db. i called this thing whoishome. but i really dont know where to go with this info. i guess i could start visualizing it with some js graphing tools. any ideas/suggestions ?
>>
>>60522298
Who died in here just in general? It smells so fucking bad, holy shit. Someone get the air freshener.
>>
>>60522065
Nah, doing it solo, but it's forked from an open source repo. I was afraid unit tests were the only solution.
>>
>>60522334
>js
>cronjob
Not programming. Try discussing it on >>>/g/wdg/ and >>>/g/fglt/
>>
>>60522280

Tell me, Mr. Troll, what do you consider to be "programming"? Because to most programmers, the term "development" when paired with any type of software, is synonymous with "programming.

>>60522287

Sounds like you're dealing with something like this?
https://en.wikipedia.org/wiki/Producer%E2%80%93consumer_problem
>>
>>60522301
Um, how exactly do we turn this thing off?
>>
>>60522352
>development
Not programming related. Take it to >>>/g/wdg/ or some other thread, I honestly don't care as long as it isn't /dpt/.
>>
>>60522353
filter posts containing >>>/g/wdg/ or 'Not programming related' ?
>>
>>60522360
So what do you want /dpt/ to be about? I'm starting to suspect that you're actually a /wdg/ shill trying to kill off /dpt/.
>>
>>60522352
>Tell me, Mr. Troll, what do you consider to be "programming"? Because to most programmers, the term "development" when paired with any type of software, is synonymous with "programming.
http://rationalwiki.org/wiki/Don't_feed_the_Troll
>>
>>60522381
>wdg
That's not programming. Discuss it in >>>/g/wdg/
>>
>>60519697
why would you want a key?
>>
>>60522384

But feeding trolls is fuuuuuuuuunnnn....
>>
>>60522091
Sounds good to me, a confident individual who does not need an echo box to feel safe.
>>
>>60522341
One possible approach is using dummy implementations for everything but what needs to be tested.

Suppose one of the headers the unit you need to test needs looks like this:
int a_variable;
int a_function(void);


Then write your unit test like this:
#include "header.h"
int a_variable = 0;
int a_function() {
return 0;
}
#include "unit_to_test.c" /* Not a mistake! */
int main() {
/* tests */
return 0;
}
>>
JAN'D
>>
New thread:
>>60522487
>>60522367
>>60522367
>>
>>60522490
No. I deleted the thread myself.
>>
Hm that could work. Thanks.
>>
New thread: >>60513828
>>
>>60522492
>>60522487
YOU HAD ONE JOB
>>
Z U C C E D
U
C
C
E
D
>>
new
>>60522553

web devs fuck off
>>
>>60522542
Too much of the content was pure shit, so I deleted the threads. I'm not letting the threads start off like that, as it's going to follow on to the rest of the thread.
I don't even care anymore. Someone else do it.
>>
>>60522555
>web ""devs""
But that isn't programming. Discuss it on >>>/g/wdg/
>>
>>60522797
are you literally a bot? he said web devs fuck off, he didn't say it had anything to do with programming
>>
File: sepples.png (14KB, 703x194px) Image search: [Google]
sepples.png
14KB, 703x194px
Sepplesfags will damage control!
>>
>>60522832
a few percent difference literally doesn't matter in the software world. nice meme usage btw
>>
>>60522825
>web """devs"""
That kind of trash simply doesn't belong here. Fuck off to >>>/g/wdg/ if you want to keep discussing it.

>>60522877
>""software world""
>>>/g/wdg/
>nice meme
>btw
Fuck off to >>/v/
>>
>>60522832
So it performs better than a compiled Lisp. What's your point exactly?
Thread posts: 341
Thread images: 33


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