[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: 333
Thread images: 32

File: 1487635539415.png (40KB, 1620x774px) Image search: [Google]
1487635539415.png
40KB, 1620x774px
Old thread: >>59403615

What are you working on, /g/?
>>
first for ALGOL
>>
File: 1489461328707.png (740KB, 1834x1200px) Image search: [Google]
1489461328707.png
740KB, 1834x1200px
C++
>>
Python is shit.

Go is shit.
>>
>>59407203
What about Swift and Rust tho
>>
>>59407203
How's that unemployment treating you?
>>
>>59407203
import bad opinion
>>
>>59407209
>projecting
>>
How do we make the Java Virtual Machine better?
>>
>>59407203
What do you shit on Python? It's really comfy compared to bash for quick stuff, nobody forces you to design large projects in it
>>
>>59407179
Penises are not sfw
>>
>>59407208
swift is like the shitty python
Rust is like what you get when you put C++, Erlang and C# in a blender and what hard to swallow substance comes out in the process
>>
>>59407223
I can kind of understand why /g/ hates on Python, simply because it is often overhyped. It's not a bad language (as long as you hate performance), but it's not the Solution to Programming that it's often made out to be.
>>
>>59407223
>It's really comfy
No

>nobody forces you to design large projects in it
But people do, and so we end up with garbage like docker
>>
>>59407226
Has Apple moved from obj-c? I member obj-c being alright. Sorry, just woke up from a coma
>>
>>59407237
>Has Apple moved from obj-c? I
no
>>
>>59407233
>I can kind of understand why /g/ hates on Python
Performance actually. Nim will solve this problem by translating directly to C
>>
>>59407203
>Python is shit.
Why?
>>
File: 1389369058095.jpg (181KB, 750x750px) Image search: [Google]
1389369058095.jpg
181KB, 750x750px
Can someone write me a pseudocode on how to swap 2 chars in Java String, move to positions, do it again, and so on...
String is guaranteed to have an even length.
For example:
abcd becomes badc
or
abcdefgh becomes badcfehg
and so on...
>>
>>59407226
Rust is what you get when you mix ML and Cyclone dumbass.
>>
>>59407208
>Rust
Everybody I know, whether it’s personal or corporate, selects a subset and these subsets are different. So it’s not a good language to transport an algorithm—to say, "I wrote it; here, take it." It’s way too big, way too complex. And it’s obviously built by a committee. Reddit campaigned for years and years and years, way beyond any sort of technical contributions they made to the language, to get it adopted and used. And they sort of ran all the standards committees with a whip and a chair. And they said "no" to no one. They put every feature in that language that ever existed. It wasn't cleanly designed—it was just the union of everything that came along. And I think it suffered drastically from that. -RMS
>>
>>59407283
And yet it still doesn't have HKTs.
>>
File: futaba_cry.png (58KB, 282x290px) Image search: [Google]
futaba_cry.png
58KB, 282x290px
>>59407203
>tfw I like both
>>
>>59407223
>It's really comfy compared to bash for quick stuff
But that's wrong. Bash is so integrated with desktop Linux that it just makes sense to use. Can you even replace bash scripting with Python?
>>
>>59407283
Based Rust
>>
>>59407325
>desktop Linux
>desktop Linux
>desktop Linux
that's too much anon
>>
What's wrong with nested functions?
>>
>>59407347
Too hard for a c tard
>>
>>59407283
This is some solid bait.
>>
File: 1476653739090.png (542KB, 811x710px) Image search: [Google]
1476653739090.png
542KB, 811x710px
>>59407338
>desktop windows
>>
>>59407275
/dpt/ are to much of brainlets to solve this easy problem and explain it properly

sorry friend
>>
>>59407275
like dis?
for (i = 0; i < str.len; i += 2)
{
c = str[i];
str[i] = str[i+1];
str[i+1] = c;
}
>>
>>59407314
Of course you do. You are a retard.
>>
>>59407275
>halve the string
>join the two halves
wew lad
>>
>>59407283
>RMS
Stopped reading right there.
>>
How do we save web development?
>>
>>59407434
Start over from scratch.
>>
>>59407432
>stopped reading at end of post
wew lad
>>
File: anti-bully_ranger.jpg (143KB, 833x696px) Image search: [Google]
anti-bully_ranger.jpg
143KB, 833x696px
>>59407416
>>
59407432
Okay
>>
>>59407449
>being this new
>>
File: linus-5.png (199KB, 495x321px) Image search: [Google]
linus-5.png
199KB, 495x321px
>>59407202
>C++ leads to really really bad design choices. You invariably start using the "nice" library features of the language like STL and Boost and other total and utter crap, that may "help" you program, but causes:
> - infinite amounts of pain when they don't work (and anybody who tells me that STL and especially Boost are stable and portable is just so full of BS that it's not even funny)
> - inefficient abstracted programming models where two years down the road you notice that some abstraction wasn't very efficient, but now all your code depends on all the nice object models around it, and you cannot fix it without rewriting your app.

> - Linus Torvalds
>>
>>59407449
Where did I say that?
The end only has meaning relative to the beginning. In this case they are both equal.
>>
>>59407449
Nobody reads large blocks of text. They skip to the end for a summarization, if any, or skim for relevant keywords.
>>
Having no libraries is better than having this library
>>
Stop langposting.
>>
>>59407496
The more the find out about Deadlang, the more it seems like a stupid joke.
>>
File: lost-it.jpg (196KB, 704x396px) Image search: [Google]
lost-it.jpg
196KB, 704x396px
>>59407473
>Nobody reads large blocks of text.
>>
real niggas program in php
>>
>>59407522
The codes still look 5.15 times beautiful than most compiled languages
>>
>>59407552
>katie_kloss_programming.jpg
>>
>>59407559
?
>>
>>59407496
What's the issue?
>>
>>59407580
lacks so many things 2bh. I am thinking of adding more to the algorithm lib
>>
>>59407275
> (let ((x '(a b c d e f g h)))
(loop for n from 0 below (length x) by 2 do
(rotatef (nth n x)
(nth (1+ n) x)))
x)
(B A D C F E H G)
>>
File: 1484076235926.jpg (173KB, 840x672px) Image search: [Google]
1484076235926.jpg
173KB, 840x672px
>>59407608
perfect
>>
>>59407402
Perfect. Thanks
>>
>>59407496
What's so bad about it?

>>59407552
>codes
Hello Pajeet

>>59407578
goto >>59407469
>>
File: 1488321761637.png (123KB, 785x757px) Image search: [Google]
1488321761637.png
123KB, 785x757px
>The ulimit -v command makes little sense with ASan-ified binaries because ASan consumes 20 terabytes of virtual memory (plus a bit).
>>
59407666
You thought I'd give you a (you), didn't you?
>>
https://www.hackerrank.com/challenges/african-cities

So why didn't
SELECT name 
FROM city NATURAL JOIN country
WHERE continent = 'Africa';

work as a solution to this challenge? The resulting table is empty. This worked:

SELECT c.name 
FROM city c JOIN country o ON c.countrycode = o.code
WHERE continent = 'Africa';
>>
>>59407676
My computer doesn't even have that much virtual memory.
>>
While you're all arguing over inane shit I'm gonna go be productive in C.
>>
>>59407727
>C
>productivity
Choose one.
>>
>>59407236
Isn't Docker written in Go? And while people do choose to use Docker in production, it's usually a very small percentage.
>>
File: 1474376622797.jpg (606KB, 1395x858px) Image search: [Google]
1474376622797.jpg
606KB, 1395x858px
>>59407727
>I'm gonna go be productive in C.
>c
>productive
>>
>>59407727
>C
>Productive
>>
>>59407202
as much as you guys bitch and complain and mock OOP (Java gets it the worst), you sure looove C++.
>>
File: hmmmm.png (17KB, 1008x221px) Image search: [Google]
hmmmm.png
17KB, 1008x221px
>>59407236
>>59407754
>>
>>59407763
>as much as you guys bitch and complain and mock OOP
only 2 people; one of them is the gate keeper kid
>>
>>59407748
>>59407756
>>59407758
I understand that you're not capable of it, but I am.
>>
>>59407727
Don't you know /g/?
It's better to just fight over what language is ''""better"""" with strangers on the internet than actually do something productive
>>
>>59407580
>>59407496
- all/any aren't stupid functions, but the syntax for using it is stupid.
- balancedParens is stupid, and has no business being in a standard library
- boyerMooreFinder is a fucking stupid name for the function. The name should be what it does, not how it's implemented. Even C's strstr is a better name than this.
- canFind is also another dumb name. 'contains' would be better.
- count and countUntil are very different functions, despite having very similar names. countUntil is a stupid, unnecessary function, anyway.
- I don't think commonPrefix has any business being in a standard library. It's too niche and too easy to implement yourself.
- find is what boyerMooreFinder should be. Why the hell are there two functions which do the same thing?
- findAdjacent is stupid, too niche, and doesn't belong in a standard library.
- findAmong name isn't clear enough.
- findSkip seems too similar to the facilities provided by other functions, including findSplit, findSplitAfter, and findSplitBefore
- minCount and maxCount are stupid and unnecessary. You already have the more general 'count'.
- minElement/minIndex and maxElement/maxIndex are not sufficiently different. It would make a lot more sense to just return a pointer or some shit.
- minPos and maxPos are stupid and unnecesarry. The above functions can easily be used to to this.
- mismatch has no business being in a standard library
- skipOver is the fucking same as findSkip.
- startsWith probably isn't general enough. I normal string comparison with a maximum number of characters to check would be better. Does this really belong in the "searching" module?
>>
C++ is a fine language as long as you avoid the enterprise OOP bloat.
>>
>>59407779
>but I am.
"sure"
>>
>>59407782
>The tired "my subset of C++" argument
You sure convinced me, bud.
>>
>>59407779
Keep telling yourself that.
>>
>>59407781
>The name should be what it does, not how it's implemented
The implementation algorithm make a difference.
>>
>>59407781
Add
-No array concatenation
-No findCommon()
-Literally no maths method like avg, mean, total etc
>>
>>59407779
>all these people buttblasted over anon just doing things
Lmao keep up the good fight senpai.
>>
>>59407233
It is the solution to allow even retards to program
>>
>>59407810
Programming is not really anything special
>>
>>59407810
Why do we want everyone to learn to program? Isn't that a guaranteed way to end up with a world of 99% garbage code?
>>
>>59407823
programmers are glorified typewriters anyone can learn to write good software
>>
File: wrong.gif (1MB, 480x287px) Image search: [Google]
wrong.gif
1MB, 480x287px
>>59407838
>>
Did you guys hear the news?
Retard Bitcoin Unlimited devs
Thanks to non peer reviewed code, 75% of nodes just crashed!
Thats why you don't trust software written by two people.
Bitcoin core all the way.
>>
>>59407838
this
>>
>>59407824
We don't. All I am am saying is Python is designed with the intention to retain high level functions while catering to retards. Why do you think it is the most popular language among apple fags?
>>
File: 1489174883827.gif (2MB, 218x240px) Image search: [Google]
1489174883827.gif
2MB, 218x240px
>>59407764
>>
>>59407179
"The most powerful programming language is Lisp. If you don't know Lisp (or its variant, Scheme), you don't know what it means for a programming language to be powerful and elegant. Once you learn Lisp, you will see what is lacking in most other languages." -Richard Stallman
>>
File: >.jpg (397KB, 900x1200px) Image search: [Google]
>.jpg
397KB, 900x1200px
>>59407727
Keep up the good work anon
>>
>>59407794
Both Boyer-Moore and a linear search are going to return the first occurrence of the substring, it's just that Boyer-Moore is a better fucking algorithm with a O(n+m) runtime and naive linear search being O(nm).
Why isn't there just a find function that is "overloaded" with Boyer-Moore when you're searching for a string in a string?
>>
>>59407872
>Richard Stallman
Stopped reading right there.
>>
>>59407838
anybody can program. anybody can produce software. anybody can understand simple algorithms. anybody can make a calculator program in Python or Java. not anybody can produce quality software. it takes years of practice to get to that point.
programming is easy to learn, hard to master.
>>
>>59407915
yeah, its the end of the sentence

>inb4 took the bait
>>
>>59407275
"".join(a + b for a, b in zip(s[1::2], s[::2]))
>>
File: prototype.png (112KB, 1280x1024px) Image search: [Google]
prototype.png
112KB, 1280x1024px
Prototyping Snake Battle with classic vibe
>>
>>59407940
>Unity
>>>/vg/agdg
That garbage doesn't belong here.
>>
>>59407676
Is that a problem?
>>
>>59407948
Whats wrong with Unity?
Another brain damaged idiot detected.
>>
>>59407948
>muh engines tho
>>
>>59407966
it's the gatekeeper NEET. ignore.
>>
File: costanza.jpg (7KB, 250x250px) Image search: [Google]
costanza.jpg
7KB, 250x250px
>>59407940
>Windows 10
>>
>>59407966
>>59407974
Game development is not programming.
Game-engine development is.
Go back to your containment thread.
>>
>>59407987
that's where you are wrong kiddo. game development is programming. Unity is one part of it. stop gate keeping, jesus christ
>>
>>59407987
Im not even gonna argue.
Its as if you think that games do not require code to run.
>>
>>59407987
>muh engines
>>
>>59408004
>game development
>>>/vg/agdg
>>
File: $004.png (1MB, 635x705px) Image search: [Google]
$004.png
1MB, 635x705px
alright so i am ready to get embarrassed again,
Im still having trouble with memory allocation in C

error is
*** Error in `./ec-test': free(): invalid next size (fast): 0x000000000226a0a0 ***
>>
>>59407987
You are a fucking moron
>>
>>59408004
>Its as if you think that games do not require code to run.
Game development encompasses a lot more crap than just programming, and the typical programming that some indie engine-using developer is not going to be interesting discussion in the slightest.
You have your containment thread; go use it. It's the exact same argument for webdev fags.
>>
>>59407987
game programming is programming
>>
>>59407927
So? How does it mean that he read everything before it?
>>
>>59408039
>I CLICKED AND DRAGGED STUFF IN UNITY IM A PROGRAMMER NOW

>I WROTE AN HTML TAG IM A PROGRAMMER NOW
>>
>>59408037
what is your code trying to do?
>>
>>59408052
lets see you program a raycaster in C# in Unity

CHECKMATE NOOB
>>
>>59408004
ahahah no. Copy and pasting code to instantiate game objects is not programming.

When any sort of scripting can be reduced to Unity's drag and drop connect the dots whatever bullshit, is not programming.

Writing Unity itself is programming.
>>
>>59408075
>raycaster in C# in Unity
>not in Coq
>>
>>59408052
This is the epitome of gatekeeping and elitism. You are exactly the kind of cancer when people talk about weirdos in the CS course
>>
File: $005.png (768KB, 600x436px) Image search: [Google]
$005.png
768KB, 600x436px
>>59408037
>>59408058
all that matters is the allocation stuff, i know it funcitons it's just when i free() is called somewhere shit goes wrong
>>
>>59408089
I agree there is nothing wrong with the guy in the corner who scratches his balls and deep inhales his hand in the CS course
>>
File: $006.png (901KB, 643x477px) Image search: [Google]
$006.png
901KB, 643x477px
>>59408091
>>
I want to start learning programming, what language should I start with, and where do I start. I'm only familiar with Visual basic...
>>
>>59408118
Lisp.
>>
>>59408091
>52: int * reps = malloc(sizeof(en->data));
Is taking the size of a pointer here what you really want?
>>
>>59408075
>click and drag
>copy and paste from a tutorial
>"programming"

>>59408089
>gatekeeping elitism meritocracy waaaaaaaahhhhhhh
Get over it, learn to program if you want to post here so badly.
>>
the thing is... it's still legitimate programming whether you choose to believe it is or not.
>REAL programmers write everything in assembly
>>
>>59408103
While mumbling that only what he does on Rust is programming and everything else isn't.
>>
>>59408089
>This is the epitome of gatekeeping and elitism
So? With elitism comes quality.
If you let the riff-raff in, they'll just shit the place up.
>>
>>59408109
>sizeof(ec->data)
and again you fall for the sizeof(int *) faam
>>
>>59408135
Why did you bring Rust up though? Nothing wrong with Rust
>>
>>59408143
not true anyone can write good quality code
>>
>>59408125
fuckfuckfuckfuckfuck
thank you
>>
>>59408143
>>59408129
this is how full of themselves NEET lisp and C programmers are
>>
>>59408129
>Get over it, learn to program if you want to post here so badly.
This projection. I don't even care for game development. I just think you are a moron because you think game development isn't programming. You are the type of elitist asshole that everyone hates.

>Muh Fizzbuzz is programming
>Theirs is not
Kys retard.
>>
>>59408131
No matter how much you claim it is, "programming" a game in Unity isn't actually programming at all :)
>>
>>59408131
Previous thread had a nice discussion about clouds rendering and nobody said a word. You see the difference?
>>
>>59408146
i knew i probably had misunderstood your guys' explanation
thanks
>>
>>59408149
Hi MIDF
>>
>>59408149
>100MB Hello World binaries aren't a problem
>>
>>59408166
If you take Unity away from the type of game "programmer" we're talking about, can they still make anything? No, they cannot.
>>
>>59408143
>So? With elitism comes quality.
Yeah gatekeeping the term programming definitely increases the quality.

>You can't call yourself a programmer
>Yes the quality of the word programmer has gone up
Fuck off sperg
>>
>>59408177
Oh are we on the age of floppy disks again?
Why the fuck are c tards holding back technologies?
>>
>>59408186
If you take GCC/LLVM from the type of /dpt/ "programmer" we're talking about, can they still make anything? No, they cannot.
>>
>>59408165
This is how triggered Unity "programmers" are.
>>
>>59408175
Hello CIA
>>
>>59408177
100 MiB hello world is not a problem, 1KiB hello world that which is unsecure is a problem
>>
>>59408186
>If I take away your tools
>Can you still make anything?
Wew lad. I hope you know how to code in binary because I took away your [insert language] here, can you make anything?
>>
>>59408198
That's wrong, though. I'd simply make my own compiler, since I can actually program.
>>
>>59408195
I have less than 1 GB of free space on my flash drive, so yes, size is important. And I'd agree that large binaries are acceptable, if the size is in exchange for other benefits, but that's not the case with rustc.
>>
>>59408212
Yes, I can.
>>
>>59408220
>I have less than 1 GB of free space on my flash drive
Sucks living in a third world shithole, doesnt it
>>
>>59408189
I'm talking about this thread, and 4chan in general.

>>59408212
>code in binary
And you just confirmed to everyone that you're a fucking idiot and don't know anything.
Get the fuck out of here.
>>
File: $009.png (1MB, 640x800px) Image search: [Google]
$009.png
1MB, 640x800px
>>59408153
>>59408173
IT WORKS!
thanks again
>>
>>59408211
Maybe for you.

>>59408214
In what, assembly? I doubt most /dpt/ fags could even write a simple two-word parser, no matter what languages you let them use.
>>
>>59408195
c was designed in the 80's so of course it assumes you use floppy disks
>>
>>59408227
>I'm talking about this thread, and 4chan in general.
>I am defending the quality of the word programmer on a taiwanese rock throwing forum
>I am definitely not a sperg
>>
>>59408227
It's funny that he thinks it would be an insurmountable problem to be reduced to machine code. You'd just make an assembler, and so on.
>>
>>59408226
>hurr durr we should make programs for rich people, surely that will solve the problem of 99% of people hating our software!
>>
I could easily say that real programmers write in assembly and that only brainlets need the level of abstraction that C provides.
>>
>>59408262
Jesus christ you gotta be really poor for not being able to buy a fucking flash drive
>>
File: 1487413306014.png (383KB, 611x720px) Image search: [Google]
1487413306014.png
383KB, 611x720px
>>59408247
Why don't you go back to /agdg/ and tell everyone how mean the big boys in /dpt/ were to you?
>>
>>59408245
>In what, assembly?
Yes.

Of course, I wouldn't want to do it for very long, so the first thing I'd write in it would be an interpreter for a high-level language.
>>
You guys do realize you can't program everything yourself?

The GUIS in your programming language are already pre written code and eventually you will have to use some kind of library written by someone else to include in your code
>>
>>59408246
>t. brainlet

>>59408253
And to make an assembler, you'd need I/O. Most "programmers" couldn't even write Hello World in binary.
>>
>>59407471
>OS and hardware faggot
>hot opinions on programming languages
>>
>>59408227
>that reddit spacing
go back you fucking normie
>>
>>59408253
Can you program with logic gates only?
Take away your machine code, what can you make?
>>
>>59408276
>reddit spacing
You clearly don't know what that is.
>>
>>59408247
Whom are you quoting????
>>
>>59408265
asm programmers actually bullied forthfags back in the day iirc
>>
What language do I need to make a compiler in Rust with no I/O?
>>
>>59407225
Neither is this board.
>>
File: 1489530656576.jpg (49KB, 600x381px) Image search: [Google]
1489530656576.jpg
49KB, 600x381px
>>59408274
Not really, C is for brainlet toddlers. See pic, a toddler rhyme book on the left and a book for mature and adult person on the right
>>
>>59408270
>Anime posting
>Programming white knight
Enjoying every minute of this. I don't even program games for that matter. But I enjoy seeing you squirm whenever someone says game development is programming.
>>
>>59408269
So I should have to use TWO flash drives simply because programmers are too lazy to make a compiler that doesn't emit bloated binaries?

>>59408273
It's POSSIBLE to program in machine code, that's how they got the first assemblers after all. But it's not practical, and there's really no use case for it today.
>>
>>59408274
>And to make an assembler, you'd need I/O.
Yes, so?

>>59408278
I'd have to dust off my old digital electronics notes to refresh my memory, but fundamentally, yes I could.
>>
>>59408289
Japanese
>>
>>59408295
you are wrong and let me tell you why you are wrong

All computer programming languages are just different tools that can be used to make good software
>>
>>59408298
Yes, we grew out of 128MiB flash drive stage couple of decades ago
>>
>>59408270
jesus christ. the gate keeping is unreal.
you're so pathetic and worthless that you desperately cling to the one thing about yourself that isn't total shit. that's why you gate keep.
>>
>>59408297
>Anime posting as a """"""""""""""""""""""""""""""""""""""""""""bad"""""""""""""""""""""""""""""""""""""""""""" thing
I don't want reddit stink nearby. Fuck off.
>>
File: 1476202420415.jpg (110KB, 1000x847px) Image search: [Google]
1476202420415.jpg
110KB, 1000x847px
>>59408295
>>
>>59408299
So according to you, a programmer is someone who must be able to code in logic gates given that removed from all his possible tools, he must be able to make his own. I guess /dpt/ all aren't programmers then.
>>
>>59408298
>ywn have as much /g/cred as The Woz for assembling a system by hand
>>
>>59408275
You may have noticed that he used a language to program that OS.
>>
>>59408295
The sepples book is bigger because sepples is for people who can't figure stuff out on their own and have to be told how to do everything. The C book just gives you the basics and assumes you're smart enough to figure the rest out on your own.
>>
Are we being raided by redditors today?
>>
File: 1488104300186.png (484KB, 712x480px) Image search: [Google]
1488104300186.png
484KB, 712x480px
>>59408295
Let's all get along now
>>
>>59408295
Excuse me, I got a question,


How will ctards ever recover?
>>
IDES are the only way to program for real professional programmers
>>
>>59408297
>Complaining about anime
>On an anime website
You have to go back.

>>59408313
Why the fuck do you keep bringing up gate keeping?
Are you implying that standards are a fucking bad thing?
>>
>>59408314
Anime posting alone isn't bad. Anime posting, being a sperg and saying shit like elitism brings up the quality of the word programming on 4chan paints you as an autistic faggot.
>>
>>59408331
We have been everyday for the past few days/weeks. Good discussion happen during the day, shitposting at night.
>>
>>59408307
Who is this ``we" you speak of?
>>
>>59408340
>Anime posting, ...
I said I don't want reddit stink nearby. Fuck off already.
>>
>>59408319
Just because you could not do something, does not mean that others also could not.
>>
>>59408345
>The C book just gives you the basics
People with money
>>
>>59408339
>Are you implying that standards are a fucking bad thing?

>Standards to the word programming
>While defending anime posting
See. This shit is why anime posting gets a bad name. They post anime and along with something autistic and then everyone associates anime posting with autism.
>>
File: 1488566232801.jpg (51KB, 500x387px) Image search: [Google]
1488566232801.jpg
51KB, 500x387px
Shut the thread down.
>>
@59408340
>elitism is somehow bad
>>>/r/ibbit
Your kind simply isn't welcome here.
>>
>>59408342
> I don't agree with them, they must be redditors
>>
>>59408356
I haven't met one good programmer who actually likes anime
>>
>>59408354
I admit. I can't code in assembly or make my own language. I do code in Java front end for a bank as a living and plenty of other languages as a hobby. I guess I am not a programmer. Yes for "standards".
>>
>>59408355
What did xe mean by this?
>>
File: sicp-2.jpg (122KB, 1360x768px) Image search: [Google]
sicp-2.jpg
122KB, 1360x768px
>>59408340
>Anime posting [...] brings up the quality of [...] programming on 4chan
Damn right desu, senpai.
>>
I get it now.

Just as /agdg/ is the home of nodevs, so should it also be the home of noprograms.

Get back to your home, Unity users.
>>
>>59408356
>>Standards to the word programming
Nobody said shit about the word "programming" itself. If you go back and read the posts, it's about how elitism with improve the quality of /dpt/ and 4chan.
I just want you fucking non-programming reddit fucktards to piss off.
>>
>>59408352
You are as bad as reddit stink m8. Your kind can fuck off too.
>>
>>59408365
Where did I mention reddit you illiterate fuckwit? Also
>derailing every dpt into retarded language war and troll posts
Yeah, I stand by my point, their kind isn't welcome.
>>
>>59408367
I think you just convinced yourself to have standards, anon. My views haven't changed one bit during our conversation.
>>
>>59408372
Unity programming is still programming
>>
>>59408384
Why do you keep denying being a redditor? Fuck off.
>>
File: 1489536936847.png (731KB, 1834x1200px) Image search: [Google]
1489536936847.png
731KB, 1834x1200px
>>59408336
They can't
>>
>>59408388
In the same sense that programming a VCR is still programming.
>>
>>59408307
So it's your fault that Chromium is the only program I can run on my laptop without running out of RAM.
>>
>>59408367
>Java front end
Jesus, I feel for you man. I'd rather flip burgers for a living than fuck around with Java GUIs again.
>>
>>59408367
>I can't code in assembly or make my own language.
So in other words you're not human?
>>
>>59408395
Probably because you are a NEET
>>
>>59408367
What kind of Java front end do you do? Swing or Javafx?
>>
>>59408398
fuck you maiah
>>
>>59408393
Perfect analogy.

>>59408388
No.
>>
>>59408386
I don't care about your autistic views. As if your views have any bearing on what the rest of the world sees or reality. I guess not calling game devs programmers soothes your autism. So be it.
>>
>>59408384
>m8
>doesn't deny being a plebbitor
Your kind is not welcome. Deport yourself back to your subreddit.
>>
>>59408398
Job pays better than flipping burger
Job is easier than working in F&B.
I can't complain. It is a job after all.
>>
>one poor anon fucked up the whole thread with snake battle
kek, good job
Reminder that implementing classic games like snake from scratch is a neat project for newbies.
>>
>>59408430
What exactly front end stuff in Java do you do please explain
>>
File: 1469583171814.png (350KB, 621x393px) Image search: [Google]
1469583171814.png
350KB, 621x393px
>>59408436
>Unity
>from scratch
>>
>>59408422
please go back to /b/. probably a 9gag raid you are missing out on or something
>>
>>59408436
you okay michael?
>>
>>59408436
>>one poor anon fucked up the whole thread with [trivial thing]
That's literally always how it starts.
>>
>>59408436
I agree
But I'd do with without unity. Not the gate keeper faggot btw
>>
>>59408436
When I was learning C, I programmed tic tac toe with adrinuo connected to an LED display but I guess in hindsight that wasn't programming.
>>
>>59408458
>C
It wasn't programming
>>
>>59408413
I call game devs who program games programmers.

Using Unity is not programming.
>>
>>59408445
Front end for internal auditing tools at a bank.
>>
>>59408446
>>59408453
Yeah, I meant without any framework. From int main( void )
>>
>>59408464
Should have known.
Now council of the wise, how do we define - "True Programming"
>>
>>59408392
it's 'independence' by the way
weird that always gets spelled wrong

>>59408329
as expected of some hardware and OS feggit. your point hopefully isn't that it makes him an expert in programming languages, because the only people even less suitable for that I can imagine are academics.
Davis' mind might be cancer-tornadoed, but he was right when he claimed Thorvalds is cucked by compiler implementers.
>>
>>59408458
>C
ahhaha, "programming". try again faggot. learn to program in straight machine code and come join us big boys.
>>
Wrote a minesweep as my first post-fizzbuzz program in rust.

I know it works from toying with it in the main function. I just can't seem to be able to prompt the user for input and parse it into a pair of ints for input. Really annoying, string handling / IO feels a lot more complicated in Rust than in C++ even though the rest of the language is generally nicer.
>>
>>59408498
>>59408493
>>59408464
>>59408453
It's delicious that you're so upset over this.
>>
>>59408413
Triggered, script-boy?
A dozen bearded hipsters post their unity game screenshots everyday. You're not special.
>>
>>59408508
>Wrote a game
Wrong thread
>>
>>59408508
I messed around with Rust for months off and on. Finally got sick of fighting the borrow checker and the dealing with the lifetimes bullshit. I'm probably not ever going to be doing any sort of systems programming, so I dropped it.
>>
>>59408516
Neither is anyone in this thread.
>I make mature programs for mature people says the NEET
>>
>>59408508
Use nom.
>>
Is Dlang viable for large scale desktop applications (Like a word processor), gtkD looks pretty promising.
>>
File: d lang.png (909KB, 1280x720px) Image search: [Google]
d lang.png
909KB, 1280x720px
>>59408603
>Is Dlang viable for _?
No.
>>
>>59408603
No
>>
>>59408616
Why not?
>>
>>59408623
It's dead.
>>
>>59408613
Don't you get tired of 24/7 gate keeping and shitposting?
>>
>>59408623
D stands for dead LOOOOL BTFOOO THE FUC KOUT
>>
>>59408631
Doesn't look like it, the git repos are very active. Even if it was "dead" the language is still there.
>>
File: CNQtt37WsAA6MWI.jpg_large.jpg (67KB, 678x239px) Image search: [Google]
CNQtt37WsAA6MWI.jpg_large.jpg
67KB, 678x239px
>>59408082
this desu.

Unity is a huge stepping stool for just about anyone who wants to get into game dev. You can think of that as a good or bad thing.

Pic related is part of entire call stack for one button click in Unity????
>>
why don't you guys program the next big application?

What are you guys waiting for?
>>
>>59408634
>this BTFO
I think even Unity might be too much for you
>>
>>59408603
Probably. Good look sustaining support for the required libraries, though.
>>
>>59408634
I'm not the gate keeper
>>
fuck is D really "dead"? That was my next venture. I wanted something that wasn't Rust or Go, suitable for both low level and high level programming. and I hate C++ btw.

Fuck.
>>
>>59408669
Go to dmd repo on git and see the activity
>>
>>59408647
The language is dead, Andrei. Let it go.
>>
>>59408536
Looks like crazy overkill for something that would only require iostream operators in C++.

Literally just looking for the equivalent to this:
int i,j;
std::cin >> i >> j ;
>>
>>59408664
Good thing about D is, it can seamlessly interface with C++ libraries. It does lack many many libraries but if I'm passionate I can translate C libraries into D (with the cost of having to go through those ugly C codes)

>>59408679
Languages have no lives
>>
Please excuse me if that's a bit on the /wsr/ side, but could some MLgods please help.

I have a data set with numeric(~10) and dummy(13) variables and need to make regression models. Before I obviously have to do feature selection.
And that's the tricky point. I can't find/remember an algorithm that can operate with both numeric and dummy and give a normal result.
I tried and failed to use:
LASSO, RFE, ridge, elastic, tree, boruta

Is a method like this even exist? I can't choose from ~30 variables manually. I would be great if such method also include their joint significance.
I'm using R.
>>
>>59408697
Tell that to B or PL/I.
>>
>>59408697
>investing this much energy into trying to reanimate a corpse
>>
>>59408711
D is not B or PL/I

>>59408712
Isn't that better than gate keeping /g/?
>>
>>59408497
>your point hopefully isn't that it makes him an expert in programming languages
One might argue that it's better to be able to choose and use languages practically than it is to be a context-less "expert" in a lot of languages that you've never used for any non-trivial project.
>>
>>59408697
>but if I'm passionate
Sure, why not, whatever.
>>
>>59408722
>Isn't that better than gate keeping /g/?
I'm trying to drive standards up, not down.
>>
>>59408709
>tree
m8 boosting and random forest methods easily support mixed-type data.
>>
shit, there's a language developed not too long ago I'm trying to think of. It's a systems programming language much like Rust. it has three letters in it's name. it's not nim.
>>
Is there any jobs that pay you enough for the bills and does not require you to go outside?
>>
>>59408747
ATS
>>
>>59408751
java
>>
>>59408759
App dev? or anything else?
>>
>>59408763
web dev
>>
>>59408783
Nice
>>
>>59408669
Ada's great for people that hate C++
>>
>>59408751
What's the point of being paid well if you are going to spend all your time inside? Find other hobbies
>>
>>59408841
Not well, I just want to get enough money so that I can pay my bills, anon
>>
>>59408695
Yeah, Rust doesn't have a great standard way to read formatted input. For a simple case you could just read the line as a string, split by whitespace, and parse the numbers, but it's good to learn a more powerful solution like nom, I guess, for when something like scanf or cin wouldn't be enough.
>>
>>59408755
Nah I figured it out. It's Zig.
http://ziglang.org/
>>
>>59408742
cforest?
>>
>>59408695
>cin
Nice overflows
>>
>>59407940
>Snake Battle
>>
>>59408935
>>59408935
I'm sorry, but I don't see any overflows in that code?
>>
>>59408603
Theoretically yes. If you choose to do it though, you should understand that you're going to be the first. Your big, serious project is going to be the first done in D. The D programming language site will tell you that they have big projects, but really... no.

You'll be putting things through the ringer before anybody else. For those tools, you'll hit the limits, you'll find their bugs and, chances are, you'll probably have to fix a lot of them.

On the other hand, if you're planning on making money, and you're actually successful, you'll have pretty much the entire world's population of D programmers looking to work for you.
>>
>>59408904
Nice subtlety there, shill.
>>
>>59408991
You'll see them in runtine,
>>
>>59408993
>that plebbit spacing
>>>/r/abbit
>>
>>59408991
Don't worry, it'll crash a banking system one day.
>>
>>59408993
>the entire world's population of D programmers looking to work for you
Wow, all four of them?
>>
How the fuck do you do definite list traversals in prolog?
>>
>>59408742
Ok, thanks. I tried again and cforest worked.
Not sure if I could trust just one method though.
>>
Question for any D programmers in here: what exactly is the difference between the append and concatenate operators?
>>
>>59409107
Use the Y combinator.
>>
>>59408295
>he needs 5 lines of C++ code for any given line of C code
>he needs to use libraries for basic functions
>>
>>59409004
>he can't bypass the word filter
Fuck off, newfag
>>
>>59409004
>assuming somebody who isn't shilling rust is from reddit
>assuming somebody who is shilling a language that could compete with rust is from reddit

Long shot bud.
>>
>>59409120
>append and concatenate
+~ and ~
+= and +
>>
I'm learning HTML
>>
>>59409157
People who shill Rust are almost always going to be from reddit.
>>
>>59409127
butt ravaged c toddler spotted
>>
>>59409180
And?
>>
>>59409183
t. Library toddler
If you want to copy and paste, web dev is for your kind
>>
>>59409144
But only in your head.
>>59409157
I didn't even read your retarded post, nor do I care enough to do so since it's obviously garbage (it was produced by your plebbit kind)
>>
>>59409176
No, I mean I know what tokens they use, but what's the difference between what they do?
>>
>>59409192
They should go back to >>>reddit.
>>
>>59409204
This is an 18+ website.
>>
>>59409196
Are you implying you don't use library, autistic trash?
>>
>>59409212
So should you, since you like talking about that site so much.
>>
>>59409212
What if they don't?
>>
>>59409212
No, redditor. They should go back to >>>/r/ibbit
And so should you.
>>
>>59409215
Yes, and?

>>59409216
The bigger the library, the smaller the brain.
>>
>>59409216
Please learn basic English before posting here.
>>
>>59409229
The bigger the library the useful the language
>>
New thread:
>>59409241
>>59409241
>>59409241
>>
>>59409229
What if the library was created by me?
>>
>>59409229
Yeah you don't even understand the difference between ~= and ~, how is having low IQ treating you?
>>
>>59409218
>>59409219
>>59409222
Maybe you should go back since you deem the Rust shilling to be acceptable.
>>
>>59409251
Nicely done
>>
>>59409274
Sorry gate keeper, you are failing
>>
>>59409256
No, the issue isn't the equal sign, it's what ~ and + do to strings.
>>
>>59409283
>gate keeper
Er dette en ny meme?
>>
>>59409251
New thread again:
>>59409302
>>59409302
>>59409302

I didn't like the first few posts in the first try, so I deleted it.
>>
>>59409283
What are you even trying to say? You should just leave before you embarrass yourself anymore.
>>
>>59409312
>You should just leave
No, what are you going to do about it?
>>
>>59409301
It just seems to be one mentally deficient European (not to say that they all aren't)
>>
>>59409291
string1+string2 does not compile, idiot
>>
>>59409199
>speaks his mind without reading or understanding anything

Gotcha, you're willingly stupid and you behave in a way that will keep you stupid. I wish I could be like that, ignorance must be bliss.
Thread posts: 333
Thread images: 32


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