[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: 317
Thread images: 35

File: 1476690587743.jpg (84KB, 1280x720px) Image search: [Google]
1476690587743.jpg
84KB, 1280x720px
old thread: >>57118110

Why aren't you writing all your applications in ANSI C, /g/?
>>
>>57126084
First for Ada!
>>
>>57126084
I'm learning Python and I'm trying to use
if(time.strftime("%S", time.gmtime()) % 30)
but it keeps on saying "TypeError: not all arguments converted during string formatting"
Is there a reason why? All of my code works separately, but the Python interpreter breaks entirely when I combine it into one if statement.
>>
File: Really Makes You Hmmm.png (3MB, 1058x999px) Image search: [Google]
Really Makes You Hmmm.png
3MB, 1058x999px
>>
>>57126084
Post yfw when Microsoft goes balls to the wall with C# in 8.0

>cross-platform WPF like UI with openGL
>soft pointers in return/ref
>>
>>57126104
>tfw C was a mistake
>>
>>57126104
no it doesnt, you C code is trash, use const rval references and const noexcept returns
>>
File: 1452463042847.png (128KB, 336x377px) Image search: [Google]
1452463042847.png
128KB, 336x377px
>>57126084
>ANSI C
I don't limit myself to insanely only standards for no reason.
I use C11.
>>
>>57126104
>Multiplication by repeated addition
Your code is bad and you should feel bad.
>>
>>57126121
>insanely only standards
insanely old* standards
>>
C is a garbage language.
>>
The worst part of this piece of shit general is that some people come here expecting help or even actual programmers, and instead they just get you faggots mindless shitposting as usual.
>>
class dog {
legs = array(new Leg(), new Leg(), new Leg(), new Leg());
nose = new Nose();

public function bark() {
print "Woof!\n";
}
}

:^)
>>
File: 1411223353550.png (442KB, 800x772px) Image search: [Google]
1411223353550.png
442KB, 800x772px
>>57126084
What the fuck happened to the Himegoto images on the OP?
>>
Is a DateTime in MySQL equal to a DataTime in C#?

For example, could I pull a DateTime from a database and store it in a DateTime in c#?
>>
>>57126175
It's confirmed: fag shit is not allowed.
Look at the last thread's image.
>>
>Internally to PHP, the scope resolution operator is called “paamayim nekudotayim,” which is Hebrew for “double colon.”
>>
>>57126180
Why is that bitch in the OP allowed then?

She fucking programs in C.

C for fucks sake.
>>
>>57126179
just save a unix timestamp integer
>>
>>57126164
what is this mess
>>
>>57126243
it's my pet doggie
>>
File: 1476775474919.gif (2MB, 250x195px) Image search: [Google]
1476775474919.gif
2MB, 250x195px
>>57126159
>coming to /g/ for "help"
>>
Does anyone have experience with creating dynamic menu items in Swift? I have no fucking clue how create x number of menu options for x number of api request results. :(
I've tried making templates in XIBs but they don't connect, or I can can only create 1 instance per nib. FUCK THIS SHIT
>>
>>57126104

>int main(const int argc, const char *argv[])

Sorry, but for some reason, the standard says you can change the value of argc, mostly for historical reasons. Same thing goes for argv.
>>
Some anon here uses or did use Nitrous? I would like to know their experiences.
>>
>>57126262
why would u use a botnet tho
>>
>>57126087
who is this cute
>>
File: 1465267100880.jpg (60KB, 313x377px) Image search: [Google]
1465267100880.jpg
60KB, 313x377px
Alright /dpt/ help me here.
I made a shitty file downloader for 4chan using python and it works fine but takes too long to download everything (8m+ to download ~100 images).

Is there a way to salvage this program or should I dump it and start over?

pastebin com yr4ngQy7
>>
>>57126261

In the C11 standard.

>5.1.2.2.1 Program startup
>The parameters argc and argv and the strings pointed to by the argv array shall be modifiable by the program, and retain their last-stored values between program startup and program termination.
>>
>>57126273
Well, I just want some place to mess around ot if home (no laptop here).

Why is botnet?
>>
>>57126279
It's hiroshima's fault.
>>
>>57126279
change all is.4chan domains to i.4cdn
they're interchangable
is.4chan is some shitty file mirror in canada, i.4cdn is cloudflare
>>
>>57126261
I know I can, I just made it clear I didn't plan or want to.
>>
>>57126314

Which isn't standards compliant, pedantically.

Your choice.
>>
File: 1468120400163.png (331KB, 635x664px) Image search: [Google]
1468120400163.png
331KB, 635x664px
>>57126305

I'm already downloading from i.4cdn
>>
>>57126406
Download in parallel, one from each.
>>
>>57126406
Hey, cute image, dude.
>>
>>57126279
I'm not sure if it will help you here but have you considered to use multithreading here? Downloading only one file at a time can be fairly slow at times.
>>
>Uni hw
>Python
>Have to write some algorithm to win a game
>The entire array structure for the board is balls on head fucking retarded and trying to navigate it makes my head hurt
>Imagine most of my time spent on this shit will be spent converting shitty fucking array structures to actually usable formats
>>
>tfw 4 hours of fapping instead of programming
hopefully ill be dead tomorrow
>>
>>57126509
If you're the age of the average 4chan poster, you're maximally unlikely to die overnight compared to other segments of the population.

You're welcome.
>>
>>57126316

Yes, but it is always valid to promote a pointer to a const pointer in C, so making either argument const shouldn't ever break anything.
>>
File: 1383949748526.png (1MB, 1280x1326px) Image search: [Google]
1383949748526.png
1MB, 1280x1326px
>>57126075
Oh I wish.
Oh I fucking wish
>For specific style deductions, you can see what I wrote above, but I would really suggest you look over the style guide and maybe even go in to the labs to see a tutor to double check your style. In general, be careful to have full, descriptive function headers, descriptive in-line comments, understandable variable names, and make sure to comment every variable declaration to describe that variable's function. >Also, be very careful about the 80 character limit.

Total grade possible 30 points
>
Criteria Points Comment
Default Style Points 8.0 / 8.0
80 character line limit -6.0 Many lines over 80
^M everywhere -2.0 Well, it doesn't show ^M, but you do have windows carriage returns present everywhere in your code. (Hit max deductions).
Missing driver.c code 0.0
Poor variable names 0.0 sp is not a descriptive variable name. It makes me think "pointer to stack", not "stack pointer index". index would be a better name. (Hit max deductions).
>THE TEACHER LITERALLY USED SP FOR STACK POINTER IN HIS SAMPLE CODE HOLY FUCK, ALSO USES SPP ON HIS CODE
>Subtotal 0.0 / 8.0

>Default Comment Points 7.0 / 7.0
File Headers -0.5 Your headers are not specific enough. You should describe the specific functionality of each file separately.
Function Headers -4.5 main() header is missing. All methods in stack.c except new and delete aren't descriptive enough.
Inline Comments -2.0 Most of your methods have lacking inline comments.
>Variable Declaration Comments 0.0 Missing >variable declaration comments on stack.c:327,329,373,487,553. (Hit max deductions).
>Subtotal 0.0 / 7.0
That's already 50%, not counting other dumb shit in the middle of the assignment.

Not sure if this class/teacher is worth it if I'm almost not being graded on my efficiency but whether or not I'm counting how many characters each line has.
>>
>>57126526

I think you're lying, that has never happened to me before
>>
File: heh5.jpg (99KB, 832x720px) Image search: [Google]
heh5.jpg
99KB, 832x720px
>>57126526
>going to college to learn programming

literally lmaoing at your life
>>
File: 1423598550487.jpg (16KB, 253x237px) Image search: [Google]
1423598550487.jpg
16KB, 253x237px
Who the fuck cares if a line of code has more than 80 characters

I can't stop laughing
>>
>>57126279
use the 4chan API don't parse html
and don't use python for downloading use wget or curl to download stuff
>>
>>57126486

>It's another prof's code that you HAVE to use is using a 6D array for a 2D board episode
>>
>>57126556
>Using an API
>2016

It's literally CURRENT YEAR anon.
>>
>>57126104
That's really not surprising.
GNAT can be a lot smarter about all of those
overflow checks, because it knows they are overflow checks and not some if branches that have to be executed as written.
I guess you would get similar results by
disabling overflow checking and doing it
by hand in the Ada code.
>>
>>57126262
Nobody?
>>
>>57126553
>Not coding on your PDP-11 using ex
>>
>>57126509
Are you, me?
>>
>>57126117
>C
>rval references
>const noexcept
>in C
>>
>>57126581
>Using Sepples--
>>
>>57126578
>Are you, me?

That comma turned that sentence nonsensical, what are you asking?
>>
>>57126556

>hey guys help me with x
>noooo don't use x use y instead

fuck off
>>
has anyone used realm in a reusable android library project?

Having some trouble thinking of ways it can be done.
>>
>>57126526

During the few times I've had professors give a serious grade to style, it's usually at most 10% of the grade, and not very strictly scrutinized. I've been deducted maybe 2-5 points on a 150 point assignment for lines being too long, and this was mainly because the professor being fond of asking people to print off their assignments (in addition to a digital copy), and me using tab lengths of 8 characters by default, thus making everything difficult to read because of shit wrapping around. I've also had him request we not use Windows line endings, because it fucks with his scripts.

But other than that, pretty much the majority of the grade for pretty much all of my classes is either correctness or performance, depending on what the class is focusing on.
>>
>>57126526

>Didn't follow instructions
>Wonders why he lost points

retard
>>
>>57126279
Not really surprising. You're downloading the files one by one. Try multithreading and you should see a significant speedup.
>>
File: 1450180280284.png (294KB, 562x562px) Image search: [Google]
1450180280284.png
294KB, 562x562px
>>57126472
>>57126636

Do I really need multithreading just for 100 files?
>>
>>57126651
Do you want speed or not?

You can also do an event-based concurrent download loop in a single thread if you want, but it's harder than multithreading.
>>
>>57126651
If you want to get your files fast, yes. Just create a function that will download and save a file given a URL as a parameter, and then use the Python `multiprocessing` library to map all the URLs to the function. Here's an example: pastebin com xiUSR89r.
>>
>>57126651

Networking is the largest bottleneck you can get in a program, other than just outright having shitty Big O. Where possible, make connections as concurrent as possible.
>>
I want to make a bash script to create webms. Command is

ffmpeg -i your_video.mkv -ss 00:00:10.000 -to 00:00:20.000 -c:v libvpx -crf 4 -b:v 1500K -vf scale=640:-1 -an output.webm


I was thinking about
#!/bin/bash                                                                                                                                                                                                                                                      ffmpeg -i $1 -ss 00:00:$2 -to 00:00:$3 -c:v libvpx -crf 4 -b:v $4K -vf scale=$5:-1 -an output.webm


but it uses too many args... is there a way to make it more elegant?
>>
>>57126755
>but it uses too many args... is there a way to make it more elegant?

Idiot
>>
>>57126569
It started out to show how gross c gets when you actually try and resolve all undefined behavior. The speed difference wasn't unexpected though, for the reasons you mentioned.
>>
>>57126586
Also
>believing move semantics magically make your program significantly faster
>especially on fucking longs
>>
>>57126808
>resolve all undefined behavior
Ada has undefined behavior as well.
What you did was overflow checking.
>>
>>57126840
For that program.
>>
>>57126671
>>57126685
>>57126753

How can I implement this shit on my code? This is beyond the scope of a beginner.
>>
hey guys so assange ate a roast beef sandwich while his internet "was out".

Even American exiles get more pussy than you.
>>
>>57126869

>Python
>Beginner

Are you stupid?
>>
>>57126753
Hey Ruben

Hi
>>
>>57126755
xddd
>>
>>57126903

>expecting helpful posts instead of shitposts

looks like I really am
time to ask lebit then
>>
>>57126869
Multithreading indeed isn't beginner level anymore. There's nothing I can do about that. Fortunately, your parsing logic doesn't have to be multithreaded, only the downloading part, so you can reuse your parsing part and only have to rewrite the downloading part. The first thing you should do is make a function that downloads and saves a file given an url. Example code taken from your code:

def download_picture(url):
filename = i.rsplit('/',1)[1]
response = requests.get(i,stream=True)
with open(filename, 'wb') as f:
shutil.copyfileobj(response.raw,f)


Now we have to multithread this. That's where the multiprocessing module comes in. First, we have to import the multiprocessing module

import multiprocessing


Pretty easy. Now we have to create a multiprocessing pool. I'm not going to explain how it works. You just have to know that it can do tasks with multiple threads at the same time.

pool=multiprocessing.Pool(processes=5) #use 5 processes to download the data
pool.map(download_picture, links)


Do you see the map method? It takes a function (download_picture) and a list of parameters (links) and it executes the function for every link in the list. It's basically the same as this but then multithreaded

for link in links:
download_picture(link)


Hopefully you'll be able to figure out how to modify your script with this information.
>>
>>57126974

>Starts programming with python
>Is a complete idiot
>Goes to reddit

top retard
>>
But I am, faggot chan
>>
>>57127024
There's more good to be had
>>
>>57126913

Ayyyy!

If you want to talk off topic, we should probably keep it to the Discord.

>>57126870

Assange is not an American exile. He's an Australian.
>>
>>57127039
I am in love with the language but the GNU standard library is cancerous, especially working with sockets, all those converting functions and stupid structures ;_;
>>
File: KEAP75h.jpg (658KB, 1667x2500px) Image search: [Google]
KEAP75h.jpg
658KB, 1667x2500px
What should I learn and write so I don't get left behind with machine learning? Soon AI will be writing the majority of code and then it will be writing all the code. I want to be involved before that switch happens.
>>
>>57126988

I did this
pastebin com T9UgEJSt

cut my time in half for 4+4chan threads but now it doesn't work on 4chan because I can't remove duplicates
>>
>>57127216
Nobody wants to manually parse your fucking links.
>>
File: 1450413209658.jpg (153KB, 720x720px) Image search: [Google]
1450413209658.jpg
153KB, 720x720px
>>57127216

Nevermind a single isfile() solved my problem.
Now it takes ~4mins to download 121MB of files.
>>
>>57127216
If you uncomment the
#links = set(links)

it should remove duplicates.
>>
>>57127319
You're fucking something up kid, I wrote a 4chan image scraper which downloads entire multiple threads of images based on keywords in OP and it never takes more than a minute to download hundreds of images. I didn't multi thread.
>>
>>57127319
Oh nvm, seems like I didn't understand what your problem was.

>>57127336
>>
>>57127336
Maybe you have better internet.
>>
>>57126084
Is C11 faster?
>>
>>57127499
"no"
>>
>>57127216
>current year
>not using event based IO
>>
>>57127499

No. It's just more convenient to program in.
>>
So... I know how computers work (stack, heap, cache etc.) and I've learned Rust. I really like Rust and cargo (its dependency manager), and I'm wondering if I should learn C. People say that real programmers learn C because it learns you how computers work, but I already know that, so is it still useful for me?
>>
>>57127499
yes
>>
Rate my food picker. User inputs amount of dishes, names each dish, the the program selects a dish at random. Useful for people who can't decide what to eat. Actually, it's completly useless, but still, it was fun to make :^)


import java.util.Random;
import java.util.Scanner;

public class FoodPicker {

private static Scanner scanner;
private static Scanner kb;

public static void main(String[] args) {

scanner = new Scanner(System.in);
kb = new Scanner(System.in);
int foodAmount = -1;
System.out.print("Enter the amount of dishes:");
foodAmount = scanner.nextInt();

String [] row = new String[foodAmount];
for (int i=0;i<foodAmount;i++) {
System.out.print("Enter dish " + (i + 1) + ": ");
row[i] = kb.nextLine();
}
Random r = new Random();
int randint = r.nextInt(row.length);
{
System.out.println("Todays meal is: " +row[randint]);
}

}

}
>>
user = input("input string :")
user.split()
new_string = []
x = 0
while x != len(user):
if user[x] in ["a", "e", "i", "o", "u"]:
new_string.append("oodle")
else:
new_string.append(user[x])
x += 1
new_string = ''.join(new_string)
print(new_string)
coding is fun. i should practice more.
>>
>>57126179
>For example, could I pull a DateTime from a database and store it in a DateTime in c#?
Generally speaking, yes.

It's particularly easy if you're using an ORM like Entity Framework, because the types are already 'compatible-ized' for you and you use the database like any other class.
>>
>>57127592
nigga that takes less lines to write in fucking arm64 assembly
>>
Working on a log-in thing for a web server.
Obviously I want to bcrypt the passwords on the server side. But I was thinking I might as well SHA2 (or some fast algo) the input on the client before I send it, then re-hash the SHA2 output with bcrypt once it reaches the server. I don't know if there's any point to that as I'll be using TLS anyway but I don't see why not. Can anyone learn me a crypto?
>>
>>57126526
It's really not hard to follow the instructions. If you don't follow instructions on an assignment of course you're going to lose marks.
>>
>>57127569
Learn Assembly. Write a bit of assembly. Then write a bit of C (C is really small and simple you can learn it in a few days) and mess around with the resulting assembly code in a debugger. It's pretty fun if you're already somewhat into low-level stuff anyway.
>>
File: examples_01.png (27KB, 880x591px) Image search: [Google]
examples_01.png
27KB, 880x591px
>tfw ImGUI is the best library ever made
>>
>>57126260
Define dynamic menu items m8.
A screen maybe?

>tfw studied swift but all jobs I do end up with objc
Believe me anon, you're lucky.
>>
>>57127609
p-pls no bully. I'm just learning Java atm, gonna try to learn some other languages next year
>>
>>57127635
Normally I would agree with you, I see people complain about this every now and then like they are too good to follow the university's style guidelines... However you have to admit that docking 2 points for using windows is pretty fucking retarded. Unless the assignment specifically said you couldn't...
>>
>>57127664
alrighty, i wont be hard on you cuz you're new to this. good luck in your programming quests /g/ chan *pinches cheeks* ^.^
>>
>>57127608
C# should get something like F# type providers.

The sql database type provider is a dream.
>>
>>57127592
>scanner = new Scanner(System.in);
>kb = new Scanner(System.in);
Do universities tell you to do this? I've seen a few anons do it.

Look, when you use scanner.nextInt() here's what's gonna happen:
You hit 42<enter>, this gets passed into the stdin buffer (System.in) represented as the text string "42\n". nextInt() parses in 42, and you are left with "\n" in your stdin. You now have to clear this manually otherwise the next usage of nextLine() is just going to give you an empty line.

In short, use 1 scanner (you never need 2 unless you are reading from 2 data sources) and properly manage the stdin buffer. In this case, after every nextInt() you want to add a nextLine() to clear out the extraneous "\n".

foodAmount = scanner.nextInt();
scanner.nextLine();

// continue as normal...
>>
>>57127640
How are the skinning capabilities?
I've been looking for some simple and nice GUI lib for a while.

Currently looking at Nuklear.
>>
>learn python
>learn racket
>learn c++
>learn assembly
Cant do shit

>Learn java
Can do anything

Why do other languages exist when java gives you the ease of python with the speed of c++
>>
>>57127680
Could you explain briefly how they work?

They look unsafe, but that may just be because I'm not understanding correctly.
>>
>>57127718
Java only exists to maintain existing applications, now that C# exists in its current state.

Either way, your outlook on languages is extremely shallow, and there are different tools for different jobs.

All of those languages, particularly C++ and Assembly certainly have a niche in the modern world.
>>
>>57127718
This level of bait doesn't even register.
>>
>>57127708
Thanks, I always thought it was a little redundant.
>>
>>57127336

Post code.
>>
File: lumix imgui skinning hack.png (2MB, 1854x1080px) Image search: [Google]
lumix imgui skinning hack.png
2MB, 1854x1080px
>>57127711
>How are the skinning capabilities?
Limited although some minor ones (pic related) are apparently going to be added in the future.
Pretty much everything else is fantastic about it particularly how easy it is to use and implement into anything else.
>>
>>57127719
It basically lets you write code that generates types at compile time. so you could write something like this:

Type sql = SqlTypeProvider<"Server=myServerAddress;Database=myDataBase;User Id=myUsername;
Password=myPassword;">

let peopleList = sql.sqlCommand<"select * from People">.execute()


This is pseudo as fuck, but basically the type provider generates the People type at compile time by connecting to the database at compile time, finding out what the table schema's are and generating .NET types based off of them.

This probably isn't similar to the code you'd actually write, i forget what the API looks like exactly. But it's a sweet idea and it automates and lot of the drudge work of database work, and keeps things simple as fuck and safe as fuck.
>>
>>57127791
I'm not informed on how F# works, but how is this different from C#'s "var"? var peoples = sql.query().execute(); or whatever is gonna store (likely) an iterator of some kind over the result set.
>>
I'm in my microarchitechture and combinational class, the teacher is this old Greek guy who yells if you ask him questions. Can someone explain to me how one would make a counter that counts 0 1 3 5 7 and then repeats in logisim? I've got the basics of counters but I'm not sure how to make it count specific numbers
>>
>>57127136
Prolog
>>
File: java_poo.png (87KB, 617x408px) Image search: [Google]
java_poo.png
87KB, 617x408px
>>57127718
>can't do shit
>learn java
>can do
As expected from a designated shitting language.
>>
>>57127818
yeah, let in F# is the same as var in C#.

C# doesn't have type providers of course.

may i should add more code to make it clear what i mean
Type sql = SqlTypeProvider<"Server=myServerAddress;Database=myDataBase;User Id=myUsername;
Password=myPassword;">

let peopleList = sql.sqlCommand<"select * from People">.execute()
for person in peopleList do
printfn "My name is: %s" person.name

here, person has the type:
Type Person = {
name : string
dob : Date
id : int
}

but the programmer doesn't have to code that, the type provider generates that type at compile time based off the database schema.
>>
>>57127718
>Java
>The speed of C++
lol
>>
>>57126279
curl the page
remove all '\n'
use grep -o to get all the post structures
use sed to get the link for all images
use xarg to pass them to wget
>>
File: futurewechoose.jpg (353KB, 1600x1200px) Image search: [Google]
futurewechoose.jpg
353KB, 1600x1200px
I want to get into programming again. I used to program in C/++ and C# But I didint end the course and I nearly know anything about Java.
Now I want to get in into by myself, so what language do you guys recommend me to get in again? Was thinking about python but I want to start again with an "easy" one.
>>
>>57127858
That doesn't make sense.

That means the language can't reason about the potential types it's going to encounter until runtime, right?

Is that basically assuming a pattern?
>>
>>57127904
>That means the language can't reason about the potential types it's going to encounter until runtime, right?
no, the types are generated at compile time. That's the key point of type providers.

the compiler know that "person.name" will be a real value at compile time because the type provider generates the type Person at compile time.
>>
>>57127904
>>57127919
for example, if i wrote
person.lastName

in that example, the compiler would throw and error, and you'd get a red squiggly line under .lastName in the IDE, because it knows Person does not have a member called "lastName".
>>
>>57127901
Python, C# or C.
>>
>>57127928
Interesting, so it actually throws queries to the DB before you even compile so it can give you IntelliSense feedback?
>>
Fucking hell I really want to use C# now after watching that video posted yesterday. What's the best way to use C# on linux?
>>
>>57127937
precisely. keeps shit neat as fuck.

It would be awesome if C# had this. Imagine how much nicer it would make code that dealt with databases? You'd never have to write a million class definitions that are just copies of what's defined in the database schema, and hope you didn't make any mistakes.
>>
>>57127618
From looking into it a bit more it looks like i'm on the right track but ideally I'd want to salt the client-side hash.

So I guess I could transmit a salt to the user. The user then sends SHA2(pw+salt) to the server. I then bcrypt(SHA2(pw+salt)) and store that in the DB alongside the salt I generated for the user. Then every time the wants to log in I have to send him the correct salt first.

This seems a bit superficial because anyone can fish out a salt by simply trying to log in... However giving away a salt and a hash to a MITM attacker must be better than giving away a hash of a common algorithm like SHA2 right? Because at least they can't just look it up in rainbow tables and have to brute force it themselves.
>>
>>57127939
MonoDevelop or Visual Studio Code
>>
>>57127939
VS Code is great on linux. What video btw?
>>
>>57127939
This website is all things C# for those who can't use Visual Studio:
http://www.omnisharp.net/
>>
>>57127939
>after watching that video posted yesterday
Link?
>>
>>57126279
There's a wget one-liner for that. Alternatively, use the API.
>>
>>57127957
>>57127963

>>57118807
https://www.youtube.com/watch?v=NJk-ecSlqIE&feature=youtu.be&t=2493
>>
>>57127718
Because you pay for it in soul-crushing boilerplate.
>>
File: anal beads.png (79KB, 2025x683px) Image search: [Google]
anal beads.png
79KB, 2025x683px
Playing with the new features, kinda testing the waters to see what flows.

Using an inline method and some of the pattern matching they've release so far. Supposedly they're adding more pattern matching features as soon as the initial ones are sitting pretty.
>>
I am getting mixed answers from google so I thought I would ask here. Is it possible to write an entire program in C++ 11, then wrap it in Java for a GUI?
Ive used the ndk for android apps so I have an idea of how it could be done. In theory would it not be possible to just call the C++ main from java using a native lib. Then simply have the java callbacks call your c++ implemented callbacks.
So in java when you click a button, it just calls the native function and you could implement everything there.
Im reading a lot of stuff on google though saying you cant implement a C++ program and wrap it in Java though.
>>
>>57126084
trying to make my mergesort spaghetti code work
http://pastebin.com/Xy39Yy5E
>>
Before I commit some time to learn it. Do people still use JSPs in web dev or has everyone moved away from Java?
>>
>>57127640
the documentation is crap
>>
There is nothing wrong with object-oriented C11
>>
>>57127939
.net core + emacs + omnisharp
>>
>>57128436
Inheritance is overrated.
>>
>>57126084
How many of you is watching this show?
>>
>>57128436
Why not C++?
>>
File: anal beads.png (24KB, 757x347px) Image search: [Google]
anal beads.png
24KB, 757x347px
Anyone ever generate "englishy" words?

Am I really going to have to run Markovs on a dictionary or something?

var vowels = new List<string> { "a", "e", "i", "o", "u" };
var consonants = new List<string>
{ "b", "c", "d", "f", "g", "h", "j", "k", "l", "m",
"n", "p", "q", "r", "s", "t", "v", "w", "x", "y", "z"};

string Vowel() => vowels.PickRandom();
string Consonant() => consonants.PickRandom();
string Cv() => Consonant() + Vowel();
string Cvc() => Cv() + Consonant();
string Syllable() => new List<object> { Vowel(), Cv(), Cvc() }.PickRandom().ToString();

string CreateFakeWord()
{
var syllables = "";
3.Times(() => syllables += Syllable());
return syllables;
}

100.Times(() => WriteLine(CreateFakeWord()));
>>
>>57128507
C# has turned into a weird language
>>
teach me how to code in less than a paragraph
>>
>>57128540
It's only as weird as you make it.

Admittedly, I'd probably never write code that looks like this, especially not in production, but I was going straight down a Python example and duplicating it pretty much line by line.
>>
>>57128507
Instead of producing "x * (C + V +C)", I'd use "x * (C + V) + C".
>>
>>57128502
Cpp is too bloated for me, it's impossible to know and use all the features it has (which you shouldn't do anyway).
I've written my fair share of cpp before and I found myself restricting myself to use only some parts of cpp, to the point that I might as well use C only.
I like the approach of only using classes in cpp, but if you're not a fan of polymorphism and extensive inheritance then pure C might me enough for you.
>>
How do you compile your code when you use text editor?
Do use
g++ main.cpp

or you use some tool?
>>
>>57128540
It was inevitable. Anders always said it would one day, as all langugaes naturally become over complicated over time and eventually it's worth starting over.

enter F#...
>>
>>57128595
When it's some simple one file program then yes I just do
g++ -stdc=c++14 -owhatever file -lwhatever


Anything else I just use CMake.
>>
>>57128622
>hey guys how do you get to places? do you just walk or do you use some other thing like a bike or a car?

>Well when it's just a few meters away or so, I'll usually walk. Any more than that and I just build a rocket similar to the Mars Transport System.
>>
>>57128507
> Times
That's a very clever thing.
Did you write your own extension method or is it something generally available?
>>
>>57128622
i wanted to know if there is some ez way to compile everything,when i have like 20 classes i dont want to type them all.
Just want do something like compile, and everything is done.
I was thinking about building script that will compile everything, it would work something like:
get folder destination
ls
generate new .sh file which will have
g++ "all files that i got with ls"
execute new file
execute a.out


How smart would that be?
>>
File: anal beads.png (18KB, 647x295px) Image search: [Google]
anal beads.png
18KB, 647x295px
Why is Japanese-like words so much easier to randomly generate? Just take the syllables and go to town.


>>57128676
Taken from the God Emporer himself:
public static void Times(this int count, Action action)
{
for (int i = 0; i < count; i++)
{
action();
}
}


http://stackoverflow.com/a/3932432/4479934
>>
>>57128691
You can do that with just:
g++ src/*.cpp


You could also alias it to something with the most common flags you use and what not so:
alias build='g++ -O0 -g -oprogram src/*.cpp'


Then just type "build" assuming that you're in a root directory that contains "src" folder (adjust accordingly).
>>
>>57126104
>checking for overflow AFTER it has occured

DELETE THIS
>>
>>57128703
>Why is Japanese-like words so much easier to randomly generate?
Because it isn't your native language
>>
>>57128703
These words sound more like something from central africa savages than actual japanese people.

The closest thing to ""japanese word"" in that list is Hijama.
>>
>>57127718
>ease of python with the speed of c++
Low quality bait.
>>
>>57126102
time.strftime returns a string, so you're ending up with something like <string> % 30. The % operator is used for formatting operations on a string, so the interpreter thinks you're trying to use 30 as a format argument. wrap your time.strftime call with int() if you want the actual modulus operation
>>
>>57128502
C++20 will make C++ viable.
>>
>>57128730
You've got a point.

Obviously, it's gibberish, but some of the runs on it are producing convincing words from someone who has only heard them.

>>57128752
>These words sound more like something from central africa savages than actual japanese people.
I'd agree with this.
>>
>>57128588
>it's impossible to know and use all the features it has
You don't have to.
>(which you shouldn't do anyway)
Then it's not a problem.

>I found myself restricting myself to use only some parts of cpp, to the point that I might as well use C only.
> pure C might me enough for you.
Then are you still doing object oriented?

Sure, i get it is possible do do object oriented programming in C, but the syntactic sugar for doing that that C++ provides is nice.
Though i have to admit i'm unfamiliar with what concessions to object orientation later C standards may have added since ANSI C.
>>
>>57126104
Everytime a retard like yourself "codes", one bit of memory dies.
>>
File: gsfight.webm (3MB, 720x405px) Image search: [Google]
gsfight.webm
3MB, 720x405px
/dpt/-chan, daisuki~

Ask your much beloved programming literate anything (IAMA)

>>57128779
Please, don't bully.

>>57128620
>all langugaes naturally become over complicated over time
Scheme

>>57128436
C can't into objects.

>>57128412
Java is probably still the most used programming language for server backend.

>>57127939
Vala? Joking.
Mono or .net core for the implementation.

>>57127640
>C++
>best library ever made

Pick one.

>>57127499
Yes

>>57127136
statistics + probability + data base.

>>57126988
>Now we have to multithread this. That's where the multiprocessing module comes in.
Multithreading and multiprocessing are two different things.

>>57126808
The only argument for C is its undefined behaviors.

>>57126553
People who want to browse multiple files at the same time on a single monitor. Please, limit yourself to 80 characters.

>>57126159
This is a serious thread for serious discussions. This is not stackoverflow where we exchange help for karma.

>>57126116
It was.

>>57126104
>Ada
cancer.

>>57126102
time.strftime returns a string.

if( int(time.strftime("%S", time.gmtime())) % 30)


>>57126090
>le over engineered programming language

>>57126084
>Why aren't you writing all your applications in ANSI C
Obsolete.

>>57126084
Thank you for using an anime image.
>>
>>57126084
I do and and have done for almost 20 years.
>>
>>57128412
Nope. You will find Enterprise™ Java webdev jobs maintaining Pajeet's spaghetti, but nothing new is made in Java.
>>57128560
Git gud.
>>
>>57128793
Is this guy a tripfag?
>>
>>57128808
Do you see a trip?
>>
>>57128793
>C can't into objects.
Retards in their object "safe space". Fucking hell. Just kill yourself retard or better yet, just stop coding all together.
>>
>>57128808
>no tripcode
>>Is this guy a tripfag?
>>
>>57128821
>>57128830
My doctor has prescribed me forced anonymous for my blood pressure.
>>
daily tip: coding isn't the same as programming
>>
>>57128808
no, just an attention whoring faggot without a tripcode
>>
>>57128839
programming is coding
>>
>>57128793
>Scheme
well, normie langugaes i guess
>>
>>57128703
Is this not just an impure form of church numerals?
>>
>>57128873
Is that a question, or are you trying to virtue signal a basic understanding of lambda calculus?
>>
>>57126260
Use a tableview
>>
>>57128703
>
public static void Times(this int count, Action action)

Damn C# is fine as hell.
>>
>>57128893
let's go with both. my head's not completely wrapped around this shit, so confirmation would make me almost as warm and fuzzy as a visit to the hugbox.
>>
>>57128893
If it was me, it would be a question in an attempt to reinforce that basic understanding of lambda calculus.
>>
>>57128703
>this int
what does the "this" keyword do in this context?
>>
>>57128910
What's wrong with it?
>>
>>57128912
Well then the answer to your question is a "yes, kinda".

It just accepts any Action object and executes it as many times as you specify.

You can take any series of events and pass them with the
() => // do things
syntax.
>>
>>57128934
Nothing.
>>
>>57128435
>the documentation is crap
It's not great but it's simple enough that it's not a big issue.
The imgui.cpp has a small "programmer's guide" to set it up, there's examples how to set it up with glfw/sdl2/directx and the demo file shows how easy it is to make it do all the funky stuff it can do. (there's also some more stuff on here: https://github.com/ocornut/imgui/wiki/screenshot_tool)

Compared to pretty much every other gui library out there it's unbeatable imo. Adding in a few small cpp files and being able to write ImGui::Button("Press me!"){ /*code that runs on button click*/ } is just a godsend when compared to something gigantic in size that requires you to rewrite your entire program to fit into it like QT.
>>
>>57128893
>virtue signalling
>anonymous
pick one
>>
File: anal beads.png (9KB, 531x145px) Image search: [Google]
anal beads.png
9KB, 531x145px
>>57128927
It's called an Extension method.

when you see
this int count
, the extension method is meant to act upon an int.

Here's another example:
public static bool IsInRange(this int value, int minimum, int maximum)
{
return value >= minimum && value <= maximum;
}

var ayy = 10.IsInRange(5, 20); // ayy is a boolean, "true"
var lmao = 69.IsInRange(5, 20); // lmao is a boolean, "false"


Obviously, this does open a can of worms, so you need to reign it in on your project. Luckily, you can keep them namespaced so you're only using the ones you want. Here's a bad example (pic related):
public static void ActuallyJustWriteSuckMyDickToTheConsole(this object source)
{
Write("Suck my dick.\n");
}


Because it's an extension method on object, I can pretty much make anything ever write "Suck my dick.".
>>
>>57128987
oh yeah, i remember now. I forgot what that looked like.
>>
>>57128943
c hash is FUCKING SHIT
ArrayList<String> leC = new ArrayList<>("succ", "my", "dikk", "m$", "shills");
ArrayList<String> msShills = leC.reduce("MSASHIT", (a, b) -> a + " " + b);

java is just as functional as you hasklel faggots!
>>
>>57129020
>repeating ArrayList
hmm
>>
>>57129020
>when you trigger the currynigger this hard
>>
>>57129020
in Haskell this is just
unwords ["MSASHIT", "succ", "my", "dikk", "m$", "shills"]
>>
>>57128967
>Adding in a few small cpp files and being able to write ImGui::Button("Press me!"){ /*code that runs on button click*/ } is just a godsend when compared to something gigantic in size that requires you to rewrite your entire program to fit into it
This is what i aspire to when i write libraries.
>>
>>57129020
String.join(" ", {"MSASHIT", "succ", "my", "dikk", "m$", "shills"})

C# version. Being a Java programmer is pain.
>>
>>57129020
:^)
var pajeet = new List<string> { "succ", "my", "dikk", "m$", "shills" }.Aggregate((x, y) => x + " " + y);
>>
can i create files in other languages using a C program, and then run them from the same C program?
>>
>>57129098
What does he mean by this?
>>
>>57129057
The advice i've seen floating around in the same circles as I found out about Imgui in is that you should "write your usecase first".
That way your desired useage informs your other API decisions rather than the other way around.
>>
>>57129098
yes
>>
>>57129098
>>57129105
C program constructs code of new file, writes to disk, then calls selected compiler and executes resulting file?
>>
>>57128967
Correct link for the code examples: https://github.com/ocornut/imgui/wiki/
>>
>>57129098
If you're looking for a scripting language, you might not even need to execute an external compiler. Perl for example, can be neatly embedded into a C program.
>>
>>57129020
>C hashtag
When will normies get out
>>
>>57129085
>>57129073
>>57129038
>>57129030
FAKK U AMERICAN!
>>
>>57129107
>>57129134
cool, thank you
>>
>>57129137
>hashtag
He said hash you fucking idiot
>>
>>57129137
>Not recognising obvious bate
I don't know, when will you get out?
>>
C Lattenkreuz is a damn fine language.
>>
>>57129137
C octothorpe
>>
>>57129154
Cis is the only good thing Microsoft has ever produced.
>>
>>57129170
TypeScript
VS
.NET
F#
Windows Phone 7
Azure

It's a short list, I'll grant you that
>>
c takes too long
>>
100 reviews on wanikani right now. Wish me ganbatte.
>>
Let's say your project makes use of external header only libraries, where would you put them?

<root>/src/ext/whatever.h
or
<root>/ext/whatever.h and add the path with -I?
>>
>>57129183
>TS
lol CS is better
>VS
lol
>.NEET
lol JVM clone
>WP 7
lol nostalgia retards
>Azure
lolololo
>>
>>57129206
>CS is better
not for client side web dev

nice non arguments otherwise
>>
File: 1467876083137.jpg (62KB, 873x927px) Image search: [Google]
1467876083137.jpg
62KB, 873x927px
>>57129200
good luck senpai
>>
>>57129211
>responding to a post of that quality

When it's obvious that someone doesn't want any sort of informative discourse, why would you even give them a (You)?
>>
#57129231
Ok, I won't
>>
What will die first: Cobol or UTF-16?
>>
>>57129211
succ my big fat bepis
>>
>>57129250
define "die" for non living objects
>>
>>57128691
Look up makefiles. It's surprisingly easy writing build scripts for simple projects.

CC=g++
CPPFLAGS=-std=c++11 -Wall
SRC=main.cpp something.cpp something.hpp
OBJ=main.o something.o
OUT=main

all: $(SRC) $(OUT)

.cc.o:
$(CC) $(CPPFLAGS) -o $@

$(OUT): $(OBJ)
$(CC) $(OBJ) -o $@

clean:
rm -f $(OBJ) $(OUT)
>>
>>57129270
die: prints a message to stderr and throws an exception
>>
A gem of wisdom from PHP in a nutshell
>Don’t make your forms too long—they confuse people and make them feel threatened.
>>
>>57129324
Why are you even reading this
>>
>>57129324
same reason not to discuss non-PHP langugaes with PHP developers
>>
>>57129355
>Why would you find programming fun?
>>
File: omnom.png (48KB, 800x600px) Image search: [Google]
omnom.png
48KB, 800x600px
>>57129355
>>57129348
pls don't confuse and threaten me
>>
Any recommendations for good books that deal with data abstraction in c++ besides this one:
https://www.amazon.com/Algorithms-Parts-1-4-Fundamentals-Structure/dp/0201350882
>>
File: php programming.gif (2MB, 320x212px) Image search: [Google]
php programming.gif
2MB, 320x212px
>>57129381
>>
>>57129381
>>
>>57129443
That's funi
But unfortunately some people have to find jobs.
Web development is as good an entry into software development as any, there are more jobs in this area too.
>>
>>57129476
I don't mind those people. I just feel bad who genuinely think PHP is great.

Though if you want a job and hate pain, then there's plenty of work with C#.
>>
Guys, I've got a noob question about multithreading.

I fully understand idea of shared resources and how easy they can be corrupted by e.g. multiple I/O operations, but I do not get how locks are supposed to help. To the best of my knowledge it is impossible to ensure atomicity of function in C++ or Go (we would not need locks otherwise), so the lock mechanism at some point will fail as well:

if !(locked)
//critical point
locked = true;

As these instructions are very fast, corruption would not occur often, but c'mon it is by no means reliable.

What I do not understand?
>>
File: 1475525163207.jpg (26KB, 350x317px) Image search: [Google]
1475525163207.jpg
26KB, 350x317px
>>57126084
Same reason I write StrongAI systems in C++14.... I live in the 21st fucking century, bwa.
>>
>>57129518
You don't lock that way, you lock using special mutexes that handle this for you.
>>
>>57126084
>>57129518
It is.
Atomicity is handled quite nicely.
Interrupt handling at the CPU level was figured out decades ago...
>>
>>57129518
https://en.wikipedia.org/wiki/Dekker%27s_algorithm
>>
File: 1474485959158.jpg (115KB, 960x685px) Image search: [Google]
1474485959158.jpg
115KB, 960x685px
>>57129536
He's talking ABOUT the locking of the mutexes themselves.
Hardware interrupts and software interrupts. Just use what the STL provides and relax, c++ bro.
>>
File: 2016-10-18-170849_312x184_scrot.png (11KB, 312x184px) Image search: [Google]
2016-10-18-170849_312x184_scrot.png
11KB, 312x184px
>>57129219
Today was not a good day but at least I got all of those in the current level right.
>>
i thought i knew c++ but code with boost is unfuckingreadable
>>
>>57129576
Eh, the question is ambiguous/unclear. He doesn't mention mutex.

That said, maybe it's interesting to take a look at the C++ memory model to learn more about what's defined and what's not.
>>
>>57129605
>>57129607
>>57129576
lol c++rap
>>
>>57129518
#define UNLOCKED 0
#define LOCKED 1

int lock_id = UNLOCKED;

void lock(void)
{
while (!compare_exchange(&lock_id, UNLOCKED, LOCKED))
;
}

void unlock(void)
{
store(&lock_id, UNLOCKED);
}
>>
Ye I was basically asking how e.g. mutexes are implemented.

Thanks for input guys. Dekker's alg. is particularly interesting.
>>
>>57129687
Like this:

#include <unistd.h>
#include <linux/futex.h>
#include <sys/time.h>
#include <sys/syscall.h>
#include <stdatomic.h>
#include <errno.h>

struct synchro_lock {
_Atomic int lock;
};

#define SYNCHRO_LOCK_INIT ((struct synchro_lock) { ATOMIC_VAR_INIT(0) })
#define SYNCHRO_LOCK_INIT_LOCKED ((struct synchro_lock) { ATOMIC_VAR_INIT(1) })

#define a_ces(...) atomic_compare_exchange_strong_explicit(__VA_ARGS__)
#define a_e(...) atomic_exchange_explicit(__VA_ARGS__)

#define UNLOCKED 0
#define LOCKED 1
#define WAITING 2

int synchro_futex_wait(_Atomic int *addr, int expected, const struct timespec *abs)
{
return (int)syscall(SYS_futex, addr, FUTEX_WAIT_BITSET, expected, abs, NULL,
FUTEX_BITSET_MATCH_ANY);
}

int synchro_futex_wake(_Atomic int *addr, int num)
{
return (int)syscall(SYS_futex, addr, FUTEX_WAKE, num);
}

int synchro_lock_lock(struct synchro_lock *lock, const struct timespec *abs)
{
int state = UNLOCKED;
a_ces(&lock->lock, &state, LOCKED, memory_order_acquire, memory_order_relaxed);
while (state != UNLOCKED) {
if (synchro_futex_wait(&lock->lock, WAITING, abs)) {
if (errno != EAGAIN && errno != EINTR) {
return -1;
}
}
state = a_e(&lock->lock, WAITING, memory_order_acquire);
}
return 0;
}

void synchro_lock_unlock(struct synchro_lock *lock)
{
if (a_e(&lock->lock, UNLOCKED, memory_order_release) == WAITING) {
synchro_futex_wake(&lock->lock, 1);
}
}
>>
someone explain semaphores
>>
>>57129770

A mutex is a sempahore with a value of 1.
>>
File: 9YmKi4i.jpg (319KB, 1506x2048px) Image search: [Google]
9YmKi4i.jpg
319KB, 1506x2048px
>>57129687
https://en.wikipedia.org/wiki/Compare-and-swap
>>
If I have a situation where I'm iterating through objects and want to call a method or other function on some of them, would it be faster to have some condition to check before calling the function, or to use a function pointer that may point to an empty function?
>>
>>57129931
use a for-some loop
forsome (..;..;..;callback) {
...
}
>>
>>57129931
An equality test is generally faster than a dereference.
>>
File: anal beads.png (57KB, 971x617px) Image search: [Google]
anal beads.png
57KB, 971x617px
>>57129770
A semaphore is a nightclub bouncer, making sure capacity laws are followed.

http://stackoverflow.com/questions/34519/what-is-a-semaphore
>>
What's the best language to write a keylogger in? Specifically after visiting a certain website
>>
>>57130013
VB.NET
>>
>>57130013
Literally anything.
>>
>>57130013
straight up binary,

BITCH
>>
>>57130018
Cool, haskell it is
>>
EXTREEEEEEEEEEEEEEEEEEEEME PROGRAMIIIIIIIIIIIIIIIIIIIIIIIIIIING
>>
>>57130013
Visual Topkek is my language of choice
>>
>>57129518
>What I do not understand?
Semaphores, Mutexes and Atomic operations.
They exist specifically to deal with those issues of multithreading.
>>
>>57130057
That's it, I'm writing a package called
TopKek.NET
.

It's going to generate the dankest of memes procedureally from your chosen 4chan board.
>>
>>57130081
use sanic server
>>
>>57130056
> PROGRAMIIIIIIIIIIIIIIIIIIIIIIIIIIING
The only way to work when your spinal cord is broken after that fall.
>>
>>57129961
What did he mean by this?
>>
>>57126250
kill it. for the goed
>>
>>57130149
use a for-some loop like so
forsome(i=0; i<max; ++i; check) {
thing.method();
}

It's the most idiomatic way to do this
>>
GCC: A buffalo (lol)
LLVM: A motherfucking silver dragon

I think we know who the clear winner is here.
>>
File: 1359236051-gcc-llvm.jpg (106KB, 1070x400px) Image search: [Google]
1359236051-gcc-llvm.jpg
106KB, 1070x400px
>>57130199
>>
>>57130223
based
>>
>>57128762
>complain about bloat
>better wait two more generations
C++ is never going to get less bloated
>>
>>57130223
>left
>works fine
>stable and robust but looks rusty and old to the average memer
>proven itself with age

>llvm
>featureless
>modern hipster design
>boring
?
>>
>>57130234
>left
>literally on fire

>right
>not on fire
>>
>>57130234
gcc doesn't even have an IRL but it's llvm that is feature less ? fucking normies
>>
>>57130256
and we all know what rule #1 of building a compiler is
>>
>>57130199
>gnu ("buffalo"): a real creature, existed for hundreds of thousands of years and continues to thrive
>silver dragon: an imaginary creature in children's fairytales
>>
Can someone recommend a good book/tutorial/resource on web authentication and security?
>>
>>57130223
isn't right the boat of steve jobs ?
>>
new thread when ? :3
>>
>>57130263
...don't light it on fire?
>>
>>57130289
You're French, aren't you?
>>
>>57130271
>dragons
>a product of human ingenuity
>feared and admired throughout history

>buffalos
>
>>
>>57130300
>feared and admired throughout history
lol
>>
>>57130289
:O o========3
:C==3
:3
>>
So LLVM or GCC?
>>
>>57130371
LLVM for debug builds, llvm for release builds.
>>
>>57130381
Okay I trust you
>>
>>57130300
>gnu: provide humans with useful animal products (meat, leather, fertiliser)
>dragon: make for entertaining stories but practically useless
>>
>>57130387
dragon: represents hopes and dreams
buffalo: genocided animal by genocided race
>>
File: wales.png (343KB, 2000x1200px) Image search: [Google]
wales.png
343KB, 2000x1200px
>>57130394
dragon: prosperity, hope
buffalo: extinction, despair
>>
>>57130297
maybe i am, maybe i am not ?
>>
>http://llvm.org/docs/GettingStarted.html
>Getting Started Quickly (A Summary)
>1. Read the documentation.
>2. Read the documentation.

>>57130417
>no "i" uppercase
>Adding useless space before "?"
baguette
>>
>>57130387
>buffals
>the primary animal of native americans
>a backwards people that had to be forcefully civilized

>dragons
>invented by europeans and asians
>two highly advanced civilizations
>>
>>57130394
>>57130413
>>57130441
http://wikipedia.org/wiki/Gnu
>>
>>57130385
google chrome is compiled with clang since end of 2014

http://lists.llvm.org/pipermail/cfe-dev/2014-November/039910.html
>>
>>57130438
>unnecessary, comma
>>
>>57130444
>GNU
Trash.
>>
>>57130371
I do my development with Clang because it compiles more quickly and provides better error messages. For release, I compile with both (and ICC) and benchmark.
>>
LLVM's logo is actually a wyvern. Muss man wissen.
>>
>>57130470
A wyvern is a kind of dragon
>>
new thread
>>57130506
>>57130506
>>57130506
>>
>>57127822
you lurking?
Thread posts: 317
Thread images: 35


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