[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: 377
Thread images: 34

File: durga.png (1MB, 1273x717px) Image search: [Google]
durga.png
1MB, 1273x717px
Last thread: >>59045009

Whatcha workin' on, /g/?
>>
File: Selection_150.png (63KB, 574x970px) Image search: [Google]
Selection_150.png
63KB, 574x970px
>C#
>>
>>59048180
>he doesn't know
>>
how should i go about finding a suitable textbook on the subject of how to play soccer that i can reference in a paper?
>>
>>59048180
How is the street today?
>>
>>59048225
What does that have to do with programming?

>>>/g/sqt
>>
>>59048165
>https://youtube.com/durgasoftware
Golden.
>>
File: dpt daily programming thread.png (843KB, 1216x940px) Image search: [Google]
dpt daily programming thread.png
843KB, 1216x940px
>>
>>59048165
I feel like I'm not even programming anymore.

90% of the time, I'm just using a library and wiring it to an existing codebase to get some other functionality out of it.

It's not like I don't like being able to do it, but at the end of the day I feel like I'm just putting legos together with prebuilt engines and showing it to my boss saying "ta dah" and everyone claps even though it's easy as hell.
>>
>>59048289
then do a side project
>>
>>59048289
That's why we don't tolerate webdevs and game developers in these threads.
This is exactly what they're doing.
>>
File: 1476830017130.png (1MB, 1526x1600px) Image search: [Google]
1476830017130.png
1MB, 1526x1600px
>>59048309
>we
>>
>>59048308
this. You're pretty stupid if you expect a programming job to be fun in most cases
>>
>>59048308
I go to do a side project and 90% of what I'll be doing is already done in libraries anyway.
>>
>>59048339
so? i don't see how that's relevant.
>>
>>59048333
I realised after I posted that I should not have said that.
Nice ifunny image though, you fucking faggot.
>>
>>59048309
>implying that's not what you're doing in a backend role
>implying that that's not any job except a systems programmer
>>
>>59048348
Are you saying I should redo work someone else has already done?
>>
I'm really not used to closures. In Lua, how would I write a function that would do the same thing as the pairs() operator, like the deprecated table.foreach(table, function)?
>>
>>59048360
I'm saying that's irrelevant.
>>
File: 1458177969175.gif (16KB, 250x194px) Image search: [Google]
1458177969175.gif
16KB, 250x194px
what the fugg
import std.stdio;
void main(){
int n=99;
while (n!=2){
writeln("\n", n, " bottles of beer on the wall, ",
n, " bottles of beer.\n", "Take one down and pass it around, ",
--n, " bottles on the wall.");
writeln();
}
writeln("1 bottle of beer on the wall, 1 bottle of beer\n",
"Take one down and pass it around, no more bottles of bear on the wall\n\n",
"No more bottles of beer on the wall, no more bottles of beer\n",
"Go to the store and buy some more, 99 bottles of beer on the wall.");
}

is producing
..
4 bottles of beer on the wall, 4 bottles of beer.
Take one down and pass it around, 4 bottles on the wall.


3 bottles of beer on the wall, 3 bottles of beer.
Take one down and pass it around, 3 bottles on the wall.


2 bottles of beer on the wall, 2 bottles of beer.
Take one down and pass it around, 2 bottles on the wall.
..

--n is working like n--
why
>>
>>59048360
Sure, why not?
>>
>>59048374
Because that's a waste of time.
>>
>>59048370
>using --n inside a method call

This is your own fault.
>>
>>59048382
No it's not.
>>
>>59048234
Not very busy. Found a good spot by the post office.
>>
>>59048382
So?
>>
>>59048384
but putting n-- in the earlier one works
>>
File: sudden-realization.jpg (13KB, 223x223px) Image search: [Google]
sudden-realization.jpg
13KB, 223x223px
>>59048339
Every library is someone's side project.
>>
What am I doing wrong here?
days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']

def weekDay(x):
for x in days:
days[x]
return x

print(weekDay(input("Input day number: ")))


I want it to do the same as for example and pull out a string on by the number it's ordered in
print(days[x])
>>
>>59048370
>>59048395
I don't know about Dead-lang's semantics, but is there even a sequence point between the arguments?
Even if there is, mixing side effects like that is just a fucking bad idea.
>>
>>59048408
>What am I doing wrong here?
using a shitlang
>>
>>59048424
Fuck off
>>
>>59048418
It's the same as Cee
>>
>>59048408
>x declared in function parameter
>declaring it again[?] in the for/in block

Why not just
return days[x]
? Drop the for/in statement.
>>
>>59048442
Then it should be undefined behaviour.
>>
>>59048447
Rust doesn't have this problem
>>
>>59048370
In C, the order in which the arguments get evaluated is not specified, which is why that happens. Apparently it happens in D as well.

Solution is just use (n - 1) instead.
>>
>>59048418
Drop the bullshit and tell me what's wrong
>>
>>59048456
Sure, Rust doesn't have the arguably very useful increment operators.
>>
>>59048459
Holy shit /dpt/ was right

>Cee
NEVER EVER
>>
>>59048444
>>59048473
That's what I had at first but it wasn't working either
Here's the error I get
Traceback (most recent call last):
File "5.14.py", line 7, in <module>
print(weekDay(input("Input day number: ")))
File "5.14.py", line 5, in weekDay
return days[x]
TypeError: list indices must be integers or slices, not str
>>
>>59048459
wtf I hate both C and D now
>>
File: memesnek.png (26KB, 1280x994px) Image search: [Google]
memesnek.png
26KB, 1280x994px
>>59048408
>>59048444
I was going to say exactly this. You don't need a loop for this, just to access the element at index [x] in the list and return it to stdout.
>>
>>59048237
agents
>>
>>59048475
This doesn't happen in Haskell
>>
>>59048493
>C getting BTFO by hasklel and Rust
>>
>>59048491

Why does the new anon's example run anyway?

I'm not familiar with python, but x is declared twice in the same scope in their's, isn't it?
>>
>>59048475
any program you write will use something written in c, so c always forever
>>
>>59048491
How are you not getting an error? I'm running the same code with an error. I'm using Python 3.6
>>
>>59048487
>>59048475
There's tons of languages that have this feature.
Many of those don't define the order of expression evaluation for two reasons:
- it might be preferable on the target hardware to not start with the first one
- It gives more options to optimize
Of course meme languages have a strict definition which parameters are evaluated in which order, they don't care about practicality or performance.
>>
>>59048502
>any program you write will use something written in c, so c always forever
HolyC doesn't depend on C and nothing in TempleOS was ever touched by C
>>
>>59048530
call me when other poster has written holyc
>>
I've met up with a scientist from my university. They're storing all of their data in Excel spreadsheets. I told him I'd help convert the data into RDBMS format (MySQL or otherwise). Here's a writeup I did on the challenge:

https://collinoswalt.com/post.php?pid=16
>>
>>59048526
>cares about performance
>doesn't write assembly
shiggydiggy
>>
>>59048526
>There's tons of languages that have this feature
which doesn't make it right.
>- it might be preferable on the target hardware to not start with the first one
>- It gives more options to optimize
Fair enough.
>that reddit usage of meme
stopped reading right there.
>>
whats the point of using anything slower than assembly
>>
>>59048483
Technically his block works because he's returning the value that was originally input by the user, so nothing outrageous is being caught. He's got that list index
days[x]
going on in there but it doesn't mean anything since he didn't assign it to x or another variable to be returned.

>>59048513
It shouldn't be specific to either version of Python since it's a pretty universal way to directly access items in a list. Check your whitespace/type it out again. Try assigning the results of
weekDay()
to a variable like:
result = weekday(input("Input day number: "))
print(result)
>>
>Whatcha workin' on, /g/?

Rate my FizzBuzz, /g/

https://ideone.com/qwzbaO
>>
>>59048225
What about this?

http://www.fifa.com/mm/Document/FootballDevelopment/Refereeing/02/36/01/11/LawsofthegamewebEN_Neutral.pdf
>>
>>59048585
>>59048589
Why the fuck do you space your posts like that, redditor?
>>
>>59048593

Are you autistic?
>>
>>59048366
Anyone able to help with this?
>>
>>59048596
Answer the fucking question and leave this thread. Your kind is not welcome here.
>>
File: underageb& get out.png (1KB, 164x71px) Image search: [Google]
underageb& get out.png
1KB, 164x71px
>>59048593
>>>/r/eddit
>>>/b/pol/
>>>/9gag/
>>>/anywherebuthere/
>>
>>59048606

Right now I'm spacing it like this solely to annoy you.
>>
>>59048241
>>59048165
>It's real

Holy shit. I thought it was too good to be true.
>>
>>59048578
Few will pay you to do it. I started off doing C. Couldn't find a job. Moved to JavaScript and now I get paid $15/hr part time.
>>
>>59048545
>shunting CSV files into MySQL and querying the data

Pretty babby-tier stuff. Some awkward wording in your writeup, too. The "growth rate" section doesn't really make sense, as you're literally just taking a single measurement from one year to the next. You'd typically want to sample more years and get the average growth-per-year for a more meaningful comparison.

At the end of the day, the whole thing is as simple as spinning up a database anywhere you want and running a few lines of code and it's done. Not sure why you've given a complete writeup of this.
>>
>>59048593
>Why the fuck do you space your posts like that
It's the fucking code block element you dense motherfucker.
>>
>>59048608
Leave. This site is not for you.
>>59048613
>being this tsundere
stop.
>>59048625
I don't see a single code block in those posts.
>>
>>59048589
14 / 88
>>
File: durgadurgamohamujihad.png (741KB, 1899x971px) Image search: [Google]
durgadurgamohamujihad.png
741KB, 1899x971px
>>59048614
>>
>>59048165
yesterday people bullied me on my pangram program, so i rewrote it
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>

#define LOWER(c) (c | 0x20)
#define TOBIT(c) (c ^ 0x60)
#define LANDB(c) (TOBIT(LOWER(c)))

int main(int argc, char *const argv[]) {
uint8_t *s = argv[1], c;
const uint32_t mask = 0x3FFFFFF;
uint32_t val = 0;

if(argc <= 1)
return EXIT_FAILURE;
while(c = *s++) {
c = LANDB(c);
val |= 1<<c-1;
}

val &= mask;
if(val == mask)
puts("The string is a pangram!");
}
>>
File: i was merely pretending.png (792B, 147x63px) Image search: [Google]
i was merely pretending.png
792B, 147x63px
>>59048631
>>>/global/rules/2
>>
File: Screenshot_2017-02-21_14-29-15.png (45KB, 1255x226px) Image search: [Google]
Screenshot_2017-02-21_14-29-15.png
45KB, 1255x226px
>>59048631
>I don't see a single code block in those posts.
Are you fucking blind?
>>
>>59048483
The problem is that input returns a string, not a int, even if you input a number. Numbers can be interpreted as a string or int, so in this case you would have to cast the string to a int using int(). So you would either do print(weekDay(int(input("Input day number:")))) or just
return days[int(x)]
>>
>>59048646
>>59048647
Anything written in python is by definition not a "code" "block"
>>
>>59048618
a year-to-year comparison can give you indications about years with lower rainfall.

The issue is not converting from excel to MySQL, the issue is that the tables are horribly formatted. There are columns spanning multiple years which should be condensed into 1 column with 20 records associated. I need to transpose that data, but I also need to slice up the spreadsheet into smaller tables. Height data and foliage density data are in the same spreadsheet but should be in two separate tables joined by the tree ID as the primary key.
>>
>>59048631
>stop.

Make me.


>>59048649

You have to be 18 to post here
>>
>>59048660
>Make me.
Please?
>>
>>59048671
Fine.
>>
>>59048660
What if I'm over 18? I still can't post here?
>>
>>59048289
That's what programming is, nerd. Did you really think you'd be writing mathematic algorithms as a gui developer?
>>
>>59048654
>a year-to-year comparison can give you indications about years with lower rainfall.
Can it? I'm no dendrologist, but I suspect there are many more factors at play than rainful when it comes to tree growth.

I get the idea of the project, and you've done a good job of fluffing it, but it's literally less than an afternoon of work.
>>
File: 20160507-132205_1462639103086.gif (787KB, 91x125px) Image search: [Google]
20160507-132205_1462639103086.gif
787KB, 91x125px
>>59048649
ok
>>
>>59048555
>2011+6
>not programming on punched cards
>>
>>59048660
>>59048671
>>59048678
>>59048684
Fuck off, retards.

Don't respond to bait, and stop shitposting.
>>
>>59048589
It doesn't print fizzbuzz??
>>
>>59048701
did I ask for your opinion? if not, fuck off and/or answer my question
>>59048705
where the hell did you get this image of me?!
>>
>>59048697
>but it's literally less than an afternoon of work.

The issue is not converting A spreadsheet to RDBMS: the issue is creating a tool so that retards can do it; I'm learning jframe/swing so I can make a tool so that future undergrads can be put to work updating databases and you don't need a programmer every time you need to do this. Transposing an array and cutting up a CSV file is easy, but I'm working on the UI shit too. I don't get why you seem to be so intent on shitting on other people's work? Does it make you feel better about yourself being a l337 h4x0r C/Assembly programmer?
>>
After a mere 80 posts the autism stretching reached an unprecedented level.
It was at this moment that everyone realized that /dpt/ is just a bunch of unemployed retards writing shitty fizzbuzz.

at least we're not /wdg/
>>
>>59048743
>tfw posting this from work
>>
File: 1470532007728.jpg (61KB, 1199x659px) Image search: [Google]
1470532007728.jpg
61KB, 1199x659px
>>59048743
>writing shitty fizzbuzz
>shitty
Don't ever say that again.
>>
>>59048743
>not /wdg/
They've got jobs at least. Native code jobs are dead; web dev is the only way to get paid nowadays
>>
>>59048743
>an unprecedented level
how's your first day here going?
>>
>>59048743
>>59048772
>/wdg/
What's that, a reddit board? Why are you mentioning it here?
>>
>>59048743
despite being webfags /wdg/ is a lot less cancerous than this place
>>
>>59048810
>/wdg/
What's that? How about you fuck off back to that place if you like it so much?
>>
>>59048741
>I don't get why you seem to be so intent on shitting on other people's work?
I'm not shitting on your work. It's not bad work at all. I simply didn't want you to think that someone in the industry would look at this and be particularly impressed, which appears to be the intent of this article.

This is the kind of stuff I do routinely, and I'm certainly not one of these "l337 h4x0r C/Assembly programmers" you see in here; I use high-level languages for projects like this on a regular basis.

What you're describing is one of the first projects done by undergrads where I went to school; creating a database, populating it with existing data, and making a GUI-based application either web-based or desktop-based for users to put future data directly into the database or view the information in meaningful ways.

It's a good project, and - when completed fully and correctly - shows a solid understanding of how applications should work. However, I feel like you could take it a step further and demonstrate at the beginning of the article how you turned manual drudgery into new hotness and happy users, and then explain what you did to accomplish that.

Flash your tits, and then explain how you used to be a man and there was surgery involved. Metaphorically speaking.
>>
>>59048834
Holy shit dude, you are such an unbelievable douchebag lol
>>
Hey /dpt/.

I'm kind of new to statistics, and I'm wondering if any of you guys have used R / RStudio before?
I need a little bit of help with some basic stuff.
>>
>>59048832
>proving my point
>>
>>59048880
>Hey /dpt/.
>>>/r/abbit
>>
File: dont ask to ask.png (67KB, 869x725px) Image search: [Google]
dont ask to ask.png
67KB, 869x725px
>>59048880
>>
>>59048888
What are you even on about? What's wdg??
>>
File: enough.gif (646KB, 295x221px) Image search: [Google]
enough.gif
646KB, 295x221px
>Less than half the posts in this thread are about programming
Holy shit guys, can you please tone it down?

Anyway, what's a good way to into functional programming? I've fizzbuzzed in haskell but it feels like I'm just piddling around. Any suggestions for something to get my feet wet?
>>
>>59048910
>what's a good way to into functional programming?
Write some functional programs?
What other answer are you even expecting?
>>
>>59048910
What languages are you familiar with?

FP is best done with the FP counterpart to a popular language, if you want to ease into it.

F# if you know C#.
Scala if you know Java.
etc.
>>
>>59048880
I'm trying to extract a subset of data from one variable to another, based on a condition, and I'm currently using:

x <- subset(y, value > 1)


But I can't figure out how the shit it works.
y is a matrix ([1:1000]) filled with values, and I want to extract all those values that are larger than 1 and put them into x.
>>
>>59048926
>FP is best done with the FP counterpart to a popular language, if you want to ease into it.
I have never seen a more wrong post in this thread
>>
>>59048910
the haskell wikibook
>>
>>59048896
Thanks. I'll see to it, that it doesn't happen anymore.

Please refer to >>59048929
>>
>>59048878
Why would you post your write-up if you didn't want honest feedback?

I click the article and the first thing I see is complaining about a software manufacturer, rather than saying
>Here is this awesome thing I did, and this is why you should give a fuck:
>>
>>59048926
I'm familiar with C, C++, Java, Javascript, Python and some less important languages.

>>59048937
Thanks, I'll give it a look.
>>
File: 1481520154924.png (974KB, 900x900px) Image search: [Google]
1481520154924.png
974KB, 900x900px
>>59048758
>>59048763
>>59048772
>>59048777
>>59048789
>>59048810
So much (You)s
>>
>>59048960
This doesn't seem like honest feedback; you just seem like you're trying to pat yourself on the back. Telling me that the project I'm working on isn't a big deal isn't useful advice; it's just making yourself feel more comfortable about YOUR position in life. You're just... a douchebag.
>>
>>59048590
thanks, but im only really implimenting agents that play a subset of the game of football, where the environment consists of a pitch, two goals, a ball, and a total of 10 agents organised into 2 teams.
>>
>>59048996
Sorry for hurting your feelings, mate.
>>
>>59048996
fuck off back to tumblr or wherever you came from
>>
What ERP solution does /dpt/ use to manage their customers, accounting and invoicing?
>>
>>59048256

>Amortized time doesn't necessarily have to talk about "tending towards infinity"
>IIRC the exact definition is: (...) for all x >= n
>all x >= n

Back to Calculus 1 with you.
>>
>>59048996
>Telling me that the project I'm working on isn't a big deal isn't useful advice
Multiple suggestions were made on how your article could be improved, but you've focused on the fact that someone didn't respond 100% positively to something you created.
>>
File: Daddy_dd9d9f_5732764.jpg (20KB, 343x543px) Image search: [Google]
Daddy_dd9d9f_5732764.jpg
20KB, 343x543px
>>59048370 here

Man, I don't even know what to feel right now
1. Rust:
Rust doesn't have this problem, by actually getting rid of -- or ++ completely.
--x means -(-x)=x
2. LLVM D compiler
Retard compiler treats --n as n--
3. DMD compiler (official compiler)
works as intended
4. GDC (GNU D compiler)
Don't know yet since the package is broken in ubuntu. Fucking ubuntu
>>
>>59048878
Sorry pal, I also have to agree with >>59048834 . He's not a douchebag for stating what the reality is. One of my first non-code example/hackerrank garbage projects was pretty similar to what the anon is talking about; create a DB, populate it, and then make a desktop program with GUI that queries said DB and displays results based on user input. Your project needs CONTEXT applied to it, which is apparently not as common of a skill as I thought after leaving with my undergrad (not STEM).

>I feel like you could take it a step further and demonstrate at the beginning of the article how you turned manual drudgery into new hotness and happy users, and then explain what you did to accomplish that.
This is pretty much why he's taken the position he has. It's great to record it if you actually go the whole way and show how you turned minutes of navigating a mountain of miserable sheets into an application that performs that task in seconds instead of writing a page that's pretty much "man, life is so much easier when you don't put years of data into Excel spreadsheets!" That kind of stuff is what other people and employers want to see.
>>
>>59049039
No, it's not that he criticized it; it's that he criticized it while ALSO telling me how it's something that HE does all the time and how nobody would be impressed about it. It just seems like he's got a weak ego that constantly needs to compliment itself by putting other people down. I never asked him what he did for a living; I never asked him if the project I was working on was a huge project. HE decided that it would be best to tell me about how great HE is and how I'M not. He's just a douchebag
>>
>>59049040
>LLVM
enemy of freedom anyway
>>
void ReturnStringFunction(char buffptr[])
//int ReturnStringFunction(char buffptr[], int n)
{
int i;
char string[50] = "HELLO YOU LIMY BASTARDS ";


for (i = 0; i < 50; ++i)
{
buffptr[i] = string[i];

}

}


int main(void)
{
int buffsize;
char mBuff[50];


ReturnStringFunction(mBuff);


printf("%s", mBuff);
return 0;
}


Why does this work

void ReturnStringFunction(char buffptr[])
//int ReturnStringFunction(char buffptr[], int n)
{
int i;
char string[50] = "HELLO YOU LIMY BASTARDS ";


for (i = 0; i < 50; ++i)
{
buffptr[i] = string[i];

}

}


int main(void)
{
int buffsize;
char mBuff[26];


ReturnStringFunction(mBuff);


printf("%s", mBuff);
return 0;
}


but this doesn't
>>
>>59049061

The project is not a database entry system, it's a system for converting Spreadsheets into RDBMS format, slicing up CSV files, transposing poorly formatted tables, and then inserting them into the database. It's not a 1:1 entry system, but converting old data into new data.

Even then, I fully realize this isn't a big project. This is something I'm volunteering with on the side; I already have a job doing things unrelated. All I'm saying is that he took the opportunity to pay himself on the back for some reason.
>>
>>59048900


/wdg/, a.k.a. "web development general"
boards.4chan.org/g/thread/59005100
>>
>>59049083
because the array you send is 26 long but you loop to 50
>>
>>59049102
I am such a fucking idiot, I think I'm honestly going to just quit now

Some people are just not meant for this
>>
>>59049033
If x weren't unbounded what would be the point? You're pretty much just hard-coding at that point.
>>
>>59049117
>>>/r/ibbit
>>
>>59049095
>All I'm saying is that he took the opportunity to pay himself on the back for some reason.

>try to discredit a negative response by claiming they're a C/assembly-fag NEET
>confused when they respond that they actually do what you're doing regularly and explain how you could write your article better

????

You're a sensitive faggot, Mr. Oswalt.
>>
>>59049083
This is why you should use 'foreach' constructs or lambdas when doing actions on collections of things.
>>
>>59049116
i can tell from a glance at your code that you aren't made for this
there's more wrong with it than there is right
>>
>>59049124
see >>59049124
>>
>>59048940
>>59048929
I got it now, thanks though.

x <- y[y>1]
>>
>>59049136
>>59049117
>>
>>59048589
I shortened it.

https://ideone.com/bUYYFG
>>
>>59049135
yes yes, I'm uninstalling codeblocks as we speak
>>
>>59049171
kek, so you'll just quit without trying more.
Sad!
>>
>>59049127

I just don't get the point of the feedback. Here's what he said:

>Pretty babby-tier stuff

How is that necessary?

>Some awkward wording in your writeup, too

Okay, sure, I'm not an english major so that's fine

>he "growth rate" section doesn't really make sense, as you're literally just taking a single measurement from one year to the next.

I explained that year-to-year growth can indicate rainfall, or vice-versa

>At the end of the day, the whole thing is as simple as spinning up a database anywhere you want and running a few lines of code and it's done. Not sure why you've given a complete writeup of this.

This isn't right. It's not a few lines of code; it's an application so that other undergrads can use it without being a programmer. I wrote about this in the post, that writing custom scripts and queries for every spreadsheet may be less code but isn't good for non-programmers.

So what I got from his response was "You're a baby" right off the bat and "I didn't read the post".

It's a useless post. It offers nothing other than to make himself feel better by reassuring himself that he's better than someone else.
>>
>>59049171
wait maybe you need another language
>>
>>59049122

Exactly.
x is unbounded, therefore "tending towards infinity" - unlike what anon said before.


I also like how he says:
>In neither of the above cases to (sic!) we talk about limits or "tending to infinity"

Mr. Lebesgue would like to have a word anon.
>>
I need help! I used to love java but i'm sick of all indian memes and as a racist person i hate indians. What language (that doesn't smells shit) do you recommend for me?

https://youtu.be/saGbQrcRLiI

video related. Disgusting !!!
>>
>>59049185
no he doesn't, he just need to understand what he's doing. Another language won't help if he doesn't get how arrays work
>>
>>59049209
haha well meme'd my friend!
>>
>>59049209
>making life choices based on memes

You're already lost, anon.
>>
>>59049214
Not all language deal array the same
>>
>>59049209
>all those pajeets
>>
>>59049214
How does he not know how arrays work?
>>
>>59049224
>>59049225
t. dirty indians.
>>
>>59049183
Then his next reply:
>>59048834

>I simply didn't want you to think that someone in the industry would look at this and be particularly impressed, which appears to be the intent of this article.

That wasn't the intent of the article, but it once again doesn't offer anything useful. All it says is "It's not bad, it's just not worth any time at all". Uh... Ok? Why did he find it necessary to tell me that other than...

>This is the kind of stuff I do routinely

Oh, ok I get it: YOU'RE awesome because you do this all the time. "babby-tier". Stuff you'd do in an afternoon right? I never asked for your life story dude.

>What you're describing is one of the first projects done by undergrads where I went to school; creating a database, populating it with existing data, and making a GUI-based application either web-based or desktop-based for users to put future data directly into the database or view the information in meaningful ways.

What you're describing is not what I wrote about, so I don't think you read the post

>It's a good project, and - when completed fully and correctly - shows a solid understanding of how applications should work.

This is so fucking condescending. It's like "your work is good! But don't think that it means you're good or anything; this is beginner's work, kid". Fuck you, I've been programming since I was 12 douchebag

>However, I feel like you could take it a step further and demonstrate at the beginning of the article how you turned manual drudgery into new hotness and happy users, and then explain what you did to accomplish that.

Literally the only advice he has to offer.
>>
>>59049209
there isn't a language for your kind. now fuck off, pajeet.
>>
>>59049244
He looped beyond the array's scope and didn't understand why his program wasn't working
>>
>>59049252
>that reddit spacing
FUCK OFF back to your subreddit
>>
>>59049268
From his response it sounded like he understood the mistake and he simply overlooked it
>>
>>59049252
>there is nothing wrong with communism
You have to go back.
>>
>>59049116

>I am such a fucking idiot, I think I'm honestly going to just quit now

You got this all wrong.

Success is the result of your experience, experience is the result of your mistakes.

You just learned why it's a good idea to either define the aary length at ONE point in your code or use something like "for (i = 0; i< arr.length(); i++)" or just use forEach.

Congratulations, you're one step closer to being a good porgrammer. Just learn from your mistakes, that's all there is to it.
>>
>>59049329
see >>59049278
>>
>>59049171
What source are you using to learn C?
>>
I'm trying to figure out text preprocessing, before I make a lexer and parser.
>>
>>59048370
(loop for i from 99 downto 1 do 
(format t "~B binary beer~:P on the wall, ~:*~B binary beer~:P.~%Take one down and pass it around, ~B binary beer~:P on the wall.~%" i (1- i)))
>>
>>59049384
Reddit
>>
>>59048370
>>59049040
Why did you post this on Reddit and not on D forums though?
>>
>>59049362
You suck at gate keeping so much even hiro wouldn't hire you for free
>>
>>59049466
https://www.reddit.com/r/d_language/comments/5vbrji/llvm_and_dmd_compiler_producing_different_results/
>>
>>59049466
>tfw too intelligent to sign up in another forum
>>
Is python easy to learn?
>>
Australians, go to sleep.

>>59048165
aspie.net web page.

Fuck my life, I want to go back to my cozy backend dev.
>>
File: r.png (488KB, 2550x3300px) Image search: [Google]
r.png
488KB, 2550x3300px
>>59049488
>>
>>59049488
Yes.
>>
>>59049488
sure, relatively. programming in general is not easy to learn
>>
>>59049495
Agree with 1 and 2, 3 is a bit weird.
>>
>>59049495
You should have titled it "Wrong Opinions"
>>
>>59049480
>>59049466
I even posted this on their IRC and no one knows why this happens. Tells me to use DMD instead of LLVM instead
>>
>>59049495
>>59049509
>>59049516
Is python good for vidya?
>>
>>59049524
>Can't agree
>He must be wrong
>>
>>59049533
No.
>>
I'm having a difficult time with exercise problems in this book I'm reading. I'm only on page 60 of the book and it's throwing problems at me like this.

I didn't see what was under that chart so I thought I could do this and wrote
def myGrade(x):
if x >= 75:
print("First")
elif x < 75 and x >= 70:
print("Upper Second")
elif x < 70 and x >= 60:
print("Second")
elif x < 60 and x >= 50:
print("Third")
elif x < 50 and x >= 45:
print("F1 Supp")
elif x < 45 and x >= 40:
print("F2")
else:
x < 40
print("F3")

myGrade(int(input("What is your grade?")))


But I didn't see what was under the chart and thought how can I even do this. These problems are so hard. I feel like my head is going to explode I don't think I'm cut out for programming.
>>
>>59049533
visual novels: yes
everything else: no
>>
>>59049553
Not even 2D platformers?
>>
>>59049553
>visual novels: yes
it's trash even for them.
>>
>>59049495
>1
No one calls those """"the first programming language"""", they just say that they are good languages to start with you dumb asshole

>2
I agree

>3
Both are programmers, both are developers. If you want a distinction, call the paid programmers "professional programmers".
>>
>>59049538
Well yeah, if I don't agree with you it means you're wrong
>>
File: 1405730704712.gif (370KB, 267x200px) Image search: [Google]
1405730704712.gif
370KB, 267x200px
>>59048165
https://www.youtube.com/watch?v=02p6eb78iMY
this is fucking perfect
>>
File: 1487674858791.jpg (2MB, 2500x3946px) Image search: [Google]
1487674858791.jpg
2MB, 2500x3946px
Gonna start mechanical engineering soon. I wanna learn programming and know some basics of OOP. Apart from MATLAB and C++ that i'll be taught in uni, is i feasible to study the first 4 books of pic related in my free time?
>>
>>59049552
floor()
>>
>>59049533
despite what the others say, you can very well make simple vidya in python. text MUDs would be a nice goal for a beginner, 2d for when you get more experienced

if you want complex or complicated or 3d, there's better alternatives for a beginner like the shitty unity3d. you can download an assortment of prepackaged assets, plug them together with the weakest glue you can muster, then flip it on steam marked early access and maybe reap shekels
>>
>>59049590
>OOP
>>>/p/lebbit
>>
>>59049586
holy shit this is real
>>
>>59049591
This book didn't tell me about floor(). Fuck this book. I hate the exercise problems. A lot of them are stuff that wasn't covered.
>>
What does /dpt/ think of lua?
>>
>>59049605
bruh it was in high school
>>
>>59049630
/dpt/ can't think of something as it's not a single entity.
>>
>>59049586
>2017
>Not learning data structure and algorithms with rajapajeet in pure hindi
This is why /g/ has no jobs
>>
>>59049634
How does that excuse your plebbitry? Go back.
>>
>>59049630
indices start from 1
>>
>>59049651
Why is it plebbit though
Senpai help plz
>>
>>59049671
>Senpai help plz
this is why you need to go
>>
>>59049564
there's nothing stopping you, but it's bound to run significantly worse than the same game made in any number of other languages. making a 2D platformer isn't particularly difficult in any language (assuming you make use of relevant libraries), so ease of development isn't a great reason to go with python
>>
>>59049552
>>59049591
>>59049628

What are you guys on about? Your first solution is fine, you don't need floor anywhere. Just do
[myGrace(x) for x in xs]
to see that it's fine.
The only thing you should fix is to return the string rather than directly printing it like a code babby.
>>
>>59049659
fucking dropped
>>
>>59049659
wtf i hate lua now
>>
Java is the reason why pajeets are taking over.
>>
Is it possible to write FizzBuzz in Scheme?
>>
>>59049659
You can make games in lua and it's simple.
>>
>>59049744
Pajeets are taking over by actually producing software while turbo expert super secret (((C))) kernel hacker club is busy looking for the bug that causes segmentation fault in their program every 3 seconds.
>>
>>59049630
It's good to write scripts for other programs
>>
>>59049447
What esoteric programming language is this?
>>
>>59049774
>segmentation fault
Rust doesn't have this problem
>>
>>59049447
https://common-lisp.net/project/iterate/doc/Don_0027t-Loop-Iterate.html
>>
>>59049802
Rust is how the SJWs are taking over
>>
>>59049802
Surely there's a way to make Rust segfault
>>
>>59049821
Rust guarantees no segfault
>>
>>59049745
Yes, it's Turing complete.
>>59049821
Nope, rust isn't Turing complete.
>>
>>59049818
SJWs are taking over by actually producing software while turbo redneck super secret (((C))) kernel hacker club is busy looking for the bug that causes segmentation fault in their program every 3 seconds.
>>
>>59049826
>>59049802
Yet, searching for "Rust segmentation fault" shows a bunch of results.
>>
>>59049839
when a segmentation fault is discovered you are free to report the issue.

Unlike C, Rust doesn't treat segmentation fault as a WONTFIX feature
>>
>>59049802
stop comparing Rust to a deprecated shit-lang like C
>>
>>59049839
Rust "game" has segmentation faults, idiot
>>
>>59049856
Guarantees are not worth a lot if you can't rely on them.

Rust is a hack.
>>
>>59049872
Find me one instance
>>
>>59049871
The first 5 results are literally from rust-lang.org but whatever "alternative facts" you tell yourself to sleep at night, anon.
>>
SJWS AND PAJEETS! GET OUT AND STOP HATING C! IT'S BETTER THAN YOUR SHIT LANGUAGE!
>>
>>59049882
Link one
>>
>>59049876
https://users.rust-lang.org/t/rust-guarantees-no-segfaults-with-only-safe-code-but-it-segfaults-stack-overflow/4305

https://github.com/radare/radare2/issues/5576
>>
>>59049890
>C
TRASH

see >>59048459
and head to >>>/trash/
>>
>>59049896
>https://github.com/radare/radare2/issues/5576
Nor reproducable, PEBKAC issue
>>
>>59049890
>C
non-anime trash
>>
>>59049890
SJWs and Pajeets are taking over by actually producing software while turbo redneck super secret (((C))) kernel hacker club is busy looking for the bug that causes segmentation fault in their program every 3 seconds.
>>
>>59049926
Fine, but you can't just ignore the first one.
>>
File: thinking-face.png (53KB, 256x256px) Image search: [Google]
thinking-face.png
53KB, 256x256px
What's with the influx of C bashers here today? I thought C was /ourlang/
>>
>>59049932
I'm looking into it
>>
>>59049933
C is tedious to work with for many tasks.

It's a good systems programming language, but incredibly annoying for general purposes.
>>
>>59049933
It's called backlash
>>
>>59049933
>/ourlang/
>non anime garbage
Pick one.
>>
>>59049933
>our
/dpt/ is not one person.
>>
>>59049930
C is anime related. You always see anime girls with the C book.
>>
>>59049958
What is considered an "anime" language?
>>
>>59049948
I don't care about your feelings. back to your "subreddit"
>>
>>59049933
Simply put:
C is going to be replaced soon by Rust once the RustC starts producing efficient binaries.

Rust already deprecated C++ though
>>
>>59049972
What if I don't.

Wait let me open my tumblr bookmark in a tab real quick
>>
>>59049975
>C++ deprecated
and nothing of value was lost
>>
>>59049966
Could you provide a formal proof of this?
>>59049971
Anything which isn't a non anime language.
>>
>>59049958
>>59049972 (samefag)
This is what you call a psychedelic autist
>>
>>59050012
>psychedelic autist
as opposed to?
>>
>>59049975
haha you're too far gone mate
>>
File: 1474219799870.jpg (26KB, 499x499px) Image search: [Google]
1474219799870.jpg
26KB, 499x499px
Rust is shit prove me wrong
>>
File: Screenshot_2017-02-21_16-28-38.png (80KB, 946x772px) Image search: [Google]
Screenshot_2017-02-21_16-28-38.png
80KB, 946x772px
>>59049975
D deprecated C++ two decades ago, it's funny how so many people use D over C++, right?

Note that Rust doesn't even have a 1.5% rating. Fucking Scratch is more popular than Rust.
>>
>>59049933
Rust users have been doing some massive dick-waving recently for some reason
>>
File: 1483823371833.png (1MB, 1200x1800px) Image search: [Google]
1483823371833.png
1MB, 1200x1800px
pick one
>>
File: 1487463346465.png (100KB, 1244x1024px) Image search: [Google]
1487463346465.png
100KB, 1244x1024px
>>59050030
>muh social rating
Did you get this straight off ribbit?
Here, some 4chen material to activate your almonds
>>
>>59049590
Bump
>>
File: 1478819799404.jpg (475KB, 852x973px) Image search: [Google]
1478819799404.jpg
475KB, 852x973px
>>59049998
Anime girls love the C language
>>
>>59049789
Common Lisp

>>59049811
I'd rather not import a library whenever I need to loop, but I agree with the idea.
>>
>>59050030
>Java higher than C and C++ combined
>>
File: 1482181025637.png (769KB, 1052x1342px) Image search: [Google]
1482181025637.png
769KB, 1052x1342px
>>59050056
How is that a formal proof? Here's another image of an anime girl holding said book, does this make it an anime language?
>>
File: Screenshot_2017-02-21_16-30-08.png (55KB, 977x762px) Image search: [Google]
Screenshot_2017-02-21_16-30-08.png
55KB, 977x762px
>>59050053
>>muh social rating
Your toy language is barely more popular than fucking Ladder Logic

>Did you get this straight off ribbit?
TIOBE is a fairly recognized rating

>Here, some 4chen material to activate your almonds
No one cares about an angry anon

>>59050063
Well, there's about a billion Pajeets in the world, so not surprising.
>>
>>59050074
Yes
>>
>>59050030
Why D failed:
1. It sucked C's cock and sucked as hard as C, this thread is a proof
2. D didn't have big corporation to back it up, Rust is backed up by samshit and mozilla
3. D is inferior to Rust
>>
>>59050077
Your toy language is barely more popular than Java
>>
I like how the local Rust evangelist fails to actually say anything positive. Always so antagonistic and aggressive. Spewing negativity at people just makes them dig their heels in and throw back at you. At some point you have to remember the teachings of Jesus Christ...
>>
>>59050080
No?
>>
>>59050096
Jesus Christ is a meme
Santa isn't real
GNOMEs are not alive
And babies don't fall from the sky
>>
>>59050107
FORTRAN is a white language for whites and honorable aryans. Cucks and pajeets can stick with their shit languages like Cp
>>
>>59050107
>aryans
So pajeets?
>>
>>59050116
FORTRAN has pointer arithmetic so it's all good.
>>
>>59050107
>poova and SJWt
What?
>>
>>59049590
You should be focusing on your physics and maths, because that's what's gonna hammer you.
>>
>>59050127
Pointer arithmetic is possible in Rust
>>
>>59050120
Aryans are Iranians, not Indians.
>>
>>59050116
Nobody uses FORTRAN anymore while C is used in major projects like the linux kernel.

>>59050120
Pajeets aren't white.
>>
>>59050142
Yeah, through some Java-esque syntax that adds a bunch of bounds checking for you.

It's absolutely pig disgusting if you ask me.
>>
>>59050144
That's pretty close as far as I'm concerned. They became low quality as soon as they abandoned Zoroastrianism.
>>59050154
Neither are Aryans.
>>
>>59050154
Linux kernel was made in C because Rust wasn't invented back then
>>
>>59050165
>if you ask me.
I'm not, because you are an opinionated moron
>>
>>59049975
i think rust users conflate having the goal of replacing c which is a noble one, with thinking they are actually going to replace c in a timely fashion any day now

stick to doing c better than c, but let's not kid ourselves i likely won't have a rust compiler installed for 2+ decades and it's not because i don't like rust
>>
>>59048165
tfw you weren't born in a timeline where the lisp machine succeeded
>>
>>59050169
Hitler and /pol/ said ayrans are white
>>
>>59050169
>That's pretty close
It's not. There's about 7,000-8,000 years separating modern Iranians from modern South-Indians. That's longer than some people believe the world has existed.
>>
>>59050202
Wouldn't trust leftists on that kind of info.
>>
>>59050182
>"Rust is best because of opinions"
>"Fuck you, your opinions differ, you opinionated moron"

kek, you sure are making a great argument for Rust in this thread.
>>
>>59050217
/pol/ and Hitler aren't leftists
>>
>>59050207
Read a little further. "as far as I'm concerned" is a pretty important part of my sentence.
>>
>>59050227
>waah I need pointer arithmatic
>okay do it
>waah my babyduck syndrome won't let me
>you are a moron
>waah why are you calling me mororn
>>
>>59050217
Wouldn't trust Hitler and /pol/acks on questions about ethnicity either, since Hitler clearly found slavs to be on par with jews while modern-day /pol/lacks are about 40% slavs.
>>
>>59050229
/pol/ might not be since it isn't a person, but Hitler is definitely a leftist.
>>
>>59050248
>Wouldn't trust Hitler and /pol/acks on questions about ethnicity
Which is exactly what my post says.
>>
>>59050107
a language where compiling the program is actually harder than writing it is a garbage language
>>
File: 1486441865649.png (787KB, 846x909px) Image search: [Google]
1486441865649.png
787KB, 846x909px
>>59050272
>>
>>59050081
If D failed, then Rust failed
>>
>>59050247
1) Where did I say I need pointer arithmetic? I said FORTRAN was a decent language and it EVEN has pointer arithmetic

2) I find Rust to be a shitty language in general. The fact that you need to wrap your code with "unsafe" constructs and the fact that pointer arithmetic is considered unidiomatic makes doing pointer arithmetic in Rust equivalent to doing object-oriented programming in C: Sure you can do it, sure you can probably implement most features, but why the fuck would you add all that boilerplate only to do something it wasn't really designed to do?
3) You haven't really said why Rust is so great other than attacking other languages and claiming that Rust has "no segfault" guarantees (while it clearly segfaults, see >>59049896 )
>>
>>59050289
Read the 3 points again
>>
>>59048382
Isn' everything a waste of time if you think about it like that? You're gonna die anyway, so why bother living, it only delays the inevitable
>>
>>59050260
>Hitler
>leftist
Oh, you're one of those morons that think that because national socialist has the word socialist in it, it means socialism.

I bet you think The Democratic People's Republic of North-Korea is democratic and that social liberalism is socialism too, don't you?
>>
>>59050300
>Isn' everything a waste of time
Technically yes, but not that it matters.
>>
>>59049470
Thanks for the program idea!
Rate it /dpt/. Pls no bully I'm a begginer C programmer.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define INSIDE 1
#define OUTSIDE 0

char* patterns[] = {
"%1$c %1$c %1$c %1$c %1$c %1$c %1$c ",
"%1$c %1$c %1$c %1$c %1$c %1$c %1$c ",
"%1$c %1$c %1$c %1$c ",
"%1$c %1$c %1$c %1$c %1$c %1$c %1$c %1$c ",
"%1$c %1$c %1$c %1$c %1$c %1$c %1$c %1$c ",
" %1$c %1$c %1$c %1$c ",
"%1$c %1$c %1$c %1$c %1$c %1$c %1$c ",
"%1$c %1$c %1$c %1$c %1$c %1$c %1$c ",
};

void drawWord(char*);

int main(int argc, char** argv) {
if (argc != 2) {
printf("Usage: swastika string\n");
exit(0);
}
int wordstart = 0, wordlength, state = INSIDE;
for (int i=0; i <= strlen(argv[1]); i++) {
if(argv[1][i] == ' ' || argv[1][i] == '\t' || argv[1][i] == '\n' || argv[1][i] == '\0') {
if (state == INSIDE) {
wordlength = i - wordstart;
char word[wordlength + 1];
strncpy(word, &argv[1][wordstart], wordlength);
word[wordlength] = '\0';
drawWord(word);
}
state = OUTSIDE;
wordstart = i + 1;
}
else {
state = INSIDE;
}
}
}

void drawWord(char* c) {
for (int i=0; i < 8; i++) {
for (int j=0; j < strlen(c); j++) {
printf(patterns[i], c[j]);
}
printf("\n");
}
printf("\n");
}
>>
>>59050306
Didn't Hitler admit in a quote they were socialist, just not marxist socialist?
>>
>>59050294
1. You said "Language X has pointer arithmatic so language X is good"
Rust has pointer arithmatic so by your de>>59049856
>feature
fination it's good. however if your babyduck syndrom is causing you to backpedal this hard I don't blame you.

2. Out of the 2 links that are posted I already debunked one of them since I studied that case. I am not going to comment anything just by looking at the title of a post. Also see
>>
>>59048910
scheme,, my man
>>
>>59050338
>your de>>59049856 (You)
>>feature
>fination
defination*
>>
>>59050324
Well, he was "socialist" in the meaning "collectivist", but the NSDAP clearly believed in a mixed economy and their economic policies place them somewhere in the center (compared to modern day political parties). Compared to parties in Europe in that era, they were right leaning although not full on capitalistic.
>>
>>59050141
Nah I already know like 70% because I had to do that for entrance tests and stuff
>>
>>59050373
>>59050141
I meant just first year
>>
>>59050338
>I wont debunk it
You mean
>I cant debunk it

Also, complaining about Java-esque wrapper functions and C#-style "unsafe" syntax is hardly a baby duck syndrome. As long as Rust will do implicit bounds checking and use memory ownership, it will NEVER be able to match programs that access memory directly in terms of speed simply because you'll never gain the benefit of retrieving cache lines.
>>
>>59050306
Not because it has the word "socialism" in it, but because it's literal leftism. Not being the usual kind of it makes it better, but not by a lot.
>I bet you think The Democratic People's Republic of North-Korea is democratic
What do you need to be considered democratic? They do have fake democratic elections.
>social liberalism
Leftist garbage, not quite socialist though.
>>59050369
>the NSDAP clearly believed in a mixed economy and their economic policies place them somewhere in the center
Yes, which by definition makes them leftist.
>>
QUICK

PARTITION SORT IS ALSO KNOWN AS: ???
>>
>>59050338
>>59050352
You can't even author a comprehensive post, because you're an angry, raving faggot. Calm down and breathe, try to relax, and try again.
>>
>>59050409
>but because it's literal leftism
But it's not.

>Leftist garbage, not quite socialist though.
Social liberalism is a center-right ideology.

>Yes, which by definition makes them leftist.
No, that makes them by definition centrist.

Centrism != leftism.
>>
>>59050409
>>59050429
He's a americunt, he can't comprehend that there are more than two options
>>
File: DeepinScreenshot20170221170153.png (32KB, 942x466px) Image search: [Google]
DeepinScreenshot20170221170153.png
32KB, 942x466px
>>59050318
>>
>>59050404
>complaining about Java-esque wrapper functions and C#-style "unsafe" syntax is hardly a baby duck syndrome
Sounds exaclty like baby duck syndrome. If you needed pointer arithmatic so bad you wouldn't even complain about it.

>It will never be able to match programs that are like C
llvm compiler optimization has already reached to a point where Rust is above 90% of GCC C binaries. The jaw dropping 0.05s difference is negligible in modern hardware and it can be traded with some level of memory safety, prevention of data race and dangling pointers.
>>
>>59050429
>But it's not.
Leftism certainly is leftism.
>supports welfare
>even remotely right wing
Pick one.
>No, that makes them by definition centrist.
Only if you mean "center-left", which I would probably agree with.
>>59050437
>He's a americunt
Wrong. You're European scum though, aren't you? You should go back to your subreddit.
>>
>>59050437
The jews are why there are only two political parties.
>>
>>59050461
>If you needed pointer arithmatic so bad you wouldn't even complain about it.
You can only access one and one member, and your compiler will spill out warnings.

That's barely pointer arithmetics.

>The jaw dropping 0.05s difference is negligible in modern hardware and it can be traded with some level of memory safety, prevention of data race and dangling pointers.
You clearly never worked on large data sets.
>>
>>59050463
/pol/ likes the concept of welfare as long as it doesn't go to non whites and degenerates like NEETs.
>>
>>59050476
>You clearly never worked on large data sets.
epic, may I ask why are you not using pure assembly in that case? It's faster than C.
Heck in some cases Fortran is faster than C as well
>>
>>59050463
>supports welfare
>even remotely right wing

That's not the definition of left/right, retard. All right-wing parties in Europe, even the extreme far right, believes in welfare.

Anyway, they believed in mixed economy and social conservatism. They have more in common with republicans than any other modern party.
>>
>>59050490
>epic, may I ask why are you not using pure assembly in that case? It's faster than C.
Because it's too time consuming, and correctness is hard to guarantee.

>Heck in some cases Fortran is faster than C as well
Yes, but rarely. FORTRAN compilers haven't received much attention the last two decades. But yes, FORTRAN and C are among the fastest out there, because the compiler is able to do all sorts of magic like using SIMD and fully utilizing data locality to benefit from caches.
>>
>>59050522
>Because it's too time consuming, and correctness is hard to guarantee.
Welcome to real world where people use Java and Python for data handling
>>
>>59050534
>Rust = another Java or Python
Sounds about right then.
>>
>>59050478
Which makes them leftist as I've previously stated. Also they're anti-monarchist trash who should be shot.
>>59050493
>the extreme far right, believes in welfare
This is by definition impossible. It might be considered """"far-right"""" on your shitty continent, but that's certainly not the case in the literal sense of the word.
>Anyway, they believed in mixed economy and social conservatism.
Which certainly doesn't make them right wing. They're center-left at best.
>They have more in common with republicans
Wouldn't know that much about them but from what I've heard for the most part they aren't right wing.
>>
>>59050543
>>Rust = another Java or Python
Your autism level must be at the peak level to make that big mental jump
>>
>>59050551
Everything is leftist if you keep calling it that, eh goldberg?
>>
according to these compile instructions i'm following, after the process, i'm supposed to find a .h file in a folder i specified.

what do i do if i don't find this .h file? please note that these instructions are incredibly easy, i'm not making a mistake.
>>
>>59050579
Anything leftist is definitely leftist, me calling it that doesn't change anything.
>goldberg
It's funny you say this while supporting a kike """economic""" """system"""
>>
>>59050419
That's correct.
>>
>>59050551
>the issue of welfare is the only thing separating left and right
This would by your """definition""" make a large portion of the republican party left-wing.


>This is by definition impossible.
It's not.
https://en.wikipedia.org/wiki/Right-wing_populism
https://en.wikipedia.org/wiki/Welfare_chauvinism

>It might be considered """"far-right"""" on your shitty continent, but that's certainly not the case in the literal sense of the word.
The literal sense is the belief in varying degrees of capitalism. The more capitalistic you are, the more to the right you are. All modern right-wing parties, even in your shitty excuse for a country, believe in certain degrees of planned economy. By your own fucking definition, they would all be leftist then.

>Which certainly doesn't make them right wing. They're center-left at best.
It actually does. Belief in private enterprise and private ownership + reduction in welfare + social conservatism makes them center-right.
>>
>>59050601
>Oy vey goy, don't help your fellow man, give it to your greatest allies instead
>>
>>59050385
Fair enough. Honestly, I would still focus on mathematics, in particular discrete maths when it comes to CS. For algorithm design, check out the book by Skiena, and then graduate to CLRS. If you want a full education on OOP, check out how it's implemented in the popular languages like C++ and Java, then look at approaches taken in languages like Smalltalk and Common Lisp. Their object systems are very different, even though they all fit under the umbrella term OOP.
>>
>>59050295
I did
And despite all that, D is doing quite well
>>
>>59050420
>comprehensive
irony
>>
>>59050601
>>59050551
NSDAP didn't believe in welfare.

They believed in abolition of unearned income, which includes all sorts of welfare.
>>
>>59050663
Source? That would certainly increase my opinion of them.
>>
>>59050674
Their party program is like 25 bullet points, and abolition of unearned income is point 11.

Fucking hell, only mothers and children were allowed to not work. Any adult either had to be in school, military or workforce, otherwise you were viewed as a degenerate and on accord of the moral code Germanic race.
>>
>>59050701
>>59050674
Point 7 also states that if you are unemployed and unable to find a job you risk being deported.
>>
>>59050701
/r9k/ wouldn't last a day in Nazi Germany.
>>
>>59050631
>the issue of welfare is the only thing separating left and right
Who are you quoting?
>This would by your definition make a large portion of the republican party left-wing.
Correct.
>It's not.
It is. You can't support wealth redistribution and be far-right at the same time. That simply isn't possible.
>your links
I don't know why you think this is "far-right".
>even in your shitty excuse for a country
What are you talking about? I don't think I've mentioned my country here.
>By your own fucking definition, they would all be leftist then.
Correct. Maybe center-right in some cases.
>It actually does
If what that other anon said about them not believing in welfare is true, then they indeed may be center-right.
>reduction in welfare
This isn't enough to be cleared of leftism.
>>
>>59050733
>I don't know why you think this is "far-right".
I didn't say it was far-right, I said center-right. Learn to read.
>>
>>59050744
>the extreme far right, believes in welfare
>This is by definition impossible.
>It's not.
Huh?
>>
>>59050733
>You can't support wealth redistribution and be far-right at the same time.
Nobody is talking about far-right, we're talking about center-right.
>>
>>59050761
see >>59050758
He literally claimed it was possible to support welfare and be far-right at the same time.
>>
>>59050758
Where did you get the "extreme far right" from?

Anyway, NSDAP clearly falls under your definition of "right" (see >>59050727 and >>59050701) but then again they believed in redistribution (read: taxation to fund military) and state being responsible of providing jobs (read: military draft) so I guess you're going to call them socialist anyway, since you only believe in right being the absolute jewish capitalist wet dream.
>>
>>59050786
I clearly said center-right.
>>
>>59050727
What about self employment?
>>
>>59050813
That would be fine, but you'd pay heavy taxes to the state though.
>>
>>59050820
Why?
>>
>>59050640
Wow thanks. But I don't even know what kind of programming and what niche I'll need to learn about at this point except that data structures and algorithms is what I should start with(friend who's doing engineering)
Can you also tell me how I'll be using all this?
>>
>>59050828
Depends, if you are a heavy industry: point 14 in their programme reads "We demand divison of profit of all heavy industry"

If you're a small business, then not so much.

>the utmost consideration of all small firms in contracts with the State, county or municipality.
>>
>>59050794
>Where did you get the "extreme far right" from?
From here >>59050493
>Anyway, NSDAP clearly falls under your definition of "right"
Center-right. Center being the more influential part here.
>they believed in redistribution (read: taxation to fund military) and state being responsible of providing jobs (read: military draft) so I guess you're going to call them socialist anyway
Yes, all of this makes them socialist.
>since you only believe in right being the absolute jewish capitalist wet dream.
If "the absolute jewish capitalist wet dream" is defined as "no wealth redistribution", then yes.
>>
>>59050880
>you can only be right-wing if you don't demand taxes
>>
>>59050896
>you can only be right-wing if you don't believe in literal kikery aka wealth redistribution
Correct.
>>
>>59050929
When you say wealth redistribution, you mean welfare and government handouts. I'm not talking about that, I'm talking about taxation on industry and nationalisation of any trusts.
>>
>>59050959
And the demand that great warehouses are leased at low cost to small businesses.
>>
>>59050959
>I'm talking about taxation on industry and nationalisation of any trusts.
Which is by definition wealth redistribution. Your continent should be nuked, I believe it would be better that way.
>>
>>59050998
>taxation is evil and trusts are good
I found the literal jew.
>>
>>59050998
>wealth redistribution
Except it's not, tax on profits != taxes on wealth, the NSDAP were clearly against taxes on wealth and property

And it's not being redistributed , it's being spent by the state.
>>
>>59050998
Fuck off ancap retard
>>
>>59051021
Who are you quoting?
>>59051038
>tax on profits != taxes on wealth
I don't see how that's relevant here.
>And it's not being redistributed , it's being spent by the state.
Who spends it isn't relevant in determining whether or not it's wealth redistribution.
>>59051046
I'm not an ancap.
>>
i'm at an important crossroads, please advise me

should i ditch c++ and learn c, not knowing anything about how to program without oop, or should i stick with c++?
>>
>>59051111
learn rust instead
>>
>>59050860
Yeah, that's why I was being fairly general. The theory will help you attack problems you'll encounter in programming so that you can develop efficient code. Pick a language and write some code in it. Doesn't matter which one as long as you stick with it.
>>
>>59051222
Rust is for cucks and SJW dykes
>>
>>59051111
Either ditch oop in C++ or switch to C.
>>
>>59051234
rust programmers only ever produce functioning code, in the same way that haskell programmers do
>>
>>59051234
>I'm too stupid to understand either rust or politics
>>
>>59051255
>Functioning gender neutral non bigoted code
FTFY
>>
File: shot0012.png (2MB, 960x720px) Image search: [Google]
shot0012.png
2MB, 960x720px
>>59051264
>Responding to an ad hominem with anothe
>>
>>59051281
*another
>>
>>59051296
*an other
>>
>>59051302
*an other's other
>>
>>59051317
*and other is other
>>
>>59051296
>>59051302
>>59051317
>>59051330
Spotted the Reddit user.
>>
>>59051231
Thanks brah very helpful
Thread posts: 377
Thread images: 34


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