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

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 28
File: ji.png (485 KB, 934x1000) Image search: [Google]
ji.png
485 KB, 934x1000
What are you working on, /g/?

Old thread: >>52072027
>>
python 3 is a meme
>>
perl 6 is a meme
>>
>>52076784
haskell is a meme
>>
File: 1451185092011.jpg (271 KB, 1008x720) Image search: [Google]
1451185092011.jpg
271 KB, 1008x720
I want to fuck Lain
>>
GPL is Communism and a meme.
>>
>>52076784
>>52076801
>>52076806
>>52076811
>>52076814
what a useless fucking thread
>>
>>52076820
spotted the buttmad coder who fell for the python 3 meme
>>
what
to
do
>>
>>52076833
https://www.youtube.com/watch?v=khBWLKuEKrM
>>
>>52076833
Prove P != NP
>>
>>52076827
What a useful fucking post!
>>
File: 1367108251.png (517 KB, 1112x1080) Image search: [Google]
1367108251.png
517 KB, 1112x1080
>>52076811
no
>>
File: rew.png (441 KB, 1048x587) Image search: [Google]
rew.png
441 KB, 1048x587
We've had 3 traditional OPs in a row.
>>
>>52076772
>animshit
>>
>>52076833
hard time
>>
>>52076846
if an alien came back in time and showed us NP is possible, would it influence anything
>>
File: game.webm (2 MB, 1812x1208) Image search: [Google]
game.webm
2 MB, 1812x1208
Just got started on a Game Of Life-based game.
Each cell is a "bird" with its own distinct "song", and they kill each other / mate based on similarities in songs
>>
>>52076867
yep

>>52076846
nah

>>52076845
subpar
>>
>>52076879
I don't think you understand
>>
>>52076879
in practical terms, probably means that rsa (and by extension, https) is no longer secure.
>>
>>52076883
cool. what's driving the UI? i've only done web stuff.
>>
What are the non-meme programming languages, /dpt/?

I would say:

C++, C, Java, and JavaScript.
>>
>>52076922
slick2d
http://slick.ninjacave.com/
>>
>>52076928
Oh, and PHP. I forgot about PHP.
>>
Should I order pizza today guys
>>
>>52076928
You need to define what "meme" means. The standard 4chan definition means to be "something I don't like", which means that /g/ will never be able to agree on a list of non-meme languages, since everyone has different preferences.
>>
>>52076928
if by having javascript in there you mean to say relevant to the world, then you'll have to put java in there as well

is that what you really want
>>
>>52076928

Objective-C, Ruby, and Swift.
>>
>>52076928
>the most popular ones aren't memes
i think you need to look up the word meme
>>
>>52076974
seems* to be
>>
>>52076984
shut up dawkins
>>
>>52076976
I did put Java in there senpai.
>>
File: 1367107027.png (598 KB, 1095x1080) Image search: [Google]
1367107027.png
598 KB, 1095x1080
>>52076820
>>
>>52077011
oh whoa

howd you do that
>>
>>52076982
>Ruby, and Swift
They sound like memes to me senpai.
>>
Daily reminder that if your language of choice is not on this list you should probably give up and kill yourself:
- C++
- C#
- Lua
- Python
- Elixir
- Haskell
- Bash
- Clojure
- D
>>
>>52077171
>C++
>C#
>Lua
>D

nice memes
>>
File: 1451164710768.jpg (67 KB, 600x600) Image search: [Google]
1451164710768.jpg
67 KB, 600x600
>>52077171
>>
>>52077171
Clojure is not a Lisp.
>>
Daily reminder that life isn't worth living
>>
>>52077401
;_;
>>
day remember that what should i work on
>>
>>52077401
>reminding people of the obvious
>>
Daily reminder that if you need more than one thread on one core, there's something wrong with your code
>>
>>52077548
I don't even know how to write multithreaded code with C. :^)
>>
>>52077559
fork()
>>
>>52077559
openmp makes it ezpz
>>
>>52077588
disgusting
>>
>>52077700
trips + dubs confirms that all parallelism is disgusting
>>
>>52077548
>le hyper threading face
>>
check my fizzbuzz post number
>>
File: VCPOmSW.jpg (884 KB, 2448x3264) Image search: [Google]
VCPOmSW.jpg
884 KB, 2448x3264
multi-threaded linked list stack implementation
>>
>>52077847
>multi threaded
>linked list
>stack
disgusting

taking the three worst things ever invented and combining them into one hideous chimera
>>
>>52077871
>stack
>bad
Stacks are extremely simple and efficient at low levels.
>>
>>52077588
Wait, all I had to do is add
#pragma omp parallel
in every function that I want to multithread without worrying about thread safety or race conditions or anything else?
>>
>>52077171
None of those languages have modern codes of conduct
>>
>>52077895
As soon as you get types, stacks are shit.
Sure, maybe below that they're amazing, but above it they sure aren't.
>>
>>52077903
It's not THAT easy, but yes that's mostly it. Only directives. The omp functions are optional albeit very helpful.
>>
>>52077912
What do types have anything to do with stacks?
>>
>>52077912
What? How exactly do types factor into that?
>>
Daily reminder that if you can't use use multiple threads you are a 'lol i du coding' script kiddie.
>>
>>52077930
Is there a portability issue with using POSIX threads or OpenMP?
Which one should I use if I want to run into the fewest problems?
>>
>>52077934
>>52077935

With types:
A stack is usually either an arbitarily restricted array or a linked list
>>
>>52077962
How is that different to a stack without types?
>>
Wikipedia is so nice for teaching algorithms.
You can even translate their psuedocode examples into your favorite language 1:1.
>>
>>52077969

Restricting an array - why?
Using a linked list - why?
>>
>>52077976
What do you mean by "restricting" an array?
>>
>>52077908
(that's why they're on the list)

>>52077946
Just because my code is vulnerable to race conditions doesn't mean that I'm not "using multiple threads"! ;-^)

>implement message queue
>keep other data structures immutable (which you should be doing anyways)
blamo

>>52077962
Nope, you've still lost me.
If you can do arrays or linked lists (which can mirror eachother anyways so there's technically little 'semantic' differences) then you can have stacks. Your type system shouldn't be effecting how your stacks work.
>>
>>52077983
>>52077990

An array can do everything a stack can do, but the opposite isn't the case

Types give you a fixed size
>>
File: model.png (67 KB, 1194x913) Image search: [Google]
model.png
67 KB, 1194x913
>>52077961
OMP utilizes the available threading model of the OS.
So pthreads on Linux and the winapi on Windows, from the same source code of course.

Use OMP when you have a lot of data parallelism as it targets that problem the most.
>>
>>52078022
I think you're mixing up the "data structure stack" with the "allocation stack".
>>
>>52078029
I thought the allocation stack was a stack
shows what i know
>>
>>52078022
Stacks are important because they grow arbitrarily, and because push and pop operations are very powerful.
Useful applications of stacks in my domain (PLT):
call stacks
the entire forth language
stack machines
shunting-yard algorithm
LR parsers
a lot more
>>
not gonna lie, even though its anime, this is the only op image I'd ever like to see for /dpt/
>>
>>52078028
What's the tl;dr of their code of conduct?
>>
>>52078059
It's like how there's a heap data structure that is different from the allocation heap.

Same name, different concepts. Though the allocation stack and stack data structure share the restriction that the first things in are the first things out.
>>
>>52078090
is the allocation heap a heap
>>
>>52078081
Shitting on MPI fags is accepted and required :^)
>>
File: K&R himegoto.jpg (159 KB, 500x700) Image search: [Google]
K&R himegoto.jpg
159 KB, 500x700
>>52078064
Hime thread in only 232 more posts!
>>
>>52078059
>>52078090
Sorry, last things in are the first things out.

>>52078096
Yeah, it's implemented using a heap data structure of blocks, that's where the name comes from. The heaps are more similar than the stacks are.
>>
>>52078107
anything as long as it isn't that trap programmer image or isn't degenerate
>>
FUCK VISUAL STUDIO AND C#

Who uses this piece of awful shit?
>>
File: cute anime pic 0636.png (289 KB, 514x424) Image search: [Google]
cute anime pic 0636.png
289 KB, 514x424
>>52078123
>anything as long as it isn't that trap programmer image or isn't degenerate
heh
>>
>>52078131
me
>>
>>52077171
>still posting it
>>
>>52078138
I tried to use that meme but it's bugged to shit.

>Add some imports, try to compile
>Errors
>ok no big deal
>Try to fix and compile again
>Gives error that it cannot access the file because it's being used by another process
>Look in taskmanager
>2+ copies of my program are hanging there using 64kb of memery
>Try to end process
>No error but it does not
>No matter what i do cannot end process
>Only option is to restart fucking computer

Why is Visual Studio so fucking shit?
>>
>>52078131
Switch to F#
Thank me now
Then thank me later
>>
>>52078135
wait, r u the trap poster?
are u the only one?
just saying I support current op image, just not the trap ones
female ones are ok, but not trap ones
>>
>>52078166
>I don't know how to terminate my program
>I run broken programs that can't be closed
>Fuck visual studio
>>
>>52078169
Nobody gives a fuck what you support.
>>
>>52078180
>Literally cannot terminate process no matter what I do

Dude my program had like 10 lines of code, it shouldn't be stuck there. This is absolutely the fault of visual studio.
>>
>>52078192
i can create an infinite loop in 1 line of C, what's your point senpai
>>
>>52078182
didn't you read the code of conduct?
>>
File: 1450082205741.png (138 KB, 582x846) Image search: [Google]
1450082205741.png
138 KB, 582x846
>>52078182
this
>>
>>52078182
>>52078202

sametrap
>>
>>52078198
My point?

My point is that it's bugged and creates unterminable processes except for if I restart my computer.
>>
>>52078214
what's your program sempai
>>
>>52078202
Based
>>
>>52078214
>omfg microsoft havent even solved the halting problem wtf
>>
>>52078169
i think his point was that you support his image despite the character being a boy dressed up like a girl
>>
>>52078242
so its the same deluded faggot who posts the same shit and forces fake culture upon /g/?
i bet he rices he desktop too, fucking faggot, i hope he dies from a heart-attack
>>
>>52078262
that's really mean, anon
>>
>>52078298
really? i thought it was really nice of him to pick a heart attack and not something incredibly painful like oxygen starvation or torture
>>
>>52078262
honestly you should take those hurtful words back, he's a really nice guy
>>
>>52078298
>>52078334
sorry
>>
>>52078334
>guy
did you even read the code of conduct
>>
Has anybody here ever made their own programming language?

What were your goals? What was it like? What resources did you use? What was the end result?
>>
>>52078427
Yes I made C
>>
>>52078427
The goal was getting into MIT which I don't think is going to happen.
The language is functional and imperative with some weird structural-typing-interface-typeclass system I made up.
I wrote the whole thing C++ without any libraries, the scanner is hand written and the parser is hand written.
The language works really well right now, it isn't perfect. I have some ideas for JIT compiling the bytecode that could speed it up as well. Overall one of my favorite programming projects.
https://github.com/iitalics/Opal
>>
Okay, rate:

https://github.com/expeditiousRubyist/Memesnake
>>
>>52078493
too lazy to install SFML libs/10
>>
>>52078519

I could send a binary if you have x64 Windows
>>
>>52078545
What if it's a virus (yes I do have x64 windows go ahead)
>>
>>52078493
>Apache license
>>
>>52078493
g++ -Wall -Werror -Wpedantic -O2 -std=c++14 -D_GLIBCXX_USE_CXX11_ABI=0 -I include -c src/gamestate.cpp -o obj/gamestate.o
In file included from include/gamestate.hpp:20:0,
from src/gamestate.cpp:17:
include/memesnake.hpp:23:29: fatal error: SFML/Graphics.hpp: No such file or directory
#include <SFML/Graphics.hpp>
^
compilation terminated.
Makefile:44: recipe for target 'obj/gamestate.o' failed
make: *** [obj/gamestate.o] Error 1
>>
>>52078598
I read gamestate as gamergate.

Fucking gamers.
>>
>>52078493
Show us it in action with a .webm.
>>
>>52078598
Try getting SFML then, dipshit.

>>52078620
Okay. Any recommended screen capture programs?
>>
>>52078647
ffmpeg
>>
>>52078559
https://u.pomf.io/suwkmh.zip

>>52078563
Deal with it.

>>52078657
Alright, gimme a bit.
>>
>>52078647
i installed smfl and it still does that
your meme program sucks ass ruby
>>
>>52078493
>Game idea inspired by a 4chan post: https://archive.rebeccablacktech.com/g/thread/S52056774#p52057912

Damn janny deleted my post.
>>
>>52078672

The library or the library and the headers? If you're on Debian, the package should be libsfml-dev, I think.
>>
>>52078668
It's asking for a DLL that I apparently don't have. I've had this problem myself trying to distribute mingw/SFML stuff to my friends.
http://stackoverflow.com/questions/18138635/mingw-exe-requires-a-few-gcc-dlls-regardless-of-the-code
Apparently these flags can fix it. Maybe I'll just wait for you to finish the video; I'm excited
>>
File: IMG_1962.jpg (131 KB, 1241x795) Image search: [Google]
IMG_1962.jpg
131 KB, 1241x795
>>52078493
do you have a feminine penis or are you just a temptress with a trap name?
>>
>>52078686
what's the difference between that one and libcsfml-dev?
>>
>>52078493
the snake is infuriatingly slow
when you collect meme letters it overlaps the letter you collected instead of dragging it along like you just chained it and kept moving

0/10 would not compile again
>>
Doing some Laravel project. Plain notification board with Ajax. And creating my bachelours work. and I want to kill myself.
>>
>>52077962
you're retarded
>>
Alright, how the hell do I get ffmpeg to record my screen, because going by the official documentation, running this:

ffmpeg -f dshow -i video="screen-capture-recorder" output.webm


Runs into problems, because screen-capture-recorder isn't a device I have.

>>52078690

Well, looks like I need to start adding a few more flags to my projects. I figured it was already configured to use static linking for everything, especially considering that running strings on the binary doesn't find any of the libstdc++ DLLs.

>>52078701

I am not a trap. I'm a man with a neckbeard, and contrary to what you have been led to believe, the name is unisex.

>>52078702

CSFML is the C bindings to SFML.

>>52078732

Yeah, I made it update the snake's position only once every 120 refreshes of the screen. Any faster and I found myself regularly crashing into walls. I should make this user-selectable.
>>
Is there a way in C# to avoid having problems with modifying array contents within a method modifying them outside the method?

Put otherwise, if I have an array X that I pass into a function that changes the values of the array within the function, is there a way to do that without modifying X itself? Do I just have to make a new copies of every value?
>>
>>52078167
Fuck off
>>
>>52078817
Yes, don't use C#
>>
>>52078836
hey man this happens in all sorts of languages man, trying to make a deep copy of some objects haha you feel me man lol hsaha
>>
>>52078817
What does that even mean?
>>
>>52076982
found the fag
>>
>>52078870
im retarded so it's not coming out right

If I pass an array to a function, no "local copy" of the array is made for that function so if I modify values of the array within the function the array that I passed in is also modified

Fuck this isn't coming out right
>>
>>52078900
That's what happens when you use C#, man. It gets to your brains. Nasty stuff.
>>
>>52078900
What language, C#?
Do you mean you want to pass by reference?

I think you need "ref" at the call site (e.g. where you invoke the function) and the callee (e.g. the function's parameter list)
>>
My program outputs the string "Hello World!". It is written in the C programming language using vim.
>>
>>52078937
Good stuff mate.
>>
>>52078937
>no newline
fuckin amateur
>>
>>52078900
Either
1) copy the array
2) don't modify shit; it's been proven that making stop immutable is much better practice than constantly changing things

How do you expect the computer to allow you to change stuff, without changes actually being made to the original object, without copying? it doesn't make any sense. Either copy it, or don't modify it.
OR you could just re-modify it back to the original state.
What are you trying to do?
>>
>>52078926
No, I DON'T want to pass by reference, that's my point. Even if I don't pass the array by reference, modifying its values in the other function changes them in where it was called. Apparently I have to make a "deep copy" of it which is gay
>>52078924
Yeah man but .NET makes so much other stuff easier
>>
>>52078952
The newline is implied, you fucking blimpfuck.
>>
>>52078961
Well yeah that's what a copy is, and it's an array (and not a lazy one) so it's gotta be contiguous and copy the whole thing

It's literally doing what it must
>>
File: 2015-12-26_23-43-53.webm (1 MB, 960x722) Image search: [Google]
2015-12-26_23-43-53.webm
1 MB, 960x722
Have I mentioned that I kinda suck at Snake?
>>
>>52078937
>vim
Fuck you.
>>
Working on some scripts to automate some things in my build (generating tables, metaprogramming, etc). What do you think, scheme or lua?
>>
>>52078960
I've made this pretty basic baseball game simulator using Windows Forms and I have the simulator as its own class. The data is collected in the Windows Form class and passed to the Simulator class, where the data is log5 normalized. If I then "run" the simulator again without closing and restoring, the log5 normalized values are present in the Windows Form class and it gets fucked up. I sound retarded so I'm going to stop posting. I should have listened to /g/
>>
>>52078976
emacs, lol
>>
>>52078986
>emacs
Fuck you even more.
>>
>>52078965
No it's not. It's not there, you're too dumb to remember to put newlines at the end of strings. Lol what a dipshit moran.
>>
What's the best font for GUI applications?
>>
>>52078981
How about something people actually use?
>>
>>52078972
Ha, pretty good.

Does it get faster the more letters you collect like classic snake?
>>
>>52078996
>GUI applications
Fuck you.
>>
>>52078998
What do you mean?
>>
>>52078972
>1mb
this could have been a 160kb gif desu
>>
>>52078996
Comic Sans Bold
>>
>>52079000

No, but that feature could be added with only a couple of lines of code added.
>>
>>52079016

I'm a lazy shit. Optimize it yourself. Then make it an animated .png and upload it somewhere else because 4chan doesn't support them.
>>
>>52076772

Working on a Explorer port.
>>
>>52079014
Functional programming is only used by CS experts and obese, neckbearded /g/ dwellers who think they're geniouses because they use languages nobody else knows about.

Judging for the kind of tasks you want to work on, I'm guessing you're in the second group.
>>
terminfo parser in rust
>>
>>52079061
scheme and lua are multiparadigm programming languages, not just functional. You can write in a functional style, but you don't have to.

and I don't hear any alternate suggestions, so I'm just going to assume you are trolling and ignore you.
>>
File: 1440791690194.jpg (13 KB, 221x248) Image search: [Google]
1440791690194.jpg
13 KB, 221x248
who /NodeJS/ here
>>
Hey guys, I genuinely seek advice here. I got worthless degree in school, and somehow got a decent job at a big tech company. They're willing to pay for a sizable portion of my degree if I go back to move up in the company, and I was going back for CS. Growing up I was bad at math, but granted I never tried. In the math classes I did actually study and work at I did well. Since I'm reaching a ceiling at my job, I don't want to waste any more time, since I'm still young, and go back. My friend who is a self-taught programmer for that past three years urges me it's a waste of time and money, but he is unemployed even though from what I see he is decent. I'm going to be teaching myself and practicing the whole time I'm in school, and my company is by the books, I don't think they'd take anyone without a degree. Thoughts? Advice? What languages are must haves? Sorry to ruin the thread like this, but you guys are more knowledgable and less biased than my friend.
>>
>>52079100
>>>/g/wdg
>>
>>52079106
>What languages are must haves?

Forth, Lisp, APL, C
>>
>>52079109
But anon, I'm not doing web development with NodeJS, working on a text editor
>>
>>52079109
/wdg/ is kill, and rightly so, we should not be dividing /dpt/.

Most of /wdg/ is programming related, and so is NodeSJW so stop shitposting, anon, and welcome /wdg/ with open arms.

/dpt/ will be fun again, and for that to happen we need more users.
>>
>>52078983
Dude stop criticizing yourself.
Just if you need to copy stuff just copy stuff it's not a big deal. If you find yourself deep copying large amounts of data often, then you're doing everything wrong.

>>52079061
You obviously don't know anything.
Just because Haskell doesn't run Linux doesn't mean that other FP isn't very common. Just because you have opinions doesn't mean they're right ;-^)
>>
>>52079106
So he's unemployed, you have a stable job and he's telling you that college is a waste of time?
fucking lol
Just go for it.
Most people in this thread are self-taughts who are literally unemployable either because they have no degree, or no work experience, or their mental issues prevent them from developing good interpersonal skills.

Go do the college thing, man.
>>
>>52079115
>Forth, Lisp, APL, C
I appreciate it. Would you agree most 4 year programmers are wasting their time? My friend says so, but he's also never had a programmer job.
>>
why doesn't this work?
--haskell
getDirectoryContents >>= \l -> return . show . ("a" `elem`) $ l
>>
>>52079131
I appreciate that. And yeah, that's what I throw back at him, and he just said the market is bad. I secured an entry level corporate job with one of the biggest computer companies with an English Degree of all things. Even funnier still, he wants my job, he's applied ten times.
>>
>>52079086
How about languages that were actually designed for scripting? I hear Python is pretty good.
>>
>>52079132
All you need is to go to one of those code bootcamps. In 3 months they'll give you all the skills you'd need 4 years to learn in a traditional university environment. They are truly disrupting the educational industry.
>>
>>52079118

Wrong tool for the job.

>>52079128

DPT is actually reasonably fast enough that we can afford to have a separate thread for web development issues.
>>
>>52079155
I've looked into it, but how would that work with a full time job? Isn't it essentially a full time thing?
>>
>>52079157
>Wrong tool for the job.

Github begs to differ ;^)
>>
>>52079157
>DPT is actually reasonably fast enough that we can afford to have a separate thread for web development issues.
No we can't, we should not be dividing /dpt/.
>>
>>52079150
nevermind, figured it out
>>
>>52079151
You really shouldn't be talking shit about people you consider friends, especially behind their back.
>>
>>52079115
Don't listen to this faggot. With the exception of C, those languages are pretty much dead and won't get you anywhere.

Learn Python, C, and maybe a little bit of C++. Remember: languages themselves mean jack shit when you can't get your mind around algorithms.
>>
>>52079178
This is shit I say to his face, do you not have any friends?
>>
>>52079129
It's not. You're an idiot, and obviously never worked in the industry in your entire life.
>>
>>52079170
Sometimes they offer part time things

It's true that nobody uses APL and Forth anymore (well, I know a guy renown in the industry who's a forth dude but he's kind of an outlier)
>>
What would be faster for quick key-value lookup: a hash map or an AVL tree?
>>
>>52079115
>APL
Please. At least recommend a modern equivalent.
>>
>>52079128
This is bait, right?

But anyway, the fact that /wdg/ is dead is not our problem. This thread is for programming, not scripting, coding or designing pretty web pages.
>>
>>52079106
See >>52079180
>>
>>52079180
>Remember: languages themselves mean jack shit when you can't get your mind around algorithms.


The only part I'm concerned about really. Like I said, I struggled with math, but I never really tried, except my last math class, I failed and had to take it again in a summer course, so instead of over a semester it was two months. I worked really hard at that, and made a high mark in it. So I think I can do it if I buckle down, which I plan to do.

>>52079197
I'll look into local ones. I saw the cost was pretty high on some, and also some employers don't recognize them. (My company specifically says a 4 year bachelor to get you into the interview even).
>>
>>52079185
He sticks around?
Are you sure he isn't autistic or something?
>>
>>52079198
Sorry, you seem to be mistaken. This is the Daily Programming Thread, which has absolutely nothing to do with programming and instead is just a bunch of wanna-be nerds jerking off to so-called "meme languages" despite never having earned a single cent by programming.
>>
>>52079209
I appreciate the heads up on it.

>>52079222
We are all men in our mid-twenties, we shit talk each other constantly. It's just what we do, I didn't think it was that weird.
>>
>>52079225
Oh, okay, that's understandable. I'll go back to reddit then.
>>
>>52079180
Ignore this man. Python and C++ are the same paradigm, they do not introduce any new language concepts. Once you learn and master Lisp (for dynamic homoiconicity), Forth (for concatenative), APL (for array/vector word-based), and C (for low-level), you will be able to learn any other language easily in your spare time. I'd also throw in Haskell (for functional language), Prolog (for logic languages), if you have the time.

The key is to learn the languages that best exlempify particular programming paradigms, then once you learn all the paradigms in isolation, you can understand how to use the appropriate one in a multiparadigm language like C++ or Python.

Starting with multiparadigm languages right off will just confuse and overwhelm you, and make you feel lost and not know what you are doing.
>>
>>52079172

Just because others have made text editors in Node doesn't mean it's a good idea, or that those editors are actually good.

>>52079175

Consider the following:

1. DPT is fast enough that threads regularly hit the bump limit within a few hours, especially during peak times.

2. Creating a separate thread for web development would stop stupid flame wars over whether or not web programming is real programming. It may also keep a few of the SJW-types out of the thread, since they generally don't tend to be much into other types of programming.
>>
>>52079199
Fine use J, then. But APL has better documentation than J, and is much more readable, because it uses proper mathematical symbols instead of crippled ascii substitutes like J does.
>>
>>52079220
Don't be deceived by the people in /g/, most of them haven't done any serious programming in their lives. They'll tell you you're retarded if you can't solve things the way they want to, using ancient languages nobody remembers.

Yes, algorithms are hard. Yes, math is hard too. And yes, with enough effort you'll get your mind around it.

In fact, the single best advice I could give you is to stay out of /g/ and never return. Seriously, there's nothing good for you here.
>>
>>52079244
>dynamic homoiconicity
found the faggot
>>
>>52079234
>We are all men in our mid-twenties, we shit talk each other constantly. It's just what we do, I didn't think it was that weird.

Sounds kind of weird and toxic, to be honest. My friends are people who are nice and pleasant to each other because we all genuinely like and care about each other. Constantly being negative and hostile to each other doesn't sound like something freinds do. Are you sure you aren't enemies?
>>
>>52079244
Wise words. However, APL is too much for me (I'm >>52079197), are there any other languages that do what APL does without needing a separate keyboard?
>>
>>52079260
I appreciate the advice, thanks man. I think I'll give it a go since it's on the companies dime really. If anything my future will either improve or stay the same, so what's the worst that can happen.
>>
>>52079260
I learned this pretty fast by looking at the job listings at my school. /g/ recommends shit that won't get you gainfully employed in 90% of cases.
>>
>>52079244
>Python and C++ are the same paradigm
You just proved you don't know jack shit about either.

Are you really recommending Lisp to a guy who's just getting started into programming, and actually wants to get paid for it? Jesus Christ what's wrong with you?

See, garbage like this is why /g/ gives the worst career advice. Fuck you, and fuck everyone like you.
>>
>>52079244
>implying the poster is a man

THIS is why we don't have more women in tech. Fuck you and your "sekrit club no girls allowed" bullshit. It's 2015, time to grow up.
>>
>>52079279
We're nice to each other, we just make a lot of jokes. If we were constantly nice it would seem like we're not comfortable with each other.
>>
File: KEK.gif (983 KB, 640x360) Image search: [Google]
KEK.gif
983 KB, 640x360
>normalshit comes in
>HAY YOU SHOULD LEARN [DEAD MEME LANGUAGE #28298221] IT'S GUD
>>
>>52079290
To be fair, I'm a dude.
>>
>>52079284
> /g/ recommends shit that won't get you gainfully employed in 90% of cases.

90% of jobs are shit, so who cares if you aren't qualified for them?

If you are so concerned about all the jobs you are missing out on, maybe you should learn burger flipping instead of programming. McDonalds has plenty of openings.
>>
File: 8u.jpg (50 KB, 640x360) Image search: [Google]
8u.jpg
50 KB, 640x360
>>52079208
Do I look like I'm joking, anon?

/dpt/ is for anything remotely to do with programming, that includes JavaScript and back-end programming languages.

The only time you'll get any trouble is if you post something about HTML or CSS.
>>
>>52079309
it's a meme you dip
>>
>>52079295
If you are really comfortable with someone then you don't feel the need to put each other down all the time. Honestly, it just sounds like insecure "macho" bullshit, not the attitudes of true friends.
>>
>>52079330
We're not macho, but I feel you I guess. Different strokes.
>>
>>52079321
I'm a girl btw
>>
File: ki.png (141 KB, 448x539) Image search: [Google]
ki.png
141 KB, 448x539
>We should divide /dpt/ with separate generals.
>>
>>52079344
women are a meme
>>
>>52079350
this has already happened multiple times
/wdg/ is a forced meme that gets reposted by 1 person for months on end and then suddenly dies when they stop reposting the thread
it never reaches bump limit and nobody gives a fuck
>>
>>52079350
One for all the trash languages:
perl,ruby,lisp,C,C++,C#,VB,HASKELL,python,php,java,JS,D,LUA,BASH.

And one for the Godlike-masterrace:

F#
>>
>>52079362
boy sure is reddit in here
>>
>>52079290

Making the blatant assumption that someone is a man in a thread that has very few (if any) women is not the same as saying women aren't allowed. I'd like to think that women are not so fragile as to completely stay out of an industry just because they might be mistaken for a man. If you'd like to argue otherwise, fine. Just know that such an argument would only serve to provide reasons why the industry should remain male-dominated. If you misgender a man, chances are he will get pissed off at you, but that doesn't mean he's going to stop doing what he loves. We'll put up with a lot worse -- stale as shit legacy codebases, incompetent co-workers, incompetent managers, the Java programming language -- because we love programming more than we hate those things (and also the pay is good). Learn to stop giving a shit about everything else and just focus on your craft.
>>
>>52079350
Ideally /dpt/ should be divided like this

>Doesn't like traps and anime

Fuck off to reddit

>Everyone else

Welcome home
>>
>>52079404
Do I have to dress my skirt while posting here?
>>
>>52079395
You've been here for like a year and you're still responding to posts like that. Remove the trip and start over.
>>
>>52079411
yes

>>52079418
he has autism, let him be
this is the only way he can express himself in his life
>>
Anime posters and Anime fans should be banned from programming.
>>
>>52079395
No the problem is all the young women who could be reading the thread. They see that everyone always says "this guy" or assumes everyone else is male. Then that girl is discouraged from joining tech because she thinks everyone is a guy and women aren't welcomed. Even if there are a significant amount of women, this girl would never know it because everyone online just says "this guy" even when the poster could be a woman.
>>
>>52079404
Not liking 3D traps is fine though.

But seriously, we need to stop being divisive.
>>
>>52079429
I'm a girl btw
>>
>>52079428
>go on top trending github repos
>half the users have anime avatars
do-nothing fizzbuzz babby detected
>>
>>52079429
THIS
>>
>>52079429
it's just english
nobody bats an eye when a woman refers to her female friends as "you guys".
>>
>>52079464
Its different online, because you can't see what the person looks like, and it leads to thinking they are actually all male, unlike how in person you could look and see a mix of males and women.
>>
>>52079442
>github
gitgud
>>
>>52079429
so what you're saying is that we all need to pretend to be women in order to make women feel welcome?
sounds great
i'll go buy a skirt right now
>>
>>52079429

>Then that girl is discouraged from joining tech because she thinks everyone is a guy and women aren't welcomed

You see, this is what's called non-sequitur.

>Everyone currently here is of group A
>Therefore people of group B are not allowed

If this is your thought process, you probably shouldn't be entering a field that requires strong skills in logic and thinking outside the box.
>>
>>52079483
Oh my~
>>
>>52079476
i'm not going to append "(or woman)", when saying "this man".
Find something else to be angry about.
>>
>>52079280
J and K
>>52079285
>You just proved you don't know jack shit about either.
They're both the same dialect (imperative/procedural). Python can do OOP but it's not an OO language.
>Are you really recommending Lisp to a guy who's just getting started into programming
That's a great idea, Scheme is a great first language and there are tons of great resources to learn from (SICP, The Little Schemer, etc.). Other Lisps are great too. Stallman recommends learning a Lisp as a first language.
>See, garbage like this is why /g/ gives the worst career advice.
Nobody is going to go learn a language and immediately get hired the day they're done. They also need to learn how to think in terms of programming. Lisps are great for that because they're a tool that can be used for any sort of programming and they help you think less about unimportant details like syntax and more about solving the problem at hand effectively. Once you get down that sort of thinking, a new language is simple to learn.
>>
Took a trip into web dev for a couple of days guys

Glad I'm back home. It fucking sucked.
>>
What meme are you working on, /dpt/?
>>
>>52079518
Welcome home senpai.
>>
>>52079494

Imagine you had an activity you thought you might be interested in, but when you looked into it more it seemed like only women did this activity, and that the activity was considered almost exclusively a female thing to do, and that if you did this activity other males would consider you to be effeminate, gay, a pussy, or weak.

Wouldn't you think twice before doing that activity?
>>
>>52078972
I don't like how the character spacing is different when you're going up or down.

Is there not a way to make the character spacing the same?
>>
>>52079566

>Wouldn't you think twice before doing that activity?
No. No I would not.

#YOLO #SWAG
>>
>>52079499
Why don't you write a userscript that appends it for you? Aren't you a programmer?
>>
>>52079579
Most people would. And even more women would too. People shouldn't have to face that kind of social stigma or crisis just to enter a field. It's up to all of us to make the change.
>>
>>52079598
I'm a girl btw
>>
>>52079593
>why don't you waste processor cycles and 20 extra bytes of bandwidth for me and everyone else who reads your post
all so i can create a solution to an imaginary problem

fuck off
>>
>>52079598

Alternatively, you can learn to stop being so damn self-conscious and stop giving so much of a shit about what people think about you.
>>
>>52079598
The only people stopping women from becoming programmers is other women.

Women are the problem here.
>>
File: coqmeme.jpg (76 KB, 1176x747) Image search: [Google]
coqmeme.jpg
76 KB, 1176x747
>>52079549
Thread replies: 255
Thread images: 28

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

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