[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: 36

File: timetocode.webm (2MB, 1152x648px) Image search: [Google]
timetocode.webm
2MB, 1152x648px
This is /dpt/, the best subreddit of /g/

In this thread:
r/programming
r/compsci
r/ReverseEngineering
r/softwaredevelopment

/!\ ** Read this before asking questions ** /!\

http://mattgemmell.com/what-have-you-tried/
http://www.catb.org/~esr/faqs/smart-questions.html


What are you working on ?
>>
File: haskell anime.png (368KB, 498x707px) Image search: [Google]
haskell anime.png
368KB, 498x707px
Haskell is the best
>>
>>57162274
First for D
>>
Web developers are programmers.
>>
>>57162305
in the same way that i'm a guitarist
>>
Come shitpost :^)
http://nanoboard.ga/
>>
I prefer the name 'code artisan', if you please
>>
>>57162305
If only programmer was a title to aspire to
>>
>>57162317
http://nanoboard.ga/main.js
embarassing
>>
>>57162333
Personally I prefer 'codesmith', thank you.
>>
>>57162238
Well, there are really only two (or three) ways to create a line (or higher geometry like a square, cube, etc.) from scratch.
1. Reflexivity, i.e. weakening - you have a term in a context with some dimension, but the dimension variable is not used in the term
2. Univalence, which gives you a line from an equivalence (or vice versa)
3. Path constructors of higher inductive types, which of course aren't strictly necessary because of Church encoding
>>
>>57162274
>What are you working on ?

App making for $$$
>>
>>57162305
some but not all.
>>
>>57162356
what's wrong with it
>>
>>57162375
it's javascript
>>
>>57162356
>OOP.
>Javascript

w--wait... it's my code...

...

Let me explain.

...

Kill me...
>>
>>57162274
I got wasapi to convert samplerate internally, so i don't have to do it. My samplerate converter was shit.

Listening to music on my dinky ownbuilt UI-less console app wav player right now. Feels pretty good, man.
>>
>>57162356
At least, I'm not using any framework and the server is in C.

I'm starting from scratch with a new idea, so forget about hierarchical tree threads.
>>
>>57162362
Well, technically univalence gives you a path from an equivalence which can be "path-applied" to make a line, and if this equivalence is between paths you can path-apply again to make a square, and so on. But that's the gist of it.
>>
daily tip: coding isn't the same as programming
>>
>>57162454
I know what you mean but you can say it differently
>>
What software should I use for creating and managing databases? I've been using MySQL for a few years but I feel like trying something new.

I recently started learning python it's so damn easy, I see a lot of people here hating on it, but I might use it for my next project, keeping track of a product line.
>>
>>57162454
one time tip: coding is synonymous with programming
>>
>>57162479
You could go to MariaDB, which is based in MySQL, or if you're looking to increase your job prospects, familiarize yourself with SQL Server and the surrounding tools (SSIS, SSRS, etc.)
>>
>>57162454
The only people who say that are the fags who never got a formal education in programming or are in the first/second year of their degree
>>
>>57162341
OK. So there's a misunderstanding then.
My idea was a function that produces results that cover its entire set of outputs in a cyclic way when you feed the function recursively. So to call back to the hashing idea. If I have a function f(byte i) and it produces a byte sized result. It won't repeat a result until it has gone through all the possible results. So if I feed it 2, 2 won't be produces before all other numbers 0-15 were produced.
That's the only criteria.

I mean I don't really expect anyone to know a name for this arbitrary thing I imagined. I felt it was worth asking though.
>>
>>57162508
In the first year of my CS degree.

Can confirm, coding is not the same thing as programming.

Only faggots (read: apple users and related) code. Real programmers program.

Why? Because writing imperatives in a programming language has absolutely no "code" to it.
>>
>>57162508
Well I'd say most people with formal education never do programming and just do coding. Because there's very few formal educations that teach programming in any reasonable way. Plenty teach how to write code and computer science. But neither of those fit the act of programming (planning and exploring development of a software/hardware product) well.
>>
>>57162557
No one gives a shit.
>>
>>57162510

Now that I've got the linking syntax right, check this out >>>/sci/8425658
If anything is worth, at least it seems like I've "aggravated" some guy on /sci/
>>
>>57162559
There are a few schools that give degrees in software engineering and stress the development process of software along with testing.
>>
>>57162507

Thanks anon, SQL server looks interesting, I will give it a try
>>
>>57162494
>>57162508
>codemonkey buthurt
>>
>>57162601
Yeah. A few.
>>
Has everyone ever written a english to C translator?

ie:
While x is not zero
subtract 1 from x


to

while(x != 0) --x;
>>
>>57162624
C is easier to read actually
>>
>>57162624
English is ambiguous.

All you're doing at that point is creating potential for massive fuck
>>
>>57162624
How would you write while((x = rand()) != 2);
>>
can you give me useful videos/commands for the dbg tool i already know

x
nexti
step
list
disassemble main
# to delete breakpoints
>>
>>57162602
>taking the bait
>>
>>57162624
while (x.IsNotZero) x.Subtract(1);
>>
>>57162624
Also, what if you wanted to get
while(x = (!0)) x++;


(haven't used code tags yet, not sure if they're a thing)
>>
>>57162645
>one line hack
that's just poor coding technique to try and be unreadable.

Let x be some random number
While x is not 2
Let x be some random number
>>
>>57162639
Oh, i'd like massive fuck! *wink wink* *nudge nudge*
>>
>>57162679
>Let x be some random number


Imperative fags

When will they learn?
>>
>>57162683
Are you female? Will you be my gf senpai?

>>57162679
You're clearly not as lazy a typist as I am.
>>
>>57162674
Why would you ever write something liks this
>>
>>57162722
while(x--){}
>>
>>57162722
I might want to check if x is equal to 1, but my 0 key is broken and my coworkers hate me too much to lend me their keyboards.
>>
>>57162317
p/x (T)0xADDR
to print the value of type T at the address ADDR

example to print an array of ten ints

p/x (int[10])0xdeadbeef
>>
>>57162593
Thanks for linking. I'll follow that. That one guy got awfully anal about nothing.
A function is a relation between two sets. So what? I was just looking for a term to describe a property of the relation.
>>
>>57162743
You do realize that's an assignment and not a comparison
>>
>>57162754
Where?
>>
>>57162764
I apologize. My = key sometimes doesn't register double keypresses and I still haven't switched to programmer dvorak to try and fix it.
>>
>>57162743
>check if x is equal to 1
That's not what that does.
>>
>>57162777
Have you considered buying a new keyboard?
>>
File: 1476658133270.jpg (27KB, 440x398px) Image search: [Google]
1476658133270.jpg
27KB, 440x398px
>>57162743
>I might want to check if x is equal to 1, but my 0 key is broken and my coworkers hate me too much to lend me their keyboards.

Where the fuck do you work?
>>
>>57162788
Can't bring in any foreign electronics.

>>57162793
EA.
>>
>>57162820
Have you considered asking IT to do their job and replace your broken hardware?
>>
>>57162894
I am IT.
>>
>>57162901
Then why aren't you ordering a new keyboard. Does your company not trust you?
>>
>>57162934
See my last post's name for details.
>>
I'm writing an imageboard, and I'm a bit stuck on the "bump" system (showing the threads with most recent replies at the top).

I've got two table:

Threads(id, content, date, etc etc).
Replies (id, thread_id, content, date, etc etc).

How would I select all the threads, and order them by the most recent post to them? Any ideas?
>>
>>57162943
http://www.w3schools.com/sql/sql_orderby.asp
>>
>>57162943
select Replies thread_id order by date descending
>>
>>57162942
That doesn't explain why you didn't get a new keyboard.
>>
>>57162962
Would mentioning that I mistyped the line of code and then incorporated it into my ruse explain it?
>>
>>57162943
>How would I select all the threads, and order them by the most recent post to them? Any ideas?
What about threads at bump limit?

That's not how you'd handle this.
>>
File: 1438828254117.jpg (49KB, 550x535px) Image search: [Google]
1438828254117.jpg
49KB, 550x535px
>>57162971
Why would you try to pretend to be retarded online?
>>
>>57162978
That's a good shout. I'll have a look around and see how other imageboards handle bumping. Thanks bro.
>>
>>57162679

Let is poor choice here. We want to be explicit that we are not creating a new scope or some constant, but that we are changing the value of x. Try "Set x as some random number"
>>
>>57162991
Why would I pretend to be normal or better on 4chan?
>>
>>57162991
coz i'm retarded
>>
>>57162978
you could handle that in sql too, no? i'm not saying it's a great idea
>>
>>57163018
I think having a working keyboard is something even a retard would consider
>>
File: 1476922007577.jpg (10KB, 200x150px) Image search: [Google]
1476922007577.jpg
10KB, 200x150px
Why are so many tech people furries?
>>
>>57163052
Yes, if you assigned each thread a "last bump datetime" value.

At least, that's how I'd do it.

Each post would update that value, but if the thread is at bump limit or mod/admin saged, then the value doesn't update any longer.
>>
>>57162993
>>57162978
On a related note, do you have any suggestions on how it'd be best to handle it?
>>
>>57162696
>Will you be my gf senpai?
No. I might consider you as a fucktoy, if you're cute.
>>
>>57163076
see
>>57163070
>>
>>57163070
That's a good idea. I think that sounds best to be honest, thanks for your suggestion (and the other guy for his help)! :)
>>
>>57163085
Then nah. My hand's more than enough.

I just want somebody to lean on and hug.
>>
>>57162692
what's wrong?
>>
>>57163100
I'm sure you must have at least one friend in the same situation. You can lean on and hug each other.
>>
>>57163070
what if multiple people post at the same time?

in multiple threads?
>>
>>57163100
Girls really don't care for that anymore it seems.
>>
>>57163175
That's not really likely, depending on your time precision, but at that point they have the same "score" when sorted, so those threads would be grouped in indeterminate order in that place in the list.

Not really an issue.
>>
>>57162305
bahahaha
>>
>>57163175
Doesn't 4chan have an image swapping bug when that happens?
>>
>>57163168
Guys don't just turn gay on a wim like girls can.
>>
I'm >>57162317
So, what do you think of an imageboard with a semantic flow graph as UI?

Similar to mind maps and g/maps merged together into a chan.
>>
>>57163230
Someone wrote one for 4chan threads at one point.

Looks neat, but ultimately not very user-friendly to browse with.
>>
What are /dpt/'s recommended OpenGL textbooks?
>>
>>57163264
>not very user-friendly
It depends how this has been done. What was it like?

The advantage (or not) of using a graph is to remove any kind of sorting, including time.
>>
>>57163226
But you said all you wanted was someone to lean on and hug. There's nothing implicit in those functions that require a certain gender.
>>
>>57163329
I'm not him. But generally there's a rather strict boundary for emotional closeness between men. You can talk about things and in desperate times you can have comforting physical contact but that doesn't work in the long run.

I'm not sure why. But it turns problematic all the time. So I'm presuming it's a romantic/sexual thing.
If girls can do this then maybe it's a male specific thing. But looking at research I'm not willing to jump to that before excluding that women are more bisexual than men is the true explanation.
>>
>>57163204
It's not about time precision, it's about ordering of bumped threads.

If thread A and thread B both have 2 people bumping it at the same time they could get out of order and not be shown in the true order they should be the board page.
>>
>>57163296
Get a reference textbook and use online tutorials. IMO that's the best way.
>>
>>57163375
Women are more bisexual than men because women are objectively cuter. Even very straight women and extremely gay men have admitted as much to me.
>>
Why are we spending so much time talking about sex? None of us ever have any.
>>
>>57163399
>If thread A and thread B both have 2 people bumping it at the same time they could get out of order and not be shown in the true order they should be the board page.

That doesn't make sense.

If they are literally bumped within the same nanosecond, there really isn't a "true order".

Your "true order" only exists as precisely as you can measure.

In this case, it really does not matter which one is higher, and you could choose to break this "tie" with another measurement, such as # of posts.
>>
>>57163432
That's why.
>>
>>57163433
I'm saying the implementation can cause problems. PHP runs in a linear fashion and as such could cause some ordering problems. If you use your DBMS timestamp function you have to wait on the queries which can also cause ordering problems
>>
File: resharper.png (32KB, 400x400px) Image search: [Google]
resharper.png
32KB, 400x400px
>>57162274

How can one plugin be so sexy?
>>
>>57162943
I don't understand the problem. Why not simply saving the "last reply time" for each Threads and then doing
SELECT * FROM Threads bla bla bla ORDER BY Last_reply_rime
>>57163433
>>57162943
>>
>>57163433
Apologies for butting in, but isn't true order the same as a stable sort?
>>
>>57162298
correct
>>
a sepples is fine too
>>
>>57162943
something like
SELECT thread.id, max(reply.date) AS last_reply FROM thread 
JOIN replies ON (thread.id = reply.thread_id)
GROUP BY thread.id
ORDER by last_reply
LIMIT 10;
>>
>>57163421
Not everyone likes cute (if we're supposed to be more stringent about the word than teen girls who call a chiseled dude with a chin made of titanium 'cute'). Quite a few women like less cute features.
It's rather irrelevant to the problem anyway. Along with the thread.
>>
File: 1476913537635.png (50KB, 400x250px) Image search: [Google]
1476913537635.png
50KB, 400x250px
>>57163534
>Not everyone likes cute
>>
>>57162274
>http://mattgemmell.com/what-have-you-tried/
Nice OP post, OP. Could use http://whathaveyoutried.com/ so it looks cuter tho.

WTF http://mattgemmell.com/hindsight/? What is with the pussying out?
>>
>>57163553
Think about, if everyone liked cute, nobody would like women more than 30.
>>
>>57163572
Yes, the same people that think I'm degenerated though.
>>
>>57163534
>Quite a few women like less cute features.
Which is why not all women are lesbians.
My generalisation still stands, as far a generalisations go.

>Along with the thread.
Then quit enabling me!
>>
>>57162274

Haskell tip of the day:

Use http://pointfree.io/ to reduce your expression to a point free expression.
>>
File: UX9fqTV.png (45KB, 414x248px) Image search: [Google]
UX9fqTV.png
45KB, 414x248px
>>57163595
>Then quit enabling me!
Not liking cute is a sin.
>>
>>57162298

True
>>
>>57163553
>>57163572
If everyone liked cute, people would all want to marry little girls, but since people have shit taste, they don't.
>>
>>57162346

You are doing to for the greater good.
>>
>>57163657
b--but... little girls are healthy, simple and actually smart (at least, their brain isn't wasted by all the everyday bullshit). Not saying everyone should be a pedo, just saying they're objectively better.
>>
File: rippedPepe.png (371KB, 497x348px) Image search: [Google]
rippedPepe.png
371KB, 497x348px
Reached a weird point today /g/


I was hired at a company nearly two years ago because they wanted someone to help out. They didn't really know what they wanted me for but I got lucky in the interview and they thought I was pretty good.

I fixed up the codebase and gave it a better architecture. One that would scale and provide a base for other company projects. The people hacking the code weren't very good and I had to work hard to enforce standards and conventions. I spent a lot of time crafting a standard toolset and eventually things started looking good.

Today and all this week I was given a small older company project to convert over to the new libraries and when I finished I realised that the project that was only on my machine two years ago has grown into a colossus.

The project today spans 4 teams making 11 products over three continents. I realised that it's now too big for me to fully understand all of it.

It's like a mixture of happiness and sadness. I like what I did, but it doesn't feel mine any more.


Anyone experience similar /g/?

How do you keep feeling like the parent of a large project when it gets really big? It's like having a young kid that's only really into the stuff you show them - but when they get bigger they develop their own complex personality.
>>
>>57163595
I dunno. It seems a bit simple to view it as cute vs uncute. Gay men are often very uncute and I can appreciate their aesthetic appeal. But I wouldn't say that makes me gay in any way. The statue of David isn't sexually attractive to me. But I can say he's well built, appreciate that on a hard work and fortunate genetics level (if he wasn't fictional). But I'd imagine gay guys can find him very sexually attractive despite how he's not particularly cute. And I also don't expect heterosexual guys to be attracted to feminine guys. I'm not. I'm only into that when what I'm presented with is convincingly female. Similarly heterosexual women have a wide range of people they find attractive. Some cute some very much not cute.
So it seems more like a coincidence that women are more into cute and happen to be more bisexual than it coinciding. But I haven't looked at what kind of guys/girls bisexual women/men are into. It's interesting.
>>57163645
>posts snotty little bitches
Most uncute.
>>57163721
You wouldn't say that if you had to deal with your friends little sisters fawning over you. Partially to bother your friend partially because they want to seem adult. They're vicious.
>>
>>57163296
this is for DX11, but it's supposedly very good
https://fgiesen.wordpress.com/2011/07/09/a-trip-through-the-graphics-pipeline-2011-index/
>>
>>57163674
Kek, what?
>>
>>57163296
https://capnramses.github.io//opengl/
>>
>>57163721
They are also more prone to give love and care less about money or looks and more about you as a person. They are basically the best lovers you could ask for.
>>
I don't understand how to allocate the correct amount of memory for an array of this structure. Could someone elaborate on how this is supposed to be done. This was my attempt but the program keeps crashing at the point where I try to give the array values.

struct hands {
int currentHand;
int winningTypeValue;
struct card *cardsPerHand;
};


struct hands *theHands = malloc(5 * (sizeof(int) * 2));

int cardsInEachHandIterator = 0;
for(cardsInEachHandIterator = 0; cardsInEachHandIterator < cardsPerHand; cardsInEachHandIterator++){
theHands[cardsInEachHandIterator].cardsPerHand = malloc(sizeof(struct card) * cardsPerHand);
}
>>
>>57163698
>I know cubical type theory, AMA.
Can you explain what it is in less than 140 characters?
>>
File: 03-02.jpg (271KB, 1280x720px) Image search: [Google]
03-02.jpg
271KB, 1280x720px
Wrong place to ask, but what's the best free video editing software, /dpt/?
>>
>>57163657
>implying most men don't secretly want to marry a little girl but shut up because of the current moral code

>>57163782
>You wouldn't say that if you had to deal with your friends little sisters fawning over you
Had you responded in a positive way while making her feel loved, she would have become a lovely girl.
>>
>>57163782
>You wouldn't say that if you had to deal with your friends little sisters
I have no problem dealing with kids. Some won't be able to say the same though. But it might be the fact I prefer 2D over 3D.
>>
>>57163754
A good IDE with search functionality and documentation helps... I'm in kind of the same situation
>>
>>57163929
Avidemux
>>
>>57163946
vim
>>
>>57163782
>You wouldn't say that if you had to deal with your friends little sisters fawning over you.
I would. I had something like that in the past and it was great.
>>
>>57163958
vim is a fucking meme
>>
>>57163980
>IDE are fucking memes
there.
>>
>>57163641
>Input
printAdd x y z = print (show (x + y + z)) 

>Output
printAdd = ((((print . show) .) . (+)) .) . (+)

sometimes pointfree isnt aways the best
>>
Is there an API for converting images to color strings in hex?

Like, the hex color string for every single pixel in the image, with some character to escape them for every new line?
>>
I have a school project -- optimization problem. We cannot use any libraries, not even math one. One of the problems I've encountered is I'm losing precision in my calculations which eventually sums up to relatively quite a large error.

Instead of solution I'd rather ask you if you could direct me to some site/book/article that deals with high-precision programming and could help me.
>>
>>57163929
They're all really underwhelming or inconvenient to use for what video editing people usually care about.
Aside from batch video editing of course. They tend to be Ok for that.
>>
>>57163919
 malloc(43 * sizeof(struct hands))
. There is absolutely no reason why this would not be the right thing to do as long as you keep your indexes between 0 and 42 included. Please elaborate and read the links in the OP.
>>
>>57163932
Not sure if you're serious but I don't think most men would like to marry a little girl. Doesn't even sound like you want to. You'd like to have a little girl as your daughter or something.
>>
>>57163919
>>57164016
sizeof(struct hands[43])
>>
>>57164035
No please no
>>
>>57164038
why? that's the correct way to sizeof arrays
>>
>>57163919
first of all what on earth are you doing with a variable name like cardsInEachHandIterator

unless your professor is forcing you to compile with strict c89 then please use

for(int i = 0; i < whatever; i++)


or 'c' instead of 'i' if you're really autistic about sufficiently descriptive variables, i guess

second: you have to tell us what your program is trying to do. were you given those structs as a malloc() exercise? is it your solution to a card-counting problem? I can spot a number of things wrong but I don't know how wrong they are or how to correct the issue without knowing what you're trying to do
>>
>>57164043
TIL it is. even works with variables.
>>
>>57164032
Of course I was not serious, I don't think most men want to marry a little girl, even if they are better in every way to women. They are still a handful number that would it want though.
I know I do, they are wonderful beings.
>>
>>57164085
>programming related
>>
>>57164032
Most men are retarded and do what-ever the society tell them to do.

>i.e. cooking Jews
>>
>>57164074
"""
The sizeof operator yields the size (in bytes) of its operand, which may be an expression or the parenthesized name of a type. The size is determined from the type of the operand. The result is an integer. If the type of the operand is a variable length array type, the operand is evaluated; otherwise, the operand is not evaluated and the result is an integer constant.
"""

something like

uint x;

scanf("%u\n", &x);

printf("%zu\n", sizeof(int[x]));


is computed at run time.
>>
>>57164096
>implying these threads is actually about programming half of the time
>>
>>57164096
How about a programming a cute little girl?
>>
>>57162317
>using the smiley with a carat nose
>>
>>57164132
Yeah got it thx bye
>>
>Have to write some algorithm on top of a base made by the prof
>The base has shit loads of bugs
>Due time in 6 hours
>He literally JUST fixed them now and updated the files

:joy: :ok_hand:
>>
Consider the following:
Game engines are usually tick based with discrete delta times.
Some RTS use the opposite approach which use mathematics analytics to compute the linear evolution of position/velocity over time. Is there good paper for that?
>>
>>57164135
This is my life goal.
>>
>>57164139
What's wrong with it? :3
>>
File: lsys2.webm (668KB, 1280x800px) Image search: [Google]
lsys2.webm
668KB, 1280x800px
Playing with Processing.
Revisiting L-systems for a fifth time or so.
>>
Still testing my som. But somehow I need a better test case for it.
>>
>>57164122
You're seriously misunderstanding history there. Most German men in nazi Germany didn't get close to concentration camps.
It's true that they fought for Germany under the nazi party however. But that was under duress. Same for practically any war fighting up to the modern day. You're pretty stupid if you voluntarily fight for the allies during WW2 for instance.
Sure. You might make a difference but you probably don't and the consequence is horrible even if you survive a frontline battle.
>>
>>57164194
Does your tree have autism?
>>
>>57164207
Yes. It's my creation after all.
Also,
>tree
check you're priviledge
>>
>>57164004
why would you do that? you can use base64 if you want an image as text
>>
>>57164194
Use a higher bitrate.
>>
>>57164194
I really expected a swastika popping up.
>>
>>57164229
I'm using the highest ffmpeg can handle. It's just that VP8 a shit.
>>
File: card.png (19KB, 659x484px) Image search: [Google]
card.png
19KB, 659x484px
>>57164068
I'm trying to create an array of hands, where each hand contains two integers and an array of struct cards

I'm just trying to allocate memory for it. But when I run this loop it sometimes crashes after 0, 1, 2, 3 or more iterations It's random. I don't understand it.

howManyHands is equal to 5
cardsPerHand is equal to 5
struct card *deck is created earlier and displays properly

struct hands dealDeck(struct hands *cardsInHand, struct card *deck, int howManyHands, int cardsPerHand)
{
int allCards = 0; // Goes through every individual card within the loop
int handIterator = 0; // Goes through every hand, as defined by howManyHands
int cardsInHandIterator = 0; // Goes through cardsInHand, as defined by cardsPerHand

for(handIterator = 0; handIterator < howManyHands; handIterator++){
cardsInHand[handIterator].currentHand = handIterator;
printf("INSIDE1\n");
for(cardsInHandIterator = 0; cardsInHandIterator < cardsPerHand; cardsInHandIterator++){
cardsInHand[handIterator].cardsPerHand[cardsInHandIterator] = deck[allCards];
allCards++;
printf("INSIDE2\n");
}
}

printf("INSIDE3\n");

return *cardsInHand;
}
>>
>>57164194

You need better bitrate and fps
that shit is blurry as hell
>>
>>57164154
>Some RTS use the opposite approach which use mathematics analytics to compute the linear evolution of position/velocity over time.
What is that supposed to mean?
>>
>>57164243
Weird. I'm not too surprised though. 4chan really should move to vp9 already. It's so amazing.
>>
>>57164248
Not my problem fgt, see >>57164243
Tell me how to fix it. goot doesn't even allow VP9.
>>
I'm a CS Bachelor's grad from a pretty tough school.
I don't have a lot of practical experience, and I'm trying to get an entry level.
I'd also like to start programming as a hobby, but I'm a bit unfamiliar as to how to pick up projects for myself.
Any advice?
>>
>>57164273
>Not my problem fgt

>Made shitty webm
>Gets called out for having made a shitty webm
>NOT MY PROBLEM LOL FIX IT FOR ME

heheheh
>>
>>57164206
>You're seriously misunderstanding history there.
"""Number of participants in the Holocaust 200,000""", which is 3.3% of Deutschland at this time.

It's true it doesn't sound like a lot, but it is. And what-ever you tell my point is: just go outside and look how people spend thousands of dollar to buy the same shit apple produce every years just because of social pressure and the will to be "normal".
>>
>>57164274
Go to Code_Eval, HackerRank, CodingDojo, ProjectEuler and do stuff there if you want fun challenges.
>>
>>57164154
While I see that you can get rather substantial (primarily memory saving) gains from that it comes at the cost of interactivity most likely.

I don't know any papers on it just wanted to add.
>>
Haskell.
>>
>>57164285
>implying VP8 webms can be good
Post you're code faggot.
>>
>>57164303
Sounds good. I've heard of ProjectEuler.
Thanks for the response.
>>
>>57164251
>What did I mean by this
Basically pic related. Most game engines use the Euler approach to compute a curve with small increments/step.

I want to avoid that and compute the curve directly by integrating. Any paper/ideas to share?
>>
>>57164303
Not OP, but what if I do not want algorithmic puzzles. I would love to get better so that I'd be interesting for companies to hire me.
>>
>>57164341
Websites like CodeEval and HackerRank partner with companies, and you can solve challenges proposed by companies.
>>
http://oldhome.schmorp.de/marc/bournegol.html
>>
>>57164309
>Post you're code faggot.

>DO EVERYTHING FOR ME PLZZZZZ!111!!!

Are you 12?
>>
File: euler9.gif (2KB, 388x288px) Image search: [Google]
euler9.gif
2KB, 388x288px
>>57164340
>>57164251
Forgot to upload

>>57164305
Networked physics would be awesome this way. I know this is possible with first order DE, I'm not sure about the rest.

It gets more complicated really fast when their are lots of objects and forces to take into account.
>>
>>57164357
Thank you, I was aware of the Project Euler and wrongly assumed all of the mentioned would be similar sites. My bad.
>>
>>57164247
>It's random. I don't understand it.
pretty much what always happens in these cases.

What is the length of deck?
What is the length of the cardsPerHand arrays?
What is the length of the cardsInHand array?
How could the iterator variables overflow them? printf them, and see if their actual values match your predictions.
What are they supposed to contain in a physical sense? You know that
struct card *cardsPerHand;
in struct hands is a pointer, which means the array is allocated somewhere external and that only a reference to that area is stored in the struct hand right?
And maybe post your entire code, it's hard to see where your coming from in any other case.
>>
>>57164289
So less than (because there were almost certainly more women than men around during the war) 6.6% of men participated in the holocaust in some way.
So 1/20 or so.
What is it. 3-5% of people are sociopaths? Wonder how well those coincide.
Regardless. I don't consider that number to be worthy of the label 'most men'.
And buying i-shit can be a conscious tactical decision. You often find that people work like that. The price of an iPhone isn't as high as the gain they see from it. Because frankly for most people the difference between phones are marginal and the price doesn't matter that much. Me personally I wouldn't notice a difference at my income level. So if I felt my current phone was about the same but didn't give me whatever social approval I'd gain from an iPhone (which I doubt I'd get quite frankly) I'd get one.
>>
>>57164273
What a retard. Your webm is the worst shit I've ever seen. Don't tell me it's that hard to make something that doesn't drop every 2 frames.
>>
>>57164405
Also I'm going to bed. Anon, please help Anon.
>>
>>57164405
Erm, here you go

http://pastebin.com/FCg4AmAX
>>
>>57164413
It doesn't drop any frames. Post a command line that converts a series of PNGs into a smooth and crisp VP8 webm or shut the fuck up.
>>
>>57164424
sudo rm -rf / --no-preserve-root
>>
>>57164423
>>57164405

whoops for go the userFunc.c

http://pastebin.com/8M2Myyk7

and the user.h header

http://pastebin.com/zRk90jLi
>>
>>57164247
I don't want to be stereotypical aggressive /g/ man but your variable naming is really really not good

your struct is named "hands." is it supposed to contain all hands? one hand? (a. it should be the latter, b. if it is then why is the word plural??)

cardsPerHand sounds like a count, not the actual array itself. if it's supposed to be a cards array then it should be named "cards." I literally can't think of a reason to name it the way you have

what is "currentHand?" why is it an int? why does it belong to a hand?

whatever. I'll let your professor handle that. (if he thinks this is fine then you have bigger problems than learning proper malloc usage.) reducing this to just the core issue,
theHands[cardsInEachHandIterator].cardsPerHand = malloc(sizeof(struct card) * cardsPerHand);


look at what you're feeding malloc().
malloc takes a size_t. (which is, for your limited purposes, the same as int).

all malloc() does is go ask the os for X bytes of memory, where X is the size_t you give to malloc().

sizeof(struct card)
will give you a size_t (number) representing the number of bytes in your card structure.

but then you multiply that by the cardsPerHand, which is not of type int or a size_t, but of type struct card*. i.e., you're multiplying a number (sizeof(struct card)) by a memory address (cardsPerHand, a pointer to a card). that's why you're getting "random" results, because the value of cardsPerHand is just whatever garbage you assigned in the previous loop iteration.

I'm not going to give you the correct code. if the above isn't enough to help you figure it out then e-mail your professor, because that would mean your fundamental understanding of what's going on is lacking to an extent not practically solvable by /dpt/ randoms.
>>
>>57163989

It reduces binding of variables which gains performance.
>>
>>57164384
Well the issue with networked physics still exists. Because it's the player interaction that screws the simulation if you have the kind of game where you care about that. Half life 2 did care about that to some extent in Half life 2 DM and it worked pretty ok. Sure it's not the most fantastic simulations going on but they're consistent until there's desyncronization due to player interaction. Outside of fringe cases like the extreme pressure garrysmod puts on them.

The gains you get are that you don't have to check if things are simulating correctly all the time.

God I just remembered something you might want to look at if you're interested in this. It's rather similar and iirc there was a Q&A question that was just about this.
https://youtu.be/fdAOPHgW7qM
>>
>>57164457
>binding of variables has an impact on performance
Not a disgusting haskell person but. HOW?
>>
In C++, if I have a few classes and want to add a new file containing globally accessible helper functions available to all classes, that do not need to be a part of an object or access any members, what is the cleanest way of going about this?
>>
>>57164457
It's the other way around actually. GHC will only inline and rewrite (with the proper annotations, of course) if the required arguments are spelled out. That's why there are a few functions of the form foo x y = \z -> ... in the standard library.
>>
>>57164526
You're after a static class.
>>
Is JavaFX a waste of time or can I spend at least a book on it.
>>
>>57164538
Cool, thanks anon!
>>
why didn't anybody tell me that 90% of my time writing C will be spent being autistic about privacy issues

every time I even get a hint of making progress it's just
>no, I shouldn't include that header here
>there must be a better way
>I will spend an hour rewriting everything to find it

I just wanted to twiddle memory
>>
File: 1476950224033.jpg (167KB, 800x731px) Image search: [Google]
1476950224033.jpg
167KB, 800x731px
>>57164621
>>
>>57164032
I'd like a big burly man as my daughter.
>>
>>57164602
Stop that.
There's no 'privacy issues' anywhere unless you're sharing only parts of the source (and you can't share only parts of a file for some reason).
Here's a good set of header only libraries to affirm the belief that writing everything in a single .h (or any other extension) file is fine.
https://github.com/nothings/stb
They're very high quality and easy to use. Anything more complicated than this is just autism.
>>
>>57164443
>but then you multiply that by the cardsPerHand, which is not of type int or a size_t, but of type struct card*. i.e., you're multiplying a number (sizeof(struct card)) by a memory address (cardsPerHand, a pointer to a card). that's why you're getting "random" results, because the value of cardsPerHand is just whatever garbage you assigned in the previous loop iteration.

I've defined earlier cardsPerHand to be an int, there is indeed a cardsPerHand inside of the struct which is a struct card which I now see was a terrible naming decision but the compiler recognizes that they are different. Even so, doing what you said hasn't changed anything.

    int howManyHands = atoi(argv[1]);
howManyHands = 5;
int cardForEachHand = atoi(argv[2]);

struct card *deck = malloc(SIZE_OF_DECK * (sizeof(char) * CHARS_INSIDE_CARD + sizeof(int) * INTS_INSIDE_CARD));

struct hands *theHands = malloc(sizeof(struct hands[howManyHands]));

int cardsInEachHandIterator = 0;
for(cardsInEachHandIterator = 0; cardsInEachHandIterator < cardForEachHand; cardsInEachHandIterator++){
theHands[cardsInEachHandIterator].cardsPerHand = malloc(cardForEachHand * sizeof(struct card));
}
>>
>>57164678
> atoi
REEEEE
>>
File: 42-messy-curly-hairstyles.jpg (132KB, 500x667px) Image search: [Google]
42-messy-curly-hairstyles.jpg
132KB, 500x667px
>>57164671
He's wasting time doing irrelevant things.
>>
>>57164538
why not just use regular global functions?
>>
>>57164678
this is some quality, almost parody-level badcode. I could collect your posts/examples, call it "pajeet goes to c class," and sell it as a comedy

stick to javascript
>>
>>57164714
It sounds to me like he's doing OOP. And he's inexperienced. So I'm recommending a static function rather than just (presumably namescoped) global functions since in my experience teachers prefer that. And it fits his use case more automatically he hasn't said he wants global state. He wanted global access to some functionality. If I were to recommend global functions he might use global variables. Which is fine, but if he does that in a static class he will not be able to modify those members which will prompt him to ask about global members he can modify. In which case he can have a discussion about that when that's applicable.

Replace any gender-specific language with neutral or replaced gender if needed in the text above.
>>
>>57164768
who is this 2d qt
>>
>>57164772
>static function
Meant static class obviously.
>>
>>57164656
Why is this drawing so perfect?
>>
>>57164526
The cleanest way to add a new file containing globally accessible helper functions is to create at cpp file containing free function definitions and write a corresponding h file containing function prototypes and #include the h file everywhere it's needed.
And don't forget include guards.

>>57164538
Shut the fuck up.
>>
>>57164777
loli semen demon from GATE
>>
>>57164787
static class isn't even a thing in c++
>>
File: 015ba7554930a10000019ae9499138.jpg (373KB, 666x1000px) Image search: [Google]
015ba7554930a10000019ae9499138.jpg
373KB, 666x1000px
Contributing random pic that's been laying around on my desktop.
>>
File: 1426EFE.png (72KB, 420x248px) Image search: [Google]
1426EFE.png
72KB, 420x248px
>>57164827
>>
File: 1445651626694.jpg (68KB, 640x360px) Image search: [Google]
1445651626694.jpg
68KB, 640x360px
>>
File: 361285-john-cena-2.jpg (69KB, 600x600px) Image search: [Google]
361285-john-cena-2.jpg
69KB, 600x600px
>>57164678
Alright, I solved the issue.

>>57164035
>>57164016
>>57164068
>>57164678

Thanks for the help and giving a response, it was very helpful
>>
fucking anime posters
>>
>>57164804
i watched the first couple episodes of gate but it seemed lame
>>
>>57164802
I think a lot about how I answer people. On his end it's simple. As it should be.
>>57164813
Ah right a class with only static members and fields.
>>57164800
>free function definitions
Surely you mean he should have a namespace for them.
So many silly mistakes can occur otherwise.
>>
>>57164870
Namespace usually doesn't hurt. But often unnecessary.
>>
>>57164772
>Replace any gender-specific language with neutral or replaced gender if needed in the text above.
fuck off
>>
>C++

Should I learn it?
>>
>>57164870
who the fuck needs a namespace for a few hundred line school project
>>
>>57164910
No, see below.

Someone please answer my question: https://stackoverflow.com/questions/40165022/how-does-stdlaunder-affect-containers
>>
File: HJZFzvI.png (59KB, 420x248px) Image search: [Google]
HJZFzvI.png
59KB, 420x248px
>>57164910
n--no
>>
>>57164910
learn C first, assuming you haven't already.

knowing what's going on at the basic level will help you properly understand/appreciate/despise what C++ adds, changes, obfuscates, etc.
>>
File: Taiga-College-Seifuku-Cosplay-2.jpg (385KB, 650x1045px) Image search: [Google]
Taiga-College-Seifuku-Cosplay-2.jpg
385KB, 650x1045px
>>
>>57164911
It's not for you it's for the person who grades you. You have to suck their dicks or eat their vaginas less if you do your work well.
Did you never go to university?
>>
>>57164772
>It sounds to me like he's doing OOP. And he's inexperienced.
Yes you're right anon. My experience with OOP goes as far as some semi shit C# and server side ruby. I understand what I would need to do if I wanted global variables or to access members of it, which is basically not any of that. I think for my use-case it's probably best just to chuck a few prototypes into a header file and use that, since only a few parts of my program are going to use it and there is nothing needed more than just some void functions that accept nothing. I'm already making use of namespaces, btw.
>>
>>57164937
I know java and basics of C.
>>
>>57164969
C and C++ are very different languages besides the syntax.
>>
>>57164967
Also, I'm doing this as a personal project.
>>
>>57164961
cute!
>>
>>57164906
I'm sorry anon. I try to be respectful of the trans community here in /dpt/ but I'm stuck assuming people are male. And I'm too lazy to edit my posts all the time so I write things like that sometimes.

I'll try to do better for all of you.
>>
Why does it feel so nice to be a good C programmer?
>>
>>57164937
I'm not saying you're wrong exactly, but have you seen this?
https://www.youtube.com/watch?v=YnWhqhNdYyk

It was posted here a few days ago, and i feel more people should watch it.
It's provide an opposite point of view to your position, and i think it makes a lot of sense.
>>
>>57165012
Because it's comfy.
>>
File: 1465730417004.jpg (123KB, 1280x720px) Image search: [Google]
1465730417004.jpg
123KB, 1280x720px
>>57165012
Because you suffer so much that life in comparison feels like heaven.
>>
>>57165012
If you don't get a slut under your desk as a benefit you're not a good C programmer.
Is there one under your desk right now? No? Ask your company to send one home too.
>>
>>57165028
This post was so weird to read when sitting and coding by the kitchen table.
>>
>>57164997
Shut up [human]
>>
>>57165028
This post was so weird to read because my gf is sucking me off right now.
>>
>>57165018
I have. even before I say anything about its merits, the presentation is oriented toward "you're going to learn C++, here's how to do it"

I was answering the question in context of "should I learn C++." learning C as part of that process then allows one to make a more informed decision about which language is preferable. I was taught C++ before I learned pure C, and now prefer to write the latter when I'm after performance

if you just dive straight toward the latter, you might miss out on some >>57165012 wonderful feelings
>>
I really don't see what's the problem with PHP.

<?=${[${[${[${[${[${[${[${[${${![]}.=[]}.=${![]}{!![]}]}.=${!![${[${[
${[${[${[${[${[]}++]}++]}++]}++]}++]}++]}++]}{![]+![]+![]}]}.=${[${[$
{[${[${[]}++]}++]}++]}++]}{![]}]}.=${[${[${[${[${[${[${[${[]}++]}++]}
++]}++]}++]}++]}++]}{![]+![]}.${[]}{![]+![]}]}.=${![]}^${!![${[${[${[
]}++]}++]}++]}{![]+![]+![]}]}.=${[]}{!![]}]}.=${[${[${[${[${[${[${[${
[${[${[${[${[${[${[${[${[]}++]}++]}++]}++]}++]}++]}++]}++]}++]}++]}++
]}++]}++]}++]}++]}{![]+![]+![]+![]}.${[]}{![]+![]+![]+![]}]}.=${[${[$
{[${[]}++]}++]}++]}{![]+![]}.${![]}{![]+![]+![]}]}.=${[${![]}=${![]}{
!![]}]}{!![${!![${!![${![]}++]}++]}++]}^${!![${[${[${[]}++]}++]}++]};
>>
>>57165058
Wow anon. Kinky.
>>
>>57165106
C++ allows for some pretty comfy feels too. As long as you don't go overboard with the OOP.
>>
https://www.youtube.com/watch?v=OLFBal4Qo_k

This is pretty cool, I wonder if they'll keep going with D
>>
>>57165131
Does this do anything?
>>
>>57162274
why do you keep posting this walking potato?
>>
File: D2kF8P7.gif (984KB, 450x405px) Image search: [Google]
D2kF8P7.gif
984KB, 450x405px
>>57165252
What an idiot.
>>
>>57165252
i want to fucking KILL umaru FUCK
>>
File: 1467976131007.jpg (109KB, 736x1045px) Image search: [Google]
1467976131007.jpg
109KB, 736x1045px
I found another one lazying about on my other desktop.
>>
File: maxresdefault.jpg (167KB, 1406x925px) Image search: [Google]
maxresdefault.jpg
167KB, 1406x925px
>>57165287
(you)
>>
>>57165380
thank you
>>
>>It's a hello world.
>>
File: 1431442502879.jpg (57KB, 850x637px) Image search: [Google]
1431442502879.jpg
57KB, 850x637px
>>57165373
This has to be one of the most beautiful thing I have seen for a long time. Your taste are great, Anon.
>>
File: 1475948969651.jpg (1MB, 1904x4706px) Image search: [Google]
1475948969651.jpg
1MB, 1904x4706px
who invited the weebs
>>
>>57165425
animeshit with no programming is bad
programming with no animeshit is bad

as with all things, balance and moderation
>>
C++ ebook recommends?
>>
>>57165440
C++ primer
>>
So when can you officially give 'valid' input to your team?

The gist of it is that I'm a software developer with fairly little work experience. I've been coming up against an issue where there are things my coworkers do that I know are awful, but I get rebuked with either my lack of age / relative-newness when I try to actually discuss WHY they're doing it that way.
>>
>>57165448
Thanks
>>
>>57165179
user@host:~$ php brackets.php
Hello World!user@host:~$
>>
Is Khan Academy a good way to get back into math? Any other recommended resources?
>>
File: Screenshot_2016-10-20_17-42-46.png (219KB, 1186x832px) Image search: [Google]
Screenshot_2016-10-20_17-42-46.png
219KB, 1186x832px
Floating points were a mistake
>>
>>57165450
Socratic method. Us the fact that you are junior to play dumb and get them to explain their approach to you. Subtly ask leading questions that will lead them to realize their own flaws.
>>
>>57165525
What's the alternative?
>>
>>57165541
numbers to strings to concatenation
>>
>>57165561
sounds horribly slow and expensive
>>
>>57165526
This is actually what I've tried. I've asked them to explain why we do it a certain way, but I still get rebuked with 'because that's the right way to do it' in the end even as I bring up certain flaws. For example the way we do inheritance is pretty well fucked, leading to lots and lots of copy and pasted code plus bloating of our general file structure.

There's this idea that there's a perfect way to do everything, but we end up doing the most roundabout stuff to implement these 'perfect' solutions which then causes other things to break.
>>
Reminder that rust code is extremely easy to write while also being completely memory-safe, not requiring a runtime, generating binaries within 10% of the equivalent gcc-compiled C program (in both size and execution speed).

Sure, it's a shame that the S*W have influence over the dev team due to PR reasons, but it doesn't change the fact that rust is god-tier. Firefox 3.6 at the time it was released-like.
>>
>>57165525
No. You're not supposed to use them if you're look for exact value.

They're useful for statistics and graphics.
>>
>>57162429
>the server is C
Literally completely full retard. Enjoy your over 9000000 vulnerabilities and bugs that you'll never find, let alone fix.
>>
>>57165561
Full numeric tower (see: lisp, scheme).
>>
>>57165606
>within 10% of the equivalent gcc-compiled C program (in both size and execution speed).
Not in terms of size. Even if you dynamically link Rust binaries are much bigger than C equivalent.
>>
Writing C has made me appreciate C++
>>
>>57165638
ubsan, asan, tis-interpretter
>use another language
>enjoy your comfortable ignorance not even thinking about possible vulnerabilities
>>
>>57165638
>C is vulnerable
That's now how it works, Anon.
>>
>>57165687
No, actually. Dynamically compiled, it's within 10% of C; statically compiled, it's very slightly smaller than the equivalent C program.
>>
File: martin-shkreli.png (251KB, 500x375px) Image search: [Google]
martin-shkreli.png
251KB, 500x375px
>>57165638
>Enjoy your over 9000000 vulnerabilities and bugs that you'll never find, let alone fix.
Point one out, I'm sure you have no problem finding at least one
>>
>>57165638
>vulnerabilities
Anon you're a retard if you can't handle input in a safe manner. The problem the web has is that it's super general and that creates its many security issues.

If anon makes his own web server which doesn't need to be perfect for general use it can be a very minimal program with perfect security.

And even better.
>>
>>57165704
Ctards, everybody!
>>
File: 1476749554276.png (128KB, 800x975px) Image search: [Google]
1476749554276.png
128KB, 800x975px
>>57165731
* laugh track*
What a big guy.
>>
>>57165723
How about the fact that your site is already down right now, no doubt due to yet another bug in your crapware?
>>
>>57165541
Fixed point. A shit load of what you use following point for you can do with fixed.
>>
>>57165596
Sounds like a bunch of oopinloos.
>>
>>57165714
Too bad it uses 4 times the ram
>>
>>57165739
Not my site m8
Still, I'd enjoy watching you struggle to find even on exploit
>>
>>57165762
No hardware implementation. What exactly is the problem with floating point? I know the precision issues, but if you understand the limitations you can work around them, or use a software based implementation.
>>
File: 1473694086099.jpg (13KB, 236x209px) Image search: [Google]
1473694086099.jpg
13KB, 236x209px
>>57165739
Not down. It was just a prototype. The real thing is coming soon.
>>
>>57165789
Fixed point is just an integer, representing a decimal number
>>
Lisp
Learming is painful
>>
>>57165780
It doesn't, actually. It uses precisely as much ram.
>>
>>57165714
>Dynamically compiled
Useless. Then you have to ship the libraries which makes it even larger.
>statically compiled, it's very slightly smaller than the equivalent C program.
Not if you statically link against musl.
>>
>>57165804
Floating point math exists in hardware. Why would that be the case if what you're saying is true?

Clearly you're wrong.
>>
>>57165824
Source please
>>
>>57165829
I haven't tried against either musl or uclibc, true.
>Lmao X!
>not X, actually
>NOT X IS IRRELEVANT REEEEE
Ebin.
>>
>>57165804
>what is division and multiplication
Multiplication requires fixing decimal point and rounding (or you can truncate, who cares).
Division requires software implementation, you can't just divide.
>>
>>57165849
What did he mean by this?
>>
File: Problem 5.png (27KB, 642x62px) Image search: [Google]
Problem 5.png
27KB, 642x62px
I've been stuck on this problem for a bit. I want to rotate the letters by the number of length, but then I don't meet the requirements. I guess I need to use bubble-sort or something?
>>
I want to learn some of the new programming languages like rust or go but I think it would be just waste of time.

Should I?
>>
>>57165889
Nope.
>>
File: weebsuckets.webm (541KB, 1920x1080px) Image search: [Google]
weebsuckets.webm
541KB, 1920x1080px
realtime i2p router ui thing with WEEB SOCKETS
>>
>>57165864
You can either be fast or right
>>
>>57165875
>rotate
You're supposed to be swapping though.
>>
>>57165927
>WEEB SOCKETS
Ehhhhhhhh?
>>
>>57165932
You can be fast and right if you put the time into it. You are just a walking false fact machine.
>>
New thread:
>>57165960
>>57165960
>>57165960
>>
>>57165875
I'm not putting any thoughts into this but have you considered if you're just supposed to show tail recursion? So:
Check if n=0 if it is return otherwise
Call the function with str+1 (note, pointer math) and n-1
Swap the characters str[n] and str[0].
close function.

I hate how they make you do stuff like this. There's so many better programming tasks to start with than trying to figure out recursive functions.
>>
>>57165525
>>57165953
Wouldn't happen with fixed point
>>
>>57165889
Not a waste really. It's good exposure to new ideas.
But is it the most productive thing? Probably not.
>>
>>57165953
Not right now you couldn't. Fixed point is slower on any significant scale.
>>
Sup /g/ents

Why do I keep getting "dict is not callable" in Python 3? I'm running dict(zip(list, list)
>>
>>57166407
because dick is not an object
>>
>>57164194
This is really neat. Any source available?
>>
>>57164194
bretty neat. I've just been looking into playing around with some fractal stuff. you have any good docs/links for the math and implementation of an l-system or IFS? what did you use to draw it?
Thread posts: 327
Thread images: 36


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