[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: 326
Thread images: 39

File: K&R himegoto waifux2.png (1MB, 1000x1400px) Image search: [Google]
K&R himegoto waifux2.png
1MB, 1000x1400px
old thread: >>56938791

What are you working on, /g/?
>>
>>56943607
Stop posting this stupid image, you fucking degenerate.
>>
first for /dpt/
>>
http://pastebin.com/Dfh2CVCd
>>
nth for d
>>
>>56943632
http://pastebin.com/VAcuBMBk
>>
File: 1455627844909.png (581KB, 438x897px) Image search: [Google]
1455627844909.png
581KB, 438x897px
Still working on akari-bbs!

Almost done with post submission handling.
Rewriting the interface is next.
>>
are there any resources that outline strategies for the base level, pre-programing stages of product planning? i want to create something ambitious but i'm organizationally challenged and that's obviously a huge component of any project
>>
>>56943682
So are you actually going to evolve it into a full image-board?
Any bbs/image-board resources you could point me to? You along with 4chan lately have inspired me to try my own.
>>
>>56943607
I plotted a 2D sinus function depth mapped. it had strange effects though.
>>
>>56943725
https://en.wikipedia.org/wiki/Common_Gateway_Interface
https://en.wikipedia.org/wiki/SQL_injection
https://en.wikipedia.org/wiki/Cross-site_scripting
https://en.wikipedia.org/wiki/Uncontrolled_format_string

Look into input sanitation, because you need tons of it.
The first time I posted, I was promptly XSS'd by ruby-senpai.
>>
>>56943306
>What's your desired intention with programming?
>Just a hobbyist?
>Or are you looking for a career?
I suppose both anon, I would like to do it for a living as I really enjoy it, but I'm not sure where to start.

I find computer networking problems really interesting if that helps at all.
>>56943471
>Just choose a language that's high-level(ish) that works on all platforms and then learn it really well, like a .net language.
I would be happy to learn a .NET language but from what I understand the compilers are tied to Visual Studio, and my hard drive can't support a 20 gig install like that.
>>
File: test.png (359KB, 500x500px) Image search: [Google]
test.png
359KB, 500x500px
>>56943752
meant to quote >>56942471
some random sinus function.

Actually I want to make very fast processable scatterplots as input for another function.
>>
>>56943869
alright, thanks m8.
>>
File: dumb_computer.png (91KB, 714x715px) Image search: [Google]
dumb_computer.png
91KB, 714x715px
>>56943607
>have meeting with boss like 2 weeks ago
>was supposed to have version 1 of app done today
>still not done
>Skype with him in 2 hours

Life is suffering.

I didn't slack off, I just have no idea what I'm doing.
>>
File: Python.png (184KB, 2000x2000px) Image search: [Google]
Python.png
184KB, 2000x2000px
pajeets get out of my language reeeee
>>
>>56943998
didn't even know pajeets liked python.
>>
>spends 5 hours installing gentoo
kek
>memedistros

"I'd just like to interject for a moment python is dogshit tier

,ok there

im automating my /g/ posts, comfy af

http://pastebin.com/y0AWdFjh
>>
>>56944027
lol
>>
>>56944009
pajeets like everything accessible and easy.
>>
>>56944009
they don't yet but it's only a matter of time
>>
What are some things I can do in haskell that would be nice to put on github or for learning?

I already have experience (C, Java, Python, Webdev), but want to do something purely functional.
>>
How exactly did Ruby end up pigeon-holed as a "web" language? It's fucking slow as shit
>>
>>56944476
-----------------
--------------
-----------------
>>
>>56944181
I've heard Haskell is pretty good for parsing, you could always try that
>>
File: image.jpg (144KB, 850x484px) Image search: [Google]
image.jpg
144KB, 850x484px
is it safe to say that the STEM field is officially weeaboo territory?
>>
>>56944576
Real programmers and scientists aren't weebs, no. They tend to be quite normal and outgoing, actually.
>>
>>56944597
>Real programmers
>They tend to be quite normal and outgoing, actually.

How's the startup coming along Josh?
>>
>>56944602
You're retarded because it's telling you the problem and you still don't get it.
>>
>>56944602
String grades to int grades, nextLine() to nextInt()
>>
>>56944602
grades needs to be an int, m8, or you need to pass the literal.
>>
>>56944602
and public static int to public static void
>>
>>56944602
The error message tells you exactly what the problem is.
>>
>>56944602
Stop, you're triggering bad memories of a Java lab I have to work
>>
>Deleting your dumb question
it's really not a big deal m8, just pay more attention
>>
>>56944613
I'm sorry if it goes against your preconceptions, but that's generally what you'll find in the real world. The most naturally-gifted computer scientist I've ever met is a family man who wouldn't look out of place hosting the weather.
>>
>apt-get install mysql-server

is this all i need to do to get an SQL server running on my debian laptop that i can access from an android application i'm making? will it automatically run on startup or will it mess with my system? this is for a class and i don't want to fuck up my only computer and turn it into some kind of permanent server. will it be easy to remove any databases that are stored in it?
>>
>>56944739
Basic SQL database management will take care of that. You can always uninstall it when you're done. I would be more worried about setting up the proper networking to have your app talk to that server on your computer.
>>
>>56944728
the most gifted computer scientist i've ever met was a 70 year old man who has no family and has lived alone his entire life
>>
>>56944754
http://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/

does this look right? the example they're using is a windows server software that i can't use. would it be similar for linux? i just accidentally stuck my hand up to the ceiling fan trying to untangle my headphone cords and now my hand is bleeding
>>
>>56944791
Do you think he would approve of weebery, though?
>>
File: ree.gif (848KB, 665x662px) Image search: [Google]
ree.gif
848KB, 665x662px
>>56943607
>when the iOS simulator is updating and you have to present the app in 40 minutes
>>
>>56943607
How do I return a struct to use in another method. In this particular case I am trying to pass the struct card from createDeck into displayDeck.
Please help, I just can't figure it out.
Right now the program executes but display deck is just showing me garbage.

#include <stdio.h>
#include <stdlib.h> /* The library is being used for the atoi function, allowing us to convert string to int */

#define TRUE 1 /* boolean true */
#define FALSE 0 /* boolean false */
#define NOERRORS 0 /* no errors found */
#define REQUIRED_INPUTS 3 /* number of inputs required by user */
#define SIZE_OF_DECK 52

struct card *createDeck(void);
void displayDeck(struct card *deck);

struct card {
char suit;
char rank;
};

int main(int argc, char *argv[])
{
char **theInputs = argv;

struct card *ptToDeck = createDeck();
displayDeck(&ptToDeck);

return NOERRORS;
}

struct card *createDeck()
{
char ranks[13] = {'A', '2', '3', '4', '5', '6', '7', '8', '9', 'T', 'J', 'Q', 'K'};
char suits[4] = {'S', 'H', 'C', 'D'};

struct card deck[52];

int suitsloop; // Loop handles iterating through all the suits
int ranksloop; // Loop handles iterating through all the ranks
int total = 0; // Used to count and place cards in order in the struct array

for(suitsloop = 0; suitsloop < sizeof(suits); suitsloop++){
for(ranksloop = 0; ranksloop < sizeof(ranks); ranksloop++){
deck[total].suit = suits[suitsloop];
deck[total].rank = ranks[ranksloop];
total++;
}
}

int i = 0;
for(i = 0; i < 52; i++){
printf("%c%c, ", deck[i].rank, deck[i].suit);
}
printf("\n");

return deck;
}

void displayDeck(struct card *deck)
{
int i = 0;
for(i = 0; i < 52; i++){
printf("%c%c, ", deck[i]->rank, deck[i]->suit);
}
}

>>
>>56944819
Yeah, it's called the LAMP stack. I am Look up a tutorial for setting up a LAMP stack on your local machine. With that tutorial you will only be able to use that app on your local network (localhost) unless you have a public IP you can use for your API requests.
>>
>>56944840
i saw he has k&r on his bookshelf so i can only assume he watches himegoto
>>
>>56944840
waifuists are basically ubermensch, and the first step humans are taking towards transcending our biological inefficiencies -- your need for social interaction and appreciation from people who you will never actually know leaves you vulnerable. our biological impulses of lust and loneliness are things which hold back and hamper many people who could otherwise be fully funcitonal, productive members of society.

the future is getting past our need to emotional closeness. the interim is supplanting it with controlled methods, and your anime waifus are taking those brave first steps.
>>
File: 1474679997308.jpg (246KB, 1624x750px) Image search: [Google]
1474679997308.jpg
246KB, 1624x750px
>>56944967
Kek, this is borderline delusional.

Weebs crave human interaction but are just not outgoing enough to fulfill that desire.

Instead they placebo this desire with anime, which actually does the opposite and alienates them further because all anime really does is raise your standards for humans and in particular women.
>>
>>56945014
no, weebs crave emotional closeness. you need to divorce this concept from its human component. it's going to become obsolete within a couple generations.
>>
Anyone familiar enough with flex/bison ?
Why yylineno is so bad?! It has literally one single simple job!

I was having classes on compilers a few months ago and I remember no one getting the yylineno to work properly. And just now I was reading a tutorial to remember some details and it says:
>Unfortunately Flex has no guaranteed way to get the line number (well, there's yylineno, but it's almost completely manual, and in some situations makes your parser very slow, so you might as well just do it yourself). The best way to keep track of the line number is to have a global variable that you update whenever you see a carriage return"
>>
>>56944913
>#define TRUE 1 /* boolean true */
>#define FALSE 0 /* boolean false */
Just use stdbool.h
>#define SIZE_OF_DECK 52
You have this macro, just aren't using it anywhere.
>struct card deck[52];
>return deck;
You're returning a pointer to a local variable. As soon as that function exits, that array becomes invalid. You should have gotten a compiler warning about that.
You need to allocate the deck with malloc, or pass the deck space in from outside the function.
>>
mixins are so nice.
>>
>>56945106
what kind?
>>
>>56944967
you're correct, 3d women are also soon to be fully deprecated. the waifu age is upon us, and donald trump will win the presidency in 2016
>>
>>56945124
what do you mean?
>>
>>56945156
what kind of mixin?
>>
File: display.png (17KB, 659x484px) Image search: [Google]
display.png
17KB, 659x484px
>>56945080
>Just use stdbool.h
>You have this macro, just aren't using it anywhere.
I omitted some methods, and it is supposed to replace all of the 52's once I get around to it.

>You need to allocate the deck with malloc, or pass the deck space in from outside the function.

This worked, thanks. But for some reason it is off by three. I'm not allowed to use malloc so I passed it from outside.

>pic related, first output runs from 0 - 52, second from 0 - 55

Thanks anyways, good step forward.
>>
>>56944476

Here's your reply.
>>
>>56945276
I don't know what else your actual program contains, but
#include <stdio.h>
#include <stdlib.h> /* The library is being used for the atoi function, allowing us to convert string to int */

#define TRUE 1 /* boolean true */
#define FALSE 0 /* boolean false */
#define NOERRORS 0 /* no errors found */
#define REQUIRED_INPUTS 3 /* number of inputs required by user */
#define SIZE_OF_DECK 52

struct card *createDeck(void);
void displayDeck(struct card *deck);

struct card {
char suit;
char rank;
};

int main(int argc, char *argv[])
{
struct card *ptToDeck = createDeck();
displayDeck(ptToDeck);

return NOERRORS;
}

struct card *createDeck()
{
char ranks[13] = {'A', '2', '3', '4', '5', '6', '7', '8', '9', 'T', 'J', 'Q', 'K'};
char suits[4] = {'S', 'H', 'C', 'D'};

struct card *deck = malloc(sizeof *deck * 52);

int suitsloop; // Loop handles iterating through all the suits
int ranksloop; // Loop handles iterating through all the ranks
int total = 0; // Used to count and place cards in order in the struct array

for(suitsloop = 0; suitsloop < sizeof(suits); suitsloop++){
for(ranksloop = 0; ranksloop < sizeof(ranks); ranksloop++){
deck[total].suit = suits[suitsloop];
deck[total].rank = ranks[ranksloop];
total++;
}
}

int i = 0;
for(i = 0; i < 52; i++){
printf("%c%c, ", deck[i].rank, deck[i].suit);
}
printf("\n");

return deck;
}

void displayDeck(struct card *deck)
{
int i = 0;
for(i = 0; i < 52; i++){
printf("%c%c, ", deck[i].rank, deck[i].suit);
}
}

works for me
>>
>>56944913
>Magic numbers
>Not using enumerations
>Not passing the object's pointer to create deck

Dangerous
>>
why are so many android developers on help sites indian?
>>
>>56945325
>>56945368

Yes I'm a shitter

http://pastebin.com/T0gn0VhD
Here's the full code as is after I did it, the reason I can't use malloc is because the professor said so.
>>
how should i make my naive game of life program faster /dpt/?
>>
>>56945453
OpenMP
>>
>>56945453
optimize inner loop in assembly
>>
File: pict.png (15KB, 902x627px) Image search: [Google]
pict.png
15KB, 902x627px
Just made a simple pictionary clone, I have yet to do the netcode and pretty it up a bit and it should be nice. The OK button hides what you're supposed to draw
>>
>>56945453
rewrite it in a meme language
>>
>>56945466
>>56945468
you guys were supposed to say

change list
or
hashlife
or
simd within a register

or some other technique i'm not aware of
>>
>>56944739
>is this all i need to do to get an SQL server running on my debian laptop that i can access from an android application i'm making?
Christ no. Remotely accessing a database like that would be really insecure, so MySQL has a bunch of settings you need to change, and you also need to add some user credentials.

http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html
>>
>>56945523
I don't deal in dumb meme problems, I write real software.
>>
>>56945523
wasn't aware this was a dick waving contest
>>
>>56945540
its not i just was wondering if people had ideas i haven't heard of
>>
>>56943607
That book fucking sucks
its useless
>>
>>56945539
>>56945540
>20:17:34
>>
>>56944791
I dont suppose he works as a teacher now, does he?
>>
File: xamagon.png (23KB, 609x609px) Image search: [Google]
xamagon.png
23KB, 609x609px
>>56943607
Why aren't you using Xamarin?

I just spent all day working on some Android Xamarin code. In the last 20 minutes, I copied and pasted all of the C# files into the iOS project directory, added them to the project, built the project, and it worked fine. I didn't have to change a single line of code.

Why are you writing apps twice? Do you enjoy writing the same things in Java and Swift? I have twice the productivity thanks to Xamarin, and it's free. C# runs faster on Android than Java and is fast enough on iOS.

http://stackoverflow.com/questions/34381342/performance-difference-between-cross-platform-and-native-android-apps


North American markets are split 60-40 Android-iOS in a lot of places, so you can't get away with just doing one OS.
>>
>>56945535
Actually disregard this post. I misread. I thought you were connecting directly to the database from a different machine.
>>
>>56943894
>tfw he forgot about the meeting

Such a good feeling.
>>
>>56945539
hey golly is a pretty nice piece of software and it's just cellular automata
>>
>>56945585
> tfw i literally did no work today and got away with it

such a good feeling
>>
i'm contemplating trying to reverse-engineer a hardware driver for some USB peripherals. i've got a decent grounding in C and some in working with assembly. realistically how much of a learning curve am i looking at?
>>
>>56945599
I'm not getting paid so idgaf.
>>
>>56945633
well im not the other guy i just though i'd mention
>>
>>56945599
>>56945622
>>56945633
>>56945644
what the fug
>>
>>56945535
>>56945572
i'm probably just going to use the google cloud mysql. the trials 60 days, and the final presentation date is JUST over 60 days away
>>
>>56945551
brainlet detected

if you're trying to learn PROGRAMMING from knr you'll have a bad time, but everyone knows you learn PROGRAMMING from SICP. knr teaches the language C
>>
>>56945729
If you don't have thousands of users writing to your database per second, just use sqlite.
You don't have to have any servers running because it all saves to a flat file.
>>
>>56945438
those good programming practices
#include <stdio.h>
#include <stdlib.h> /* The library is being used for the atoi function, allowing us to convert string to int */

#define TRUE 1 /* boolean true */
#define FALSE 0 /* boolean false */
#define NOERRORS 0 /* no errors found */
#define REQUIRED_INPUTS 3 /* number of inputs required by user */
#define SIZE_OF_DECK 52
#define NUM_SUITS 4
#define NUM_RANKS 13


const char ranks[NUM_RANKS] = {'A', '2', '3', '4', '5', '6', '7', '8', '9', 'T', 'J', 'Q', 'K'};
const char suits[NUM_SUITS] = {'S', 'H', 'C', 'D'};

struct card {
char suit;
char rank;
};

void createDeck(struct card *deck);
void displayDeck(const struct card *deck);

int main(int argc, char *argv[])
{
struct card deck[SIZE_OF_DECK];
createDeck(deck);
displayDeck(deck);

return NOERRORS;
}

void createDeck(struct card *deck)
{
int suitsloop; // Loop handles iterating through all the suits
int ranksloop; // Loop handles iterating through all the ranks
int total = 0; // Used to count and place cards in order in the struct array

for(suitsloop = 0; suitsloop < NUM_SUITS; suitsloop++){
for(ranksloop = 0; ranksloop < NUM_RANKS; ranksloop++){
deck[total].suit = suits[suitsloop];
deck[total].rank = ranks[ranksloop];
total++;
}
}
}

void displayDeck(const struct card *deck)
{
int i;
for(i = 0; i < SIZE_OF_DECK; i++){
printf("%c%c, ", deck[i].rank, deck[i].suit);
}
}
>>
>>56945585
>I didn't slack off, I just have no idea what I'm doing.
sitting around with your thumb up your ass instead of learning what you need to know is pretty slackish
>>
>>56945771
>C89 variable declarations
>C99 style comments
sounds like you're a humongous faggot
>>
>>56945763
do you know of any online hosting services? i really dont want my teammates messaging me at 2 in the morning telling me to turn on my laptop so they can access the server

which wouldn't happen because they do jack shit but still
>>
>>56945776
I spent all my time learning instead of coding, faggot. Kys.
>>
>>56945760
>SICP
>>>>programming

The only real way to learn about programming is TAOCP.
>>
>>56945808
you should've learned before you put shit you barely knew on your resume :v)
>>
>>56945807
digital ocean VPS costs $5 a month and is very fast, perfect for temporary projects
you only pay for the time you use, so if you only use a day of service, you only pay $0.16.
>>
>>56943887
also there is a bunch of other chans and bbs boards that you can look at like infinite chan and foolfuuka, which is what most 4chan archivers use
most use php btw
https://github.com/ctrlcctrlv/infinity
https://engine.vichan.net/
https://github.com/imageboards/FoolFuuka
>>
>>56945823
This is an internship. No resume was used to get this "job".
>>
>>56945800
I didn't write those. Though I prefer // over block comments any day.
>>
>>56945847
sounds like they expected you to be a faster learner than you are, then
>>
>>56945569

>North American markets are split 60-40 Android-iOS in a lot of places, so you can't get away with just doing one OS.

Unless I'm getting paid for it, I can and would completely ignore iOS users and only make an Android version of an application. In fact, I'd even go as far as to GPL an application solely to cause conflicts with the App Store's licensing.
>>
>>56945858
He has no expectations because he's a muggle who can't code.
>>
>>56945872

My post was meant for other students and working devs, not NEETS. Move along tripfag.
>>
>>56945872
i love our benevolent google overlords as well!
>>
just realized i can put my porn into a local mysql database and filter by all sorts of tags
>>
>>56945891
just got nougat today, will continue to praise out google overlords for some years.
>>
>>56945890

>NEETs
Yeah, I'm in grad school, Anon. Nice try though.
>>
>>56945961
i proved that you can be in grad school and still be neet
>>
>>56945965
You don't even know what NEET stands for, do you?
>>
>>56944913
>define NOERRORS 1

You can use EXIT_SUCCESS, it's defined in stdlib
>>
>>56945965

>Not in Education, Employment, or Training
>While being educated at an accredited institution
>While being paid research grant money

Tell me more about how I'm a NEET, Anon.
>>
>>56945569
because I'm not a C# baby who writes """"apps""""
>>
>>56945438
If you're not using malloc, you should be returning the structure itself, not a pointer.
>>
File: hiro mines ur data.png (202KB, 824x542px) Image search: [Google]
hiro mines ur data.png
202KB, 824x542px
What would happen if 4chan switched to imgur for all image hosting?

If 4chan were to ask you to upload your pictures manually and then attach them in your post, they would never be able to ban 4chan from doing all their hosting there.
>>
>>56946209
wot
>>>/pol/91677314
>>
>>56946209
>>56946219

Fuck off, nobody wants to use your shitty board
>>
File: 1474678358491 (1).jpg (137KB, 736x1104px) Image search: [Google]
1474678358491 (1).jpg
137KB, 736x1104px
>>56946219
Women can code, but groups like Society of Women Engineers or Women in CS,, and really any society that has "women" or "female" in its name will breed toxicity into the field.

Most women I've met are generally shit, and most have surrendered after one or two semesters of, but the few that make it through are quite good.
>>
>>56946237
>passing up an opportunity to troll people who think they know something about programming

kek
>>
>>56945771
>const char array and not a const char* = ""

wad de fug
>>
File: image.jpg (16KB, 749x175px) Image search: [Google]
image.jpg
16KB, 749x175px
G-guys w-what do
>>
>>56946313
>sexy_time.exe
>>
>>56946313
impregnate
>>
>>56945622
>USB driver
It's a 90 degrees upwards curve from here with no sign of leveling out.
>>
>>56946323
>.exe
Get out of here, fag.

>>56946313
>>>/adv/
>>
>>56943607
She's cute, what anime?
>>
File: 1475180655101.jpg (66KB, 450x600px) Image search: [Google]
1475180655101.jpg
66KB, 450x600px
>>56946356
>she
>>
>>56946304
why would you want to obfuscate the purpose of the array by storing it as a string literal?
>>
>>56946359
Are you telling me that angel in the OP has a penis?
>>
>>56946393
It's a case of "Draw a girl, call it a boy".
I don't know how those literal fags find that acceptable.
>>
>>56946404
>think a guy is cute
>>it was drawn a girl
I don't know how you fags do it
>>
>>56946425
>>56946404
>implying individual slices of the gender spectrum could be drawn

Stop thinking in binary.
>>
>>56946441
>muh fuzzy logic
fuck off
>>
>>56946441
Do you want us to use your "preferred pronouns" as well?
Fuck off back to tumblr.
>>
>>56946449
>>56946459
It's amazing how easily idiots fall for the simplest of bait, thank you for encouraging further shitposts like the one you replied to.
>>
>>56946477
I was joking
>>
>>56946477
>le is was just trolling meme
Good one.
>>
>>56946480
"Pretending" to be baited is the same as being baited, the end result is still the shitposter getting the (You)'s he craves.

>>56946500
Nice reading comprehension skills there buddy.
>>
>>56946500
He wasn't "trolling", it was a joke.

>>56946501
>pretending to be baited
Who was baited?

Or are you no longer allowed to reply to posts that aren't 100% serious?
>>
File: jokes.jpg (198KB, 1028x1513px) Image search: [Google]
jokes.jpg
198KB, 1028x1513px
>>56946441
>>56946449
>>56946459
>>56946477
>>56946480
>>56946500
>>56946501
>>56946506
daily reminder
>>
>>56946512
>implying the original poster was joking
>implying that tumblr degenerates aren't here
>>
>>56946523
>>tumblr degenerates
>t-the sjws!
Fuck off back to r/4chan
>>
File: a.png (35KB, 419x209px) Image search: [Google]
a.png
35KB, 419x209px
>>56946512
Too easy
>>
File: 1475021125859.gif (4MB, 603x373px) Image search: [Google]
1475021125859.gif
4MB, 603x373px
>>56946523

The one purpose >>>/pol/ serves is to act as a boogeyman for the type of retards that would take those retarded opinions seriously.
>>
friendly dpt when
>>
>>56946528
>>56946542
I was just joking mate :^)
>>
>>56946547
>implying we're all one person :^)

I too am joking guys
>>
>>56946547
>>
>>56946523
>>56946528
>>56946542
>>56946547
>>56946552
literally all me

>>56946543
not me
>>
>>56946547
real funny m8
>>
>>56946506
everyones joking HAHAHAA
>>
>>56946543
I'm sorry. I indirectly started this because your OP made my dick twitch.
>>
>>56946563
Follow the reply chain further back.

>>56946543
When degenerate shit isn't posted in the OP.
>>
File: 1467570941060.jpg (517KB, 1521x1076px) Image search: [Google]
1467570941060.jpg
517KB, 1521x1076px
What are you working on, /g/?
>>
>>56946602

Right this second? Nothing. If I was working, I would likely not be on /dpt/.

But in terms of my work as of late... I've been trying to make sense of the Windows Driver Framework to see how the fuck everything works. I'm going to be needing to use a kernel module for my research.
>>
Anyone know why I can't open cgi scripts?

I get this error message "couldn't create child process: 720002: mos-me.cgi"

this is kinda the starting code i've been given, which i am then supposed to fill and change, but not even this I can open in my browser.

#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""
Execute as cgi-skript and send a correct HTTP header.
"""

# To write pagecontent to sys.stdout as bytes instead of string
import sys
import codecs

# Enable debugging of cgi-.scripts
import cgitb
cgitb.enable()

# Send the HTTP header for plain text or for html
print("Content-Type: text/plain;charset=utf-8")
#print("Content-Type: text/html;charset=utf-8")
print("")

# Here comes the content of the webpage
content = """
Hello The World of Web
"""

# Write page content
sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach())
sys.stdout.write(content)
>>
>>56946708
write to standard out directly instead of using that python lib crap
>>
File: 1376735590711.jpg (333KB, 600x600px) Image search: [Google]
1376735590711.jpg
333KB, 600x600px
>>56943607
>want to retrieve videos from my last subscriptions in youtube in V3 api
>http://stackoverflow.com/a/23620166
Why would they do that?
>>
>>56946918
actually have no idea what that means

i fear I have chosen a poor university course, they do not really explain things too much. and i still dont fucking know the reason for doing cgi in this python course.

basically i did a python script which im now supposed to run as a cgi script, but since I can't even see the cgi in my browser, it becomes rather difficult to do

and im pretty sure i'm supposed to write it as they want because it needs to validate through pylint
>>
web dev vs software dev vs game dev?
>>
Where to learn 8086 DOS assembly?
>>
>>56946989
CGI is handled by a module in your web server software.
apache and lighttpd both have this built-in, you just have to enable it in your .conf file.

I feel like you should drop out and learn this stuff on your own, going to college to learn programming is a big mistake.
>>
>>56947041
>web dev
It's shit because of all these horrible technologies like JS and PHP. It's easier though as long as you don't write FB backend or something.
>software dev
It can be anything. Java dev in enterprise corporation will make you want to kill yourself. But if you work with some new technologies in startup, it actually might be fun. It's probably the hardest too.
>game dev
Can be incredibly fun. I work in small startup, everyone is young here and know internet culture, so memeing happens on daily basis. Of course you can go with game dev corpo, but it again will make you want to kill yourself. It's probably the easiest.
It's also very easy to make money if you want to be indie, aren't afraid to take part in twitter discussions/go to game jams and release your games on itch.
>>
newbie here, i did a quiz on class today and i felt I went pretty well, besides this one question which I wasnt too sure
>Assuming the following line of code in C executed, list one situation where the string is not displayed to the user:
fprintf (stdout, "Hello World");


I answered "If the buffer is full, the string might not get printed", I wasn't sure about that

What's /g/'s answer to this
>>
>>56947161
>"If the buffer is full, the string might not get printed"
If the buffer is full, it will be flushed and everything that was in it will be displayed to the user.
>What's /g/'s answer to this
stdout has been redirected to /dev/null or some other "black hole" file.
If stdout is buffered, it might not be displayed immediately.
>>
>>56947161
When stdout is automatically flushed only when '\n' is printerd(or when flushed manually) and buffer is larger than this text. in that case string is not printed and stays in buffer.

But this is kind stupid question because it happen very lately. I encountered it when I was printing something to Eclipse build-in terminal, which behave this way.
>>
>>56947161
#define stdout -1
>>
File: proxen.png (99KB, 958x630px) Image search: [Google]
proxen.png
99KB, 958x630px
How do people find good proxies in countries like North Korea?
>>
>>56947236
#define stdout stderr
>>
>>56947115
thank you i'll look into that
>I feel like you should drop out and learn this stuff on your own, going to college to learn programming is a big mistake.

well i'd agree with you if it wasn't that i live in Sweden where its free and you actually get some money for going to college.

i think the structured learning and the eventual projects can be good
>>
>>56947286
It will still be displayed to user.
>>
>>56947270
you don't
>>
>>56947161
The user isn't looking or this program's output is directed somewhere other than a terminal.

Or stdout has been freopened to point to some file.
>>
>>56947161
The user is blind. The user has been killed by a robot. The user has been vanned for child pornography.

Three things that come to mind.
>>
File: 1472705157928.webm (798KB, 426x426px) Image search: [Google]
1472705157928.webm
798KB, 426x426px
>>56947299
North Korea has to have a pretty limited IP range. What would happen if you scanned standard proxy ports on the IP range?
>>
>>56947236
-1 is not a valid FILE *, you know.
I think you're confusing it with file descriptors.
>>
Is the ++ in C++'s name responsible for 90% of its success?
>>
>>56947492
No. The 'C' in its name is responsible for it's apparent success.
>>
Why is
<ctime>
such a clusterfuck
>>
>>56947510
this
>>
>>56947516

Because C++ + POSIX time handling is shit, and the fact that it is behind the C standard on updating its header.

C++17 will update ctime.h/time.h to the C11 variant with timespec_t and there is also chrono.h which is what I expect C++ users will start using for time except for legacy code interfacing and other weird stuff.
>>
>>56947516
Use <chrono> instead of C's shitty legacy.
>>
>>56947608
std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::seconds(10))
>>
Okay so I know how to do diffie-helman but how do I actually USE the shared secret to encrypt data?
>>
>>56947709
auto dicks = 10000ms;
>>
>>56947733

Your shared secret is now an AES key.
>>
>>56947794
To expand:

Let's say the DH maths gets you 31957975350553918788706570134238765169.

Now write that in hex:

180ae1d5d339bff86bcd79686ec3a071

Just kind of consider that a binary string. It'll be 16 bytes long, the exact length of a 256 bit key.

But you probably wouldn't use it directly. You would turn it into a encryption key/authentication key, something like this:

HMAC-SHA256(key, 'encrypt')
HMAC-SHA256(key, 'auth')

Now you have an AES key, and an HMAC authentication key.
>>
>>56947709
Or you could even combine literals with a custom function wrapper:
#include <chrono>

using namespace std::literals::chrono_literals;

using _ms = std::chrono::milliseconds;
using _s = std::chrono::seconds;

template <typename T, typename U>
constexpr decltype(auto) convert(const U &value)
{
return std::chrono::duration_cast<T>(value);
}

static_assert(10000ms != convert<_ms>(10s), "uh oh");
>>
I'm reading up on SSE instructions. They say that everything needs to be 16 bit aligned, but doesn't the compiler automatically align every on a 32bit boundary?
>>
>>56947854
>They say that everything needs to be 16 bit aligned,
Get your eyes checked.
>>
>>56947843
>>56947709
Is this Java?
>>
>>56947865
That's C++.
>>
>>56947864
But that's what they say pretty much everywhere
>>
>>56947865
That is what idiomatic C++ really looks like.
It's fucking disgusting.
>>
>>56947874
Your eyes must be broken.
>>
>>56947854
do you mean 16 byte?
>>
>>56943607
>What are you working on, /g/?
Trying to manipulate the DMA engine on an Intel SSD to write into remote RAM through an NTB.
>>
>>56947877
>>56947864
>le fooney "git yer I's checked" meme xDDDD
>>
>>56947709
You do realize that most duration conversions are implicit, right?
>>
3dpd!
>>
>>56947794
>>56947840
I see, I can use the shared key as an input to literally anything right?
Are there any good resources on the workings of AES?

Also FUCK these capchas, I swear hiroshima is forcing me to buy a fucking pass.
>>
>>56947922
>can use the shared key as an input to literally anything right?

Yes, but note the length of that key is constrained by the length of your DH modulus. This is why HKDF I described exists, you probably can't negotiate a 512 bit key in one go.

Your platform probably has openSSL bindings for AES. It will make you choose a mode - CTR is currently a favourite. Make sure to use a unique IV.
>>
File: 9999.png (2KB, 972x431px) Image search: [Google]
9999.png
2KB, 972x431px
i have a huge sql dump to analyze with R.

any tutorials or tips in how to make this?
>>
>>56948123
It already exists and It's called "gb2reddit".
>>
>>56948138
Reddit is full of frogs
>>
>>56948055
Do you need the output to be pretty?

What exactly is your deliverable?
>>
File: 1399680217187.png (112KB, 840x594px) Image search: [Google]
1399680217187.png
112KB, 840x594px
ded thret
>>
>>56949008
It's just now 6AM in the heart of Freedomville; it picks up when us burgers start to wake up.
>>
Ask your much beloved programming literate anything (IAMA).
>>
I want to learn python. So I could buy this book for $60. Or I can download it for free on libgen.

hmmmm
>>
File: 1399681586208.png (355KB, 484x595px) Image search: [Google]
1399681586208.png
355KB, 484x595px
>>56949066
>when the book is 700 pages
>>
>>56945569
>Why aren't you using Xamarin?
But I am.

Coming from someone who used to do Java/Android dev, this shit is going to completely spoil me forever.

I can't go back to Java now.
>>
>>56949066
which book? for better or worse dive into python got me into programming way back when. i think it's still free

>>56949102
computer science has a real problem with this. everyone wants to be encyclopedic
>>
>>56949159
https://www.amazon.com/Core-Python-Programming-Wesley-Chun/dp/0132269937
>>
>>56949159
I've recently been reading the Synthesis Lectures on Computer Architecture and that's really good. Each book is between 100 and 200 pages.
>>
>>56943607
How do you learn how to program?
tfw i know nothing about computers
>>
>>56949168
thanks, i'll take a look later. always good to have better recommendations ready for friends
just buy a copy when you make it big. the guy has a steady job anyway

>>56949181
this is interesting, thanks. coming from outside computer science i have no idea what the good journals/book series are
>>
Does anyone care about POSIX anymore? They only relevant platform that implements new POSIX apis is linux and linux has much better apis. And all other platforms that implement POSIX also have a linux emulation layer.
>>
>>56949190
http://www.robmiles.com/c-yellow-book/

PDF link on page.

Beginning chapters explain programming before you even look at code.
>>
>>56949279
I once tried to look into .net core. But when I opened the website it used 1.5G of ram. And then I stopped looking into .net core.
>>
>>56949301
What does that have to do with anything?

Also, that's like saying I saw a Facebook post about Linux and Facebook spies on people so I hate Linux.
>>
>>56949323
If I can't read the .net core website without swapping, then there is really no point.
>>
>>56949336
they probably don't put their best people on the msdn frontend team
>>
>>56947270
Try this. It's a guaranteed success.

https://paste.debian.net/plainh/83abc53e
>>
>>56949336
At the point, I'm more curious than anything.

What exactly makes you think this website is using 1.5GB of RAM?

https://www.microsoft.com/net/core

Also, why would you bother with .NET Core? It's made for specific purposes, and has limited functionality. You can go cross-platform with Mono.
>>
>>56949374
>What exactly makes you think this website is using 1.5GB of RAM?
Looking at the task manager.
>https://www.microsoft.com/net/core
It was not that one.
>>
>>56949386
Did you compare RAM usage of your browser from immediately before?

How many other tabs were open? How much of that usage was browser overhead? Chrome, for example, will use hundreds of MB in RAM when it has one tab open, depending on your addons.

What website do you think you opened? Can you repeat the issue?

You know, one time I saw the Loch Ness monster, and she even gave me an old-fashioned when I told her I was horny.
>>
>>56949398
Chromium has a built in per tab task manager.
>What website do you think you opened?
I don't recall. Some microsoft blog that announced .net core for linux.
>>
File: NHD-1.27-12896UGC3-front-NOBL.jpg (99KB, 446x455px) Image search: [Google]
NHD-1.27-12896UGC3-front-NOBL.jpg
99KB, 446x455px
Writing firmware for custom remote with full color oled display and BLE. SEPS525 display driver. Pic related. My display.
>>
>>56947424
fire up nmap and see for yourself
it's not like kim will kill you
>>
>>56949876
Just use this:

>>56949370
Much easier.
>>
File: 1454909533365.png (55KB, 571x553px) Image search: [Google]
1454909533365.png
55KB, 571x553px
Learning prolog in uni soon, want to get a bit familiar with it first, any good online guides?

Ta
>>
Making a GUI for someone's ffmpeg python script as a project, trying to scrape up some experience.
>>
Why does powershell suck so fucking much?

[rage]
I hate the fucking syntax and it just sucks as a language. Fucking piece of shit.
[/rage]
>>
>>56949945
Also what implementation is most used?
>>
How do I test something like a "Video" class that juts creates and configures a window?
>>
>>56949992

User error.
>>
File: Article_04_Figure_03.png (13KB, 668x331px) Image search: [Google]
Article_04_Figure_03.png
13KB, 668x331px
>>56949992
I'm sorry, anon, I think you made a mistake in your post. You said "Why does powershell suck so fucking much", when I believe what you meant to say was, "Why does Powershell rule so fucking hard"
>>
>>56950125
Rule. It's disgusting.
Yes, I can use it, but for some reason I hate it.
It's syntax is disgusting. The language itself has all kind of retardation built inside.
I would be much happier with a properly constructed scripting language than this shit.

I can always use C# though (which is more often than not overkill).
>>
>>56949159
cute gooks
>>
inspired by >>56924021 I wrote a C program that takes a binary file and produces a bmp
as you might notice, it works correct only on little-endian machines. it creates a square image. if it created 256 by whatever, then less padding would be required.
it creates a valid bmp header, then writes file data + padding. it works, but feels shitty. any tips?
http://pastebin.com/DRjJm7DC

you can take a zip, convert it to bmp, then convert it to png using imagemagick, post on your favorite imageboard, someone can download it, convert it back using imagemagick and unzip
>>
>>56950163
Idk how that first line got there.
>>
ruby is your name chris?
>>
File: psnet.png (14KB, 844x719px) Image search: [Google]
psnet.png
14KB, 844x719px
>>56950163

You know you can leverage pretty much all of the .NET shit from Powershell, right?
>>
>>56950188

We've done this shtick probably a 100 times, but don't post the images it generates, because the mod (who does it for free) gets very angry about you breaking the rules with """embedded""" data.
>>
>there are people learning algorithms through ruby right now
>>
>>56945325
>http://pastebin.com/T0gn0VhD

> struct card *deck = malloc(sizeof *deck * 52);
wow, sizeof *deck i hope the compiler complains about this but why not sizeof(struct deck)?
>>
File: anal beads.png (16KB, 1067x197px) Image search: [Google]
anal beads.png
16KB, 1067x197px
>>56950163
>I can always use C# though (which is more often than not overkill).
You can use it in interactive mode pretty easily.

I agree with you on PowerShell, but it does do server admin tasks extremely efficiently compared to dicking around with GUIs.

>>56950242
I'd rather leverage all of .NET with C#, unless PowerShell is really needed.
>>
>>56945468
i bet you cannot optimize it faster than your compiler can (as long as you dont use stuff like SSE etc.)
>>
>>56950265
>there are people learning algorithms through ruby right now
Please don't give me nightmares, anon.
>>
>>56950242
Yes, that's why I said:
>I can always use C# though (which is more often than not overkill).

Some of the examples just simply looked disgusting imho.

My main problem is with the syntax (it looks like it was overly fucked by MS to make it look like a muh scripting language) and some of the strange things it has as a language. However looking at newer versions it has some nice things.

It just doesn't click for some reason.

I'll keep using it though. I'll also learn more and more that way.

>>56950324
Hmm. I'll try out C# like that.
>>
>>56945453
Make calculations on GPU. It will make everything incredibly faster.
>>
>>56950324
>You can use it in interactive mode pretty easily.

I prefer LinqPad :^^^^)
>>
File: anal beads.png (20KB, 637x377px) Image search: [Google]
anal beads.png
20KB, 637x377px
Not sure how I'm going to start using this stuff, but I like the idea of creating Actions and invoking them, rather than the procedural "do this, then this, then this" thing.

var time = act((Action x) =>
{
var timer = Stopwatch.StartNew();
x.Invoke();
WriteLine($"Milliseconds taken to run {x.Method.Name}: {timer.ElapsedMilliseconds}\n");
});

var timeall = act((List<Action> action) =>
{
action.AsParallel().ForEach(x => time(x));
});

var longRunningFunctions = new List<Action>()
{
() => Fibonacci(10000),
() => Fibonacci(100000),
() => Fibonacci(1000000),
() => Fibonacci(10000000)
};

timeall(longRunningFunctions);
>>
I wrote a server that plays random /wsg/ webms today.

You can try it at http://78.108.50.220/

Source:
https://github.com/Booom3/Random-Wsg-Webm
>>
File: linus-torvalds-220612.jpg (28KB, 472x368px) Image search: [Google]
linus-torvalds-220612.jpg
28KB, 472x368px
Linus Torvalds said that over 3 levels of identations you are most probably fucking up

what's your opinion?

i think i nest too much
>>
>>56950607
Space bar skips.
>>
>>56950610
It's kind of true, yeah. If you ever have to suffer through writing node you'll see why people warn against it.
>>
>>56950667
I like Node.
>>
>>56950473
Am I really dumb and missing something or is an Action just the same as a function?
>>
>>56950667
what's the best way to avoid it?
flatten everything at 3rd level with && and ||?
>>
>>56950677
Yes.
>>
>>56950674
Eh, different strokes then I suppose. I like a lot of things about Node as well but nested lambdas isn't one of them.
>>
>>56950607
That's pretty cool.

Lately I was thinking about standalone application for playing /wsg/gif/ webms, you could just play random webms or create playlists from threads, searches or saved/favorite(maybe with tags?). There would also be blacklist, option to skip already seen videos etc.
Anyone like the idea? Any suggestions?
>>
anons adventures of scrum and git part n+1: i lost count edition

We had a meeting yesterday. I explained the benefits of rebasing, and the importance of sticking to the workflow; that we *DO NOT* approve our own pull requests. We instead, in line with our workflow, create a pull request and contact QA to review and approve/request changes.

Can someone guess what happened today?
>>
    u64 exp;
if (read(fd, &exp, sizeof(exp)) == -1) {
BUG_ON(errno != EAGAIN);
}

for (size_t i = 0; i < exp; i++) {
timer->cb(timer, opaque);
}

Just debugged this piece of shit for two hours because I forgot the early return in the error case.
>>
File: 1373694480124.png (284KB, 696x542px) Image search: [Google]
1373694480124.png
284KB, 696x542px
>>56950610
>tfw 8 levels of indentation in the linux kernel.
>>
>>56950677
A void function, specifically.
>>
>>56944009
All the pajeet at my job are Python devs. I'm sole the Java dev
Everyday is fucking bizarro day /g/
>>
>>56950744
The girls laughed at you for being such a nerd?
>>
>>56950744
>Can someone guess what happened today?
Considering it's a school project, I'd say you got called an autistic control freak behind your back, and functionally ignored.
>>
Copied from /sqt/ as someone suggested this isn't a stupid question:

Is there any way to determine the size of an x86 instruction without knowing the instruction? I'm trying to make a small-ish disassembler, as i only need to do stuff with jumps and compares and would like to ignore everything else.
>>
>>56950835
>the size of an x86 instruction without knowing the instruction
what
>>
>>56950835
Have you consulted the manual yet?
>>
>>56950817
Well if his groupmates are so keen on actually using scrum and git for the project, it sounds to me that they'd actually want to listen to him instead of "using" git as a sync program instead of a VCS.
>>
>>56950744
>school project
>scrum
>QA review
Anon...
>>
I am learning sicp with python 3.
How well will the knowledge transfer to java and other languages in general?
Is it worth it to re-work them with sicp in the original language?
>>
>>56950854
I don't know if they're "keen" on it, but it is explicitly part of the assignment to use the git workflow that we've had explained to us (and re-explained by me), so we don't have a choice. I doubt they have any better suggestion for workflows, anyhow. Seriously, last project the woman wanted me to mail her code so that she could push it as her own.

>>56950974
It's because we're going out into workplaces very soon, and need to understand how these things work.

Honestly, at this point, I'm going to continue to relay the stupid shit they're doing to our teacher, so that I don't get into trouble for their fuckups. I'm going to demonstrate I understand the course material on my own.
>>
>>56946602
been looking for this oc of mine to save to my new laptop, thanks anon
>>
>>56950835
Sadly impossible. You need to know the number and type of arguments and these depend on the opcode. The "easiest" way is to use the lookup tables provided by Intel in their Software Developers Manual Vol.2 Appendix A.
>>
File: it_just_werkz.png (112KB, 798x547px) Image search: [Google]
it_just_werkz.png
112KB, 798x547px
I was doing stuff on SPOJ, when I saw this.
>>
>>56950744
don't be autistic anon, if you care about it that much make if so you're the only one who can approve pull requests
>>
>>56951047
You say that like I own the git repo, you autistic retard.
>>
>>56951045
yeah, it just allocates whatever the maximum is
I tried one bigint task in java and it peaked at 1300MB or so. Results of other people were similar.
>>
>>56951064
if you're the manager, you should be the one approving pull requests. if you don't own the repo, you're probably not the group leader. don't expect people to follow your retarded honor code when there's nothing making them do it
>>
>>56951083
This.

You either have the authority, or you don't.

Either way, ensure that everything is in writing.
>>
>>56943869
Ty
>>
>>56951083
Tell me more, autistically psychic anon, I'm riveted. What more do you know that I don't?

>>56951101
They were given a task to set up the git repo, invite everyone, give them proper permissions, protect branches that need protection and create a development branch with all dependencies. This was one week ago, and they've not come through on it.
>>
File: neko desu.gif (1MB, 487x456px) Image search: [Google]
neko desu.gif
1MB, 487x456px
How hard would it be to install a debian chroot on my phone so I can program even when I don't have my laptop?

I don't need anything fancy like xserver, just git, make, vim and gcc.
>>
>>56945622
learn how to use IDA Pro, pirate it and install some plugins
I suppose that should be enough to start
also, go to https://webchat.freenode.net/?channels=%23%23re
>>
>>56951145
1) ask in group chat "hey guys the repo's not set up right, i think we're supposed to have one single 'manager' approving pull requests. do you mind if i be that guy? john i know you made the repo so can you go to this page www.github.com/sdflkjwe/change_permissions and give me the ownership so i can change the permissions?
2) Do it yourself

you seem like the kind of guy who gets really worked up over this stuff but doesn't do what it takes to fix it. if you're concerned you're going to get a bad grade in the class, don't let it hinge on them. the only one you can rely on is yourself
>>
>>56945415
Because Pajeet liking Java and C# isn't just a meme
>>
>>56946068
You're a senior sysadmin who writes kernels in his sparetime, right? :^)
>>
>>56951236
I don't think you're following.
>>
>>56951274
i don't think you're going to get a good grade in the class, and then you're going to bitch about how there was nothing you could've done
>>
>>56951321
I think you haven't gotten laid in forever.
>>
>>56951236
>be final project
>project mates don't respond to my messages anymore
>track them down in person
>oh sorry anon we're just gonna drop the class and do it again next semester :^)
>>
>>56945569
any tutorials/manuals/... on how to use Xamarin stuff on linux with VS Code?
last time I tried making an app with it (some month ago or so), I found that, apparently, microsoft is in the middle of moving from .NET 5 to ".NET Code", and that lots of libs wouldn't work... or so I assumed.
is this correct?
>>
>>56951355
Wow, you sure showed him
>>
>>56951425
>him
>>
>>56951184
It's really easy, there are even apps that will download and set up everything for you. All you need is ~8GB external sd and Android phone.

eg. https://www.youtube.com/watch?v=ACsprB0r1pA
>>
Is there a way to program and compile in C++ for Arduino?

I already know C++ and I don't want to learn C if I don't have to.
>>
>>56951425
implying you're not me
>>
File: dotnet-tomorrow.png (98KB, 1581x853px) Image search: [Google]
dotnet-tomorrow.png
98KB, 1581x853px
>>56951370
>is this correct?
They are making rapid changes, and implementing a common library between Xamarin, Mono, .NET Core, and the main .NET.

>microsoft is in the middle of moving from .NET 5 to ".NET Code"
I don't really know where or what you meant by this, but see above.

Either way, developing a Xamarin application on Linux wasn't supported, because Xamarin used to not be free. Because of this, they couldn't consciously fully support Linux users at that pricepoint, so they kept it OSX and Windows only.

The lead dev has said that since it's open source and free now, that a Linux Xamarin Studio is possible.

Technically speaking, you can probably get the SDKs and compile a Xamarin project, but you wouldn't have access to GUI designers and integrations for mobile debugging.

tl;dr
If you're targeting Xamarin, spin up a Windows or OSX VM
>>
>>56951510
arduino ide compiles C++ code
also you might want to download atmel studio
>>
>>56951254
there are plenty of pajeets who do C#
>>
>Place some web content in ~/public_html and see the results at http://localhost/~username

what did they mean by this? following https://wiki.debian.org/LaMp
can someone provide me an example of web content so i can test?

this is what i currently see
>>
>>56951707
I think you've misunderstood the post you're responding to.
>>
>>56951730
>LAMP
>not using NURP
>(Nginx, Ubuntu, Ruby on Rails, PostgreSQL)
>>
>>56951783
>not NABD
>(Nginx, Arch, Bash, /dev/null)
>>
>>56951783
>NURP
Ah, yes, give 'em the oooool' purple NURPle web stack, Chef John.
>>
C++ primer is good book to expand my knowledge right

also programming music:

https://www.youtuberepeater.com/watch?v=KA6wVcHu1kY
https://www.youtuberepeater.com/watch?v=r-YNlXXG0jY
>>
>>56951520
>developing a Xamarin application on Linux wasn't supported, because Xamarin used to not be free. Because of this, they couldn't consciously fully support Linux users at that pricepoint, so they kept it OSX and Windows only.
ah, yeah, the traitorous mexican faggot that created GNOME and then sold out to microsoft...

>I don't really know where or what you meant by this, but see above.
I don't really know the difference between ".NET" and ".NET Core". like, why tf are you naming shit similarly, microsoft?

>If you're targeting Xamarin, spin up a Windows or OSX VM
OK, thanks a lot m8
>>
>Afterwards, point your browser to http://<SERVERIP>/test.php to start using it.

what's the server ip? how do i find what it is?
>>
If I want to go to school for software development, should I just learn C or Python or some shit to get a headstart?
>>
>>56951954
lol dude
>>
>>56951960
read SICP
>>
>>56951954
is it on your own computer? http://localhost/test.php
>>
>>56951966
lol me later, i tried replacing it with 127.0.0.1, 0.0.0.0 and not replacing it at all, for now just tell me what to do if you will
>>
>>56951978
arigato sumimasen
>>
>>56951872
>https://www.youtuberepeater.com/watch?v=KA6wVcHu1kY
>youtube repeater
>youtube has loop option
>>
>>56951872
I like this

https://vhsglitch.bandcamp.com/track/programmed-to-kill-single
https://www.youtube.com/watch?v=VNnHa-PY3t8
https://www.youtube.com/watch?v=1vcgW0-tdWE
>>
>>56951872
https://www.youtube.com/watch?v=ZQoJvI8XUa0
>>
i followed the instructions to install phpmyadmin and it's telling me

>Go to http://<SERVERIP>/phpmyadmin/ to start using it. (Use the IP or name of your PC/server instead of <SERVERIP> (The localhost IP is always 127.0.0.1).)

but when i go there it says
>Not Found
>The requested URL /phpmyadmin/ was not found on this server.

did i do something wrong?
>>
>>56952076
ok nvm i got it working, it said

>To have access to phpMyAdmin on your website (i.e. http://example.com/phpmyadmin/ ) all you need to do is include the following line in /etc/apache2/apache2.conf (needed only before Squeeze, since 6.0 it will be linked by the package install script to /etc/apache2/conf.d/phpmyadmin.conf -> ../../phpmyadmin/apache.conf automatically):

>Include /etc/phpmyadmin/apache.conf

which i didn't do because it said it was needed only before squeeze and i'm using jessie, but i did it and it works now
>>
>>56951999
eyem lazy

>>56952036
heresy
>>56952031
kenjiro would make a great gym coach
>>
/!\ A L E R T /!\

new thread

>>56952169
>>56952169 >>56952169
>>56952169 >>56952169 >>56952169
>>56952169 >>56952169
>>56952169

/!\ A L E R T /!\
>>
i have no ideas what do to

i know webdev stuff, not really interested in building websites. last project was a small twitch.tv chat bot in node.js
>>
>>56950334
its not that hard to beat a compiler when you know your subject well enough
Thread posts: 326
Thread images: 39


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