What are you working on, Sup Forums?
Old thread:
What are you working on, Sup Forums?
Old thread:
I probably am the best programmer on g. I am not working on anything. Coding is boring.
There is nothing wrong with wearing women's clothes while programming
How to convert Py script into Exe boys?
CX_Freeze and Py2exe seem not to werk.
most women can't program
learn cython
Make a C program that embeds your Python program.
docs.python.org
Because that's more or less all any Python -> .exe program is going to do.
...
Don't know C very well, only know the fundamentals, besides its just a one off thing so i'd prefer to just get my exe and be done with it, already have enough of a headache trying to find some miracle solution as we speak
christ man that comma is out of control
you forgot an "is" there.
>Don't know C very well
Yeah, who would've thought that a python redditor doesn't know C.
>Don't know C very well
would be an international feat to convert this into plaintext
>no anime pictures for D
Can you stop larping as the bodyguard for the epic hacker known as Sup Forums? youre seriously fucking gay
What are some GOAT introductory books to parsing text? Or something like marshaling and unmarshaling streams? I want to git gud at network programming
Why would there be anime pictures of POO garbage?
>epic hacker known as Sup Forums
"epic" reddit meme. now deport yourself back to your home site.
D is the future you heretic pagan mongrel
that may have been true if that piece of trash wasn't stained by POO.
You obviously don't appreciate the value of code reuse
i made this for you user
anyone who appreciates the value of code reuse is by definition opposed to POO.
Is there a good api to check for image similarities? opencv maybe?
I want to delete duplicate pictures inside my porn folder.
...
What happens if the Python.h header is not found? (Using windows with VS)
Try making a post on reddit.
what kind of porn are we talking here?
If youre looking exact duplicates, you can probably achieve this by hashing and maybe a few other tricks
...
rude
/r/ing this to be the next thread's OP image.
it's completely accurate.
?
Just use this:
#include
int main(int argc, char *argv[])
{
const char *filename = "main.py";
FILE *fp = fopen(filename, "r");
Py_Initialize();
PyRun_SimpleFile(fp, filename);
Py_Finalize();
fclose(fp);
}
1. You need to download the Python development libraries
2. Stop using VS you fucking moron
...
So I just started programming 3 months ago now I have a $80,000 a year programming job
will pay someone 20,000 a year to do my job for me
wrong
If you're using ganoo+loonix you can use findimagedupes.
Repent and return to the one true path of C. I'm worried about your soul, user. D has failed you and will be forgotten.
PyInstaller
This makes me want to kill myself :)
Pretty good.
But I swear I've seen something really similar here on /dpt/ before.
the kind of porn that some people may find degenerate
the pictures may change in size and sometimes the colors are a bit different too. I think I need something that would do feature matching or something.
Stop
I have enough (You)'s
What do you guys do when you don't have a project you want to do? I've been debating doing stuff like hackerranks/projecteuler, but I'm not sure if that is going to make me improve. At worst I feel it would keep me at the same level and at best, well I'm not really sure what the best case scenario would be. Maybe i'm just being lazy but then again it's only a matter of time till i find an idea.
Lua is good
Prove me wrong
Protip: 1-based indexing is the issue NOT.
That's not how it works, retard. You have to prove it's good in the first place.
Maybe downscale and resize the images and convert to grayscale to find a rough hash, single out "potentially similar images" and then do higher resolution comparisons (maybe some sort of color distance, find the standard deviation across the entire image) to decide if they are truly similar.
Or you could try opencv if youre so inclined.
How do I synchronize file access across multiple threads if I cannot use the language's internal locks?
implement your own locks?
How? Booleans aren't atomic and there is no volatile keyword.
What shitlang are you trying to do effictive multithreading in?
allocate one bit on the heap and flip it when you are accessing the data you fucking nerd
Plot twist: I'm writing my own.
Add mutex to the standard library then
I dont understand, I'm just missing the Python header file and I don't know where to get it or put it, I don't know where the header files are located in windows
Also whats wrong with VS if you're on windows? I don't know any better alternative (It also just werks with D)
lads, how do i find it in me to finish off this fucking degree? im in my last year, but i feel like ive wasted 4 years of my life acruing debt for a job thats comparible in pay to a skilled trade, and is detrimental to my health. ive 2 months and a resit to go, but in those two months ive got deadlines to meet, and ive been rejected by two companies looking for graduates already. its taking every bit of willpower i have not to simply say "fuck it" and go do something else.
work on your own and make money through clients that need your skill of trade.
how? my lack of willpower resulted in me leaving everything to last minute, and my grades reflect that.
i recommend going to ribbit.
How do I into content awareness?
get off of 9gag and just DO IT!
>Literal C toddler
Where the hell did you get this image of me?!
why?
im not even sure i really care any more to be honest, i just want it over with
Have a thread that does nothing but okay other threads to use files.
>I don't know where to get it or put it
Where you have Python installed, there should be a directory called include. You should add that to your compiler's search path.
>what's wrong with VS if you're on windows?
The fact that MSVC is a bad compiler. Use MinGW every time.
>C++ for idiots
Funny way of saying "C"
funny
>The fact that MSVC is a bad compiler.
Write a formal proof of this statement.
>tfw increased my productivity by 10% by just wearing thighhighs
>The fact that MSVC is a bad compiler. Use MinGW every time.
this. i'm done waiting for microsoft to take their sweet-ass time implementing the standards. after spoiling myself on linux with some of the newer features, i've set up my windows system with mingw, qt creator, and cmake, and i've never been happier developing in windows. microsoft needs to get their shit together
What do you find funny here?
Just finished implementing the whole 16550A serial uart thing (ti.com
>what did I forget?
Are you retarded? How do you expect anyone to know this without actually seeing your """""work"""""?
>tfw you realize that there is a natural equivalence between the category of Boolean algebras and the category of sigma algebras
Today I'll remind them
>tfw it's so hard to make a good web business ap that makes a lot of money
The current C standard is C11.
GCC supports the C standard
Clang supports the C standard
MSVC does not support the C standard
Therefore MSVC is a bad C compiler
QED.
nvm I found it already. forgot to put ~ in front of a destructor that was supposed to enable them.
write a formal proof for the each of the following statements:
1) The current C standard is C11.
2) GCC supports the C standard
3) Clang supports the C standard
4) MSVC does not support the C standard
5) Not supporting the C standard leads to being a bad compiler
if you think that's bad just look at c++. gcc 7 already supports like all of the c++17 working draft proposals and the standard isn't even finalized yet. msvc is still missing half of c++14. i mean christ
wait no that didn't fix anything.
Making a 3d game engine in java
this is my progress so far
ublic class Game extends JFrame implements Runnable{
private static final long serialVersionUID = 1L;
public int mapWidth = 15;
public int mapHeight = 15;
private Thread thread;
private boolean running;
private BufferedImage image;
public int[] pixels;
public static int[][] map =
{
{1,1,1,1,1,1,1,1,2,2,2,2,2,2,2},
{1,0,0,0,0,0,0,0,2,0,0,0,0,0,2},
{1,0,3,3,3,3,3,0,0,0,0,0,0,0,2},
{1,0,3,0,0,0,3,0,2,0,0,0,0,0,2},
{1,0,3,0,0,0,3,0,2,2,2,0,2,2,2},
{1,0,3,0,0,0,3,0,2,0,0,0,0,0,2},
{1,0,3,3,0,3,3,0,2,0,0,0,0,0,2},
{1,0,0,0,0,0,0,0,2,0,0,0,0,0,2},
{1,1,1,1,1,1,1,1,4,4,4,0,4,4,4},
{1,0,0,0,0,0,1,4,0,0,0,0,0,0,4},
{1,0,0,0,0,0,1,4,0,0,0,0,0,0,4},
{1,0,0,2,0,0,1,4,0,3,3,3,3,0,4},
{1,0,0,0,0,0,1,4,0,3,3,3,3,0,4},
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,4},
{1,1,1,1,1,1,1,4,4,4,4,4,4,4,4}
};
is that minesweeper?
Is D a meme language? It looks so clean.
can you explain this
Are you claiming that "supporting the C standard" -> "being a good compiler"?
Supporting the C standard is a prerequisite of being a C compiler.
raycasting
Well if we consider that MSVC is proporting itself to be a C compiler... YES!
says im missing 'python35.lib' link file, for some reason I can only run visual studios in debug mode (It still persist in debug mode even if I click release) apparently debug mode is the problem according to some people on stackoverflow
if it doesn't support the C standard then it's not a C compiler but rather a compiler for a language similar to C
or perhaps even a language quite dissimilar to C, i should say
That was poorly worded, I should have said "current C standard".
>Well if we consider that MSVC is proporting itself to be a C compiler...
That is currently not relevant.
So you think "not supporting the current C standard" -> "not being a good C compiler"?
msvc and vs is for win fags exclusively
while all sane people use Clion
when did programming all click for you and it finally made sense on how to program everything?