[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 / qst / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vip /vp / vr / w / wg / wsg / wsr / x / y ] [Search | Home]
4Archive logo
/dpt/ - Daily Programming Thread
If images are not shown try to refresh the page. If you like this website, please disable any AdBlock software!

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

Thread replies: 338
Thread images: 27
File: DPT.png (389 KB, 934x1000) Image search: [iqdb] [SauceNao] [Google]
DPT.png
389 KB, 934x1000
What are you working on, /g/?

Old: >>52472577
>>
File: smiley.gif (129 KB, 1007x579) Image search: [iqdb] [SauceNao] [Google]
smiley.gif
129 KB, 1007x579
>>52476540
1st for CHIP-8 lads
>>
>>52476540
Learning Haskell
>>
Learning ocaml
>>
>>52476540
>anime
op is a fag
>>
Friendly reminder that mods delete late threads.
Enjoy getting deleted.
>>
File: pou.png (548 KB, 609x884) Image search: [iqdb] [SauceNao] [Google]
pou.png
548 KB, 609x884
Should I learn LISP, /dpt/?
>>
>>52476634
learn to go outside
>>
asking again because I'm a huge fucking retard
I can't tell why this is throwing a KeyError, could somebody explain?
import httpclient
import htmlparser
import xmltree
import strtabs
import tempfile
let tmp = mkstemp()[1]
downloadFile("http://google.com", tmp)
let html = loadHTML(tmp)
for inputTag in html.findAll("input"):
let val = inputTag.attrs["value"]
if not val.isNil:
echo inputTag

it looks fine to me based on the example: http://nim-lang.org/docs/htmlparser.html
<input name="ie" type="hidden" value="ISO-8859-1" />
<input name="hl" type="hidden" value="en" />
<input name="source" type="hidden" value="hp" />
Traceback (most recent call last)
a.nim(10) a
strtabs.nim(109) []
Error: unhandled exception: key not found: value [KeyError]
>>
>>52476634
Yes.
>>
>>52476593
>wasting your life trying to learn hasklel
>>
File: o.png (150 KB, 800x450) Image search: [iqdb] [SauceNao] [Google]
o.png
150 KB, 800x450
>>52476659
no

>>52476668
ok, I'll go through the SICP challenges.
>>
>>52476697
At least it's not rust
>>
Rust worth learning?

The documentation is still really lackluster
>>
>>52476777
it's a meme m8
>>
>>52476777
what trouble are you having with the documentations?
>>
>>52476777
What do you mean by "worth learning?"
Is Rust going to earn you a job?
Probably not in the near future.
Is Rust fun to mess around with?
Very.
>>
Is the boost testing framework good? Any other C++ testing frameworks?
>>
>>52476842
boost is feminine m8
>>
>>52476593
This.
>>
Reminder:

>>>/qa/414035
>>>/qa/414035
>>>/qa/414035
>>>/qa/414035
>>
How should I do unit/integration testing? I was just gonna use asserts but I keep hearing about these meme frameworks.
>>
>>52476769
This.
>>
What the fuck is 'feminine code'?
>>
>>52476932
in the previous thread >>52472577
people began referring to bad/shit code as "feminine/girl" code
just CTRL+F for it
>>
>>52476932
You know when you say "You throw like a girl"?

Same thing
>>
>>52476895
>using frameworks just for asserts
m8 when you use a framework, you are tying your whole program to that framework. Don't use one unless you're going to take full advantage, or if you just want to meme a bit.

>How should I do unit/integration testing?
Well you make sure that from the start, you program like everything's a unit, modularity is very helpful. Then you throw a bunch of inputs into it and see how what it comes back out with, and if it fits the description of the function
>>
>>52476932
you know when you're out on a cheeky binge with the lads, and you come home, wake up and see the shitty code you wrote in your drunken stupor? that's feminine code
>>
So I want to get into Mobile Apps programming, but I have no ideas on what to make.

What'd be great is if I had a portfolio of applications though, so I can work for others. Is there a list or information on good apps to have as a portfolio?
>>
>>52477014
fitness app
calculator app
chip-8 emulator app
grocery shopping app
>>
>>52477014
GAYMS
>>
>>52477064
What games though? I don't have any original ideas? I just want to have something to prove I can make quality products.
>>
>>52477105
make sure they're enterprise quality™
>>
>>52477105
you really shouldn't have replied to the guy posting like he was from /v/eddit
>>
>>52476697
>trying

In other words, you tried and were too dumb to understand so decide to insult anyone using it? Nobody said anything about trying.
>>
Well since you FUCKING FAGGOTS CAN'T KEEP YOUR STUPID SHIT IN ONE THREAD, I'm just going to ask in this one and hope it's the one that survives.

In X, it is common that a GUI element, such as a button or image, will be it's own X window (correct me if this has changed), is this just an X thing?
Does Wayland and every other window manager/compositor/display server give you one window for everything and the GUI toolkit just draws everything inside that one window and handles input manually for each element?
The X way of handling GUI elements seems like it would save a lot of pain. I will be writing a display server for my OS and i want to know if I'm doing the right thing here.
>>
>>52477185
And I really shouldn't reply to a guy who feels that one website is better than another.
>>
>>52477105
just pick a genre and do something. there is so much freedom that even if it's heavily influenced by existing games your game will look original based on its art style, mechanics, level design etc
>>
>>52477193
I wanted to know this too. It's weird to me that just to draw window decorations you end up with 40 subwindows.
>>
>>52477218
/v/ is from 4chan you melt
>>
>>52477193
X a shit
>>
>>52477224
So effectively clone other apps, add on some styling of my own, just so I can't be sued, but that'll show I can make something solid?
>>
>>52477272
So, how do you handle your GUI elements?
>>
>>52477286
Yeah, if you really think any of your creative ideas will be unique you'd be wrong m9
>>
>>52476868
How's it going, senpai?
>>
>>52477045
is chip-8 the new meme?
>>
>>52477286
as long as the game functions well it'll be fine. and you have to realize that games literally can't be 100% original. like there's only so many camera perspectives to choose from etc
>>
Lana del rey is such a good artist. Is there anything better to listen to while programming?
>>
>>52477341
I hope so, or at least for emulator/self-made architecture devving to be a meme

>>52477357
Born to Die is best lana del rey song
>>
>>52477357
you're mum
>>
>>52477272
>>52477301
Oh right, i forgot, you don't actually do any programming and you know nothing. You only come in this threads to shitpost and spout memes.
>>
>>52477380
Born to Die is great, but so are Diet Mountain Dew, National Anthem, Young & Beautiful, Summertime Sadness, Blue Jeans, etc etc

She just pumps out great stuff
>>
>>52477357
usually just listen to stuff like this

https://www.youtube.com/watch?v=K2Q6YO3Ez44

instrumentals are ideal, since they blend into the background and aren't too distracting.
>>
Is anyone familiar with Go? I'm thinking about using it to develop a REST api for an app I want to make. Before I get too far with it I want to know if it's a reasonable choice for my project.

The other options are Node.js or PHP but I'm not a fan of either of those systems.
>>
>>52476666
>6666
pls respond
>>
>>52477429
>Go
lmao
>>
>>52477422
I was thinking something closer to Lana though. Like, imagine that the cast from Sex and the City made a band? I want something like that.
>>
>>52477459
What's wrong with Go?
>>
NEVER HIRE A PAJEET

NEVER SHAKE HANDS WITH A PAJEET
>>
>>52477422
>Jazz
>White hipster listening to black music so he can feel tolerant
>>
>>52477532
neckbeard college fags think c and java are the only languages that exist because that's all they've had their hands held through.

Go is a perfectly fine language to do what you need it for.
>>
>>52477548
You're surprised by this?
>>
>>52476540
Daily reminder that writing in C and boasting about using manual memory management (where manual = "I use free and malloc directly") is a sign of programming illiteracy, cargo-cult mindset, and egodystonic physical appearence.
>>
>>52477548
>Cafe Music!!Jazz & Bossa Nova instrumental Music!!お部屋に明るい音楽を!!
it's japanese fucking retard
>>
>>52477429
>webdev
sure go is less bad i guess
>>
>>52477532
it turned into a meme to hate go because muh statelessness and muh type theory are the only things that make a good language
>>
>>52477573
keep telling yourself that
>>
>>52477606
tell me why go is supposedly as good as or better than C++/java/C#
>>
>>52477606
lol what the fuck are you talking about

people in this thread know so little it's laughable

keep building those fizzbuzz machine written in C
>>
>>52477591
Anything that isn't Lamb and Lynx is nigger music
>>
>>52477625
i don't think you understood that post
>>
>>52477532
It's "what if we took everything that's bad about C and added erlang's channels on top?". As a bonus, CoC.
>>
>>52477655
nope but I already hit enter
>>
>>52476540
i'm having a brainfart. how can i tell how many digits are in a given integer? i'm working in java if it matters but i thought i'd be able to do it with just basic operators
>>
>>52477680
Modulo and divide
>>
>>52477653
I love Lamb and Lynx tbqh.

https://www.youtube.com/watch?v=xa0lDZ2eL4Q
>>
>>52477603
I've never heard of anyone writing a REST api in C. Maybe I could use Java on a Tomcat server but it seems wrong for some reason.
>>
>>52477680
log10 or divide by 10 until 0, counting how many times you divide
>>
>>52477607
>ambiguously replying

are you going to have another autistic fit anon?
>>
>>52477697
That's exactly what I'm saying. You're not a great judge of good music.
>>
>>52477707
ty i knew it was something like that
>>
>>52477709
are you going to reply to >>52477624

>say go is good
>mention no reasons for why it's good
sure convinced me
>>
>>52477680
digits = 0
for(i = num; i!=0; i/=10)
digits++;
print digits

There's your pseudocode
>>
>>52477624
well, it's less complex than c++ (easier to pick up, easier to read later, easier to introduce new people to the project) and has a gc and all that.
he doesn't need the perf gained from manual memory management for his project.

java/c#: not pure oop, structural typing, channels and green threads/segmented stacks, saner tooling (the defaults are chosen a lot better than in java/c#), composition based oop, explicit error handling over exceptions (more effort to write, easier to read and to make sure all errors are taken care of, useful for software that needs to stay up long without crashing)

inb4 "implementation defined": not that relevant practically
>>
>>52477589
Some people just like low level development mate.
No need to get all niggerlicious about your pleb web or desktop apps.
>>
>>52477718
I don't think I'm the anon you think I am.
>>
>>52477589
Fucking this.
>>
why is /dpt/ so full of weeaboos?
>>
>>52477624
I think the argument is simplicity.

But It doesn't have generics so it can go fuck itself. I'm a fucking big boy and I want my goddamn generics.
>>
>>52477765
Why are you on an anime imageboard?
>>
>>52477548
Jazz is pretty boss, fuckface.

https://youtu.be/HCG7RTblu1I
>>
>>52477739
http://npf.io/2014/03/unused-variables-in-go/

this alone is retardiculous
>>
>>52477787
this is the tech part of this anime imageboard
if i wanted to see some loser virgin weebs i'd go to /a/
>>
we're gonna need another coder (i'm also a coder) and an art guy that can make low-poly art. if anyone's interested then reply now
>>
File: tableview.png (103 KB, 1830x862) Image search: [iqdb] [SauceNao] [Google]
tableview.png
103 KB, 1830x862
>>52477774
generics lead to messes more quickly in imperative languages, functional languages gain more from generics
>>
File: 1429852208959.jpg (682 KB, 600x3300) Image search: [iqdb] [SauceNao] [Google]
1429852208959.jpg
682 KB, 600x3300
>>52477765
>>52477823
>>
>>52476634
weren't you learning javascript literally like yesterday? one thing at a time weeb
>>
>tfw programs get too big and code too sprawling and I can no longer contain a mental image of the whole thing at once, so I start making mistakes and introducing bugs because, scanning the rest of the stuff I wrote the I'm aware of, I find nothing that could conflict with my new idea and I fuck it up
>I will never code anything more complex than 500-line scripts

Breaking it into smaller chunks only makes it worse since it splinters the mental model I have too much. Having low capacity short-term memory is suffering and makes me feel like a complete fool.
>>
>>52477847
What is it you're working on?

We need more info, anon.
>>
>>52477854
fuck off
>>
>>52477873
a GAYM
>>
>>52477810
ok
just like gofmt, right? why would anyone want a consistent style or code free of absolute redundancy?
incremental development: _
>>
>>52477823
>this is the tech part of this anime imageboard
Exactly, don't be surprised to see anime.
>>
test
>>
>>52477882
What type of game?

Can you give us a screenshot?
>>
>>52477898
Failed.
>>
>>52477888
it should be a compiler warning, not an error that you must hide by assigning to _

you're even setting yourself up for failure by assigning to _ because then you might forget it later on
>>
>>52477891
>>52477854
Anime doesn't even have anything to do with programming. No anime is. It's all about super powers and big boobs.
>>
Is there any value that can be assigned to both an int and a string in C++? Sort of like how you can assign the same integer to both double and char without getting an error.
>>
>>52477898
Are you testing for dubs, anon?

I made a dubs script too. :^)

It doesn't work all the time though.
>>
>>52477928
You obviously haven't seen much anime.
>>
>>52477380
Yeah, the virtual machine/emulator stuff has been in the back of my mind, but I don't feel ready. It's cool to see other peoples stuff tho
>>
>>52477928
https://en.wikipedia.org/wiki/Battle_Programmer_Shirase
>>
Enjoying Rust at the moment. It's far from perfect, but it's pretty neat.
Searching stuff online is pretty annoying with Rust the gayme though.
>>
>>52477917
my experience tells me that the vast majority of programmers ignore warnings
go is a lang where you have to plan ahead a bit to write good programs, that's definetly true, and stuff like incremental development doesn't work as well in go
>>
>>52477995
I get mad at Rust the language whenever I am looking for stuff related to a Rust game server I'm administering for cash.
>>
1, 2, 3, 4
We don't want anime any more!
5, 6, 7, 8
Weebs, fedoras and traps -
these are the things we all hate!


Please add the official /dpt/ chant to the OP next time, thanks.
>>
>>52478022
Flows too awkwardly
>>
>>52477997
normie plebs at google ignore warnings yeah
>>
>>52478039
1, 2, 3, 4
Anime? Not anymore!
5, 6, 7, 8
Weebs and traps - these we hate!
>>
>>52477849
meh, i think it's just OOP that gains that kind of complexity with generics. they wouldn't be so gross in a language like C (or Go)
>>
>>52477928
http://kissmanga.com/Manga/SE
>>
>>52477997
I have severe OCD so I don't ignore warnings.
>>
>>52478018
The horror
>>
File: sds.png (210 KB, 640x360) Image search: [iqdb] [SauceNao] [Google]
sds.png
210 KB, 640x360
>>52478022
baka
>>
>>52478059
Go back to programming. You can't make a good poem it seems. Wrong numbers of syllables.
>>
>>52477862
But if you split it into smaller parts, then you only have to remember how your "modules" interface, with each other. Abstraction inside your projects is the key to make good programs.
>>
>>52478074
the capter on pair programming is nice.
>>
>>52478059
Say it loud, say it clear,
Anime is welcome here
>>
>>52477862
there are these things called "tests"
>>
>>52476666
pls respond /dpt/
;_;
>>
>>52478092
All of the sentences have 5 syllables except for the first. It's good enough.
>>
>>52478156
Please elaborate, Anon.
>>
>>52478073
well, type hierarchies are indeed a major cause (not essentially OOP, but covariance/contravariance and all that junk)
casting isn't *that* common in go if you aren't dealing with really abstract stuff. this can be an advantage and keeps people from overengineering, it also can be a disadvantage when you really need that really abstract stuff.
i don't consider single casts much of an issue, rather lots of cast-mess is what i consider a disadvantage
>>
I'M SO HORNY RIGHT NOW AHHH I CAN'T TAKE IT ANYMORE FUCK GOD HELP MY DICK IS ABOUT TO EXPLODE AAAAAAAAAAAAAA
>>
>>52478258
blow your load man jeez
>>
Where can I find a Windows GUI for ffmpeg senpai?
>>
>>52478154
b-baka
>>
>>52477862
try OOP

you have an object that does a particular task. all you have to keep in mind when programming the object is to fulfill the contract of its interface. and then when you use the object it's just a few simple methods to remember or look up in the documentation.
>>
>>52477734
int digits(int n)
{
return floor(log10(n))+1;
}
>>
>>52476540

Has anyone here ever hinted at a link to /g/ in any work that may be seen by potential employers.

Let's say that I put my 4chan css on github as a project and that github is linked to a linked in.

Would anyone skim-reading my github care?
>>
>>52478488

instead of 4chan put imageboard-css or something
>>
>>52478488
I have a 4chandownloader on my github page, and I've gotten offers from people people who've found my github.
>>
>>52478488
no
>>
>>52478488
>4chan css on github as a project
Same as
>I leave my door unlocked, it's not like anybody is going to test if it's open
>>
whats the best tutorial for an ios app?
>>
File: Untitled.png (604 KB, 1343x829) Image search: [iqdb] [SauceNao] [Google]
Untitled.png
604 KB, 1343x829
Made a youtube channel downloader
Downloads all uploads from the channel, yes, ALL OF THEM
You can pretty easily tweak it do download any playlist if you really want to

Src: http://pastebin.com/X6NrSFBd
>>
>>52478534
that's true though
>>
>>52478545
apple.com
>>
>>52478545

for learning to code ios apps i mean...its early
>>
>>52478393
But you don't need a GUI. Use the command line young one
>>
>>52478558
the wind or something might blow the door open
>>
>>52478579
no, it really won't
>>
>>52478554
>//Also make a "downloaded" folder or it will throw an error
your code should create a folder automatically

nice job though
>>
>>52478587
depends on the door. i've experienced 2+ doors that can open by themselves if not locked
>>
>>52478554
>He doesn't know about the Chrome download API
https://developer.chrome.com/extensions/downloads
>>
File: 0.png (547 KB, 575x674) Image search: [iqdb] [SauceNao] [Google]
0.png
547 KB, 575x674
>>52478642
>implying i use chrome
>implying even if i were to use chrome i would be writing extensions for it
>>
File: RHkpiCi.png (869 KB, 3104x1894) Image search: [iqdb] [SauceNao] [Google]
RHkpiCi.png
869 KB, 3104x1894
>>52478564
>>52478545
There's a bagillion tutorials. I've found the best way to learn is just to start with a default single-view application that xcode gives you and go from there.
>>
>>52478522

My 4chan css is about 1500 lines and sets themes for /g/ /h/ /d/ and /gif/.

>>52478526

People really like open source contributions. I made one single character change to a major project and got a job interview offer the next week (from some random company, not a recruiter). I didn't know that people cared that much.
>>
>>52478691
>People really like open source contributions. I made one single character change to a major project and got a job interview offer the next week

Mine was more because I'm a member of a github team that develops a popular web framework, and I think they wanted to bring on the guy who develops the iOS side of it.
>>
File: job-interview.jpg (20 KB, 292x219) Image search: [iqdb] [SauceNao] [Google]
job-interview.jpg
20 KB, 292x219
>Using identation languages
>>
>>52476632
sounds gud anon-kun. where do i sign up?
>>
>>52476842
they're's at least a dozen different ones now anon. just do some research. they're's a good book on this topic in the pragmatic bookshelf.
>>
>>52478792
>he doesn't indent his code
Don't call us, we'll call you
>>
Is it true that Google actually hires their employees in cool mysterious ways like, hacking your laptop and leaving a txt file in your desktop saying they want to hire you or something? That's really cool!
>>
>>52477741
I second this opinion.
>>
>>52477741
It has to be driver or kernel-level in order for malloc() and free() to be faster than most garbage collection (including reference counting) schemes.

There is maybe one other situation where using malloc()/free() manually is wise: when you're writing a superior memory manager.
Game engines do not use malloc() and free() directly because using them directly is slower than GC or RC in 90% of cases. They usually use their own memory managers (usually several of them.)
>>
>>52478872
no. That would be highly illegal.
>>
>>52476853
heh, Boost has more balls in it's little pinky than you'll ever manage in you're career faggot.
>>
what should i read if i want to learn more about stack?
>>
Trying to figure out how to get types to align here, and I'm not sure how.

I can't divide by integers, but mod requires integers. I've tried slobbering to/fromInteger all over the function but I can't reason out the magic combination.
sumMultiples n1 limit = quicksum n1
where largest n = head $ filter (\x -> x `mod` n == 0) [limit,limit-1..]
quicksum n = (n+(largest n))*((largest n)/2/n)


compiles file, but using it fails:

*Main> sumMultiples'' 3 10

<interactive>:42:1:
No instance for (Fractional a0) arising from a use of ‘it’
The type variable ‘a0’ is ambiguous
Note: there are several potential instances:
instance Integral a => Fractional (GHC.Real.Ratio a)
-- Defined in ‘GHC.Real’
instance Fractional Double -- Defined in ‘GHC.Float’
instance Fractional Float -- Defined in ‘GHC.Float’
In the first argument of ‘print’, namely ‘it’
In a stmt of an interactive GHCi command: print it
>>
>>52478883
But they're Google though, they have enough money to control the law.
>>
>>52476540
Spend a couple of hours writing a script to export my climate data to a netcdf4 file. Tried doing it flexible so, I can aggregate them either to monthly or weekly global grids. Decided to go for iso-weeks to split up the whole timeseries for the weekly grids.

Turns out 2010 was a year with 53 weeks. And week 53 of 2010, and week 1 of 2011 share the same Monday if one tries to write a unique timestamp for each isoweek.

Anyone else here ever gridded data to weeklies? What time-date do you use for each week? I just went with the corresponding Monday, but then you end up with that fuckup for week 53...
>>
Beside Oracle certifications, which certifications are good for your career?

I'm currently studing for the Java Associate. Never thought a language was so full of small details. I wonder if there was a C++ certification. It would be HELL.
>>
>>52476875
haha noice. thx anon.
>>
>>52478908
They won't be able to hire people who know how to protect a computer.
>>
>>52478914
>Beside Oracle certifications, which certifications are good for your career?
Ones which are relevant to your career.

Java associate is a waste of time. Just contribute to a bunch of java shit on github and write a few android apps.

If you are trying to get into the oracle game, do CCB / PSRM testing. You need basic sql knowledge, and that's it, and you can move your way up to developing on that unholy amalgamation of cobol and java.
>>
>>52476932
The type of code Mozilla has shat out since it became a 'Grils-can-code-too' & Genderfluidtransqueer haven anon.
>>
>>52478430
What's the thing she's wearing on her forearm called? Is it a thing? Can I get one?
>>
>>52478816
>they're's at least a dozen different ones now anon
Yeah, that's kind of the problem. I'm not familiar with testing in general, so I can't evaluate them. Thanks for the book rec though.
>>
>>52479030
lol faggot
>>
File: hqdefault.jpg (10 KB, 480x360) Image search: [iqdb] [SauceNao] [Google]
hqdefault.jpg
10 KB, 480x360
>>52476960
>complaining about sexism on 4chan
>>
>>52479041
nprb. just make sure it's easy to implement mocks and you'll be gud to go.
>>
How do I divide two ints like a girl?
>>
>>52479111
by using a language that isn't C
C is for real men
>>
LOL
>>
>>52479053
>implying I'm complaining

typical juden
>>
>>52479111
I'm a girl and this how I would do it:

(a + b) / 2


See. Girls can write good code too.

Please stop with this divisive meme.
>>
>>52479111
*avarage

Fucking hell, I asked that question like a girl.
>>
>>52479157
>no float in sight
LOL YOU CODE LIKE A GIRL
>>
Women are coders.

Men are programmers.
>>
>>52479157
What a shit code, cunt.
>>
File: 1371396893500.png (30 KB, 493x402) Image search: [iqdb] [SauceNao] [Google]
1371396893500.png
30 KB, 493x402
>>52478450
>objects
>methods
>contract of its interface
Woosh.
I'm talking about basic functions taking in text files and spitting out a string, whose particular regular expression I didn't keep in mind when adding in a new function that makes additional edits to this file and messes it up for the other function. Once code goes over a certain threshold of critical mass, I start making these mistakes left and right because when I scan the mental model of the code in my mind, I no longer have a thorough, complete grasp of it when I add in new code. I can barely manage a 600 line bash script, you think I can take up actual programming and its practices?
>>
>>52479134
kek
>>
>>52477330

Pretty well. I'm trying to wrap my head around monads in a way I can explain them.
>>
>>52479237
The better question is why do you have a 600 line bash script.
>>
>>52479237
yes just start learning OOP it will feel perfectly natural to make applications of any size. like if you want to add a whole new feature you just change one or two isolated parts of the project without fucking everything else up.
>>
>>52479237
>I can barely manage a 600 line bash script
no one can anon
bash is a mess
we've got compilers to fix those stupid irrelevant errors for us
>>
File: 1452033448624.png (116 KB, 402x398) Image search: [iqdb] [SauceNao] [Google]
1452033448624.png
116 KB, 402x398
>>52479286
>OOP
>>
>>52479299
if you just use normal functions and namespaces it will still be kinda like OOP
>>
File: desperate-man.jpg (24 KB, 432x291) Image search: [iqdb] [SauceNao] [Google]
desperate-man.jpg
24 KB, 432x291
How do you get rid of your Impostor syndrome?
>>
File: 1444876082183.gif (338 KB, 492x376) Image search: [iqdb] [SauceNao] [Google]
1444876082183.gif
338 KB, 492x376
>>52479134
i guess im a generic web designer
>>
File: 1332676235990.gif (1 MB, 500x360) Image search: [iqdb] [SauceNao] [Google]
1332676235990.gif
1 MB, 500x360
>>52479287
>bash is a mess
s|bash|Perl\Python|
Same deal; basic fundamental problem is my short-term memory, which is reflected upon not only in my programming mistakes but in many other fields of interests. I can't play Chess well for the exact same reason - or cook more than two dishes at once, or do any form of advanced calculation (on paper or mentally), or play any single-player strategy game past the first third of the campaign.

>>52479286
>just start learning OOP it will feel perfectly natural to make applications of any size
Elaborate. I'm unfamiliar with the term and programming lingo to me is what 2006-4chan lingo would be to my aging mother.
>>
>>52479157
I just asked Siri what 5 + 4 / 2 is and the dumb bitch got it wrong, like she never heard of BE(DM)(AS).
>>
>>52479383
Oh wait it's me that's a dumbass
>>
>>52479378
don't listen to them, OOP is a meme
>>
>>52478087
Indeed.
Imagine managing a server that crashes regularly, has an incompatible update every two weeks, has plugins that are incompatible each update, a modding platform that is incompatible each update, a dev team that doesn't really inform you about shit, like when updates occur, a game engine that only makes use of a single core and throttles at 70% usage of that core, an engine that leaks shitloads of memory memory, ...
>>
File: 1442177684348.png (1 MB, 1004x676) Image search: [iqdb] [SauceNao] [Google]
1442177684348.png
1 MB, 1004x676
>>52479378
for example if you have a car you don't want to fiddle with the fuel injectors and whatnot, there's a computer system inside it that manages everything and the car mechanic has set everything up for you so that you can just turn the key to start the engine, press the gas pedal to accelerate and turn the wheel to steer. so you can use the car just fine even though it's really a complex piece of machinery. now if you want to upgrade the engine you will have to take it to a garage and tinker with it but once that's done you can still use the car in the same way. take this concept to the virtual world - you have an object with the "machinery" abstracted away behind an easy to use interface you don't have to worry about it unless you're changing or repairing the object itself. so the rest of your code doesn't have to worry about the implementation details of the object at all, it just has to use the object.
>>
i just got my first job using c#, and im terrible at it.
im NOT a programmer, so, what do i do to become one?
>>
>>52479383
I just asked Siri what 100 to the power of 100 is. The result is amazing.
>>
Working at a small ISP and given almost complete autonomy over my projects.

Should I start injecting small haskell programs into my projects?
>>
>>52479179
>average two ints
>ints
fucking sperglord
>>
>>52479474
OCaml, not Haskell.
>>
>>52479506
>he fell for the OCaml meme
>>
>>52479474
absolutely shiggity
>>
>>52479467
Quite hypnotiq
>>
>>52479524
print_endline "At least I can compute the complexity of my functions. Can you?"
>>
>>52479474
Why would you do that, anon?
>>
>>52479467
>>52479563
what does she say fgts
>>
>>52479585
"The answer is one-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero-zero..." etc
>>
>>52479603
meh she should say 1 gorillion etc
>>
>>52476666

When you load the google page, the input value is empty by default because the search box is blank.
>>
>>52479474
sounds like a fun idea, do you already know Haskell or are you doing this as a learning project?
>>
>>52479524
>he fell for the "OCaml meme" meme
>>
>>52479603

She had the opportunity for a joke, and she blew it. "One hundred to the power of one hundred is equal to one Google, squrared... which is redundant, because Google is already full of squares."
>>
OCaml vs C for working with text?
>>
OCaml belongs in
>>52460407
>>
>>52479716
kek that's a nice joke i wonder if you can suggest jokes to the siri devs
>>
>>52479474

I was given autonomy over my projects and I used it to turn 150,000 lines of unstructured garbage Java into beautiful clean Java with loads of tools to help the people that use it.

Remember Anon, nobody cares about the internals of your project if it works. If you make it simpler for the people using your project within the company and respond to their criticism you automatically become everybody's friend.
>>
>>52479716
But her response printed on the screen would say googol, not Google.
>>
>>52479751
>nobody cares about the internals of your project if it works

They will if it's a production environment and it runs like shit.
>>
>>52479720
ocaml
>>
>>52479474

Sure, if you want job security.
>>
In C++, does make_pair(new Object, new Object) delete the objects on its own, or will it cause a memory leak?
>>
>>52479720
OCaml + Batteries / OCaml + Core
but if you don't have access to any libraries it's only marginally better than C for strings
>>
>>52479828
>trips on /g/
>>
>>52479720
OCaml, but really anything is better than c for text. OCaml on top of that happens to be very suited for text processing.
>>
>>52479844
>redditors on /g/
>>
>>52479844
>this new
>>
>>52479830
neither.
>>
>>52479816

The system should have performance goals as part of its requirements. Running like shit is not running properly.
>>
>>52476540
gay ass loser anime shit hang your ugly self in your closet, mumbling fucktard
>>
>>52476540
Doing my homework. Trying to figure out how to open and input file from a command line argument. It's not going well.
>>
File: 1447681262004.jpg (14 KB, 314x518) Image search: [iqdb] [SauceNao] [Google]
1447681262004.jpg
14 KB, 314x518
>>52476821
This is such a typical autistic programmer response I want to kill myself every time I see one.

Why can't you just say "it's fun to mess around with but it won't earn you a job". Slut.
>>
>>52479751
>150,000 lines
damn. what was the project about?

here in college i only write like a maximum of 3K lines
>>
File: Exploding-head.gif (340 KB, 320x214) Image search: [iqdb] [SauceNao] [Google]
Exploding-head.gif
340 KB, 320x214
>>52479884
So I don't have to do anything? That's amazing.
>>
>>52479924

> parse the command line arguments
> convert to file path
> open the file path
> print the file
>>
File: dash.jpg (39 KB, 640x495) Image search: [iqdb] [SauceNao] [Google]
dash.jpg
39 KB, 640x495
>>52479935
>150k lines
>damn
>>
>>52479944
Enjoy your segfaults.
>>
alright, we're gonna need another programmer (i'm also a programmer) and an art guy who can do low-poly models. reply now
>>
Making a chess AI.

Just need to fix up pawn en passant, then I can write the check, checkmate, stalemate predicates and finally start the heuristic search.

I also have to make a built-in table for opening game. Considering a modified PGN parser instead of hard coding everything.
>>
>>52479974
What's the pay?
>>
>>52479962
?
>>
>>52479974
something something logo being made as we speak :^)
>>
>>52479974
not giving even a slight hint of what you're doing will surely grab lots of interest.
>>
>>52479985
we're gonna split $50k per day
>>
>>52479993
400 dollars per month
>>
>>52479935

It's a system written by around 5 people over the span of 7 years. I can't go into what it does because it's very specific to our company.

In the wild you'll regularly come across projects that go into the millions of lines. There is good money to be made converting some of the colossal financial software lurking in the basements of banks from fortran/cobol/pl1 to C/C++/Java/Python/Scala/Ocaml
>>
>>52479985
What pay?
>>
>>52480014
why would anyone want to program for sandnigger pay?
>>
>>52479966
Wait, so I DO have to do something?
Why can't you guys just give me a straight answer?
>>
>>52480039
Inshallah!
>>
>>52479993
150k isn't all that much.
>>
>>52480049
>being retarded unironically
>>
>>52480049
Because we're not your personal manual reading service.
>>
>>52480039
>sandnigger pay

Uhm m8.
http://www.nbcnews.com/storyline/isis-terror/isis-pays-foreign-fighters-1-000-month-jordan-king-n209026
>>
>>52480075
but i was only pretending to be retarded
>>
>>52480009
i'm looking for people that are motivated enough to actually create something that they'd like to invest their own creative processes to but i already have an idea planned
>>
>>52480089
Guys I found the sandnigger.
>>
>>52480107
>i'm looking for people that are motivated enough to actually create something that they'd like to invest their own creative processes to but i already have an idea planned
>>
>>52480107
if you're not going to talk about what you're actually going to do you can fuck right off.
>>
>>52480089
>12k/year

exactly. I make more than that on welfare
>>
>>52480139
>>52480138
ok so basically i want to write a program that asks for a name (e.g. john) and the output is all in upper case (output: JOHN)
>>
>>52480138
>>52480139
you queers obviously have no interest in the project so why would i even tell you?
>>
>>52480192
>please senpai i'm special
>give me attention while i talk about fuckall
go be autismal somewhere else
>>
>>52480192
Why do you think anyone would be interested if you don't even say what the project is
>>
>>52480192
i'm just trying to help you

$400/month is too little, you'll get an inexperienced >>>/vg/agdg kid at best

most people would be better off working on their own project unless you have solid credentials or can show that you have something interesting in the making
>>
>>52480107

> i'm looking for people that are motivated enough to actually create something that they'd like to invest their own creative processes to but i already have an idea planned


> motivated
> create
> invest
> creative processes


These are all meaningless terms anon-kun. This isn't some university facebook group. The project needs a well defined goal and any work needs a proper contract, until then kindly fuck off.
>>
>>52480189
import Data.Char
main = putStr "What is your name?" >> getLine >>= putStrLn . map toUpper
>>
>>52480221
>>52480231
>>52480206

ok here's my github: https://github.com/torvalds

i'm working on a kernel.
>>
>>52480206
you need to go back

>>52480221
because people who are dedicated don't need to know the specifics until things become more organized. shitposters who pretend to be interested just because they're curious are the ones who flake out after a couple email exchanges

>>52480231
i never said 400/month

>>52480238
i'm not gonna lay out all the details in a fucking /dpt/ thread on here
>>
>>52480295
>not gonna lay out all the details
>doesn't say a single word
Yeah fuck off attention whore.
>>
>>52479958
Yeah. Turns out the problem was that I was a pleb using an ide. If run it using the Ubuntu VM I was issued for the class, it works fine.
>>
>>52480295
why would someone who's creative and dedicated follow a random anon's random idea instead of work on their own idea
>>
>>52480312
what sort of details are you even looking for

>>52480326
because anyone who's experienced in game dev knows that it requires a team to make anything high-profile enough to even stand a chance against AAA titles
>>
>>52480345
what genre is it? what is unique about the game? what do you have so far?
>>
>>52480376
its a 2D tetris game
>>
datastructures, assignments for like the next 15 weeks
>>
>>52480376
like i said, it's gonna be an isometric tile map game. it's gonna have some rogue-like elements. anything else is supposed to be discussed as a team group. that's how all the well-known devs have done it and it's the best way. i'm not gonna delve into further details outside of a trustworthy dedicated team. and it's not just because someone might steal the idea but also because there's no point to telling it to people who aren't even interested
>>
>>52480440
so you're making indie rogue-like #1238931280923 lmao dropped

it doesn't even require a team if you have sufficient competence in all areas
>>
>>52480470
no, i said it would have ELEMENTS of a rogue-like. also every indie rogue-like today is a 2d sidescroller/ pixel type game which is oversaturated as shit. kill yourself
>>
>>52479854
>OCaml on top of that happens to be very suited for text processing.
fucking lmao
only good way to do text processing with it is like ocamllex and ocamlyacc, Pervasives is crap for strings (no functions to convert between strings and chars, shitty regex library, uses* mutable strings for everything). Re, Batteries, Extlib, and Core all offer solutions to working with strings but the fact that
1) you need extra libraries to do the most basic string processing
2) they all carry a bunch of extra shit with them that you don't need
3) they're yet another split in the OCaml ecosystem
means that there's still no good pick for working with strings.
* Now they're finally switching to splitting Strings and Bytes after 20+ years, but ffs that shit is inexcusable

and btw before you pretend like i hate OCaml and im shilling against it, i'm saying all this as someone who uses OCaml pretty much daily and it's been my favorite language for the past year or so
>>
>>52480513
there are 3d rogue-likes too like the one on steam greenlight that anon posted

literally fuck off to >>>/vg/agdg no one here is going to join your "team"
>>
>>52480470
>it doesn't even require a team if you have sufficient competence in all areas
this is also an incredibly retarded thing to say and makes it evident that you have no clue what today's game market is like at all. you're just another autistic nodev shitposter
>>
>>52480545
IA and TOME are both roguelikes made by 1 man
>>
>>52480536
yeah and every one of those 3d rogue-likes are just GRIND games. and people are sick of that shit. but you know what? they still make a killing with their f2p bullshit in the mobile market so plz stfu if you don't know what you're talking about
>>
>>52480545
LITERALLY FUCK OFF BACK TO >>>/vg/agdg retarded shitkid

so a group of 3 underage shitkids is going to compete against multi million dollar AAA games lmfao the delusion is unreal
>>
>>52480573

>>>/vg/agdg
>>
>>52480575
B-BACK THE FUCK OFF???
>>
>>52480567
yeah and it took them what? fucking years to make and still barely any downloads. if you want to actually compete with big name studios you absolutely need a team

>>52480575
>>52480595
i lel at both you fags. i first came to 4chan in 2006 and i outrank you both. fuck off you autists
>>
>>52480638
ok kid good luck recruiting anyone ITT
>>
>>52480638
>TOME
>barely any downloads
>>52480638
>outrank
Stop being an idiot
>>
>>52480440
>there's no point to telling it to people who aren't even interested
Yo pro tip dumbass: there are zero people interested in the project because you have given no information that makes it sound interesting. All you have said is "herp derp isometric and roguelike" which doesn't actually tell anybody anything.

Some chucklefuck showed up on /mlp/ a few months ago and tried to pull the exact same shit, but at least he had (1) a reputation and (2) exactly one image of somewhat interesting concept art. God damn.
>>
>>52480652
>>52480663
kill yourselves, reddit
>>
>>52480680
kill yourself, underage agdg kid
>>
>>52480678
>/mlp/
>>>r/mlp/
>>
>>52480699
but i'm not underage nor from agdg. but you haven't denied that you're a redditor. fuck off back to reddit thanks
>>
>>52480678
>Being a horsefucker

What is it about /dpt/ that attracts idiots, horsefuckers, weebs, traps and fedoras? Why can't we be 10 or so good gay, bro-tier programmers/computer scientists instead of 1000 special snowflakes?
>>
>>52480724
you literally said "nodev". it's from agdg
>>
Hey guys what's going on in this thread?
>>
>>52480736
>>52480724
rekt
>>
>>52480736
by that logic everyone on 4chan is from /pol/ since everyone says "cuck"
>>
>>52480738
delusional kid thinks he's going to recruit free expert labor to make the best damn rogue-like the world has ever seen
>>
>>52480756
and he's going to do it in a few weeks/months because that is a lot of time to him
>>
>>52480756
>>52480777
>projecting this hard
>>
>>52480753
/pol/ likes to spam their shit all over 4chan. AGDG does not. Literally the only place I have ever seen the word "nodev" is in the actual AGDG thread. Whereas "moot is a cuck" was on every board even before the wordfilter made "cuck" more of a meme.
>>
>>52480801
>implying you never called anyone a cuck on 4chan before in a post made by you
fuck off elitistfag
>>
>>52480729
>damn it, what's with all these people who like things I don't like?
>>
>>52480818
he didn't imply that
>>
>>52480528
Did you just copy-paste random comments off reddit from 2002 or something hoping they made any sense?
>>
>>52480832
>he
>>
>>52480850
>>>/tumblr/
>>
>>52480872
>being this new
>>>/reddit/
>>
>>52480850
Not him, but he's correct, I didn't imply that
>>
>>52480900
>he
>>
>>52480825
...Yes? I mean, that's exactly what I was complaining about, so why are you presenting it as if it's new information? I want all the people with differing interests to leave this general.
>>
>>52480929
So you admit there's no legitimate reason the people you listed should leave, beyond "I don't like thing"?
>>
>>52480962
>>52480962
>>52480962
>>52480962
>>52480962
>>
>>52480965
The legitimate reason is that most of them are too pushy with their stupid opinions.
>>
>>52479462
not him, but great explanation anon.
>plus my dick gets hard over F1
>>
>>52481000
So the problem is not bronies, weebs, etc. in general, but specifically those people who insist that everyone needs to watch MLP/anime/whatever?
>>
>>52479467
ask her about teh googleplex anon.
>report back you're findings pls.
>>
>>52481032
I'd lower the bar for "being a problem": Posting their shit relentlessly is enough. Take the OP for most threads.

There's also the fact that I don't like them.
>>
>>52479474
you should probably insert some DICSS into it instead anon.
>>
>>52479474
like your life depends on it.
>>
>>52480965
"I dont like thing" is the only reason we need. 95% of 4chan doesnt want to see thing. 2% of 4chan talks about thing over and over and over and over. People are angry, chaos ensues. Containment board is created for those 2%. Peace on earth, etc.

Do not talk about childrens animated cartoons here and consider why you need to talk about animated cartoons wherever you go. I'd say the same thing to the weaboos.
>>
>>52480049
hehe you DO realize
A) you're on 4chan
B) trolling is an indoor sport here
C) they're are more than one anon responding
Right?

http://en.cppreference.com/w/cpp/utility/pair/make_pair
and find out wat this means in Sepples;
Are
Ayy
Eye
I
>>
>>52480025
>There is good money to be made converting some of the colossal financial software lurking in the basements of banks from fortran/cobol/pl1 to C/C++/Java/Python/Scala/Ocaml
There's even more money to be made fixing bugs that weren't there before and making them buy new hardware to run your new bloatware.
Thread replies: 338
Thread images: 27
Thread DB ID: 435659



[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 / qst / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vip /vp / vr / w / wg / wsg / wsr / x / y] [Search | Home]

[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 / qst / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vip /vp / vr / w / wg / wsg / wsr / x / y] [Search | 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.
This is a 4chan archive - all of the shown content originated from that site. This means that 4Archive shows their content, archived. If you need information for a Poster - contact them.
If a post contains personal/copyrighted/illegal content, then use the post's [Report] link! If a post is not removed within 24h contact me at [email protected] with the post's information.