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

File: 1468261873069.jpg (123KB, 960x540px) Image search: [Google]
1468261873069.jpg
123KB, 960x540px
Previous Thread: >>55666624

>you will never code with cameron
edition

What are you working on, /g/?
>>
>>55671121
I hope no one sees this. I don't understand what lambda functions are.
>>
>>55671142
think of them as function literals
>>
>>55671142
Lambdas are for hipsters. OOP is for true developers.
>>
>>55671121
Has anyone masturbated with one of these big floppies?
>>
How do I get a job?

I have a few small scale projects and more are on the way but how do I leverage that into getting employed?
>>
>>55671199
Lambdas and OOP aren't mutually exclusive, especially since OOP languages typically have functions anyway
>>
>>55671210
put your projects on github and show it to people, if you're good you'll get a job, if you aren't you'll whine about it on /g/
>>
>>55671233

what is a project i could do that would impress people, but I could reasonably do in like 20-30 hours?
>>
>>55670992
>>55670998
>>55671063
>>55671068

or you could just answer his question

mylist = []
for x in range(0, 1024):
y = random.randint(0, 1023)
>>
>>55671272
idk make a clipboard manager for windows, that's like 2 hours, every single clipboard manager for windows is absolute shit, i wanted to shoot myself when I was using windows
>>
>>55671273
it was answered you fucking stupid pajeet retard shit
go kill yourself you waste of space
>>
>>55671233
Any interesting ideas for stuff anon?

I have a quote getter and a wikipedia searcher and a local weather checker. Nothing too serious. I'm making a calculator and a simon says game as well.
>>
>>55671273
did you or didn't you already know all of the elements in that piece of god? Did you or didn't you? You fucking knew syntax, you knew what it meant and you still couldn't put it together to make the computer do what you want it to do. That's what programming is, and you aren't good at it.
>>
File: 1453653438419.gif (147KB, 850x613px) Image search: [Google]
1453653438419.gif
147KB, 850x613px
>>55671210
I got a job soon after finishing a chip-8 emulator, writing snake and sokoban in chip-8 assembly. Employers eat up anything low-level and foreign to them
>>
>>55671273
You still didn't answer his question cause he didn't want a sample of x integers in y range
>>
>>55671294
do you know JavaScript? You could make a chrome extension that works so when you bookmark a page it looks what bookmark folder that page is found the most and suggest that folder as the first suggested folder in which you will bookmark your new bookmark. The second folder should be the second most common place bookmarks from that particular page go and so on.

Wanted to make this but I can't bothered with JavaScript. It would save so much time though.
>>
>>55671350
I've only used javascript recently. I don't know much but I can try.
>>
File: angry-geek.jpg (146KB, 627x363px) Image search: [Google]
angry-geek.jpg
146KB, 627x363px
>>55671290
>>55671316
>>
>>55671406
Never reply to me again unless you're contributing to the thread.
>>
>>55671325

thanks for the advice anon
>>
>>55671325
this is why I don't believe any of you on /dpt/

You were just posting so many questions asking about a chip 8 emulator a few days ago there is no way you got a programming job a few days after that
>>
I was browsing the Cuda documentation when I came across this page.
>>
File: images.jpg (9KB, 288x175px) Image search: [Google]
images.jpg
9KB, 288x175px
>>55671406
>>
File: 1451677327973.gif (722KB, 245x245px) Image search: [Google]
1451677327973.gif
722KB, 245x245px
>>55671441
what are you implying?
>>
>>55671429
I got this job in mid-March tho

>>55671427
no problem
>>
>>55671441
Those are the good ones.
>>
>>55671491
you just said you got it after finishing the chip 8 emulator which you asked about a few days ago and now you say you got it in mid March

I WANT TO BELIEVE
>>
>>55671418
I did, I gave a helpful and concise answer that was free of sneering and criticisms

You'll have to tell me how insulting someone is more productive

>don't reply to me again unless

Don't act like a child, this board has age limits
>>
>>55671548
so many people were posting about chip-8 since jan/feb. I just made this general after not posting on /dpt/ in months, so I have no idea what's been going on since
>>
How do I get into programming?Been intrested for a while
>>
>>55671564
ok kid
>>
>>55671640
>read few books
>watch few tutorial courses
>code

there you go
>>
>>55671640
Type text and hope it compiles
>>
>>55671640

Find a guide on BASIC. It is a fun and easy, if archaic, language perfect for cutting your teeth without getting in too deep!
>>
How long would it take me to learn enough programming to get some shitty codemonkey job making $20-30k? I don't care if I have to eat ramen, I just want a foot in the door
>and not to be a NEET anymore
;_;
>>
>>55671797
6 months if you ain't retarded
>>
File: 1453653438710.gif (101KB, 940x613px) Image search: [Google]
1453653438710.gif
101KB, 940x613px
>>55671797
5 months for me (4 months python, 1 month applying)
>>
can anyone explain this
bzero((char *) &serv_addr, sizeof(serv_addr));
or the
(char *)
specifically
>>
>>55671861
cast &serv_addr to a char*
>>
File: comfy pig still.jpg (205KB, 1125x1125px) Image search: [Google]
comfy pig still.jpg
205KB, 1125x1125px
>>55671837
>>55671848
suppose I can do 10+ hours a day (I have mild autism and am really good at staying on task)

still a 6-month proposition?
>tfw I can also pretend not to have autism in social settings

also >>55671848 what sorts of projects did you complete while learning/working with python? And does your actual job use python?

Right now I know about basic data structures, objects, APIs, lil bit of python, some objective-c, some swift, I can kinda hack together shitty programs using existing libraries and make them do things, I've been running Linux for like 3 years so I've got some terminal/bash/whatever experience, I know a little bit of Big O/algorithmic complexity stuff

I can write some calculator.app type shit basically

how many months of your estimate does this cut off if any?

thanks guys
>>
>>55671861
it holds the address of serv_addr, and tells the compiler it is an address holding a char type
>>
>>55671861
ancient code, use memset instead.
(char *) is a cast.
>>
>>55671894
2 months of studying and you'll be good
>>
>>55671894
>suppose I can do 10+ hours a day
I didn't do as much, though I updated my github almost everyday during that time

I also finished a brainfuck/ook interpreter, virtual machine implementation of the specs posted on challenge.synacor.com, hold top 10% on codeeval (very easy to do since few people have done more than a few challenges), finished a web scraper for my old job (as a side hobby, as it wasn't programming) and for 4chan (obviously, I didn't tell them)

Yes my job is in Python, and also Django, though I came in with no Django experience. Just with my portfolio, I answered 'I don't know' to half the interview questions and still got in

6 months is doable if you're focused

tbf I also have been using C the past 10 or so years, that may have given me a slight advantage, though we don't use C here
>>
>>55671947
how much a year?
>>
>>55671912
I see thanks, I didn't make the code, just reading from http://www.linuxhowtos.org/C_C++/socket.htm
>>
>>55671946
>>55671947
>2 months
>6 months
oh god

can I average these and assume that four months full time is a safe bet?

>I didn't do as much, though I updated my github almost everyday during that time

thanks for the tip, I suppose I'll start doing that.

I have anxiety about committing shitty code, should I just do it anyway?
>>
>>55671963
I'm not saying while I'm still in probation lol
>>
File: Untitled-2.png (182KB, 1242x1249px) Image search: [Google]
Untitled-2.png
182KB, 1242x1249px
I created a neural network that given an input of 10 Dota heroes participating in one single match tries to predict how many last hits each will have at 5 minutes.

I used replay data for training from here - https://kaggle.com/join/coursera_ml_dota2_contest - about 100000 replays.

My model has an embedding layer that maps hero id (there are about 100 heroes) to a vector of 16 dense values, which produces 160 float values from 10 hero ids at input.

Then I have densely connected layer with 256 nodes and sigmoid activation.

Then I have an output layer with 10 nodes and no activation.

Loss function is mean square error. I use Keras to train the network.

I'm not really sure about how well it does with predictions.

What is amazing about it is t-sne visualization of embeddings.

It created very, very strong groups of heroes in dota - and it did that from just data about how many creeps each of 10 heroes in a match killed at 5 minutes.

I now want to try playing with embeddings sizes and also want to try training it on other inputs (bought items instead of heroes) and other outputs (XP, gold, hero kills).
>>
does anyone have a good tutorial for network programming in c for linux
>>
>>55671980

understandable
>>
>>55671979
>should I just do it anyway?
yes

I'm 6 months cause I don't have a degree. Do you have a degree? It might not even take you a month if so
>>
File: comfy pig 3.webm (2MB, 960x720px) Image search: [Google]
comfy pig 3.webm
2MB, 960x720px
>>55671946
>>55671947
Is there a curriculum I should follow somewhere? Something that tells me the big points to touch on? I know I need to basically just code more but I don't want to blindly work on worthless projects for 6 months and be no farther ahead of where I am now

- algorithms
- searching, sorting
- big O
- getting familiar with libraries/whatever relevant to the job/specific field
- design patterns
- ???

would really appreciate any suggestions here
>>
>>55672013
Some college / no degree, no advanced math
>>
>>55672021
>blindly work on worthless projects for 6 months
just do shit that's interesting

employers probably couldn't care less about the same old code monkey
>>
>>55672000
Beej's guide to networking.
>>
>>55672021
>- getting familiar with libraries/whatever relevant to the job/specific field
>- design patterns
>>
>>55672080
are you greentexting these because they're wrong? I don't know what I'm doing ;-;
>>
>>55672084
>
>>
>>55672052
alright thanks
>>
File: thanks th-thanks.jpg (11KB, 250x249px) Image search: [Google]
thanks th-thanks.jpg
11KB, 250x249px
>>55672126
>>55672080
>>55672084
>>
>>55672084
Design patterns are a meme and learning a library is as simple as reading the manual/tutorial the first time you need it.
>>
            SHELLEXECUTEINFO sei = { sizeof(sei) };


Can someone explain to me what's going on with this initialization? The brackets? Initializing to it's own empty size? Wut
>>
>>55671998
how are you not sure how well it does with predictions? you should have taken 5-10% of your data and reserved it for a validation set and only trained with the rest of the data
then you can test it by how well it does on the validation set
>>
>>55672151
I see. Can you suggest anything I should add to my little list then?
>>
>>55672170
May I suggest a book? It talk about all the 3 first things you said. It's called "Introduction to Algorithms" by MIT Press.
>>
>>55672212
I'll definitely check it out, thanks. Can you suggest any additional bullet points / main topics?
>>
File: Untitled-3.png (163KB, 938x875px) Image search: [Google]
Untitled-3.png
163KB, 938x875px
>>55672156
Well, I do that, but I have no idea how Keras handles predictions. It outputs some value, but it seems bogus. I couldn't even find what it means in documentation.

When I used Tensorflow, I had to define what accuracy is myself. If hero has 25 last hits and model predicted 24, that's pretty accurate. In keras there's doesn't seem to be a way to define what accuracy is and I couldn't even find how it's calculated.

Here's some output:
97115/97115 [==============================] - 0s - loss: 24.1759 - acc: 0.3793 - val_loss: 25.8611 - val_acc: 0.2900
Epoch 473/500
97115/97115 [==============================] - 0s - loss: 24.1727 - acc: 0.3791 - val_loss: 25.7853 - val_acc: 0.3300
Epoch 474/500
97115/97115 [==============================] - 0s - loss: 24.1629 - acc: 0.3795 - val_loss: 25.8477 - val_acc: 0.3100
Epoch 475/500


acc of 0.3795 means the model guessed about 38% of output values, so that seems pretty bad, but since I have no idea what keras considers to be accuracy, I can't interpret it.

Here is a visualization with tow densely connected hidden layers instead of 1. Doesn't seem much better sadly.
>>
>>55672153
The first value of the SHELLEXECUTEINFO structure/array is its own size and the rest is initalised to 0.
>>
>>55672153
int sei = sizeof(sei);

I don't see the problem
>>
>>55672288
>int
why?
>>
>>55672230
scratch that noise! just read this book Practical Programming An Introduction to Computer Science Using Python 3
>>
I have a data structure with name, information, time to complete. What should I name it? Can't really name it activity since it's a lagdroid app, was thinking task/action/step but that doesn't seem to click.
>>
>>55672331
will do
>>
Does Codeblocks support project-wide refactoring?
>>
>>55672345
TaskDescriptor
>>
opinions on this book?

http://interactivepython.org/courselib/static/thinkcspy/index.html
>>
>>55672382
also for python

>https://www.youtube.com/playlist?list=PLGLfVvz_LVvTn3cK5e6LjhgGiSeVlIRwt

>https://automatetheboringstuff.com/
>>
>>55672267
I see. Weird.
>>
>>55672400
just torrent Think Python O'Reilly

that interactive shit is all broken you'll see as you go along
>>
File: Untitled-4.png (162KB, 1033x1009px) Image search: [Google]
Untitled-4.png
162KB, 1033x1009px
If I train the model to predict experience instead of last hits, the visualization is much more predictable.
>>
>>55672241
you want to cross-validate
so instead of taking 5% of your data aside and then testing with that at the end you do 10 experiments with a random 5% taken away each time and then average together your accuracy overall

well loss 24.whatever means the mean square error between what your network predicts and what is the reality is about 24, which is also pretty shitty

an accuracy that low means just looking at the 10 heroes in a match does a bad job predicting so try to correlate some things and bootstrap multiple inputs together

cool stuff tho anon! the fact that the heros end up being grouped is interesting and means you're somewhat on the right track : )
>>
>>55672573
>a random 5%
the better way is to do full LOOCV
>>
>>55672482
elder titan, earth spirit, oracle, phoenix are supports though
>>
how hard would it be to program a much better league of legends game
>>
>>55672618
>phoenix
>anything but an awesome pos 3 offlaner

kill yourself
>>
>>55672573
>well loss 24.whatever means the mean square error between what your network predicts and what is the reality is about 24, which is also pretty shitty
Eh. sqrt(24) ~= 5; out of maybe 100 last hits total I'm off by 5. I wouldn't call this loss shitty.

I could define my own accuracy function and calculate it after training the model, but I don't need it anyway - I don't want those predictions, I just want trained hero embeddings which I would use in a bigger model.

>>55672618
I often see them as offlaners which puts them between core and support position. Considering they are sometimes full supports and sometimes offlaners I think they fit pretty nicely in the picture.
>>
>>55672606
for training a neural net with 500 iterations and a dataset of 100000? only if you have a cluster of k1's and a whole lot of spare time
>>
>>55672668
>>55672674
both of you plebs at dota

what are your mmrs I bet 1k scrubs
>>
>>55671640
Read SICP
>>
>>55672674
sry, i was going off your example of 25 last hits +/- 5 is 20% lol
you may want to see what the default parameters are for your training methods to see what kind of limits are in place for both the training and accuracy
>>
>>55672699
my mmr is xK, x > your mmr
>>
>>55672715
K = 0
>>
File: lua.gif (5KB, 256x255px) Image search: [Google]
lua.gif
5KB, 256x255px
If lua is so much faster than python thon and ruby, why is it not used instead of them, particularly for business?

Seems like it's as easy to write, and faster, I'm not seeing the down side
>>
>>55672753
The libraries and tools are already written in Python and Ruby. Switching to Lua would be a lot of money in investment and time in development.
>>
>>55672753
Lua is incredibly simple and not as expressive as Python or Ruby.
It also doesn't have as much of a strong eco system.
>>
File: Untitled-5.png (154KB, 685x521px) Image search: [Google]
Untitled-5.png
154KB, 685x521px
By the way, here are embeddings generated by the big model - one that tries to predict from a lot of data from 5 minutes of a replay which team is going to win.
There are some meaningful groupings, but generally embeddings seem much less organized than specialized embeddings I generated using small models previously. After i find a set of embeddings that satisfy me I plan to place them into the big model and make them untrainable. Right now I predict that outcome of match with 70% probability on a test set.

>>55672699
I'd like us to continue this discussion with emphasis on neural networks and not dota.
>>
>>55672753
it has a jit
>>
>>55672795
sure post your code of how you set up the neural networks and we can discuss your method of how you are doing it
>>
>>55672828
So what
>>
>>55672753
Lua has tons of downsides.
Also, both python and ruby suck.
>>
i dont know if this question belongs here or not, but how intimidating at technical interviews? i am scared I will fail the question and wont be able to solve it. been doing leetcode and hackerrank and failing on a lot of the problems.
>>
>>55671121
Noob question. How the hell do I use gcc, and why the hell is there no man page for such a popular compiler?
>>
>>55672877
>leetcode
Those questions on those sites are much more difficult than interview technical questions are basic cs101 homework questions such as

Fizzbuzz

reverse a string

fib seqeunce

string and array processing and manipulation

etc any of the famous ones
>>
>>55672877
Not that hard if you git gud
>>
>>55672877
>been doing leetcode and hackerrank and failing on a lot of the problems.
Maybe you aren't a good programmer and you should fail the interview because the point of interviews is to filter out shitty applicants.
>>
File: Screenshot_2016-07-20_17-56-43.png (1MB, 1602x899px) Image search: [Google]
Screenshot_2016-07-20_17-56-43.png
1MB, 1602x899px
>>55672916
Looks like one to me

Also google it m80, there's probably thousands of tutorials
>>
File: ss+(2016-07-21+at+01.54.07).jpg (80KB, 609x709px) Image search: [Google]
ss+(2016-07-21+at+01.54.07).jpg
80KB, 609x709px
This is probably last for today because if I stay up any longer no alarm will wake me.

Those are embeddings from model that tries to predict gold, XP, and lasthits at 5 minutes.
I especially like how it puts Lich and Alchemist away from the rest since they have dedicated abilities for getting XP and gold.

>>55672839
I don't think the code matters here, since we're dealing with neural networks, but since you asked, here's code for embeddings generation: http://pastebin.com/NuM9F2YZ
And here is source data and visualization code: https://mega.nz/#!FBVGEJqb!TXXd8l2TQh9OzKe7KmsZlzzG_FXEoKwcEU2ktpYWYlU
>>
>>55672922

i can do the things you listed.

one of the problems i couldnt do was longest palindrome in a string. wanted n^2 time and i was like shit. i dont know how to do that. then i looked online and apparently there is linear time.
>>
    OpCapability Matrix
OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint Vertex %1 "vmain"
OpEntryPoint Fragment %2 "fmain"
%3 = OpTypeVoid
%4 = OpTypeFunction %3
%1 = OpFunction %3 None %4
OpFunctionEnd
%2 = OpFunction %3 None %4
OpFunctionEnd
>>
>>55673048
What the fuck is that?
Why can't you count anon (3, 4, 1, 2)
>>
>>55673032
first you would have a method that checks if a string is a palindrome then you would have to break each word in the long string into an array of strings if it is a palindrome and have a max length counter etc

Your best option is just go to a bunch of interviews and do technical questions to see for yourself
>>
Why am I getting stuck in an infinite loop in C++?

        

bool status = get_status();
while (status != true) {
status = get_status();
}


Even when 'get_status' returns True, my while loop doesn't break. What's going on?
>>
>>55673092
>Even when 'get_status' returns True, my while loop doesn't break
Yes it does
>>
>>55673048
Nigger are you writing raw spirv?
Why?
>>
float StF(const std::string &vString)
{
float value=0, decimalOffset=1;
for(int n=0, decimal=false; n<vString.size(); n++)
{
if((vString[n]=='-')|(vString[n]=='.'))
{
if(vString[n]=='.')decimal=true;
n++;
}
if(decimal==true)decimalOffset*=10.0f;
value=(value+(vString[n]-'0'))*10.0f;
}
value/=10.0f*decimalOffset;
if(vString[0]=='-')value-=value*2.0f;
return value;
}

std::string FtS(float fVal)
{
std::stringstream ss (std::stringstream::in | std::stringstream::out);
std::string value;
ss << fVal;
value=ss.str();
return value;
}

What is a not shit way to convert a string to a float? Pls no bully.
>>
>>55673178
>What is a not shit way to convert a string to a float?
Use a real language
>>
>>55673188
What's a real language?
>>
Given a positive integer num, write a function which returns True if num is a perfect square else False.


public class Solution {
public boolean isPerfectSquare(int num)
{
double sqrt = Math.sqrt(num);

if(sqrt * sqrt == num)
return true;

return false;


}
}

>>
[/code]
#! /bin/csh

#include <stdio.h>
main()
{

printf("hello world\n");

}
Why am I getting a Badly placed ()'s. error? using csh.
>>
>>55673205
csh is NOT a C interpreter, you know.
>main()
>no int
Don't do this.
>>
>>55673203
ops I meant


int sqrt = (int)Math.sqrt(num);



casting is dumb
>>
>>55673215
So my problem is that I need to void main, and run this through an interpreter first?
>>
>>55673240
No, the problem is that you're trying to push standard C code through csh.
>>
>>55673203
return( sqrt * sqrt == num );


do not waste computation over stupid shit
>>
>>55673178
You mean, like "45.1" -> 45.1?

>>55673201
Racket
(string->number "45.1") ;=> 45.1
>>
>>55673203
This is exactly the stupid shit I would expect from a java monkey
>>
>>55673279
No idea what you are talking about I am a Java programmer
>>
>>55673215
"The C Shell (csh) is a command language interpreter..."
Explain this.
>>
>>55673286
Yes.

I'm not using a different language though. I'm just looking for an easier way to do it with C++. I'm sure the way I have done it is incredibly basic and not efficient in the slightest.
>>
>>55673294
>a command language interpreter is automatically a standard C interpreter
Are you retarded?
>>
>>55673292
fuck off programming nazi
>>
>>55673313
yes, sorry
>>
>OOP
>>
>>55673203
function isPerfectSquare(a) {
return (Math.pow(Math.floor(Math.sqrt(a)),2) == a)
}
>>
File: 1458708472634.png (154KB, 430x540px) Image search: [Google]
1458708472634.png
154KB, 430x540px
>>55673442
>FP
>>
>>55673092
bool status;

while (!(status = get_status()))
;
>>
File: Programming Shelves.png (952KB, 2100x1400px) Image search: [Google]
Programming Shelves.png
952KB, 2100x1400px
>>55673474
name two things wrong with FP

>you can't
>>
>>55673508
1. I suck at it
2. I really suck at it
>>
>>55673506
for (; !status; status = get_status())
>>
>>55673508
name 5 things wrong with Java OOP pro tip they will all be meme reasons
>>
>>55673579
It's OOP.
That is the only reason that is needed.
>>
Is my resume shit? I want to be a software engineer, and I just graduated from college with no internship or prior experience because I was dumb. Tips?
>pls respond
>>
File: 1448669112662.jpg (3MB, 2560x2880px) Image search: [Google]
1448669112662.jpg
3MB, 2560x2880px
>>55673611
>UNC
>Microsoft Word
>Eclipse
come on
>>
>>55673659
lel wasn't sure if I should include this or not; I saw sample resumes that had MW and/or Eclipse / other IDEs
>>
>>55673611
you are fucked my man your only chance now is to have a github of all your personal projects
>>
>>55673611
BA? Nigger what the fuck
>>
>>55673683
Do people really put their text editor on their resumes?
>>
>>55673687
Yeah the only problem is I don't know what to make. I don't know what I'd be able to do that would be impressive, considering most stuff gets made by groups and I don't see how I could compete with that.

>>55673706
The BS required introductory physics and Linear Program, both of which I thought were a waste of time. I figured I could take more comp sci classes instead rather than learning shit I'd likely never need or mathematics I could easily teach myself (and have).

>>55673716
I saw Microsoft Word on some. I don't know what I should put down for "applications", which I've seen lots of resumes have. Should I just purge Eclipse and MW?
>>
hidden markov models are pretty cool.
>>
>>55673611
what was the "serious games" course about?
>>
File: MAlxz1a.gif (2MB, 400x400px) Image search: [Google]
MAlxz1a.gif
2MB, 400x400px
Hello /dpg/

So I have this game i'm working on and one of the features of the game is that a character can have an item. I have an item class with some basic properties, with the most important being how much the item is worth (this is somewhat of an economic game).

Anyway just wondering what is the best way to store the information to load into item constructor?

Like if I have an apple item with a value of 2, where should this information be kept to load into the constructor to generate an apple item.
>>
>>55673794
Group of four worked on developing a "serious" game, i.e., a game that is supposed to be instructive or rehabilitative in some capacity. So, something like Brain Age, or a game that teaches/tests medical students understanding of different concepts, would qualify. The one my group ended up making was a Marketing simulation where you were to design different marketing strategies for a fictional hotel. Pretty neat class
>>
>>55673816
>if I have an apple item with a value of 2, where should this information be kept to load into the constructor to generate an apple item
create a database file that sits in your games folder, or in a data folder inside that folder
load this file at the start of a game

most games these days ship their data files in a proprietary compressed format, but you should start with a basic sqlite database file
>>
>>55673830
i would have done a sex ed game hehe.
>>
I'm learning Python, but it's going very slow. Reading the tutorial.
>>
File: slow and steady snek.png (31KB, 778x219px) Image search: [Google]
slow and steady snek.png
31KB, 778x219px
>>55673900
>I'm learning Python, but it's going very slow.
>>
>>55673755
>Should I just purge Eclipse and MW
I would purge Eclipse and instead of MW put Microsoft Office.
>>
>>55673981
>Interpreted vs Compiled languages
>>
>>55673611
It looks ok. Few things:

>Remove Microsoft Word and Eclipse, obviously
>Remove Unity and Photoshop. You can add Unity back in if applying to a game dev position
>Remove the language list and leave only 2 at most. The people looking at your resume know you're a fucking liar and only know a bit of 1-2 languages because you have zero experience. If you want to list more languages put them in a "Languages: Some experience" section
>Put Windows into Platforms section. Nobody wants to hire a huge autist with no normalfag Windows experience
>Remove "Serious Games"

the relevant experience section is good but it would be better if you could shorten the first one and add a third big project
even better if you replace the second one with a better project.
>>
>>55674023
I edited out the compiled python tests :-)
>>
How do I leave the initialisation empty in a for loop in C++?
    for (void, i > 0, i--) {
int number;
string name;
cout << "Give me a name... ";
cin >> name;
cout << "Give me a number... ";
cin >> number;
Thing me(name, number);
cout >> "i am " >> me.name >> " the " >> me.number >> "\n";
}

What goes in the place of "void"?
>>
>>55673981
I don't want to use Python for high performance programs, for this I'll use C.
I want Python to quickly write some prototype programs that will test if my ideas even make sense, before I get down to programming them in a more efficient language.
>>
A cricket match sim. Almost done.
>>
>>55674057
Literally anything but i.
>>
>>55674057

for (; I <m:I++)
>>
>>55674057
if you don't define i earlier in the scope or in a global scope, then you can't compile this, but this is how
for (; i > 0; i--){
>>
>>55674082
>>55674077
Cheers
>>
File: 1468788876941.jpg (121KB, 1200x675px) Image search: [Google]
1468788876941.jpg
121KB, 1200x675px
>that urge to change one variable name to something less concise just so all of them have the same length
>>
What the fuck is a monad?
>>
>>55674115
>re:zero is an advertising campaign for Visual Studio's Edit and Continue
>>
>>55674121
A functor m for which there exist functions
return :: a -> m a
join :: m (m a) -> m a
>>
>>55674121
A functor that implements flatmap
>>
when will the functional paradigm stop being a meme and go away forever?
>>
>>55674125
Contain yourself Pajeet.
>>
>>55674153
Maybe when every new language stops taking increasingly more features from it.

:^)
>>
>>55674138
>>55674153
What the fuck is a functor?
>>
>>55673508
working around the predisposition toward purity/immutability (as required by the majority of real-world software) is unintuitive and defeats the purpose of a compiler designed for purity/immutability. everything has its strengths and weaknesses fampai. that's why there are languages like (modern) C++ that effectively blend imperative/mutable and FP concepts. they're not mutually exclusive
>>
>>55674153
It will only get stronger because of multi-threading.

>>55674176
I have no idea.
>>
>>55674002
>>55674024
Thanks for the help, guys.

Regarding the "Relevant Experience" section...
So, the only other project I've worked on was a game developed in Unity, and it was all in JavaScript, like the first one. It utilized some OO paradigms, but I don't know if that's enough to justify it.

I wanna do my own project, but the problem is I don't know what to do.
>>
>>55674176
A mapping between categories
e.g. in most languages
A type constructor F equipped with some function
map :: (a -> b) -> (F a -> F b)
>>
I'm applying for a position as a build engineer specializing in Python. I know the language well but I've never done any build engineering. Can you guys think of any useful stuff to research? It seems pretty simple but, again, I don't know much about it so I don't want to get cocky.
>>
>>55674194
I doesn't matter what is is or whether or not you think it's significant. What matters is whether or not you can make it sound like you're the next Turing for doing it.
>>
>>55674204
Give me some implementation examples, please.

Is zip a functor?
>>
>>55674136
>>55674204
why do haskell autists think a type signature is an appropriate explanation of anything
>>
>>55674136
>>55674138
>not mentioning monad laws

>>55674121
read learn you a haskell

>>55673203
def is_perfect_sq(n):
return (n ** .5).is_integer()
>>
>>55674227
no, but ZipList is. Technically functions (
((-> r) a)
) are functors too, but doubt that's what you were asking.
>>
>>55674227
type List a = [a]
instance Functor List where
fmap f [] = []
fmap f (x:xs) = (f x) : (fmap f xs)

type Identity a = Identity a
instance Functor Identity where
fmap f (Identity x) = Identity (f x)

type TaggedWithAnInt a = Tagged Int a
instance Functor TaggedWithAnInt where
fmap f (Tagged i x) = Tagged i (f x)
>>
>>55674240
It is an appropriate explanation once you learn Haskell.
>>
>>55674240
>what is the Curry–Howard isomorphism
>>
>>55674219
>What matters is whether or not you can make it sound like you're the next Turing for doing it.
I can definitely do this.

Do you guys know what a good language would be to write a media player or something? I know C but haven't every really worked with C++ -- does C++ have good support for writing a GUI? Sounds dumb, but all of the stuff I've ever done in C has been implementing OS-related programs or cryptographic software. Will I have to revert back to Java to make something with a GUI?
>>
>>55674240
Same reason OOPfags think a class diagram is.
>>
>>55674206
ansible/puppet, jenkins/travis, python packages, PyPI, virtualenv, conda if you want to work in a scientific environment, probably should learn how to use Cython too

protip, apply to climate.com and ask to work on science systems

>>55674194
if you can talk about your project intelligently and can justify your design decisions, that's enough

for your own project what are you interested in? doesn't have to be cs-related
>>
>>55674292
C# would be my suggestion.
>>
>>55674292
use rust, you'll learn the most
>>
>>55674262
>>55674263
I see.
>>
>>55674121

Think of it this way.

You have a data structure and 2 functions. The first function is wrap it takes a variable and returns a function that returns the variable (This is a monadic value). The second function is bind it takes a monadic value and a function that returns a monadic value it then combines the monadic value with the function to return a monadic value. This is a "Identity" monad.

A "Maybe" monad does the same thing as identity except the bind function doesn't execute if the value is null, it just returns null.

The state monad acts like the rest of them except wrap returns a function that takes a state as the parameter.

Explaining monads is a bitch. I don't think anyone has managed to do it correctly and in a understandable manner.
>>
File: 1468745563225.jpg (31KB, 389x550px) Image search: [Google]
1468745563225.jpg
31KB, 389x550px
Mang, this functional fags are always discussing the language features and not the software they've built.
>>
>>55671200
tried but Dick is too thick for it
>>
>>55674378
>implying I've built any software
>>
>>55674305
>for your own project what are you interested in? doesn't have to be cs-related
I honestly would like to write a music player that doesn't have a bunch of extraneous BS that I've seen. I take it from >>55674310 that C# would be a good language to use for a program necessitating a GUI?

>>55674320
How so?
>>
>>55674378
And everyone else is always discussing the projects they'll never finish.
>>
>>55674357
That's because it's a haskell thing I think.

Could this be replicated in Python, for example?
>>
>>55674353
https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Functor.html
>>
>>55674404
Python doesn't really have types
>>
>>55674404
Any language that has a ReactiveX library for it can replicate monads.
>>
>>55674378
>Using language as the ends to the mean and not as the mean to the end

Enjoy debugging spaghetti inheritance mr. Java Programmer
>>
>>55674393
(you)
rust or c# or c++, whatever, pick one and do it well. You can use gtk or qt on any of these (https://github.com/jeremyletang/rgtk for example). GUI should not be how you decide.

with rust you learn how to code safely and think about your control and dataflow, otherwise compiler yells at you. it's like your friend!

it doesn't matter too much which language you pick, just pick one and start.

>>55674415
>statements said on the top of mount stupid
>>
>>55674378
>implying functional languages are applicable to real-world software
>implying functional languages aren't just a masturbatory aid for math majors
>>
>>55674240
because
>when the only tool you know is a hammer, everything looks like a nail
>>
>>55674421
>Anyone who doesn't enjoy jerking off to watered-down category theory all day is a Pajeet-tier Java programmer
>>
>>55674415
>>
>>55674415
Just because a language has type inference doesn't mean it's typeless
>>
>>55674480
>>55674482

Types this dynamic aren't real types.
They're just tags.
>>
>>55674491
You're retarded
>>
>>55674476
Yep.
>>
>>55674447
cons of FP:
>performance

>>55674495
Their they're anon, your a retarded to
>>
>>55674482
>type inference
statements said on the top of mount stupid
reeeeeeeeeeeeeeeeeeeeee
>>
>>55674404

You can there is a actual tutorial on it.

https://www.stephanboyer.com/post/9/monads-part-1-a-design-pattern
>>
>>55674522
>having to specifiy
> - bindMAYBE
> - bindIO
> - bindLIST

>no functions that are generic on monads
>>
>>55674522
nice, now that it's making sense I think I've done something """similar""" with react

>>55674548
That's because it's python I imagine
>>
>>55674587
the same problem comes up in ML too
>>
>>55674587

Yeah, I'm pretty sure there is no way of implementing monads in python without the implementor knowing the type of monad ahead of time.
>>
>>55674280
>>55674283
let f a = a + 6;;
fun f: int -> int

let g a = a + 7;;
fun g: int -> int


By your retarded logic, f = g because their type signatures are the same and we can derive everything about the functions (or at least their behaviour) from that.
In short, go fuck yourselves, you luddites.
>>
>when languages add map filter & reduce and pretend they're functional now
>>
>>55674647
They're a class of functions
Any function with the right type signature (and satisfying the laws) IS part of the class
>>
>>55674647
>because their type signatures are the same and we can derive everything about the functions
Said who?
>>
>>55674652
Don't forget higher order functions, function literals and generators.
>>
>>55674671
You're completely missing the point. A class of functions (nice ambiguous term) doesn't mean all the functions have the same behaviour, as evidenced by my example.

>>55674673
Said the people replying to a post claiming otherwise.
>>
>>55674283
>what is general recursion
>why is it a problem
>>
>got my VM loading the code and data segments correctly
Time to actually start implementing instructions
>>
>>55674719
Please do point out which post claims that type f = type g -> f = g.
>>
Hey /g/, I wrote a program to generate a crossword puzzle. Let me know where there's bad code (I'm sure there's lots of it) and any ways to speed it up.

Thanks!

http://pastebin.com/DAV7FDuR
>>
>>55674744
I'm done entertaining you now. Here's your (You).
>>
>>55674752
That's some ugly looking Java
>>
>>55674770
Happy hacking.
>>
>>55674752
can't test it because i do not use deprecated versions of languages.
>>
>>55674647
Well yeah, you can't get anything out of those signatures. But try this one:
f :: forall a, a -> a

There's only one possible (distinct) function with this signature (or two, if you're using a shit language with partial functions).
>>
>>55674752
>Fortran-style code

Use less fors btw, and look for the new features of the language you're using. You can save a lot of boilerplate shit
>>
>>55674752
You're not closing the file you opened. Use
 with open('file.txt'): # do shit
instead.

Organize your code in classes. Don't use globals.

if doesn't need parenthesis in Python.

Too many nested loops. Break them into more functions and try to use list comprehensions instead when possible.
>>
are a lot of people here familiar with docker? I have been messing with it just confused about some things. For instance let's say I want databases on my local computer but wanted to access them via a docker image. how would i do that? also is there something like a "shared folder" shared between a docker image and a host computer ex where do i put my app files?
I've went through the beginner docs and kind of understood but still haven't really grasped a lot.
>>
>>55674689

Technically a minimal functional language could get away with just these features:

1. Ability to define a function
2. Ability to call a function
3. Parameter substitution

Basically a minimal functional language is equivalent to pure lambda calculus :P.

The rest of the features common in functional languages just make things practical
>>
>>55674827
they're really piling the mt. stupid posts on today.
>>
>>55674752
>>55674819
For instance:

GRID = [[" " for j in range(WIDTH)] for i in range(HEIGHT)]
>>
>>55674873

It's the amount of "Haskell is the best" shilling that has been going on recently.

I'm thinking it's just a couple of them repeatedly posting 24/7.
>>
>>55674911
No one is saying Haskell is the best, far from it.

But learning it greatly improves your way of coding, even in other languages.
>>
>>55674943
Not the guy, but learning io (iolanguage, really) or smalltalk also make you a great programmer.

Why?

Because it makes you understand what is going on. It doesn't throw shit on your face, rather it holds your hand and guide you to know the backbones of other languages, while doing it in a lightweight manner.
>>
>>55674645
You could do it by manually passing a record of monad methods since that is how Haskell does it under the hood anyway, at least where it can't be specialized at compile time
>>
>>55675132
Python values already get passed around with a record of methods, it's called the class dict.
def bind(x, k):
return x.bind(k)

I guess return is the hard one since you need to infer which monad you're in. You can't infer from the bind calls since you can't see what the result type without calling the thing.

I think the way to go is to make bind and return basically build up an AST, free monad style, and decide which monad to actually use when you actually call "run*" (runState, runReader, etc.) on the result.
>>
>>55675240

I've got a gut feeling the performance hit from doing this on a already slow language would nullify any advantages.
>>
>>55675276
Well yeah, no shit. I don't expect it to be useful, but I do think it's possible.
>>
>>55675240
>I guess return is the hard one since you need to infer which monad you're in. You can't infer from the bind calls since you can't see what the result type without calling the thing.
Yes, that's why I suggested record-passing
>>
>>55675276
>>55675304
What about C++? Do templates help in that regard?
>>
>>55675322
Manually threading the record through every one of the continuations would be a pain in the ass. But instead of passing a record around, you can define a sort of trivial monad that just records the sequence of "bind" and "return" calls that the code made, and a sort of "interpreter" for each monad (runState, runReader, etc) that can sort of replay those binds and returns using the bind and return implementations for that specific monad.

>>55675347
I imagine with sufficient template hacks you can probably get the approach I described to be fast. I'm not entirely clear on what that would look like, though.
>>
>>55675347

Abusing the template system it's quite possible. Use a template of <M, u, b> with M being a template, u a factory function (Creates a template of a object), and b is a function that retrieves a object type a from M<a>, applies a function to it, and returns a type M<b>

It's boost library style template abuse to do so.
>>
>>55675347
when C++ gets concepts it will be nicer
for now

template <template <typename> typename F>
struct Functor {
template <typename T>
using tmap = F<T>;

template <typename A, typename B>
F<B> fmap(std::function<B(A)>, F<A>);
/*
std::function<F<B>(F<A>)> fmap(std::function<B(A)>);
*/
}
>>
>>55675524
whoops forgot impl:
template <typename A, typename B>
F<B> fmap(std::function<B(A)> f, F<A> x) {
x.fmap(f);
}



this way F has to provide an fmap function or template instantiation will fail
you can use .fmap on the functor or create functor-generic code using Functor
>>
>>55675524
tmap is there for posterity, and you could pass around a specialised functor, but it's otherwise useless

Functor<F>::tmap<T> = F<T>
>>
File: 1359072223507.gif (868KB, 512x384px) Image search: [Google]
1359072223507.gif
868KB, 512x384px
>>55671848
Chances are p. high that you are using my emulator I dumped on to github.
>>
File: head_first_python.jpg (115KB, 768x888px) Image search: [Google]
head_first_python.jpg
115KB, 768x888px
>>55671121

pic related.
>>
Why is python slow?

>inb4 dynamic
>inb4 interpreted

Java is faster.
Js is faster.
Hell, Lua is faster.
>>
Have you ever written a text editor?
is it easy?
>>
>>55675803
It even has Pajeet on the cover.
>>
>>55675951
It's implementation is overly-complicated. It's a stack-based interpreter instead of a register-based interpreter like Lua. You are also comparing Java, JS, and Lua which all have JIT compilers against CPython probably. You could read why python JIT compilers are hard. There is a discussion on lambda about it between Eich, Pall, and some other kiddos.
>>
Quick question lads.

How many lines of code have you written?
How long have you been coding?

I'm an undergrad and have been coding very passively for about a year and have 7,500 line of code in my Workspace. I probably have another ~3,000 lying all over the place online.

I know Quality > Quantity, but I still just want to compare. I've been doing mostly challenges on websites like HackerRank, Codeeval. etc.
>>
>>55675978
<!DOCTYPE html>
<html>
<body>
<textarea>Welcome to OGedit</textarea>
</body>
</html>
>>
>>55676142
To add CPython's runtime is really wasteful. Perhaps an implementation could be faster if it could inline calls to the runtime to remove most of the redundant safety checks, but shit would be extremely difficult. Not to mention Python's C runtime is > 0.5 million LoC, so porting to a JITable platform would be a herculean effort. The rewards would be immense, but it's well outside of the realm of reality.
>>
Hey guys, im trying to determine the loudness (amplitude) of a .wav file (gsm 6.10 encoded to be precise) But I dont really have a starting point for this. Im using C# and Naudio, but I cant dig up any docs on wav file formats or anything like that. Halp
>>
Post your webmd's of your finished applications
>>
>>55676253
>webmd's
http://www.webmd.com/
>>
>>55676250
>Hey guys, im trying to determine the loudness (amplitude) of a .wav file
this will vary across the file unless its a pure tone at fixed volume
>>
howdy, /dpg/

any guilers present? 2.0.12 just came out:
http://lists.gnu.org/archive/html/guile-user/2016-07/msg00036.html
>>
>>55675978

Depends on how full featured you'd like it to be. Just a simple entry box + save style editor wouldn't be bad. A full fledged useful editor is a bitch.

Here is the git page for one I've been watching.

https://github.com/gchp/iota
>>
>>55675978
Time to make a text editor in Javafx nightmare mode to implement all the difficult language only using OOP everywhere no escape hahahaha
>>
I want to make a Pokemon Go clone where you go around to parks and schools and stuff and kidnap virtual lolis. What's the fastest way to learn mobile app dev and geolocation/AR?
>>
>>55676275
Whoops, I meant at a certain point in time, so I can cut silence out at the end of the file. I have an idea on how I want to do it; checking over the span of like 5-10 seconds and getting an average loudness, and cutting the file if its under a set threshold. I just cant figure out how to actually get a value from reading the file at a certain point.
>>
>>55676359
Any good tutorials,books etc... on JavaFX or should I just learn it bruteforce?
>>
>>55676372
If you do this expect the party van
>>
File: 1445023659746.jpg (35KB, 252x247px) Image search: [Google]
1445023659746.jpg
35KB, 252x247px
>>55676372
>>
>>55676372
>I want to make a Pokemon Go clone where you go around to parks and schools and stuff and kidnap virtual lolis.
talk to that loli kidnapping simulator anon on /agdg/
>>
File: 1467070554775.png (55KB, 217x190px) Image search: [Google]
1467070554775.png
55KB, 217x190px
>>55676372
Simloli Go:
>>
What would be the most difficult thing to program in Java which will make you rage quit programming and never want to program ever again?
>>
>>55676430
emulate pointers
>>
>>55676430

Operating system..
>>
>>55676372
Not if I do it first you're not.

>>55676386
Don't make it sexually explicit and call it a "parody".
>>
>>55676430
>What would be the most difficult thing to program in Java which will make you rage quit programming and never want to program ever again?
an operating system.
>>
Help, the C++ standard library has infested my codebase with STD's.
>>
>>55676430
anything
anything at all
>>
>>55676150
If I counted up the amount of code I've written and compared it to the time I've spent doing something fulfilling like spending time outside or with friends I'd kill myself.
>>
>>55676487
#define condom namespace std
using condom;
>>
>>55676467
>>55676485
Alright lets make an entire operating system in Java who wants to suffer with me?
>>
File: 1468900329618.png (784KB, 899x899px) Image search: [Google]
1468900329618.png
784KB, 899x899px
>>55676430
>rewrite the JVM
>in Java
>>
>>55676503
Kek
>>
>>55676504
First write a bootloader to start the JVM and replace all OS calls in the JVM with hand-written assembler routines. Then I'll help you write the rest.
>>
>>55676430
A linker. Or a C++ compiler.
>>
>>55673659
>>55674002
>>55674024

What is so bad about Eclipse?
>>
>>55676430
A hello world program.

On the console.
>>
>>55676430
Creating a project.
>>
>>55676572
In my experience it acts clunky and buggy as shit. As soon as I forced myself to use IntelliJ for more than 5 minutes I dropped Eclipse like a hot rock.
>>
>>55675444
You also need to record the non-bind or return things
>>
>>55676572
>>>ihateeclipse.com
>>
>>55676536

You might also mention that it is a good idea to write a c library for common os level interactions
>>
>>55676614
No, let him really feel it.
>>
>>55676536
alright here is what I got so far

#ifndef __CDISPLAY__
#define __CDISPLAY__

//
// colors for TextOut func
//

#define BLACK 0x0
#define BLUE 0x1
#define GREEN 0x2
#define CYAN 0x3
#define RED 0x4
#define MAGENTA 0x5
#define BROWN 0x6
#define GREY 0x7
#define DARK_GREY 0x8
#define LIGHT_BLUE 0x9
#define LIGHT_GREEN 0xA
#define LIGHT_CYAN 0xB
#define LIGHT_RED 0xC
#define LIGHT_MAGENTA 0xD
#define LIGHT_BROWN 0xE
#define WHITE 0xF

#include "Types.h"
#include "CString.h"

class CDisplay
{
public:
static void ClearScreen();

static void TextOut(
const char far* inStrSource,
byte inX = 0,
byte inY = 0,
byte inBackgroundColor = BLACK,
byte inTextColor = WHITE,
bool inUpdateCursor = false
);

static void ShowCursor(
bool inMode
);
};

#endif // __CDISPLAY__

// CDisplay.cpp

#include "CDisplay.h"

void CDisplay::TextOut(
const char far* inStrSource,
byte inX,
byte inY,
byte inBackgroundColor,
byte inTextColor,
bool inUpdateCursor
)
{
byte textAttribute = ((inTextColor) | (inBackgroundColor << 4));
byte lengthOfString = CString::Strlen(inStrSource);

__asm
{
push bp
mov al, inUpdateCursor
xor bh, bh
mov bl, textAttribute
xor cx, cx
mov cl, lengthOfString
mov dh, inY
mov dl, inX
mov es, word ptr[inStrSource + 2]
mov bp, word ptr[inStrSource]
mov ah, 13h
int 10h
pop bp
}
}
void CDisplay::ClearScreen()
{
__asm
{
mov al, 02h
mov ah, 00h
int 10h
}
}

>>
File: signal jammer.gif (32KB, 1879x868px) Image search: [Google]
signal jammer.gif
32KB, 1879x868px
>>55676642
U 1 funni ass fuck u no?

>types.h
Please share with the group.
>>
>>55676687

#ifndef __CSTRING__
#define __CSTRING__

#include "Types.h"

class CString
{
public:
static byte Strlen(
const char far* inStrSource
);
};

#endif // __CSTRING__

// CString.cpp

#include "CString.h"

byte CString::Strlen(
const char far* inStrSource
)
{
byte lenghtOfString = 0;

while(*inStrSource++ != '\0')
{
++lenghtOfString;
}
return lenghtOfString;
}

>>
>>55676642

Got a feeling you're the type that is likely to get a basic kernel working and then focus full bore on opengl / the windowing system..
>>
>>55676822
This is true! How did you know I am amused by GUIS?
>>
>>55676642
D-Did you just fucking write a bootloader in C++?
Please tell me how.
>>
>>55676846

The very first section of the code you showed off gave it away clearly. Anyone who isn't highly into GUIS just implements a bare minimal system for debug printing.
>>
>>55676871
knowing C++ and assembly is all you need I have no idea how to do it in Java


>>55676879
Too much detail with the colors? lol
>>
>>55676939

Yeah, and the layout is really standard for a bare metal gui system.
>>
>>55676974
GUI programming is my favorite I love JavaFX as my favorite GUI system to play around with
>>
>>55676999

We're complete opposites :P . I'd rather do the backend systems and despise working with gui systems.

Last time I did any messing around with os dev I ended up just writing a few functions to output text and then jumped straight into the memory manager.
>>
>>55677033
Alright we can design an entire application and I will design the entire GUI
>>
>>55671200
Yeah, but mine are 8".
>>
>>55677051

No thanks not interested in starting any new projects right now.
>>
>>55677083
What projects you working on?
>>
>>55677105
>>
>>55677103

Aside from what I can't disclose there are a few half project ideas that I've got laying around that didn't get fully implemented.

I've been playing around with rust a lot.
>>
I have a MySQL table with items in the columns.

I've been committing all my transactions. I can see that the table is populated in MySQL console client and the MySQL Workbench GUI.

Python is returning None for some of those columns even though I can see they have values in MySQL Workbench and the command line client. If it helps, both those columns' values were updated in an earlier part of the program and the transactions were immediately committed after being done. Anyone know what setting I need to do to fix this?
Thread posts: 322
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.