[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: 327
Thread images: 53

File: 1480956343871.jpg (675KB, 940x822px) Image search: [Google]
1480956343871.jpg
675KB, 940x822px
What are you working on, /g/?

Old thread: >>58147118
>>
First for Java
>>
>>58153699
why shouldnt i learn C for game dev
>>
Functional programming thread:
>>58141396
>>
File: dpt-poll.png (13KB, 660x249px) Image search: [Google]
dpt-poll.png
13KB, 660x249px
Please use Norwegian for /dpt/. A poll was conducted and Norwegian was preferred to English by a large majority of respondents.

http://www.strawpoll.me/11949251
>>
how can i see computer science as something else besides something that's ultimate goal is creating consumer grade products or as simply as a hobby?

I'm halfway through my degree and I can say it's rewarding to finish a project, but i need a higher purpose.

how is computer science beneficial to understanding God?
>>
File: 1480880443203.gif (122KB, 320x240px) Image search: [Google]
1480880443203.gif
122KB, 320x240px
>>58153741
Nigdy
>>
>>58153764
Computer science is applied mathematics.
>>
>>58153787
can you explain further? i'm trying to figure out why computer science is actually valuable.
>>
>>58153733
game engine+games are extremely complex pieces of software involving highly abstract goals, that usually require very rapid and significant iteration

the high-level thinking of game design is usually easier to express and refactor in a high-level language. however, due to performance considerations, object oriented c++ tends to be a popular choice. other popular choices involve writing low-level, performance-critical systems in c/++, while having game systems and logic specified in something higher-level, like c# or lua

there's nothing "wrong" with writing in c, it just typically makes the job harder than necessary when you get past core systems like rendering/collison/etc
>>
>>58153733
Because games don't run on platforms that don't have C++ compilers.
>>
>>58153817
Why is the pursuit of any sort of knowledge valuable? Why is mathematics valuable, or linguistics, or history, or zoology?
>>
>>58153888
with mathematics we're unraveling god's design. you could say its his language.

just trying to tie computer science with philosophy. i mean i'm glad the industry pays well and I enjoy programming as much as playing video games but i'd like to pursue it still and also align it with something more meaningful.
>>
>>58153913
>just trying to tie computer science with philosophy.
Literally type theory.
>>
>>58153913
that's lame
>>
>>58153922
I'm thinking the ultimate goal in computer science is artificial intelligence, no? mechanized pursuit of knowledge.
>>
File: 21centuryhuman.png (56KB, 744x1152px) Image search: [Google]
21centuryhuman.png
56KB, 744x1152px
>>58153764
computer is something that can execute an extension of your mind

you tell it what to do, and it does it

right now its like a retarded and paraplegic extension of you who is also autistic and can do maths at incredibly ihgh speeds
>>
>>58154045
Well a good chunk of type theory is about what is computable and at what cost. That is, quantifying the ability of a computer to decide what is true and in what context.
>>
>>58154063
>is about what is computable

Fact: The most interesting problems are not computable.
>>
>>58154063
is that the whole n = np? what is computable and what isn't and why things that aren't computable are that way? what makes them that way or w/e.
>>
>>58154086
Not surprising that your entire life is computable
>>
>>58154063
>>58154086
If you look at type theory from a moral standpoint, currently it posits that computers are really good at "work" but that they're terrible at "thinking". Even though "thinking", to a computer, is just a form of "work". They can e.g. check that a solution to a complex problem like Traveling Salesman is valid very easily, but can't solve the problem themselves.
>>
>>58154120
Yes, but in the context of type theory, computable things are true statements.
>>
>>58154122
>moral
Computers don't have souls (yet (?))
>>
>>58154130
Moral probably wasn't the right word, I'm not sure why I used it. From a human standpoint? IDK.
>>
File: 1478537729554.png (224KB, 580x435px) Image search: [Google]
1478537729554.png
224KB, 580x435px
>>58154130
>implying we know, what the soul is
>implying we are soulful
>>
File: alphatest.jpg (173KB, 680x680px) Image search: [Google]
alphatest.jpg
173KB, 680x680px
>>58154121

But then, your life is, too.
>>
>>58153699
This thread is pathetic. It is not about programming. It's just a bunch of computers illiterates and first semesters memeing about whatever they just learned.

A quick search shows that most arguments used here are not original and have been copied from some trendy tech blog or other shit site.

The only real programming questions I have seen so far are from beginners(it's fine to be a beginner btw).

This entire site is shit and I don't know why anyone would regularly come here.
>>
Starcraft Broodwar API using BWAPI
http://www.starcraftai.com/wiki/Main_Page

I'm not joining any competition though. Just for the fun of it and it's a great project to discover shits where I can use Java 8 features like streams and lambdas.

By the way, if any of you guys are interested in creating one of your own BW AI, maybe we can have a general thread one day and have our bots fight each other?
>>
File: Untitled.png (3MB, 1920x1080px) Image search: [Google]
Untitled.png
3MB, 1920x1080px
>>58154054
>its like a retarded and paraplegic extension of you

yep, that pretty much describes any program I've ever made.
>>
>>58154158
cool story, bro
>>
File: 1472937160601.jpg (45KB, 640x480px) Image search: [Google]
1472937160601.jpg
45KB, 640x480px
>>58154153
>>
>>58154158
What do you mean first semesters memeing? do you think we're not sincere or something?
>>
What do you guys think about "reward interstitials" for actual websites?

So instead of demanding credit cards from people, you just give points to use by watching ads to do some things like say sending a virtual rose on a dating website
>>
>>58154168
that looks pretty cool.
>>
>>58154191
It's copypasta
>>
I want to get into embedded systems as a hobbyist.
What kind of development board should I get? Microchip Curiosity? Arduino? Raspberry pi?
>>
File: 1482280328773.gif (2MB, 279x350px) Image search: [Google]
1482280328773.gif
2MB, 279x350px
>>58154121
>>58154122
>>58154153
>>58154186
>replying to tripfags
>>
File: 1480345449662.jpg (99KB, 448x537px) Image search: [Google]
1480345449662.jpg
99KB, 448x537px
>>58154218
much sorry
>>
>>58154218

I'm the best worst tripfag. Everybody loves replying to me.
>>
>>58154218
Please don't acknowledge that a poster is using a trip.
>>
File: 1476129446322.jpg (115KB, 392x450px) Image search: [Google]
1476129446322.jpg
115KB, 392x450px
>>58154240
no problem
>>
File: 1461340290141.jpg (107KB, 363x461px) Image search: [Google]
1461340290141.jpg
107KB, 363x461px
>>58154270
>>
>>58154147
so that's the point of computer science. to know what it is to know. basically to figure out what a soul really is. perhaps its just an illusion.
>>
>>58154294
my soul is real
>>
File: Cover.jpg (197KB, 1200x1200px) Image search: [Google]
Cover.jpg
197KB, 1200x1200px
>>
>>58154168
1. It cant walk around
2. You c4n f00l it by d01n6 th15

You need to consider his retardation so you have no bugs, and to make use of his autism and math skills

But the point is, you can dettach chores from your mortal mind and have the machine take care of them
>>
>>58154054
How are you driving and using a keyboard at the same time?
>>
File: myspells.png (11KB, 367x432px) Image search: [Google]
myspells.png
11KB, 367x432px
>>58154261
I usually don't, since I don't see them.
>>
someone sage a thread on /g/ and I'll find the post immediately.
>>
>>58154417
Go find it.
>>
>>58154460

>>58154443
>>
>>58154367
Just anonymize them you idiot.
>>
C++ question
How do I prevent a memory leak in the following code?
MyObj obj1(1), obj2(2);
MyObj obj3 = obj2 - obj1;

The operation
 obj2 - obj1 
creates a new object and returns a reference to it, and operator= copies the content of that object and puts it in obj3. But the object created by operator- is never deleted.
plz help.
>>
>>58154490
That's not the one. You will know it when you see it.
>>
>>58154525
nah. it's too late. I'll never find it now.

go again.

don't sage a thread on the first page or it won't work.
>>
>>58154520
Solution: don't do this
>>
>>58154537
Strange constraint...anyways, posted.
>>
>>58154492
When a person uses a trip through multiple threads, it means this person wants to be acknowledged.
That doesn't belong to the nature of
anonymous
imageboards, and such persons should be ignored, so their ego would lessen and not desire to get more attention.
>>
File: 76.png (17KB, 900x900px) Image search: [Google]
76.png
17KB, 900x900px
Batch scripts are pretty comfy, just converted a complete series to a suitable format that plays on my PS4.
>>
>>58154568
ok that was too easy
>>58154556
>>
>>58154540
but I have to support that operation
>>
>>58154595
why are you fucking around with pointers?
>>
>>58154591
That's the one. Now why doesn't it work on the first page?
>>
>>58154600
How else could you return a reference to an object that doesn't self destruct when the function call ends?
>>
>>58154610
well it sometimes works, but only if it's not one of the top few threads that were bumped in the last few seconds.
>>
>>58154623
just use shared ptrs or something
>>
>>58154623
Don't return a reference, return the value.
>>
File: 20161224_160234.jpg (1MB, 3264x2448px) Image search: [Google]
20161224_160234.jpg
1MB, 3264x2448px
Can someone do me a favor and post the back of their copy of K&R C?
I'm like 80% sure I got a bootleg copy off of eBay
>>
Should I pursue computer science independently while working a full time job as a software engineer or should I pursue computer science via academia?
>>
File: 20161224_160356.jpg (1MB, 3264x2448px) Image search: [Google]
20161224_160356.jpg
1MB, 3264x2448px
>>58154681
Part two:
The text inside looks more like a facsimile than a new print
>>
Error    C2440    'initializing': cannot convert from 'glm::f32vec3 (__cdecl *)(const glm::f32vec3 &,const Params *)' to 'glm::f32vec3 (__cdecl *)(const glm::f32vec3 &,const Params *)'


Why doesn't this work? It's the same type?
>>
>>58154670
this
>>
>>58154460
2nd attempt
>>58154450
>>58154451
>>
If your project requires a specific compiler and you're creating a git project, would you typically just include the compiler in the project assuming no licensing issues?
>>
File: NOwS64t.png (18KB, 600x600px) Image search: [Google]
NOwS64t.png
18KB, 600x600px
>>58154681
>>58154705
>2017 - 1 week
>using actual dead tree books
>>
>>58154710
need more context

>>58154735
>stupid opinion
>frogposter
nobody is surprised
>>
>>58154717
>>58154670
Yes, also I should stop using pointers.
Thanks
>>
>>58154735
This sounds strange but I can not retain information from an electronic book nearly as well as from a physical book
>>
Reminder to vote for Norwegian /dpt/, to keep out Pajeet

http://www.strawpoll.me/11949251
>>
>>58154580
Yeah except you give them attention anyway because you're a retard.
>>
>>58154745
I'm using a pointer to a templated function instance which has the exact same prototype as my typedef.

Heres a simple demonstration of what I'm essentially doing:
https://godbolt.org/g/7HMVvk
>>
>>58154367

Rude.
>>
>>58154890
does the code you linked work?
>>
>>58154860
>reply to tripposters to be a retard
>hide tripposters (i.e. don't reply to them) to be a retard
Seems about right.
>>
>>58154914
yes, which is why i dont know why this doesn't work:

>>58154710
>>
>>58154520

1. You want a move assignment constructor, rather than a copy assignment constructor.
2. If there is a destructor, it will be deleted when it goes out of scope. If you need evidence that it is doing just that, add a print statement to your destructor.

Seriously, abuse the fuck out of RAII. You will not leak unless you are doing something stupid, and that something stupid probably involves cyclical references, which you should probably be using weak_ptr for.
>>
So why are you posting on /dpt/ on Christmas Eve, lads?
>>
>>58154930
so link some code that doesn't work
>>
>>58154942
I don't celebrate Christmas
>>
File: Vladimirskaya.jpg (203KB, 456x681px) Image search: [Google]
Vladimirskaya.jpg
203KB, 456x681px
>>58154942
Because Christmas is is two weeks yet.
>>
>>58154942

>not being on call during Christmas

What are you, not a corporate slave or something?

>architect put our shit on Ubuntu
>on Apache
>doesn't know how to configure caching
>I have to be on call
>I can't into Linux

Not sure who trolled whom here.
>>
Ideas for mobile phone applications.
>>
File: 2560x1600-black-lagoon-balalaika.jpg (1020KB, 2560x1600px) Image search: [Google]
2560x1600-black-lagoon-balalaika.jpg
1020KB, 2560x1600px
>>58154968

Blyat, poshel naxui.
>>
>>58154955
Pajeet?
>>
>>58154996
I can't be bothered with one god, let alone several.
>>
>>58154990
nyet
>>
File: GM-94-Grenade-Launcher5.jpg (254KB, 618x568px) Image search: [Google]
GM-94-Grenade-Launcher5.jpg
254KB, 618x568px
>>58154968
>>58154976
>>58154990

ITT: https://www.youtube.com/watch?v=EHa3twURYHE

Slavs, why u hack everything?
>>
>>58154942
Because I'm jewish and there is nothing wrong with that.
>>
>>58154942

I'm putting off wrapping my mom's gift and buying my dad's gift (which is a subscription, so I could get it done in 5 minutes. I'm just lazy).
>>
>>58154947
typedef glm::f32vec3(*ColorProc)(
const glm::f32vec3 &Color,
const Params *Info
);

struct PaletteEntry
{
ColorProc PaletteFunc;
ColorProc SpanFunc;
};

...

template< const glm::f32vec3 *Palette,size_t Count>
glm::f32vec3 _cdecl LookupNearest(
const glm::f32vec3 &Color,
const Params *Info
)
{
return ClosestColor(Color, Palette, Count);
}

...

const std::array<PaletteEntry, 13> Palettes =
{ {
...
{ LookupNearest<AppleII,glm::countof(AppleII)>, SpanStub }, // C2440



I'd like to avoid any of those "why don't you just-" answers that beg me to refactor my code entirely(such as passing the parameters at run-time) and actually just get this specific code working.

Error    C2440    'initializing': cannot convert from 'glm::f32vec3 (__cdecl *)(const glm::f32vec3 &,const Params *)' to 'ColorProc'
>>
>>58154942

I'm hopeless :(
>>
>>58155029
>using a computer on the sabbath
>>
>>58154942
I think I bought a counterfeit book
>>58154705
>>58154681
>>
>>58155046
put the barrel of your riffle in your mouth
>>
>>58155022
*tips fedora*
>>
>>58154976

>I can't into Linux
Why the fuck are you on /g/ to begin with? Go away, pleb.

>>58154978

If we had any good ones, don't you think we'd be making them?
>>
>>58155045
is f32vec3 defined or only forward declared
>>
>>58155051
1. Sabbath starts on Friday 18:00 and ends on Saturday 18:00, so where I live it's not sabbath anymore.
2. You should not work on sabbath, shit posting is not working.
>>
>>58155096
how's washington?
>>
>>58155096
You are not a girl and will never be.
>>
>>58155096
>If we had any good ones, don't you think we'd be making them?
Perhaps if people were generally hard workers and knowledgeable of how to solve problems then I'd be more inclined to agree.
>>
>>58155109
It's a very defined template specialization
https://glm.g-truc.net/0.9.4/api/a00157.html#ga81353c6a9b282b2b34185306a40040ad
>>
>>58155111
1. Fair enough, I incorrectly assumed you were in the US.
2. I resent that remark, I put a lot of work into my shitposting.
>>
I'm learning c++ and there are some things that I can't understand very well.
In c# there is a clear distinction between reference types and value types, but in c++ it seems that everything is a value type unless you actively use pointers. Also, it seems everything goes in the stack unless you use a pointer and the new keyword (then it goes to the heap).
Is this correct?
>>
File: edg.jpg (33KB, 613x637px) Image search: [Google]
edg.jpg
33KB, 613x637px
>>58153699
A Tetris. Strangely I'm stumped on the theme. I don't want it to be too retro.
>>
>>58155155
are you sure? i've had issues with glm with this but using mat4 or something
>>
>>58155185
>I'm learning c++
stop
>>
>>58155213
How did you resolve it.

Both the hpp and cpp include glm and should be emitting the same instance class
>>
>>58155209
idubbbbbbbbbbbbbbbbz
>>
>>58155096

>Why the fuck are you on /g/ to begin with? Go away, pleb.

Because I can actually program? Don't get me wrong - hats off to people who can actually use Linux and write machine language to useful ends, but that's king-tier.
>>
>>58155272
See >>58154218
Their opinion matters not.
>>
>>58155235
I don't remember, sorry
Is it literally the same include? As in the cpp includes the hpp that includes glm, and not that they both include it seperately
>>
File: nexuizrocks.webm (736KB, 1920x1080px) Image search: [Google]
nexuizrocks.webm
736KB, 1920x1080px
I'm currently working on WAMPVOIP, my VoIP protocol, aiming to finish it tonight.
List of things to do:
- Make Authorizon(a dynamic authenticator for crossbar)
- Add permissions/modes(easy)
- fix audio(super easy)

Meanwhile, enjoy some fail.
>>
>>58155342
hpp < includes glm
cpp < includes the above hpp that includes the glm
>>
>>58155369
glm is header only.
>>
>>58155398
i know. Im saying my cpp includes an hpp which includes glm. They both have glm visible to them.

There is still no reason for the function pointer to not work.
>>
>>58155398
No, he means the hpp/cpp he's writing

>>58155369
Not entirely sure what the problem is then
>>
>>58155119
Snowy.

>>58155140
Finally, someone listens to me!

>>58155142
Android applications aren't really that hard to make, Anon.

>>58155272
Linux and machine language are worlds apart in difficulty. Programming on Windows is a pain in the ass.
>>
>>58155081

reported for being rude.
>>
>>58155483
Don't lie, Ruby. We all know you're a girl.
>>
Anyone knows any online bitcoin exchange that provides public API with exchange rates in bitcoin charts format, like localbitcoin?
https://localbitcoins.com/bitcoinaverage/ticker-all-currencies/

I have a shitty project I need to do but I struggle to find more exchanges that uses this format.
>>
>>58155483
>Android applications aren't really that hard to make, Anon.
And you agree that's an unpopular opinion, right? I mean maybe not on here, but you can at least admit this place's general personality is pretentious and 'know-it-all'.
>>
File: 1235ryuhygd.png (72KB, 559x587px) Image search: [Google]
1235ryuhygd.png
72KB, 559x587px
>>58155549
can you explain, what each parameter means?

pic related
>>
$ ruby -e 'p [][0]'
nil
$ python -c '[][0]'
Traceback (most recent call last):
File "<string>", line 1, in <module>
IndexError: list index out of range
>>
>>58155658
Yes I can. I was hoping someone knows more exchanges like localbitcoin that provides the same data in this format.
>>
>>58155209
What are you writing it in, and with what libraries?
>>
>>58155676
maybe this

https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
>>
>>58155708
pure C no external libraries at all.

i'm already at 40K loc, though
>>
>>58155738
i do not believe
>>
>>58155708
C++, Allegro 5.0.10
>>
>>58155738
>pure C
>deals with WinAPI
>stores the image
I doubt.
>>
File: new layout.jpg (94KB, 1092x636px) Image search: [Google]
new layout.jpg
94KB, 1092x636px
>>58155783
>>58155771

For goodness' sake, pay attention. And what do you thing of this layout?
>>
>>58155504

I have a dick, hairy arms, hairy legs, a neckbeard and mustache, and most importantly, no dysphoria or any kind. I am not a woman; I am a man.

>>58155612

Most programmers are pretentious know it alls.

>>58155660

Why yes, Ruby doesn't believe in index out of bounds. You'll get a similar result if you use a hash table index that doesn't map to anything, or a string index out of bounds.
>>
>>58155870
>tfw /dpt/ is a bunch of women pretending to be men, some of whom want to be women
>>
Rate my mobile phone app idea

An app that lets you scan the bar-codes of food products you purchase which then you can enter the expiration date which would push notifications to you of when that date is nearing.
>>
>>58155940
Seems a little tedious inputting a date for every food you buy.
>>
>>58155903

In my time, women were told to post tits or gtfo so that no one would give them attention for being a woman on 4chan. You goddamn newfags are giving everyone a woman card for free whether they want it or not.
>>
>>58155988
Perhaps scanning the date with computer vision might make it more bearable?
>>
Turing was a fag, stop using fag terminology like turing complete
>>
>>58156055
kys
>>
>>58156042
That's an option.
>>
>>58156069
Fuck off fag enabler.
>>
>>58156055
>>58156090

>Fag gets mad about other people being fags
>>
>>58156040
>Said Ruby, the woman pretending to be a man on /g/ since forever
>>
>>58156140
I don't support godless degenerates. Only reason why that fag gets mentioned is because kikes have normalized their mental disorder.
>>
File: 20140621124141.gif (422KB, 284x437px) Image search: [Google]
20140621124141.gif
422KB, 284x437px
>>
>>58156180
Cute, but no.

>>58156187
>Hates Jews
>Worships a dead Jew on a stick.
>>
Does Ruby have an equivalent to Perl's $_ ?

Ruby's version of $_ seems to store something entirely different... I'm interested in having an implicit iteration variable.
>>
>>58156243
Not in the mood for your revisionist atheist anti christian nonsense atm
>>
>>58156243
Jesus was not a jew, dumb tripfag. Jesus hated the jews for their merchant ways.
>>
>>58153699
Forking the `nitrogen` distro to set a symbolic link to a wallpaper instead of saving it in a config file.
>>
File: 1482263494384.jpg (50KB, 736x574px) Image search: [Google]
1482263494384.jpg
50KB, 736x574px
Any good book to learn C++?
>>
File: c++-for-kids.jpg (139KB, 510x514px) Image search: [Google]
c++-for-kids.jpg
139KB, 510x514px
>>58156292
>>
>>58156257

To be fair, I don't actually have a problem with Christians, but you are clearly hypocritical to hate Jews as a Christian. You worship their God and the man you call your savior is a Jew.

>>58156258

Jesus demanded that money changing be kept out of the temple. If he hated all Jews, he would have demanded that the Jewish temples be destroyed outright.

And yes, he was a Jew. His mother was Jewish, and the God he claimed to descend from was the Jewish God.
>>
>>58156292
Scott Meyer's books, starting with the first one (Effective C++). If you still want more afterwards, Exceptional C++ by Herb Sutter and Modern C++ Design by Andrei Alexandrescu.
>>
>>58156326
Jesus was Israelite, never was a jew and the jews killed him. Jesus was a jew is jew revisionism.
>>
>>58156326
Jesus is not a Jew, not religiously and not ethnically.
He was Judean.
>>
>>58156350
also, he is not real
>>
>>58156358
There have been records of his existence.
>>
Which language is better, Basic or Pascal?
And why?
>>
File: fqwe123.jpg (450KB, 1200x1815px) Image search: [Google]
fqwe123.jpg
450KB, 1200x1815px
>>58156384
Yeah, i also have some records of the existence of spiderman
>>
>>58156424
There exist Roman records of Jesus
>>
>>58156416
Basic, because MS Office scripting. Otherwise, they're both pretty irrelevant these days imo.
>>
>There are people who use """"smart"""" pointers non-ironically in this very thread

How does it feel being such a bad programmer that you need to waste bytes keeping track of things for you?
>>
>>58156433
Stop taking the bait, he knows exactly what you're talking about.
>>
>>58156467
Fine
>>
How would you optimize a finite state machine?

Not optimize as in, reduce the number of nodes and keep the same functionality, but run an optimization algorithm such as simulated annealing or hill climbing to design the FSM for you.

The best i can think of is randomly add/remove nodes/connection and discard FSM's that perform worse. A genetic algoritm.
There has to a better way though.
>>
File: 1480315178749.png (94KB, 301x267px) Image search: [Google]
1480315178749.png
94KB, 301x267px
>>58156332
Thanks anon.
>>
>>58156253

Had to look up Perl's special variables. Ruby is similar on a number of them, but not always exact. Anyways, Ruby doesn't have anything implicit for iteration. Everything's done with blocks anyways, and blocks require an implicit variable declaration, such as:

(1..10).each do |i|
puts i # Sorry, you can't puts $_ as you would in Perl
end


The $_ special variable in Ruby refers to the last line read from STDIN.

>>58156292

Merry Christmas, Anon!
http://mazonka.com/shared/Straustrup4th.pdf

>>58156347
>>58156350

You guys realize that one of the earliest theological arguments your religion had was whether or not to retain Jewish traditions, right? Because your prophet was, whether you like it or not, a Jew.

>not ethnically
JEWISH MOTHER

>not religiously
Worships exact same God as Jews. Told followers, among other things, to keep the commandments. You know, the commandments Jews were told by Moses?
>>
>>58156433
I think you don't understand what an historical record actually is, also you me be confusing a record with a mythical explanation
>>
File: gg.png (209KB, 1070x635px) Image search: [Google]
gg.png
209KB, 1070x635px
its not normal if this uses between 200 and 140 mbs of ram, right?

its python + pygame, it stays at 142 unless i scale, then it jumps to 200 then it goes back to 142
>>
>>58156563
Use numpy
>>
>>58155870
>doesn't believe in index out of bounds
what the fuck do you mean "doesn't believe in index out of bounds"? if you access out-of-bounds the very WORST thing you can do is silently return nil and let it propagate through the program. it's fucking moronic.
>>
>>58156574
for what?
for drawing?
>>
>>58156591
For storing the data, using numpy.matrix, and shit like that
>>
>>58156563
>its not normal if this uses between 200 and 140 mbs of ram, right?
FFS, you use Python.
This language isn't known being resource-light.
>>
>>58156540
I don't see why Ruby's blocks would make Perl's $_ impossible to have, but thanks for the answer either way.
>>
>>58156610
i just found out, when scaling x2 it uses more memory than when im scaling /2, but supposedly im only drawing the tiles in view

>>58156629
so its python? im not doing something horribly wrong when i draw?

You say its the classes? I should go full numpy like that guy said? No OOP for me?
>>
File: IMG_20161225_120930.jpg (2MB, 3120x4160px) Image search: [Google]
IMG_20161225_120930.jpg
2MB, 3120x4160px
>>58154681
Here's mine, anon
>>
>>58156040
tits or gtfo
>>
>>58154681
>>58156657
>not having the green Eastern Economy Edition "only for sale in India, Sri Lanka, Pakistan and Bangle Desh" K&R
>>
>>58156582

>what the fuck do you mean "doesn't believe in index out of bounds"?
Doesn't believe in index out of bounds errors. I mean, there is an IndexError exception if you use the fetch method, rather than the [] operator, but that's not in common usage.

> it's fucking moronic.
Opinion, really. Most of the time you use an array in Ruby, you're using a method with a block anyways, so you never really deal with indices directly.

>>58156631

It's not that it would be impossible from a language design, it's just that they didn't really want it. Consider the fact that blocks can take multiple arguments. Should $_ refer to the first? How should the second be accessed? You would need either a second default or to reference both explicitly. From a language designer's perspective, it just makes sense to do everything explicit. It's more readable anyways.
>>
>>58156653
>so its python? im not doing something horribly wrong when i draw?

Well, you can do something horribly wrong with it, but as for me, 200 megs of RAM wouldn't be an issue for me if I used Python.
If I wanted powerful and classes, C++ seems the only choice.
>>
>>58156736
no, hey, if it stays like that i welcoming it, i just wanted to know if its normal or if i should expect it to grow as i add more and more tiles

is there anyway i can see where is all the memory going?

i want to know if thats what python wastes in classes, or if its python struggling to load 9 pngs
>>
>>58156667

That only works on women, Anon. I never claimed to be one.
>>
Why doesn't ruby make use of monads?
>>
>>58156801
>using monads when you could be using quadads
>>
>>58156784
Good, the first step in growing out of your tranny phase is admitting you're not actually a woman
>>
>>58156839
Dyads don't seem to offer much more interesting of a structure
>>
>>58156839
>>58156865
*tetrads
>>
>>58156851

>tranny phase
Allow me to repeat myself: "I never claimed to be one."
>>
>>58156886
Yes, denying your degenerate past will help you become a better person. I'm proud of you
>>
>>58156906

What degenerate past?
>>
>>58156763
converting to bmp helped like 20mbs, i think i need to go for tile sheets

but how do i scale that way? i hold the scaling amount and do it when drawing? or do i load a tile sheet for each scale mode?
>>
>>58156939
I'd say being a brony but then that's not just the past is it
>>
>>58156959
What scale modes do you talk about?
>>
>>58155483

>Programming on Windows is a pain in the ass.

You are so full of shit. You have to run VMs for everything on Linux.
>>
>>58156801
Show me a good use for one in a language that isn't Haskell.

>>58156984
>that's not just the past is it
Of course not ;^)

>>58157029
Wine is usually sufficient. If it works in Wine, it almost guaranteed works on Windows.
>>
>>58157029
?, no?
>>
>>58156994
i want to be able to hit the mouse scroll button and scale the screen *2 , and /2

im not even rendering at each frame, rendering is event driven, its a map editor, no animations
>>
>>58157090
>Show me a good use for one in a language that isn't Haskell.
>tfw you realize that exceptions in all languages is a monad.
You just lose anon.
>>
>>58157106
And async.
And LINQ.
>>
>>58157106

Then it begs the question as to why you would ask why I'm not using them when I've clearly been using them the whole time.
>>
>tfw your language has no LINQ
>>
>>58157163

What language are you using that you wish had LINQ?
>>
>>58157163
>your language is so shitty that simple streaming primitives appear to be deeply magic
>>
>>58157103
Alrigt.
>>58156959
>i hold the scaling amount and do it when drawing?
What does it mean?
>>
Do you guys realize that you can find monads in any language, right? What you're asking for is a language with a first-class monad(-like) abstraction, which is different to implementing some "monad". Use the proper terminology or people will keep getting confused.
>>
>>58157284

>monads

Seriously, every time I post on /g/ I see monads posted like they are somehow relevant.

>>58157090
>>58157094

lol, good luck running VS, SQL Management, and some sort of front end IDE.

>>58157163
>>58157221

>Ruby doesn't use LINQ
>thinks it's ok not to have it

Wow. Seriously, wow. I don't know you, and I was giving you the benefit of doubt, but if you think LINQ isn't a great feature, there is nothing else left to talk about.
>>
File: code.png (12KB, 480x312px) Image search: [Google]
code.png
12KB, 480x312px
Is there a nicer way to do this? shapeSelected is a string, it's equal to either "circle", "triangle", or "square" depending on the value of shapeIndex.
>>
>>58157317
>Seriously, every time I post on /g/ I see monads posted like they are somehow relevant.
In this sense, none of the common abstractions are relevant either. Abstraction is just a tool to make writing some stuff simpler, and monads help a lot when writing anything remotely related to an EDSL ("semicolon overloading"). For instance, one could implement something like LINQ syntax without modifying the parser of the language instead of having to use those clunky chains of combinators. Similarly for async, etc.

In the end, it's just a matter of expressiveness. And just as a nice side effect of the abstraction (pun not intended), this also allows you to write monad-agnostic ("semicolon-agnostic") loops, conditionals, etc.
>>
>>58157363

Shape index should be an enum with human readable values. I am >>58157317
>>
>>58157403

Hats off to you for at least being able to back up why you mention them.
>>
>>58153699
>What are you working on, /g/?
My sadpanda thingamabob, considering dropping the whole gui shit and just going with a cli, using qt is depressing as fuck.
>>
NEW THREAD WHEN?
>>
>>58157317

>VS
VS is a major pain in the ass. I'm forced to use it for my research, since it involves Windows drivers, but anywhere else, no thank you!

>SQL Management
I am not sure which Windows tools you are referring to, but I do know that there are plenty of Linux tools for dealing with SQL servers, particularly given that MySQL and PostgreSQL are typically run on Linux servers.

That said I don't do typically do database work.

>some sort of front end IDE
If I needed an IDE, I'd use Qt Creator. That said, I generally prefer just use Sublime Text with CMake or even just a regular Makefile.

>if you think LINQ isn't a great feature, there is nothing else left to talk about.
You seem to be extrapolating too much from my post. LINQ is fairly nice. It's a .NET specific thing though. While many languages have similar features, it won't be called LINQ. Most of what LINQ offers I can do seamlessly in Ruby with regular old methods on Enumerable objects.
>>
>>58157471
>228 posts
in about 100 posts
>>
>>58157472

>VS is a major pain in the ass. I'm forced to use it for my research, since it involves Windows drivers, but anywhere else, no thank you!

Got a better solution?

>I am not sure which Windows tools you are referring to, but I do know that there are plenty of Linux tools for dealing with SQL servers, particularly given that MySQL and PostgreSQL are typically run on Linux servers.

>MySQL
>not shit

Pick one.

Postgre is basically only useful for reporting.

>If I needed an IDE, I'd use Qt Creator. That said, I generally prefer just use Sublime Text with CMake or even just a regular Makefile.
>If I needed an IDE

Good luck finding files in Sublime/Notepad++.

>You seem to be extrapolating too much from my post. LINQ is fairly nice. It's a .NET specific thing though. While many languages have similar features, it won't be called LINQ. Most of what LINQ offers I can do seamlessly in Ruby with regular old methods on Enumerable objects.
>Ruby

Ah, you are one of those.
>>
>>58157458
That what you should do in the first place. Create a CLI program for it and if you wanted to, make a GUI application to interface with it.
>>
>>58157531
That's how I started it, once I had some features implemented I figured it would be nice to do a gui for it, now I'm not so sure anymore.
>>
>>58157514

I will add to that post since I find myself just trolling at this point - there is no way you can as easily do what LINQ does with Ruby. There is a reason functional programming is becoming a thing and Javascript (ib4) is adding helper methods to do what LINQ does. Sure, I can add a function to do whatever, but that's time wasted.
>>
File: wgetgui.png (18KB, 651x497px) Image search: [Google]
wgetgui.png
18KB, 651x497px
>>58157458
>programmers in charge of making GUI
Nowonder why material design is so popular nowadays.
>>
>>58157266
like saving
self.scale_amount = 2
and then when drawing
if self.scale_amount != 0:
my_img = scale_img(img, self.scale_amount)


or i could save them all at the beggining and do
my_img = draw(img[self.scale_mode])
>>
>>58157567
yeah, fuck it, GUI shit gone.
>>
>>58157579
I think the only way to know is to test.
Anyway, twice scaled pictures require four times more space. I don't know details of the implementation of the scale function, but I don't think it to have some wonder code created to spare space less than 4 times than the original.
>>
>>58157643
yep, i think my question basically is:
"should i scale at runtime depending on what i need for the screen" or
"should i scale at loading and have a 3 version of all graphics, one at /2, one normal, and one at *2 to avoid scaling at runtime"

by "scaling at runtime" i don't mean scaling the tiles i need at every render call, i mean, if need tile 1, i scale tile 1 and then all times i need tile 1 is already scaled, but tile 2 isn't scaled until i need it

which can be better than having three version of ALL tiles loaded into memory
>>
>>58157458
Nice kajigger

>Panda Downer
I get it!
>>
>>58157317
Run Qt creator or MySQL
>>
>>58157755
>I get it!
Get what?
It was just a random name I gave it, because it needed some kind of title.
>>
>>58157712
The former requires more computation power,
the latter requires more memory (supposedly) but faster loading time.
The choice is really up to you.
Though if all tiles will end up to be scaled, I think you can spare memory.
>>
>>58157800
Oh, well, I took it to mean "Downer" was a reference to both "downloading" and "sad panda". Even if you hadn't intended it, I think it's neat.

Do you have this online somewhere? A GitLab or something?
>>
>>58157823
>Oh, well, I took it to mean "Downer" was a reference to both "downloading" and "sad panda"
well, yes, that was the gist of it
>Do you have this online somewhere? A GitLab or something?
no, not yet at least, and the GUI has been ******************DELETED*********************** as if gave me a brain hernia
>>
>>58157802
thx a lot man
>>
>>58157514

>Got a better solution?
For Windows drivers? No. For anything else? Literally anything else.

>SQL
Most sites I've seen tend to use MySQL or PostgreSQL if they're not doing NoSQL. If you hate both, oh well.

>Good luck finding files in Sublime/Notepad++.
File->Open Folder

>you are one of those.
Say what you will. My main languages are Ruby, C, and C++. I use whatever feels right for the task, and where performance is not a concern, Ruby just does what I want well.

>>58157566

>There is a reason functional programming is becoming a thing
There's a reason why Lisp is considered one of Ruby's influences.
>>
>>58157949

>Most sites I've seen tend to use MySQL or PostgreSQL if they're not doing NoSQL. If you hate both, oh well.

MongoDb (one of the few viable no-SQL solutions) is not nearly as robust as SQL when it comes to searching. I actually can't remember concrete examples, but a lot of things were a pain.

It's nice for doing things like creating custom froms, but reproducing FKs becomes a pain (assuming you bother to do so at all, since it's not required).

Also, if you want to integrate with any sort of real report builder, you have to go MongoDb --> Postgre, which is obviously a pain.

>There's a reason why Lisp is considered one of Ruby's influences.

Never used LISP, so don't know what that means. Not being confrontational, just really no idea.
>>
File: 1390938229693.jpg (36KB, 278x278px) Image search: [Google]
1390938229693.jpg
36KB, 278x278px
>>58154215
>>
>>58158021
>Never used LISP, so don't know what that means. Not being confrontational, just really no idea.
Give it a view:
>>58143241
>>
>>58158047
Cheer up!
Raspberry Pi is more like a full-fledged tiny computer, so, I think, Arduino is better since it uses AVR microcontrollers I work with.
Not aware about Microchip Curiosity, soory.
>>
>>58158064

Oh damn, that's a quick fizzbuzz.
>>
>>58158021

Lisp was one of the first functional languages (now a language family), and Ruby borrowed two things from it primarily:

1. Do everything possible with closures.
2. Use ! and ? to describe functions that mutate state and return booleans respectively.

Most of what LINQ has to offer I can do with Ruby using map, reduce, select, sort/sort_by, min_by/max_by, join, and a few other methods, all defined on arrays, and most taking a block (which are similar to closures) as an argument.
>>
>>58158130

>1. Do everything possible with closures.
>I understand closures. Something something scope where function was created something.

>using map, reduce, select, sort/sort_by, min_by/max_by, join, and a few other methods, all defined on arrays, and most taking a block (which are similar to closures) as an argument.

Fair enough.
>>
would someone play hide and seek with me again? go sage a /g/ thread and I'll try to find you.
>>
>>58158130
>Most of what LINQ has to offer I can do with Ruby using map, reduce, select, sort/sort_by, min_by/max_by, join, and a few other methods, all defined on arrays, and most taking a block (which are similar to closures) as an argument.

Having done my senior project with Rails, it was nice to be using another language where what I learned with LINQ still applied.
>>
Never really used git much but I just installed the vim-fugitive plugin and it's pretty cool. Plus I get to waste other people's bandwidth by constantly pushing commits.
>>
>>58154824
me too, anon. there's actually studies that confirm this.

https://www.scientificamerican.com/article/reading-paper-screens/
>>
>>58158164
Well?
>>
>>58158245
HAPPY FESTIVUS
>>58158232
>>
>>58158252
Happy Hanukkah to you too.
>>
>>58157458
Great taste in monster girls anon!
>>
>>58158268
pretty sure that post was also a sage
>>
>>58158279
nope, it shouldn't be one
>>
>>58158298
it was probably autosaged. (you can't repeatedly bump a thread. there's some sort of cooldown)
>>
Other useful methods I forgot: lazy, group_by, flat_map, parition, zip...

Ruby does string and list processing exceedingly well. Hence why it is my language of choice for pretty much all scripting.

Plus the library support is nice.
>>
artificial general intelligence
>>
Anyone know of a good UPC or general barcode look up database?
>>
What do you think is the easiest/fastest way to make simple GUI programs that work on windows ? Like just need basic stuff like read from file, string parsing, simple GUI widgets like text fields and buttons.
>>
https://www.youtube.com/watch?v=uqsZa36Io2M
>>
>>58158383
Visual Studio + C# + WindowsForms. Alternatively QtCreator + C++ + Qt.
>>
File: ogre.jpg (6KB, 202x250px) Image search: [Google]
ogre.jpg
6KB, 202x250px
>>58153699

1. Writing a lightweight js isometric game engine (for personal use)
2. Polishing a few After Effects plugins, C++ w/ AfterEffectsSDK
3. Building some bullshit parallax websites for clients

#Lyf
>>
>>58157949
>Ruby just does what I want well
False.
>>
I asked this in /agdg/ but no one was able to help me.
This code does not return 0s, it only returns 1s or 2s. Also, it shouldn't ever pick the same number multiple times in a row, but it does. Anyone know what I'm doing wrong? I just need it to pick a random number, either 0, 1, or 2.

int rand = random.nextInt(3);
while (rand == index) { // this is so that it doesn't pick the same number over and over
rand = random.nextInt(3);
}
>>
>>58158442
It seems to be OK, it's just 1 and 2 are closer to the mean of normal distribution.
>>
>>58158442
how is anyone supposed to debug your code from those 3 lines?
>>
>>58158414
thanks anon.
>>
>>58158442
i assume this is java, it should work fine

>This code does not return 0
is index == 0 whenever you run this?

>it shouldn't ever pick the same number multiple times in a row
it is totally able to do that, it is a pseudorandom number generator
and since the only values are 0, 1, and 2, the probability of a repeat is relatively high: 1/3
the probability of n repeats is (1/3)^n, still relatively high for small n

>Anyone know what I'm doing wrong
isolate the problem and if random.nextInt(3) doesn't work correctly, then come back

tip: express this as
int rand;
do {
rand = random.nextInt(3);
} while (rand == index);



>>58158498
nextInt selects integers over a uniform distribution, so you make no sense
>>
>>58158442
the os+language deal functions a few orders of magnitude deeper than the clocking mechanism. You understand, so, your seed comes from a bit further out and your output is then repeated until the seed changes. That's why it repeats a few times between changes.

As for your deal with not returning 0s...is the function you're using exclusive in any way? If the random function is optimized to be as random as possible, it would not take considerations that aren't already in place without someone explicitly telling it to do so, so going random over a 0 might prompt the thing to always return a number not 0 in an attempt to be random with a normal distribution.
>>
>>58158442
try running this code with the assignment random.nextInt(3) +1;

If it gives you 1, 2, 3 then it's a zero quirk.
>>
>>58158616
fucking christ
from the javadoc, nextInt returns
``the next pseudorandom, uniformly distributed int value between 0 (inclusive) and n (exclusive) from this random number generator's sequence''
>>
>>58158556
by normal I think he means uniform. If all numbers are compiled to 0 then a uniform distribution avoids using 0 again. He makes perfect sense.
>>
>>58158639
please read over what a uniform distribution is and how java sets the inats to 0.
>>58158649

technically he might get another 0 sometime in the near future but the count would have to be reaching for a while.
>>
File: Normal_Distribution_PDF.png (50KB, 800x511px) Image search: [Google]
Normal_Distribution_PDF.png
50KB, 800x511px
>>58158649
>>58158663
jesus fucking christ normal is not uniform
https://en.wikipedia.org/wiki/Normal_distribution
pic related is a normal distribution you fucking tards
>>
>>58154730
It was the "test" one. gj
>>
>>58158442
output the value of rand before the loop starts and output it after the loop ends. Don't worry about what it is during the loop.
>>
>>58158670
oh shi lol
>>
>>58158556
Yes, index is 0 when the code first runs, but I change it to rand after running the code.
>>
File: Jerry_Sussman.jpg (21KB, 206x300px) Image search: [Google]
Jerry_Sussman.jpg
21KB, 206x300px
https://gitgud.io/g
>>
>>58158725
if index == 0, rand != 0 because you wrote it that way
>>
>>58158725
>>58158741
this is true, at least in the 4 lines of code you posted;
if you set index to something other than 0 after then it is a different story
regardless, i think you just need to work on your logic and what you're actually trying to accomplish
>>
>>58158738
but its empty

is that the joke
>>
>>58158751
>>58158741
You guys are right, I thought I was changing the value of index afterwards, but I'm actually not. Thanks anons.
>>
>>58158785
I suppose it has been just created.
>>
>>58158803
np man, im glad you got it sorted
come back any time!
>>
>>58158808
Says it was created 10 months ago
>>
File: 20161224_201954.jpg (2MB, 3264x1836px) Image search: [Google]
20161224_201954.jpg
2MB, 3264x1836px
BasicTV guy here

I went to Goodwill and bought three speakers to add to my collection. I have about seven speakers to spare. I'm going to make the dankest house surround sound system.

Each of these speakers will have
>A Raspberry Pi Zero
>a USB sound card
>a 3.3W amp through GPIO (from adafruit)
>an internet connection

Each Pi, when started, will mount to an NFS and run the BasicTV software from there. It will only be able to tune into one channel, and it won't save any data to the SD card (per the settings file I put in there). Each speaker can be configured with a different channel, so subs can work differently (don't have any to spare, so i'm not worried about this)

I will run a BasicTV node broadcasting the sound from my TV out to the local network, and there shouldn't be a big delay (ping time + 50ms at worst).

I'm mainly doing this as a test to see how it works on actual deployment, but I would use this a lot.

Pic related are the speakers i'm actually going to use (other ones go with a nicer setup I'm using now)
>>
>>58158903
oh, and to keep it /dpt/ related, i'm cleaning out some old exporting and importing code and redefining wonky std::tuples as structs
>>
>>58155229
this
>>
File: lenfilt44.png (144KB, 512x512px) Image search: [Google]
lenfilt44.png
144KB, 512x512px
Working with Lena is fun.
>>
>>58159047
no niggers allowed
>>
File: len7mededges.png (170KB, 512x512px) Image search: [Google]
len7mededges.png
170KB, 512x512px
Here's another, an inversion of the last one, in screen mode, where the top image is a dilation, of the form [[0,1,0],[1,1,1],[0,1,0]] on the feature detection kernel [[0,1,0],[1,-4,1],[0,1,0]].
>>
>>58159211
>implying C, C++, Lisp, or Java are bad
>>
>>58159211
>not using a switch panel to program directly in high and low voltages one bit at a time
>>
>>58159248
They are.

>>58159251
That would be even worse.

I want the compiler and other tools to help me as much as possible when I'm programming. I want them to get in my way and yell at me if I got something wrong.
>>
>>58159211

And dare I ask what you consider superior?
>>
File: 1314933628833.png (5KB, 493x402px) Image search: [Google]
1314933628833.png
5KB, 493x402px
>Genuinely like Rust
>Get bad taste due to overwhelming SJW community
Wat do?
>>
>>58159400
Agda and Idris are just barely tolerable.
>>
>>58159413
Ignore them. No, really, just distance yourself from everything you dislike about Rust.
>>
>>58159413
Stop being childish?
>>
>>58159413
Like >>58159435 said, you can totally block it out. And maybe stop getting up in arms because you can't say "fuck niggers 88 praise kek" in a commit message.
>>
File: Untitled.png (2MB, 1920x1080px) Image search: [Google]
Untitled.png
2MB, 1920x1080px
>posting in a dubs thread
>>
>>58159450
>And maybe stop getting up in arms because you can't say "fuck niggers 88 praise kek" in a commit message.
Sure, but even something as benign as "Fix this retarded shit" will get you fucking pulled of github in the end.
I guess the easy fix is to not publish it on github to begin with.
It's just kind of demoralizing knowing that every comment and commit message will get scrutinized more than a fucking NSA job application.
>>
>>58159482
>that persecution complex
>>
>>58153699
Where the fuck do I learn how the fuck to use sass or css or whatever the fuck I need to make a decent looking desktop application?

Whenever I google it there are like 80 technologies that all seem to do random shit. Where the fuck is a place to just learn what I need to make something like discord visually?

Or better yet what is a decent GUI library for java or c# that I can make modern looking applications with.
>>
It's knifnof amazin how beinf drank will affkt tour ability to program;
>>
idea guy here

program that programs other programs
>>
File: 1469417874323.jpg (2KB, 125x67px) Image search: [Google]
1469417874323.jpg
2KB, 125x67px
>>58159666
>666

You're not going to trick me again, Satan
>>
>>58159666
>666
>idea guy
begone devil
>>
File: 1437307315128.gif (2MB, 425x270px) Image search: [Google]
1437307315128.gif
2MB, 425x270px
>First Kiss collab ever
>not bet programming music
https://www.youtube.com/watch?v=ivJZljEostE
Nothing wrong with men in their 60's collabing with girls in their 20's
>>
>>58159741
>kawaii anime girls
>suddenly 3dpd halway through

way to defrag my boner
>>
File: 1311195377701.jpg (7KB, 118x156px) Image search: [Google]
1311195377701.jpg
7KB, 118x156px
>>58159769
seriously fell in love with green girl
>>
>>58159741
>you'll never experience young Kiss live
https://www.youtube.com/watch?v=pLdKDHn88Zg
>>
>>58160337
>C Primer Plus
read something that is for beginners and has a goal instead

primers will help you more later
>>
>>58153913
> math
> God's design
I'd say stick with philosophy because you're obviously too braindead for cs but your fucking that up too. Gtfo this website
>>
>>58153733
pick literally the easiest imaginable language you can and useit to prototype.
Once you have something you like, it should be rather trivial to redo/improve in a low level language like c/cpp, even if yur knowledge in those is kinda lacking.
>>
>>58154710
if you still haven't solved this anon, try boiling your problem down to the most minimal, simplest occurrence you can.
Think G.I. Joe.
Knowing is half the battle, and then you can murder death kill your issues.
Thread posts: 327
Thread images: 53


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