[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: 320
Thread images: 42

File: anime.png (786KB, 1000x1300px) Image search: [Google]
anime.png
786KB, 1000x1300px
What are you working on, /g/?


Previous Thread: >>56569230
>>
>>56575187

Still crying over my inability to make angular work as per >>56573147
>>
>>56575211
What the fuck is angular?
>>
>>56575236

How are you this out of touch? It's the most used front-end framework since jQuery.
>>
>>56575261
So it's another Javascript meme?
>>
This mess.
https://github.com/agrecascino/WAMPVoipServer
(please god help me)
>>
>>56575290

If you want to look at it that way. Angular2 uses Typescript. I am not going to deny that "full-stack dev" work is generally a meme-grind, but unless you are some wizard making $150,000+ while being a dev, it's kind of silly to make fun of it.
>>
>>56575307
Web devs live in their own little world of meme frameworks
>>
>>56575319

I am not going to argue with that. If we take "meme" to mean "trivial tripe" here, it definitely applies. Doesn't change the fact that you need to know it to be one and grinding in C, or what have you, isn't much easier, nor is it more impressive.
>>
>>56575187
Writing a thing that will save a xml file of my object. I guess it's better to:
>write a temp file of new data
>move (change name) to the original file to overwrite it.
That way if something happens when writing the file, I can check before overwriting. I'll use a database later.
>>
File: fgapi.png (140KB, 1044x444px) Image search: [Google]
fgapi.png
140KB, 1044x444px
>C cucks will defend this
>>
>>56575387

That's the Win32 API, mate. It is well known to be ugly as fuck.
>>
>>56575443
Any language that lets you do that is shit, period,.
>>
In C#, let's say you're making a bunch of HTTP clients (and we're not using just one for reasons)
In this code
List<Task> tasks = new List<Task>();
for(...) {
HttpClient client = new HttpClient()
tasks.Add(someFunction(client));
}

someFunction(HttpClient client) {
...
client.Dispose();
}

Does the for loop produce multiple individual HttpClient objects, and would Disposing of an HttpClient affect the others?
>>
>>56575443
It's beautiful and once you understand you will see

>Long pointer to input context
>long pointer to bytes
>handle private
>doubleword
>wide char
>>
>>56575500
yep dumb question.
I realized once I saw the new keyword.
Still, I'm mixing up C++ and C#. RAII is getting to me. I feel like once the for loop ends, the HttpClients are kill
>>
>>56575187
good op, appreciated
>>
>>56575526
>I feel like once the for loop ends, the HttpClients are kill
IIRC, that happens in using statements (not the namespaces, the one that needs IDisposable interface implemented to be used.)
>>
File: 1423886406027.gif (2MB, 350x251px) Image search: [Google]
1423886406027.gif
2MB, 350x251px
>>56575187
What's the best way to learn C for a complete noob to programming?
>>
Doing senior project this semester and I'm going to end up doing some memeJS shit since it's all the rage.
>>
>>56575500
>>56575526
>>56575668

Speaking of this particular issue, this is a good read:

http://aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/
>>
>>56575387
>blaming C for win32
>>
>>56575475

Microsoft will write ugly code in any language you give them.

>>56575510

>long pointer to byte
unsigned char*

Also, they're doing the thing they're not supposed to do by using an identifier that starts with an underscore and a capital letter in a documented API.
>>
>>56575836
unsigned char is a byte
>>
How to get ligatures in Vim? I have a font with them, but I can't find a package to do it.
>>
>>56575836
>Microsoft will write ugly code in any language you give them.

This is true. Some of the C# examples on MSDN are atrocious.
>>
With basic understanding from other languages, and acces to all kind of courses and a pdf, how long would it take to get good in Java?
>>
>spent 2 hours trying to figure out basic programming exercise that's supposed to be easy
>can't figure it out
>crying while typing this


why do i have to be so stupid

i want to kill myself
>>
>>56575871
Dress for an Indian summer.
>>
>>56575883
You should spend time reading non-fiction books in your freetime. Stop playing video games. Start running, biking, or swimming, or all three. Fix your diet and lose excess body weight.

Read books on your course of study and take notes, try to summarize each section as you go.

You can learn anon, and fix your brain, its not too late until you are old as fuck or dying/dead.
>>
>>56575913
I don't know how to describe it but I don't really want anything (like some people want x job, or to go to x place, or do x thing) or enjoy anything.

Doing those things wouldn't make things any different than they are now.
>>
>>56575939
You have some form of depression, maybe you should consult a doctor.
>>
>>56575737
I understand having a single static HttpClient, but what if you're trying to use a bunch of proxies?
>>
File: neppu eats pizza.jpg (407KB, 700x495px) Image search: [Google]
neppu eats pizza.jpg
407KB, 700x495px
I've been having this issue where compiling with -O2 will introduce valgrind errors.

Every time I use realloc like this
str = (char *) realloc(str, strlen(str) + offset_b + 1);

I get errors like
>invalid read of size 4
>Address 0x5b2f708 is 72 bytes inside a block of size 73 alloc'd

I think the optimization is causing some parts of the function to retain the old pointer location for *str, because offset_b is only 4 bytes and valgrind claims that my program is peeking 4 bytes backwards.

If I compile with -O1 or less, it works fine, without errors.
It's producing the expected behavior either way so I don't know whether I should ignore it or not
>>
File: 1467761677974.jpg (171KB, 800x600px) Image search: [Google]
1467761677974.jpg
171KB, 800x600px
>>56575187
>Her knee and shoulders are red
I absolutely hate this disgusting lighting and shading style. Skin doesn't do that. Doing that doesn't make skin look shiny or give it depth. It just looks stupid and unattractive.

I'm becoming enraged, anon.
>>
>>56576194
stupid frogposter
>>
File: kiwi_bird.jpg (57KB, 460x287px) Image search: [Google]
kiwi_bird.jpg
57KB, 460x287px
>>56576202
>>
File: sshot0133.png (352KB, 1024x768px) Image search: [Google]
sshot0133.png
352KB, 1024x768px
beta testing and tweaking UI related changes to my game's client. Mainly the battle log hud. The engine makes it hard to code huds.
>>
File: hhhh.png (62KB, 250x250px) Image search: [Google]
hhhh.png
62KB, 250x250px
any reason to learn c++ over Java in 2016? i am learning c++ atm and know a bit of java.

pointers are useless aren't they. The program should be in charge of that.

the way arrays and matrices work in c++ is fucking retarded. it should've been like in python.
>>
>>56576236
0/10
>>
>hobby programmer for 4-5 years
>get a summer job doing back end web development
>soul draining
>quit for university
>I hate programming now

What do I do, programming is the only thing I'm somewhat decent at.
>>
>>56575187
debugging yet another c library I wrote. Should be the last one for my portfolio. Next step is a java class or two.
>>
>>56576236
>pointers are useless aren't they
(You)
>>
>>56575855

Right, and an unsigned char* is a pointer to a byte.

>>56575869

>Can't even write in their own language right
>>
>>56576212

What's the engine?
>>
Finished my bot for http://akaribbs.mooo.com/board.cgi, now all I have to do is add some commands and shit. Any advice on what else I can add?
>>
>>56576175
There isn't enough information there for anyone to help you properly.
Also, it's extremely unlikely that it's a compiler bug. It's probably something in your code.
>>
I made this and added this to my sauce tab in 4chan x,
Is there a better way? It works..
javascript:(window.location.assign('http://www.facebook.com/'+%name.split('_')[1]));text:FB2
>>
>>56576392
Darkstar, Tribes version.
>>
>>56575187
Any regex senpai here?
I wanna a pattern like this "all characters until found a slash (include that slash)"
>>56576393
>Any advice on what else I can add?
A repository of your code.
>>
>>56576457
regexr
>>
>>56576426
Why can't I quote that code?
What the fuck?
>>
File: hereyougo.gif (88KB, 10000x10000px) Image search: [Google]
hereyougo.gif
88KB, 10000x10000px
>>56576457
It's my first bot and the code looks ugly so I am embarrassed to post.
>>
>>56576444

Why are you using an ancient engine?
>>
how come true (on the left) isn't reseting to the query symbol? ?-
>>
>>56576495
It is a long term project, I've been fiddling with it for over a decade. It still gets players so I still work on it.
>>
>>56576508

You should do that trick that Infinity Ward did where you update the engine so much it hardly resembles the original.
>>
>>56576461
I wanna be sponfeed ;_;, I did read Mastering regex from oreilly but that was years ago.
>>
>>56576518
I looked that up and it's call of duty. I've never seen a call of duty game that didn't look exactly the same as every other game in the series.
>>
>>56576535
Probably because you've never played more than one.
Compare 3 to 5 to 6
>>
>>56576535

Right, but Call of Duty doesn't look like Q3A, which is where the original engine came from. They're still using it today in the form of IW Engine.
>>
>>56576600
>the CoD engine is based on the Q3A engine
What the fuck?
Surely at some point in time someone thought, "This is fucking stupid, why didn't we just start over from scratch?"
>>
>>56576615
>"This is fucking stupid, why didn't we just start over from scratch?"

NEVER! MUH INCREMENTAL DEVELOPMENT PROCESS!
>>
>>56576600
Well that's just weird.
>>
File: try deez nuts.png (20KB, 771x243px) Image search: [Google]
try deez nuts.png
20KB, 771x243px
newb here

I'm not sure what the hell this exercise wants me to do because the book never taught me how to list characters/strings alphabetically. I already had to skip an exercise because it said "spit out these strings alphabetically plus do other stuff" but how to do this was literally never explained, so I don't know what the fuck to do, and stackexchange hasn't really cleared this up for me.

I already know how to use while/for loops but I'm assuming pic related will also require me to alphabetically list a new char on each line, but what is the efficient way to do this that doesn't require me to initialize literally every letter of the alphabet?
>>
File: akari a cute.gif (880KB, 500x281px) Image search: [Google]
akari a cute.gif
880KB, 500x281px
Just finished adding post quoting and meme arrows to my C messageboard!

http://akaribbs.mooo.com/
Also, someone made an IRC bot and let it loose on my site.
>>
File: The-C-PROGRAMMING-Language-C.jpg (40KB, 465x670px) Image search: [Google]
The-C-PROGRAMMING-Language-C.jpg
40KB, 465x670px
>>56575720

When I was eight and I asked this question a man gave me this. It was the best thing he ever did for me. Have fun on your journey OP!

https://hassanolity.files.wordpress.com/2013/11/the_c_programming_language_2.pdf
>>
>>56576840
Tell me what functionality to add to my bot akariadmin senpaii
>>
>>56576840
Congrats, now make me a mod
>>
>>56576818
>but what is the efficient way to do this that doesn't require me to initialize literally every letter of the alphabet?
Check "ascii characters"
>>56576840
!daddy, !mummy commands when?
>>
>>56576732

Sure is. Basically, I'm saying you need to put some fancy bits n' bobs on the Darkstar engine. Some gay shaders ought to do it.
>>
>In Haskell, an interactive program is viewed as a pure function that takes the
>current “state of the world” as its argument, and produces a modified world
>as its result, in which the modified world reflects any side effects performed
>by the program.

i am literally a god
>>
>>56576936
You suck at greentext
>In Haskell, an interactive program is viewed as a pure function that takes the current “state of the world” as its argument, and produces a modified world as its result, in which the modified world reflects any side effects performed by the program.
>>
>>56576842
This.
>>
>>56576936
>>In Haskell, an interactive program is viewed as a pure function that takes the current “state of the world” as its argument, and produces a modified world
>passing The World around
This must be the work of an enemy stand
>>
you'll have to do better than that mate
>>
>>56575913
dumbest advice i've ever read
>>
>>56576982
What did he mean by this?
>>
>>56576995
t. fatty
>>
>>56576982
>strecthing your browser window over multiple monitors to make this meme
>>
>>56577003
t. mongoloid
>>
File: lK4ySYZ.jpg (727KB, 5312x2988px) Image search: [Google]
lK4ySYZ.jpg
727KB, 5312x2988px
>>56577004
:^)
>>
>http://akaribbs.mooo.com/
Doesn't exist? It just times out..
>>
>>56576995
>>56577003
>pleb
>>
>>56577075
>>>/ptg/
>>
>>56577075
>nv uses windows
>>
File: Screenshot_2016-09-13_15-09-54.png (100KB, 1280x800px) Image search: [Google]
Screenshot_2016-09-13_15-09-54.png
100KB, 1280x800px
>>56577075
What kind of fucked screen is this?
>>
>>56577077
It's back up, i'm not sure what happened.
>>
>>56577090
nah, i dont really keep up with my torrents that much. only reason i even have what.cd is cause an irl friend gave me an invite for some reason. dont care enough to get onto any other trackers or anything
>>56577094
yep, need it at the moment for my overwatch addiction and making vaporwave videos in after effects
>>56577104
it's pretty nice for programming. you can keep 3-4 files side-by-side on a single monitor and still have a ton of vertical space. although it makes me write 1000+ char lines pretty regularly too...
>>
>>56577138
>although it makes me write 1000+ char lines pretty regularly too...
>>
File: 1404606026638.jpg (12KB, 300x400px) Image search: [Google]
1404606026638.jpg
12KB, 300x400px
>>56576264
Programming is merely a means to an end, a tool. What is something else you like? How can you apply your programming skills to it? Some of the most fun I have had programming has involved embedded devices, largely because software is only part of the solution of a greater problem.
>>
class a <: b where
upcast :: a -> b
downcast :: b -> Maybe a
instance a <: a where
upcast = id
downcast = Just
instance Natural <: Integer where
upcast = toInteger
downcast n | n < 0 = Nothing
| otherwise = Just (fromInteger n)
instance Integer <: Rational where
upcast = toRational
downcast x | denominator x == 1 = Just (numerator x)
| denominator x == (-1) = Just (- (numerator x))
| otherwise = Nothing
>>
>>56575720
Harvard's CS50. Free, coursera. Google it. The standard has changed since K&R, they are not teaches and the book shows it. Of course if you can read from there go for it.
>>
File: 2016-09-13-021351_694x205_scrot.png (11KB, 694x205px) Image search: [Google]
2016-09-13-021351_694x205_scrot.png
11KB, 694x205px
how do I make all the warnings go away?
>>
>>56577285
>no instance (a <: b, b <: c) => a <: c
how can you even call it subtyping?
>>
>>56577711

Hmm, if only that warning was accompanied by some sort of message that described what was triggering it.
>>
>>56577726
what do I #include so that it goes away?
>>
File: 1461887096195.png (1MB, 1280x720px) Image search: [Google]
1461887096195.png
1MB, 1280x720px
>>56576175
I told you yesterday to try the sanitisers.
>>
>>56577711
CFLAGS += -Wimplicit-function-declaration
>>
>>56577711
#include <stdlib.h>
#include <time.h>
>>
>>56577722
You couldn't define it, because there would be no way to infer b
>>
>>56577742
You are truly a retard, as expected by a windows user.
>>
File: weak typing.png (2KB, 209x18px) Image search: [Google]
weak typing.png
2KB, 209x18px
>>56577740
>>
>>56577762
which is why Haskell doesn't have subtyping
>>56577768
nah, you're the retard who couldn't take a joke
>>56577776
>s/he doesn't accept trans-pointers
>>
>C#'s LINQ will never be as good as functional programming
Jesus, I can't even perform Map with IEnumerables by default.
At least I can Zip
>>
>>56577791
>nah, you're the retard who couldn't take a joke
It's not a joke at all though.
>>
>>56577791
>which is why Haskell doesn't have subtyping
i guarantee there'd be a way, in the worst case you could simply force people to define an intermediary
>>
>>56577793
yfw map is just zipping against monoidal identities
>>56577816
yeah, im pretty sure this constitutes as the diamond problem though
>>
>>56577822
other languages just get around it by having really weak typing and using pointer conversions
>>
>>56575261
jQuery is not a front-end framework
>>
File: Haskell Memory.png (21KB, 422x340px) Image search: [Google]
Haskell Memory.png
21KB, 422x340px
>he doesn't use Malloc
come on, it's 2016
>>
>>56577851
man i need to go fix the library i made for this in OCaml. i think it would actually be useful for Malfoy's RTS
>>
>>56577967
in this specific example haskell's got a function alloca that would be more appropriate

x ptr = ...

alloca x -- malloc a ptr, call x with it, free the ptr

type classes make this example much nicer because you only need one annotation (because it could work for a lot of different types)
>>
>>56577982
and the rest is inferred, e.g.

malloc :: Storable a => IO (Ptr a)

poke :: Storable a => Ptr a -> a -> IO ()
peek :: Storable a => Ptr a -> IO a

free :: Ptr a -> IO ()
>>
>>56577711
man 3 rand
man 3 clock
>>
>>56578017
man 3p rand
man 3p clock
>>
When I logout this kills it's self.
How do I fix it?
import win32gui
from win32api import GetSystemMetrics
import time
import os
import PIL
from PIL import ImageGrab
width = GetSystemMetrics(0)
height = GetSystemMetrics(1)
print("Width =", width)
print("Height =", height)
tmp_value, recent_value = None, "lol"

def screenshot():
PIL.ImageGrab.grab().save("{0}".format(int(time.time()))+".PNG", "PNG")
while True:
time.sleep(5)
recent_value = win32gui.GetWindowText (win32gui.GetForegroundWindow())
if os.path.isfile("screenshot.txt"):
recent_value = win32gui.GetWindowText (win32gui.GetForegroundWindow())
if tmp_value != recent_value:
tmp_value = recent_value
screenshot()
>>
>>56578067
>
from win32api import

I would kill myself, too
>>
File: help.png (65KB, 1075x901px) Image search: [Google]
help.png
65KB, 1075x901px
Hey /dpt/ i need some help. i know im suppose to go on /wsr/ for assistance in homework but no one is replying. I just began a Java (inb4 memes) class this year and don't understand whats wrong.
>>
>>56575211
>>56575261
>>>/g/wdg
>>
>>56575187
I learned some new tricks in Go and CSS.
I continued working on an incremental tokenizer for my lispy language.
I started putting together a stylesheet for my favorite basics.

Daily reminder that CSS is Turing complete and is therefore real programming.
>>
>>56578135
x * x * ((
should be
x * (x * (
>>
>>56577982
yeah I had something similar to that as with_pointer. type inference worked fine as long as the context showed how the pointer would be used, but there was no equivalent to Storable (it simply used the runtime representation of the value)
>>
>>56578111
;_;
>>
>>56578152
:nth-child(3) {
content = "Fizz"
}
:nth-child(5) {
content = "Buzz"
}
>>
File: 1391812783057.jpg (320KB, 680x1024px) Image search: [Google]
1391812783057.jpg
320KB, 680x1024px
>>56578155
Thanks alot mate it really helped. have this mootkins image
>>
I've been at this for about 3 fucking days now and I can't figure out why my particles are gaining velocity on their goddamn own.
I'm pretty sure this is the offending code:
                for (size_t i = 0; i < objects.size(); i++)
{
object &o1 = objects[i];

for (size_t j = 0; j < objects.size(); j++)
{
if (i != j)
{
object &o2 = objects[j];

if ((o2.position - o1.position).length() <= CIRCLE_DIAMETER)
{
vector delta = o2.position - o1.position;
vector F = delta * (dot(o2.last_velocity - o1.last_velocity, delta) / dot(delta, delta) / (o1.mass + o2.mass));

o1.velocity += F * (o2.mass * 1.5);
}
}
}
}

I'm doing an n-body simulation, but when I have clumps of 3 or more particles, they all start gaining velocity on their own which causes the clump to spin out of control until it rips apart.
What am I doing wrong here?
>>
hours of debugging in

fuck my life
>>
>>56578401
*fucks your life*
This is why you should have been using haskell.
>>
>>56578410
wow I just figured it out

apparently I needed to put in a navmap file to get the epub document to compile properly
we're looking at at least 5 more hours of work to do, fairly sure
>>
I have decided to learn haskell, any good books/tutorials/videos/whatever?
>>
>>56578263
>What am I doing wrong here?
Use an RK4 integrator for your simulation, it's more precise.
>>
>>56578444
are you the same fag that asked the other days
just start with learn you a haskell
and then to real world haskell
both are online free
>>
>>56578464
By "more precise", do you mean my clumps will just spin less? or do you mean it will completely solve the problem?
Because if it's not the latter, I won't even consider it. I'm trying to aim for physical accuracy.
>>
>>56578498
you've got to do some research/thinking of your own, we can't read your mind, we don't know how accurate it needs to be or what kind of performance you need
>>
If I can't figure out a problem for a class and I look it up, I feel like I cheated and am not learning anything. How can I make sure I learn from it so I don't feel like a cheat?
>>
File: feel.png (90KB, 200x235px) Image search: [Google]
feel.png
90KB, 200x235px
>born too late to code for heavily resource restricted platforms
>born too early to code for new exciting platforms with new problems and questions (i.e. VR headsets)
>have to program with absolutely no challenges at all besides your own creativity

Seriously, what's the point? There's no challenge anymore. The only things that get any kind of popular use are web apps and mobile games. I don't want to program for a fucking phone, the controls suck dick. I am at a complete loss, there's nothing for me to do that everyone and their grandma hasn't done a shitillion times.

I AM NOT A CREATIVE PERSON!

GIB
ME
FUCKING
CHALLENGE
>>
>>56578834
make AI
If you know C++ well you could go look at microsoft's CNTK thingy that they used to build tay.
>>56578754
practice without the answer after some time
>>
>>56578834
Write a programs for quantum computers.
>>
>>56578834
Take some LSD (microdose), it's what all the creativity-challenged cool kids in Silicon Valley are doing
>>
For learning C++, should I use smart pointers more or are they a crutch compared to raw pointers?
>>
>>56578846
>make AI
I've honestly thought about evolving AI in a game so you're not just exploiting the same bullshit. But, quite honestly, I'm leaning more towards geometry manipulation. I'm much more of a visual oriented problem person. I like seeing my results in visual content. AI is such a formula-based puzzle that requires extensive knowledge of algorithms.

The most fun thing I've ever done was reworked OpenGL shaders for interesting color changes based on player camera vertex position.

Jesus Christ, I just don't know anymore. I just want a rift and play around with the spatial issues. There's like a billion issues they have with rift and vive concerning comfort and what you can do in VR. Goddamn it I can't afford $600 right now.
>>
>>56578834
Make a free software
>>
>>56578887
That'd be cool if I had access to a quantum computer. I could do some real interesting shit when it came to scientific investigations into stochastic phenomenon. Maybe even design an evolving organism with stochastic traits versus one with pseudo-random traits from a range of limited numbers and see how close they line up in diversity. Maybe truly-random phenomena statistically don't matter past a certain sample size. I could do a bunch of econometric shit and really hardcore math it.

Nonetheless, no quantum computer.

>>56578890
I already have 10x200ug tabs coming in the mail with my benzos, but I don't plan on microdosing. I'm real dosing. You never want to work while on acid though. One time I had to make a website in a single night when I was tripping off two tabs because some client was a psycho bitch that was stalking me... long story, but I did it and that kind of was too intense.

>>56578897
Free as in freedom or free as in "You're free to be fucked in the ass if you don't spread our GPL virus?"
>>
>>56578893
>a crutch
Nigga, smart pointers are the way to go. Anyone using raw pointers in C++ is a fucking idiot. Smart pointers basically kill themselves as soon as you exit scope and terminate as soon as you're done with them. No needing to worry about how long the resource is held, no needing to worry about singletons or other pointer management bullshit systems... just easy programming and dynamic memory management.

Smart pointers are what the sperglords at Java wanted but were never smart enough to do.
>>
>>56578927
Did you not read the part of the post that said "microdose"?

Microdosing allows you to remain functional and is nowhere near a trip. In fact, it is difficult to notice which thoughts are caused by the LSD and which are your sober thoughts, which is a good thing.

A regular dose is for tripping and nothing more.
>>
>>56578834
get a job you pathetic cunt
>>
>>56578834

>born too late to code for heavily resource restricted platforms
Try doing embedded programming, or checking out the demoscene. Those will quite strongly restrict your available RAM, program ROM size, and possibly even CPU speed.

>born too early to code for new exciting platforms with new problems and questions (i.e. VR headsets)
Get a PhD in Computer Science. If you want to play with the new exciting platforms, you're going to have to be researching them. If you want to get into a big tech corporation's research team, they're going to want some graduate/doctoral level stuff. There's also academia if corporate research is less your style (you can get grants to more or less research on your own terms).

>have to program with absolutely no challenges at all besides your own creativity
There's plenty of challenges out there. You're just unwilling to seek them out.
>>
>>56578974
Eh, maybe I'll microdose when I first get my shipment in... it won't ruin my tolerance.

Still though, I just need a bloody fucking challenge when it comes to maximizing hardware use. I'm just not that creative at all in programming on general computers. I'm great when it comes to work or real-life solutions... but I kind of don't want to leave my home to go do some exploratory bullshit with lotto systems when I could just """MAEK GAEM""" or some bullshit while drinking a case of guiness.

Every idea basically comes down to:
>what if I do first person but with special abilities never really explored before?
>FUCK THAT'S GIMMICKY
>what about a game that prioritizes on geometry manipulation?
>VAGUE AND GIMMICKY
>what about gaem about killing niggers?
>EDGY

Literally the greatest idea I had was when I was drunk and thought about a game where you build Trump's Wall... then I realized nobody wants to play a game where you left click to put cement block in hole.
>>
>>56578989
>Try doing embedded programming, or checking out the demoscene.
Thought about that, but nobody gives a fuck about the demoscene asides from the few days each year when they actually present their projects. I wanted to do some C64 programming, but nobody is going to play a C64 game or watch a C64 tech demo.

>Get a PhD in Computer Science.
I'm getting my PhD in biostatistics next semester... so I'm kind of already going that route. Unfortunately, I need something to pass my time when I'm not working.

>There's plenty of challenges out there. You're just unwilling to seek them out.
Well I mean a commercially viable challenge. Making Mario scroll seamlessly was like the greatest jew that Nintendo ever pulled. I could do something like Marl/O, but then I can't sell Marl/O alpha versions for $10 a pop and sell out to Microsoft while I do cocaine in Los Vegas and Beverly Hills.

>>56578984
Have one and it's sucking up all my goddamn time.
>>
>>56579007

>where you left click to put cement block in hole
Make it a tower defense game. You have to regularly improve the wall, and it will be under regular attack from drug cartels, ISIS, and liberal protesters. You have a finite budget from the start (Mexico ain't that rich), and you have to finish the wall with no holes without running out of money.
>>
>>56579007
Hardware should not be your motivation to code efficiently. Lazy (and not the good kind) programmers exist, as do stupid ones, which is why intelligence and creativity is required to code well. Rising specs of computers is no reason to introduce code cruft because "everyone has 4GB RAM these days, riiiiight?"

If you are talking about a unique product and user experience, then creativity and intelligence is, again, a good indicator for how successful you will be. Regarding your ideas... it is good that you are self-critical, but be aware that excess critique of your own ideas leads to perfectionism which is extremely unproductive and harmful to almost any product. While you should care about what your client or what your demographic thinks about the product (whether you are targeting a demographic or just listening to the audience that picked up your product), it is important to maintain your own direction so that you remain motivated.

Set clear goals. Find out what you like, how you want to do things and how you want to live and then try to find a way to merge that with something that is economically sustainable and personally fulfilling.
>>
>>56578942
tbqh i was thinking how relying on raws might be better learning since it would keep me sharp on remembering to free memory, so it is correct to say one should stick to smart pointers for learning and application then?
>>
>>56578893
Don't listen to this retard >>56578942
Use raw pointers. Smart pointers are retarded.

First, they shadow the type of the pointer. You're no longer working with pointers, but some retarded template type.

Second, you can still write cyclical references with shared pointers.

Third, the only reason to pick C++ over any other language is if performance matters enough that you want to control how data is layed out in memory. In which case you're not gonna use smart pointers anyway.

The only smartpointer that is useful is unique_ptr.

If you want your memory managed for you then c++ isn't the language you're looking for.
>>
>>56579031
Real original.
Face it, a game about maintaining a single structure is inherently uninteresting beyond the involvement of Trump's agenda, and would not be very fun except to people who enjoy that gimmick, like dumb fascists and teenagers
>>
>>56578896
I like algorithims

if your great at programming slave abit then, get 10-20k saved and then buy stuff for VR dev
>>
>>56579031
But that's just not fun. That's just tower defense with Mexicans. I don't want to just rebrand a classic game with Trump bullshit. I'd want the artistic endeavor to shine with the programming endeavor. Anyone can program a tower defense game with Mexicans or an FPS with basketball americans. The last thing I saw was some non-euclideon raytracer that sounded really cool, but it hurt my eyes too much.
>>
>>56579025

>Unfortunately, I need something to pass my time when I'm not working.
Have you considered actually living?
>>
>>56578927
>That'd be cool if I had access to a quantum computer. I could do so
IBM offers to you access to Quantum computer, you can try it.
>>
>>56579050
good point
so automatic deletion pretty much makes the memory wholly managed? I was thinking calling for extra memory would be enough to be counted as manually managed memory
>>
can some one explain for me what is meaning of this:

#include <iostream>

using namespace std;

int mult ( int x, int y );

int main()
{
int x;
int y;

cout<<"Please input two numbers to be multiplied: ";
cin>> x >> y;
cin.ignore();
cout<<"The product of your two numbers is "<< mult ( x, y ) <<"\n";
cin.get();
}

int mult ( int x, int y )
{
return x * y;
}

i understanding all but why we put the int mult ( int x, int y); on top and bottom of code?
thank you and sorry my english is not 100 per cent i am russia
>>
>>56579059

Well it's a lot more fun than just laying bricks. I'm just suggesting a base to make an actual game of it. You're more than free to innovate on it more, and ask "how can I set this apart from other defense games?"
>>
>>56579050
>First, they shadow the type of the pointer. You're no longer working with pointers, but some retarded template type.
What the fuck does that even mean? They shadow the type of the pointer? Do you know how templates work?

>Second, you can still write cyclical references with shared pointers.
First of all, it's much easier to tell a cyclical reference in a shared pointer versus one in a raw pointer. Not only that, but they have a real fucking easy solution: weak_ptr

>Third, the only reason to pick C++ over any other language is if performance matters enough that you want to control how data is layed out in memory.
For a claim to be so vague and yet so excluding is a clear sign you are a professional C-faggot.

>The only smartpointer that is useful is unique_ptr.
Just proved you wrong with your cyclical bullshit.

>If you want your memory managed for you then c++ isn't the language you're looking for.
That's not the point of smart pointers. The point of smart pointers is to have safe pointers that are """smart""". They pick up the slack where you shouldn't. You still need to use them correctly and you still need to understand scope and the lifetime of your resources, but they just give you a very safe version of what is a very risky aspect of low-level programming.
>>
>>56579100
https://en.wikipedia.org/wiki/Function_prototype
>>
>>56579061
>Have you considered actually living?
I have, but I've dumbed myself down by going out to parties every other fucking night. I want something comfy that I can cash in on autism bux with.

>>56579111
Again, not creative. I'll just durr at how to make it fun. I'm not a very good fun maker.
>>
>>56579100
in c++ you need to know a method before using it, during compile time.
the top declaration is a placeholder, which will have a reference to the method below.

if you remove the top line, it will say something like "unknown method", if you move the code below on top, everything will work fine.

Its just to keep your code cleaner.
>>
>>56579143
>in c++
meant c
>>
>>56579122
>>56579143
ok thank you i maybe understand now
but how come main function no need prototype? only make int main()

also how come put prototype in the end of the code like in example : >>56579100
>>
>>56579129

>I've dumbed myself down by going out to parties every other fucking night

And have you actually considered hitting on a girl at one of those parties? Seriously, get yourself a fucking date or something.
>>
>>56579161
you don't have to put the full thing at the end

you could just write the full thing before int main()

as for your first question i dunno, im only at a level where I know it just is, like how the sea is blue and aids kills you
>>
>>56579161
your programm always starts with the main
>>
>>56579165
All I fucking do is get drunk, get like 10 girl's numbers, call maybe one or two of them in the morning, fuck them a few days later, and never talk to them again. I just want to NEET again.
>>
>>56579100
>using namespace std;
Don't use this shit, never use it.
use this:
std::cin>>x;
>>
>>56579180
>Using Meme++ iostreams at all
>Using Meme++ at all
>>
>>56579168
>>56579170
>>56579180
ok thank you every one
>>
>>56579161
>>56579170
or better said
your programm starts with the main, you never call the main function somewhere (dont even know if that would be possible).
And when you dont call it somewhere, before declaring it, you dont need a prototype
>>
>>56579194
stay safe

If you get good you should move elsewhere it pays better than russia
>>
>>56579192
whats wrong with c++?
>>
>>56579203
Practically everything.
>>
>>56579117
>What the fuck does that even mean? They shadow the type of the pointer? Do you know how templates work?
Its means you're no longer working with Foo* but with std::shared<Foo>, a different type.

>First of all, it's much easier to tell a cyclical reference in a shared pointer versus one in a raw pointer. Not only that, but they have a real fucking easy solution: weak_ptr
There are ways of tracking memory leaks real easy these days.

>For a claim to be so vague and yet so excluding is a clear sign you are a professional C-faggot.
Actually I prefer C++ over C, because of the added features and typesafety.
C++ does has a few features which are retarded and you shouldn't use. Smart pointers being one of them.
Id only recommend C for libraries and APIs which will need binding to a wide range of different languages.

>Just proved you wrong with your cyclical bullshit.
Can't write cyclical references with unique ptr.

Besides, you can always use references as well. Which I prefer over unique ptr wherever possible.

Shared pointers also have a much higher cost than you might realize since they are made to be thread safe.
Again going back to my point of only using C++ if you care about performance.
>>
File: style versions.png (58KB, 856x1017px) Image search: [Google]
style versions.png
58KB, 856x1017px
ANDROID
can someone explain me, how the different style versions work.

Does it load the lowest version first and replaces everything with the same name, if found in a version above?
Or does it just load the highest version below the systems api and ignore everything else?
>>
>>56579197
oh yes it make sense now, not calling main

>>56579198
maybe but now i cant because very poor living with brother maybe in future i go to america
>>
>>56579219
thats not a real argument
>>
>>56579203
Dont listen to him, he is still stuck in his infinitly unefficient java world.

As long you dont want to become a filthy game coder or want to write some apps, c++ is better.
Except you suck ass at programming and need training wheels, then you should start with java.
>>
File: reason logo facebook ocaml.png (64KB, 1196x1228px) Image search: [Google]
reason logo facebook ocaml.png
64KB, 1196x1228px
What is the current state of Reason? Does it have bindings for express/react? Does it have async/await?
>>
>>56579228
good luck
>>
>>56579227
Iirc it goes to the highest style possible for the version it's running on.
>>
>>56579174

>All I fucking do is get drunk, get like 10 girl's numbers, call maybe one or two of them in the morning, fuck them a few days later
Well at least you're getting laid...

>and never talk to them again
Have you considered actually starting a relationship with any of them? Seriously, try it.

> I just want to NEET again
Why would you go for a PhD in Bioinformatics if you wanted to be a NEET? Not only does a PhD take a shit load of work after you, but you're likely to still have some debt from your bachelor's years, more if you didn't take some sort of TA position in your grad years. The entire point of a PhD is to either become a professor or work for some corporate research team. Either way, you're going to likely be putting in more than 40 hours a week in the workplace, and be doing some pretty fucking hard work.
>>
File: Concavity.png (124KB, 1276x814px) Image search: [Google]
Concavity.png
124KB, 1276x814px
Trying to make this baby run faster. Right now it takes a few seconds to hull 1k dots. I think the bottleneck is how I'm generating the convex hull.
>>
>>56579227
It will merge the base styles.xml with the highest possible for any given api lvl.
>>
>>56579260
>Have you considered actually starting a relationship with any of them? Seriously, try it
>with hoes that fuck after 1 call

nigga
>>
>>56579238
Java is fucking shit too.

>>56579234
It wasn't intended as one.
Really, C++ is just a design-by-commitee clusterfuck. It's syntax is vomit inducing. iostreams are a fucking disgrace. Its ABI is unstable. Parsing C++ is literally undecidable. Due to it having so many retarded features, there are millions of subsets of it, meaning someone else's C++ can be completely different than yours. It supports OOP. It's a language that tries to be everything, and becomes the worst at everything because of it. It allows programmers to write incredibly shitty code. It takes ages to compile. It encourages object code bloat. You can't trust the code you read at all because of references and operator overloading.
>>
>>56579286
Well, you are also one of these hoes who want to fuck them at the first date and isnt interested in meeting them again.

If thats such a problem for you, dont fuck her at the first date, if you liked her
>>
Working on pushing you on your knees, OP
>>
>>56579306
im not him, but its retarded to do a relationship with someone so loose.

he could look elsewhere, anywhere but a bar tbqh
>>
>>56579221
>Its means you're no longer working with Foo* but with std::shared<Foo>, a different type.

Yeah, the type of a template is generic, but 99% of the time it's going to be the same as Foo* unless you do some weird voodoo shit.

>There are ways of tracking memory leaks real easy these days.
Yeah, but this one is much quicker than compile, segment fault, open up """free""" memory leak software (jesus christ gldebugger is a mess in particular), screw around, attempt again, et cetera. Just go for the weak_ptr.

>C++ does has a few features which are retarded and you shouldn't use. Smart pointers being one of them.
Dude, it's not 2011 anymore. You can use smart pointers pretty well now. Even Boost is getting better. This shit is pretty much standard. John Carmack basically sucks off Stroustrup daily for his insistence on smart pointers (and his demanding bias against macros).

>Can't write cyclical references with unique ptr.
Yeah, but then you don't get the advantage of using shared_ptr.

>references as well
Well of course, but you shouldn't be using a pointer when you can use a reference, but we all learn that in CS101. A reference is when you want to say, "Hey, the street is over there." A pointer is when you want to say, "Fuck that shit, I'll make a new instance of that street right here. Walk along Hollywood Boulevard, nigga!"

>Shared pointers also have a much higher cost than you might realize since they are made to be thread safe.
Yeah, the few CPU cycles or so you lose are so valuable dude. Again though, it's not 2011 anymore. These babies have been upgraded so well that I can almost be assured that pointers won't be a thing by the next C++ standard. You just won't see anyone fucking with that shit ever.
>>
normalfags please leave or shut up and talk about programming
>>
>>56578927
for someone who does LSD you sure seem close-minded. try to look at things with an open mind instead of instantly rationalizing why you shouldn't even try them

>>56578989
>There's plenty of challenges out there. You're just unwilling to seek them out.
this

>>56579025
>Making Mario scroll seamlessly was like the greatest jew that Nintendo ever pulled.
you're delusional
>>
>>56579260
>Well at least you're getting laid...
It's not hard dude. You talk, make them laugh, initiate some physical contact through playful touching, maybe make out with them, get their number, fuck them a few days later after that good texting. Bitches love smiley faces.

>Have you considered actually starting a relationship with any of them? Seriously, try it.
Oh goodness no, they're hot but not that much of relationship material. 9/10 are dumb bricks that focus their brain power on knowing the latest Future album with 1/10 being slightly interesting and engaging while also being completely crazy.

>Why would you go for a PhD in Bioinformatics if you wanted to be a NEET?
I should be less specific. I just want to autism again and go into pharmacology and work with the people that make the Xanax.

>>56579312
>>
>>56579330
>for someone who does LSD you sure seem close-minded. try to look at things with an open mind instead of instantly rationalizing why you shouldn't even try them
Eh, I'll give it a try. I'm just taking the piss.

>you're delusional
That's literally one of their groundbreaking moments when it came to the original Super Mario Bros. It was one of the first commercially successful products that implemented seamless scrolling. It basically kiked everyone into selling their soul to Nintendo. The people whom were first bamboozled into Nintendon't are now WiiU fanboys.
>>
>>56579322
>But guys it's no longer 2011! Computers are much faster now!!
If performance isn't an issue you should save yourself the pain of using C++ entirely. bytecode languages with GC are really fast these days. Once past the startup fase it's almost as fact as native code. And the only way to to gain any performance benefit from using a language like C++ is mostly by minimizing memory allocations and cache misses. In which case you gonna write your own memory allocators and not use smart pointers.

>Pointers won't be a thing by the next C++ standard
I'm on my phone so I don't have a meme reaction picture of how retarded this is.
But holy shit this id retarded.
>>
>>56579413
>But guys it's no longer 2011! Computers are much faster now!!
That's not the point. The point is that the standard has improved upon the original concept and they don't suck (as much) dick anymore.

>I'm on my phone so I don't have a meme reaction picture of how retarded this is.
It's basically going to become a deprecated option reserved for embedded programming. Prove me wrong.
>>
>>56579300
whats a similair language that addresses those issues you mentioned? in your opinion whats a better language?
>>
File: 1473733947367.jpg (33KB, 360x360px) Image search: [Google]
1473733947367.jpg
33KB, 360x360px
>>56579430
>It's basically going to become a deprecated option reserved for embedded programming
>>
>>56579413
name calling and using memes won't help you about being BTFO, anon
>>
>>56579430
But that IS the point. You don't use a hammer on a scew. It might work if you hit hard enough, but You're simply using the wrong tool.
>>
>>56579432
C
>>
>>56579458
but company regulations demmand the hammer, and the screwdriver's manual is in arabic
>>
>>56579466
that explains it. you're too stupid to understand anything more complex than babby's first syntax
>>
>>56579472
you sound riled up, take a deep breath and maybe take your meds?
>>
>>56579492
>debugger !k6RZj0EmnM
literally who?
>>
>>56579306
Suppose now he just wanted to fuck her on the first date and didn't want a relationship?
>>
>>56579458
>But that IS the point. You don't use a hammer on a scew. It might work if you hit hard enough, but You're simply using the wrong tool.

Except everyone in the gaming industry that uses C++ has been begging for safer pointers for years. Remember singletons? Remember when you wanted to make a texture manager so you had to use this goddamn ugly singleton solution just to safely reuse texture assets without memory leaks? That was 2005 and it sucked dick. It was awful and it still is awful.

Now we have smart pointers that basically fuck off as soon as you exit scope. As soon as the goomba is squashed and disappears from the screen, its use of that sprite asset goes too. Bye bye, no need to worry about having to manually clean that shit up with some monstrosity of a solution that were singletons. Have you ever programmed on a large scale project in C++? It's not so simple as, "You either have no resources or all the resources."

>>56579457
DESU I've been namecalling since day one since I hate C-niggers. But I'll still do a rhetorical drive-by on these programming grandpas.
>>
>>56579501
suppose now he posts /adv/ tier bawwing in a programming thread while not being the slightest interested in actually doing anything to improve his pathetic situation?
>>
>>56579472
You're a fucking idiot who has absolutely no taste.
If you take a look at practically any other language, you'll be able to see how shittily C++ was designed.
I'm not saying that C is the absolute pinnacle of design, but it's infinitely better than C++.
>>
File: 798.png (306KB, 593x540px) Image search: [Google]
798.png
306KB, 593x540px
jesus christ all the normies itt
>>
>>56579513
>I'm not saying that C is the absolute pinnacle of design, but it's infinitely better than C++.
And the C-faggot shows his true colors. Time to read up:

http://warp.povusers.org/grrr/HateC.html
>>
I don't get it.
Is this cdecl? Why isn't this reading its arguments on the stack, then?
Is this assuming registers contain a copy of the stack arguments?

0000000000000000 <j>:
0: 48 8d 04 37 lea (%rdi,%rsi,1),%rax
4: 48 01 d0 add %rdx,%rax
7: 48 01 c8 add %rcx,%rax
a: c3 retq
b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
>>
File: 1414662265332.jpg (208KB, 538x785px) Image search: [Google]
1414662265332.jpg
208KB, 538x785px
>tfw trying to write maintainable JavaScript

Fucking kill me. I'm too lazy to set up a compile-to-javascript language, though.
>>
>>56579553
Javascript is an ugly mess that pretends to be a runtime C language without capturing any of the beauty of it... and yet it's still better than PHP.
>>
>>56579553
JavaScript is one of the harder langugaes to master due to all the shitty design aspects and bullshit you need to deal with well before you can write good code.

Also just set up TypeScript you lazy shit.
>>
>>56579535
I am completely convinced that any person who thinks C++ is good, must ONLY know C++.
Get out and learn another language. I'm not saying you should learn C. Just learn another language so that you can actually compare it against something that isn't complete garbage.
>>
if you have a tree and inside that tree is another nested tree, what is the run time of getting the key in the subtree if the method runs in logn? is it O(logn) or O(logn^2)?
>>
>>56579553
That actually reminds me of a qt girl I know who loves programming but gets easily frustrated with it. Friendzoned me though :(.
>>
>>56579577
>I am completely convinced that any person who thinks C++ is good, must ONLY know C++.
Well no, they just know C++ in a professional setting. You don't program on a team nor will you ever because of your crippling autism.

>Get out and learn another language. I'm not saying you should learn C. Just learn another language so that you can actually compare it against something that isn't complete garbage.
You sound like one of those missionary people that tell atheists to find faith but than heavily beg the atheist to find Jesus. What are you, some kind of 12 Steps program asking me to find a higher power and then having your Jesus freak people tell me the Gospels are the legit higher power? Fuck off, m8.
>>
>>56579551
>Is this cdecl?
No. It's probably the SystemV AMD64 ABI.
>>
>>56579508
Nobody wants to use smart pointers in games because of the hidden cost of them being threadsafe. If they use ref counted pointers at all they write their own.


And for gameplay code then use scripting languages anyway so memory leaks isn't a problem either.

I use C++ for making games and I've literally never used smartpointers. I simple don't need them.
>>
File: ImvzmXJ.jpg (46KB, 300x297px) Image search: [Google]
ImvzmXJ.jpg
46KB, 300x297px
>>56579592
>getting friend zoned by a beta chick
>>
>>56579608
Can chicks be "beta"? The equivalent to a "beta" chick I think would just be a fat ugly chick, which she isn't.

I'm an omega wizard though : 3
>>
>>56579597
Games don't use threads very heavily generally.
>>
No proper CODE written today. I have sinned.

--

Instead, I've been thinking about a designing my own shitty little "constrained-programming" challenge.
>>
>>56579597
>Nobody wants to use smart pointers in games because of the hidden cost of them being threadsafe.
Are you for real? Go on UE4's github and look through any bit of their source code. It's riddled to the brim with smart pointers. Look at John Carmack's twitter and see how he talks about smart pointers. Just ask Gaben man, Gaben loves that shit.

>And for gameplay code then use scripting languages anyway so memory leaks isn't a problem either.
Well here's the thing, scripting languages are going out of date. All the studios now-a-days just use C++. C++ for the engine and C++ for the scripting. And they do that because C++ is so goddamn safe and easy. One of the big changes from UE3 to UE4 was the removal of UnrealScript and their detail as to why they removed the language was, "It's kind of shit and C++ just werks."

>I use C++ for making games and I've literally never used smartpointers. I simple don't need them.
Yeah, I get it... you don't need smartpointers for your Hello Kitty World game, but Naughty Dog needs them.
>>
File: Putin_fishing_bare_2691634b.jpg (99KB, 620x945px) Image search: [Google]
Putin_fishing_bare_2691634b.jpg
99KB, 620x945px
>>56579623
are you really a wizzard?
are you 30 yet?
>>
>>56579642
yeah, 30 this year. I feel powerful.
>>
>>56579650
Dude, go to a house party or something, dress yourself well, shave that faggy facial hair off and just be sociable. Initiate physical contact, get their numbers... just be charming goddamn it. Get fucking laid.
>>
File: Putin_siberia_hors_2691629b.jpg (156KB, 620x799px) Image search: [Google]
Putin_siberia_hors_2691629b.jpg
156KB, 620x799px
>>56579650
pay for a prostitute
pay extra for something nice. tell her to larp as your gf.

forget what >>56579666
says just pay for sex
>>
>>56579635
And they added blueprints instead.

Have you ever used C++ with UE4.
It's hell. The header tool runs every time you compile and takes at least 30 seconds, even if you didn't make any changes to the header. The hot reload fails randomly for no reason.
It's far for the live edit you can get from many scripting languages.
>>
>>56579593
I don't think I've ever seen stockholm syndrome on such a wide scale.
>>
>>56579666
Nice trips.

Nah man, you can dress as classy as you like and go to as many house parties as you like, but nothing will hide shit tier autistically driven social skills. Some people were just not meant to reproduce. I'm starting to understand that that's for the best.

>>56579675
I could never get comfortable with the idea of a prostitute. I think I'd just find it extremely depressing that I knew I was having sex with someone who was only doing it because I was paying them. Like paying someone to be friends with you. I'd rather just be alone.

Not that I judge anyone who uses prostitutes. If I had more self confidence I'd probably use them and be able to enjoy it.
>>
>>56579666
nice advice

post a picture of yourself or you are just baiting us right now
>>
>>56579682
>The header tool runs every time you compile and takes at least 30 seconds, even if you didn't make any changes to the header. The hot reload fails randomly for no reason.

Oh no it's a goddamn mess, not going to lie. I don't know why they expect people to be happy with those shitty macros and long compile times. The first time it takes several minutes to compile, and even if your project and Visual Studio software is on an SSD, it'll still take an ass load of a time. They're still fucking up hardcore because they just don't understand that your first compile on your project shouldn't be a bloated and slow piece of shit. Just look at the executable size at the end of the day.

I actually bought an SSD just for UE4 development and while it helped a lot, it was still a piece of shit.

>live edit
Live edit in UE4 is a joke. It was like a big fucking hoax.

>you can live edit
>REALLY? :DDDDDDDD
>yup, you can live edit variables you've already instanced and change the values... that's it, fuck you.
>>
>>56576194
>>56576202
He's right though
>>
File: putin620_1969873a.jpg (46KB, 620x388px) Image search: [Google]
putin620_1969873a.jpg
46KB, 620x388px
>>56579702
its not the same mate
you are a man you have certain sexual needs. prostitution is as old as the vagina. you do it not for the love or the affection like you describe it, you do it just for a release. +when you dominate a woman you become more manly. your testosterone increases and you become more confident. its just a tool. you get gratification/testosterone alpha pureness, and she gets her money. its a win win.

speaking of testosterone, you down yourself too much. its a sign to me that you are a low-test male. you need to get those test-levels up. forget nu-male liberal nonsense. you are made to be a killing machine. start working out and eating well. with high levels of testosterone the rest will come.
>>
>>56579701
At least I'm not in a (((C)))ult.
>>
File: .gif (1MB, 510x516px) Image search: [Google]
.gif
1MB, 510x516px
>refactor shit for no reason
>goes better than expected
>>
>>56579702
>but nothing will hide shit tier autistically driven social skills
Just be an extrovert. Stop thinking girls are like these gods you can't approach. They're just stupid, single minded people like billy bob down the street. Most of them have nothing going on in their lives and if you can bring the party to them, you got them in your hands. Have some confidence in yourself dude. If you don't, then the problem of you not getting laid is because you don't see yourself as a person deserving sex.

>>56579703
Why do you need a picture? Do you think I'm a neckbeard or something?
>>
>>56579739
>you have sexual needs
>forget liberal nonsense

back to pol
>>
>>56579551

Arguments only tend to be passed via the stack in register-poor ISAs, like z80 and i386.
>>
>>56579754
i need some verification of the stories you've been making up
>>
>>56579739
>you do it not for the love or the affection like you describe it, you do it just for a release.
Yeah I get that. But I know I wouldn't enjoy it. I would find it utterly miserable unless i could convince myself that I was a kind of guy that the girl i was fucking could potentially fuck if I wasn;t paying her to. I'm sure most people don't feel like that, but I do.

>sign to me that you are a low-test male
My testosterone is in normal range, actually somewhat on the high side of normal. i has some expensive blood tests done a few months ago.

>start working out and eating well.
I eat insanely well but can't workout due to chronic illness I've had for the past 3 years now.
>>
>>56579754
>Just be an extrovert.
Ever see those autist cringe videos on /wsg/? That would be me as an extrovert. I'd rather be dead.
>>
File: mecap.jpg (48KB, 720x960px) Image search: [Google]
mecap.jpg
48KB, 720x960px
>>56579783
Whatever. Here's some fuccboi picture of me when I was tripping back in college.

I'm off to sleep, I got work at 4PM.
>>
>>56579702
>nothing will hide shit tier autistically driven social skills
More like nothing will hide one's natural undesirable aesthetics, such as being black in a racist area, or having bad teeth/poor facial structure.
>>
My cousin is doing some economics masters, and yesterday they were supposed to use AMPL to model some cost problems and run them on https://neos-server.org/neos/solvers/
She didn't know how to edit a text file though, so i made her an example by reading the actual AMPL documentation.

I modeled the knappsack problem:

.mod file
# From wikipedia
# https://sv.wikipedia.org/wiki/Kapps%C3%A4cksproblemet
#

# Gold bars
var x1 integer >= 0;
# Silk
var x2 integer >= 0;
# Sacks of salt
var x3 integer >= 0;
# Sponges
var x4 integer >= 0;


# Objective function

maximize proffit: 500 * x1 + 200 * x2 + 150 * x3 + 100 * x4;

# What the donkey can carry in weight
subject to maxWeight:
x1 + 2 * x2 + 25 * x3 + 0.5 * x4 <= 80;

# What the doneky can carry in volume
subject to maxVolume:
0.1 * x1 + 5 * x2 + 20 * x3 + 10 * x4 <= 200;

# Gold bars avaliable
subject to maxGold:
x1 <= 2;

# Silk avaliabe
subject to maxSilk:
x2 <= 4;


.run file
solve;

display proffit;
display x1, x2, x3, x4;


It's fun to play with.
Now i want to implement my own branch and bound solver.
>>
File: alina-putin_2583712b.jpg (48KB, 620x387px) Image search: [Google]
alina-putin_2583712b.jpg
48KB, 620x387px
>>56579755
once you experience whats its like being a high-test male you will understand
its like opening the gates to a new world.

>>56579792
well fair enough then, mate.
there are many nerdy social akward girls out there. you can find one for yourself. many of them are cute.
i belive in you.
>>
>>56579804
just take care of yourself you fucking idiot, eat healthy, get in shape, get your teeth fixed etc

it's extremely rare for someone to be ugly beyond repair, just get a decent income and be a reasonable person and you've made it
>>
>>56579804
both can be true m8.

>>56579807
>there are many nerdy social akward girls out there.
They are highly sought after though. Being awkward and quiet is kinda attractive if you're a girl. It's pathetic if you're a male.
>>
>>56579807
you sound like a high schooler preaching about babby's first life philosophy

you must be young, stop posting irrelevant things
>>
>>56579828
>They are highly sought after though.
They are not. They might be cute or whatever, but social retardism in women is despised among the alphas. They're boring, they're introverted as fuck, they're weird, and many times they are insane.

I will easily tell an autism girl to fuck off.
>>
>>56579828
you are pathetic stop responding sincerely to bait and idiots
>>
>>56579863
this

it's one thing to be submissive and another to be socially retarded
>>
>>56579754
You don't need to be an extrovert to get laid. It works if the girl is.
Now being an introvert doesn't mean being unconfident, dropping spaghetti or coming over as a creep. It just means not being very talkative.

If that's you than you might actually be preferred as sex friend since they'll probably trust you won't spread rumours as much as extroverts do.

Just don't expect a relationship to work out thou.
Not that I care, I don't care about reproducing and I value my own free time to much.
>>
File: putin.jpg (57KB, 699x420px) Image search: [Google]
putin.jpg
57KB, 699x420px
>>56579848
no, just a once-low-test male awakened, thankfully before wizzard age

you can live the life of a high-test male too mate. no need to be sour
>>
>>56579878
so you're sort of a late bloomer, basically a dumb teen in a young adult's body
>>
>>56579863
go to bed already
>>
>>56579873
And a lot of them just smell too. Like, they just don't have good hygiene. They'll either never shampoo or shampoo every goddamn day and dry their hair out. They don't know how to apply foundation. They don't understand basic fashion or color sense. And, worst of all, they always wear some retarded shade of lipstick (during the few times they actually do wear it).

"""Nerdy girls""" are basically the bottom of the barrel mush that nobody really wants. Trust me, get a geek girl or something and within a month you'll be begging for a way to get her out of your life. Why? Because you'll realize she's flawed and you'll grow self respect.
>>
>>56579863
>social retardism in women is despised among the alphas.
Sure, but not 80% of men. A girl with shit their personality that looks 7-8/10 will not have trouble getting a 7/10 guy with a good personality. Obviously if she had a good personality she would do even better, but it's not that important. Also being shy and awkward is much better than being angry and insane like a lot of women are in my book.

Women care much more about personality in guys than they do about looks, no matter what they say. Girls care about confidence, which is why they'll chase after violent niggers and jerks, because their confidence is attractive.

Also dynamic typing is shit.
>>
>>56579877
>You don't need to be an extrovert to get laid. It works if the girl is.
If you're not feeling up a girl within 2 hours within the conversation or initial contact, you're fucked. You gotta' make moves.

>>56579889
You're right. I got sucked up in watching ReviewTechUSA 'oink 'oink 'oink and I just couldn't stop laughing. See ya', fella's.
>>
>>56579886
nah he's just one of those annoying guys that love giving out advice
>>
File: puti.jpe.jpg (78KB, 800x500px) Image search: [Google]
puti.jpe.jpg
78KB, 800x500px
>>56579886
yes I was low confidense and low self esteem weak man.
better to bloom late than never at all.
i was stuck in self-defeating ways because of my upbrigning and where I grew up.
i am happy to say I'm an alpha male now.

I'm not a dumb teen, I have a stable job and a fine ass income. I was just a beta.

>>56579921
yes i love giving advice. it makes me happy to spread what i know. hopefully people will change in the ways the want.
>>
>>56579739
The paradox of all these manliness/alpha-pureness/PUA/redpill/high-test/high-confidence bullshit theories is that only absolutely insecure faggots subscribe to them. An actual alpha (as defined by those theories themselves) would never even think about double-checking his manliness/confidence against writings of some fat, recently dumped reddit-dwellers.
>>
>>56579978
Where's the paradox? Of course only insecure faggots subscribe to them. Why would alpha men need to subscribe to a theory on how to become alpha? They already are alpha and don't need to know how to get there.
>>
Can you fags please take your neo-masculinity or whatever it's called some place else?
Unless you're making an AI to help you pick up women it doesn't belong here.
>>
Any tuts on chemical sterilization at home?
>>
>>56579978
sorry I don't understand what you mean.
alphas aren't born, they are brought up being alpha. just like the feral children who grow up with no human contact, if you grow up being taugh confidence and alpha you will become one.
ofcourse some people are more lucky than others and have better genetics.

eitherway I don't understand what you are trying to say. yes I learned to become an alpha. im not sure about 'writings of recently dumped redit dwellers' i just started working out daily and wanted to become like my alpha male role models
>>
>>56580038
I hear bleach is pretty good.
>>
>>56580038
1.browse dpt
>>
>>56580045
This could be a legitimate response depending on the intention of the original question.

At first, I assumed you were telling that anon to drink bleach, but then I realized that anon had an area they just needed to clean and steralize, making your response seem more helpful.

Then I went back and realized that the anon was talking about neutering xirself, and thus we're back to the "drink bleach".

Your six-word post just sent me through a whole range of possibilities.
>>
>>56580043
Yes but learning social skills at the age of 23 is making me depressed.
I'm far happier accepting that I'll be some kind of monk and use the time others spend on girls on self actualisation, becoming a better programmer, acquiring resources, ect...
>>
>>56580104
Hard to get a good job even in programming without decent social skills. Unless you're insanely good at programming.
>>
>>56580076
That's the most in-depth analysis on something related to me that I've heard in a... well, ever. I needed that anon. Thank you.
>>
>>56580104
yea fair enough anon
if it isn't making you depressed and you found a way to make it a strength than good for you.

i was saying that stuff only if you are self-loathing and want to change. but you have accepted a different path and thats great
>>
>>56580104
There's always the blessing of self-medication!
>>
>>56580118
I've got enough social skills for work. Just don't expect to do some idle chatter with me.

I'm confident, don't drop my spaghetti and can talk back perfectly well if someone asks me a question. And I probably would do fine on a stage if I prepared what I was gonna say in advance. I just suck mega hard at idle chatter, banter or any kind of ad lib.
I just can't do it it tried for years without improvement.
>>
And Xanax!
>>
>>56580104

You know what's cooler than self actualization? Leaving behind a legacy. Like kids, or a work of art, or really anything that stays behind after you're dead and gone, that exists entirely because of you.
>>
>>56580192
You sound the same as me. Godspeed my friend. You should be able to do alright.
>>
>>56580218
I've never had much of a reproductive drive. I actually worked with kids aged 9-11 before, I fucking hate the little creatures.
>>
File: wbKleBn.png (174KB, 416x396px) Image search: [Google]
wbKleBn.png
174KB, 416x396px
>>56580252
>not liking lolis
>>
So does anyone use GitLab? Will it ever replace GitHub? Should I care about it?
>>
>>56580285
Real children are actually disgusting and extremely annoying. They're nothing like perfect 2D lolis.
>>
>>56580285
3D is not loli, anon.

3D is disgusting.
>>
>>56580296
yes. stay away from sjw hive github
gitlab is great, also free private repos
>>
>>56580296
>using SJWLab

If you want an alternative to GitHub, use BitBucket.
>>
>>56580285
The girl are actually the worst. They're like imps, tiny little devils.
>>
File: G6gStP2.jpg (36KB, 496x584px) Image search: [Google]
G6gStP2.jpg
36KB, 496x584px
>>56580323
>>
>>56580027
>Where's the paradox?
Betas building theories on how to become someone who doesn't care about those theories.

>>56580043
>yes I learned to become an alpha
No. You learned how to conciously correct your behavior to match what you believe alpha behavior would be. That's not being an alpha, that's being phoney. And it's more transparent than you think.
>>
>>56580314
But I already have free private repos because student plan

Also, how does that even begin to work? All projects are on GitHub -- how do I contribute from GitLab? I still have to use GitHub, no?
>>
>>56580321
>SJWLab
Why are you calling it that? They allowed C+= in it.

>use BitBucket
They did not allow C+=
>>
Why is so hard to display a 2d array in WPF?
>>
>>56580339
why are you so sour?
>>
>>56580350
Lmao, that still exists?
>>
>>56580343
yes you need an account on whereever the projects you are helping with are on
>>
>>56580357
That's a loaded question.

What are you specifically having trouble with? It's quite simple to display data in WPF.
>>
>>56580370
So what problem does GitLab solve to compel someone to manage 2 accounts? Is it just politics and drama?
>>
>>56580350
>C+=
Not much of a litmus test. GitHub is as SJW as they come and they allowed it.
>>
>>56580381
>GitHub is as SJW as they come and they allowed it.
No, github removed it.
>>
>>56580390
https://github.com/ErisBlastar/cplusequality

Sure looks removed to me.

Oh wait.
>>
>>56580378
pretty much

sjws ruin everything
>>
>>56580373
I can't find a way to do it without jumping through 20,000 hoops. Using a datagrid to display something like a List is made so simple, but apparently a 2d array is rocket science.

I have a [5,6] 2d array that contains an int and a string, that I would like to display on screen in a grid where the corresponding cell displays the number and the word. Any pointers?
>>
>>56580397
Someone reuploaded it, and?
>>
>>56580397
They initially did remove it.
I think it's only up there now because somebody reuploaded it and nobody gives a shit anymore.
>>
>>56580397
https://github.com/FeministSoftwareFoundation/C-plus-Equality
>>
>>56580402
>>56580405
4 months ago and it's still there.

They clearly have no issue with it.

Report it and see if they remove it, if you think your argument holds up.
>>
New thread:
>>56580427
>>56580427
>>56580427
>>
>>56580104
>>56580252
>>56580218
The little kids can bugger off.

As surely as any man has ever had within him the breath of life, it shall eventually leave from him

---

So, in the mean time... I say, do sometime. Create some. Anything. Do something that will last for 10,000 years.
>>
>>56576236
Oh boy, are you in for surprise when you're going to learn how Java arrays work.
>>
>>56579053
>he thinks Dwarf Fortress is for fascists and teenagers
>>
>>56579053
kill yourself

>>56579007
kill yourself
>>
>>56579286
No, Anon. You are the hoe.
Thread posts: 320
Thread images: 42


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