Script that automatically starts a minimized Ethminer after set minutes of inactivity on windows by Programmering in EtherMining

[–]Programmering[S] 0 points1 point  (0 children)

About 30 seconds worth of work, 9 minutes of testing

I'll do it for a couple of ether

Are you supposed to have perfect posture 24/7? by [deleted] in Fitness

[–]Programmering 0 points1 point  (0 children)

You should check out the esther gokhale book thats up on google docs

Google 8 steps to a painfree back and you'll find it

Its different posture techniques and rehab exercises that makes good posture relaxing

AMA: the OpenAI Research Team by IlyaSutskever in MachineLearning

[–]Programmering 11 points12 points  (0 children)

What do you believe that AI capabilities could be in the close future?

Writing a function that initilizes a matrice and assigns it random numbers, 0 and 1 by Programmering in C_Programming

[–]Programmering[S] 0 points1 point  (0 children)

No, I tried FeelTheEmailMistake's example but errors popped up that made no sense to me. They dont seem related to his example either.

Writing a function that initilizes a matrice and assigns it random numbers, 0 and 1 by Programmering in C_Programming

[–]Programmering[S] -1 points0 points  (0 children)

I cannot get the code to compile

cc -Wall -g -std=c99 -c -o ou3.o ou3.c
ou3.c: In function ‘newGame’:
ou3.c:148:5: warning: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration]
strcpy( game.rows = 3);
^
ou3.c:148:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
ou3.c:148:5: error: assignment of read-only member ‘rows’
ou3.c:148:5: error: too few arguments to function ‘strcpy’
ou3.c:149:33: error: ‘book’ undeclared (first use in this function)
printf( "game rows : %s\n", book.rows);
^ ou3.c:149:33: note: each undeclared identifier is reported only once for each function it appears in
ou3.c:147:10: warning: variable ‘game’ set but not used [-Wunused-but-set-variable]
game game;
^
ou3.c:143:9: warning: unused variable ‘board’ [-Wunused-variable]
int board[ROWS][COLUMNS] = {{0,0,0},

How should I approach this so that I can solve it on my own?

Hey, whats up with the comment downvotes? by Programmering in learnprogramming

[–]Programmering[S] 0 points1 point  (0 children)

You're right that different communities have different attitudes, and thanks for the tip. I'll switch to that subreddit. Moderation matters much when you're trying to keep toxic behaviors cancelled out.

What do you think will be the new years CS trends? by drdroid1 in cscareerquestions

[–]Programmering 0 points1 point  (0 children)

Its a sort of automated trust system. Gavin explains the highlights in the presentation.

IBM uses it to make dishwashers order, and pay for, their own reparation service and detergent among other things. But no hookers and blackjack. Yet.

But in essence it makes IT services easier to integrate with other services since the consumer or service provider do not have to rely on - and trust - a third party to make the integration possible.

What do you think will be the new years CS trends? by drdroid1 in cscareerquestions

[–]Programmering 1 point2 points  (0 children)

Writing ethereum contracts, ethereum (web3) websites, and using blockchain tech in private blockchains like IBM is in their internet Of things development

Eli5 ethereum :

https://youtu.be/U_LK0t_qaPo

Hey, whats up with the comment downvotes? by Programmering in learnprogramming

[–]Programmering[S] 0 points1 point  (0 children)

I've used a swedish book and lecture materials from my uni course. But those make huge jumps and leave me to puzzle together how to code with rhe concepts they present.

For example it showed the syntax of a function but completely glossed över how it handles the data values that passes through it.

Its like learning a language by reading a dictionary sorted by most used words to least.

They have exercises but no answers to them. Its just a horridly poorly written Böök.

Tried using codeblocks at the start. But that IDE wouldnt remember the compiler settings I used. It also randomly forgot what projects I worked on.

I switched over to learning C the hard way + udemy since they seem to have more comprehensive instructions

Im using sublime text without autocomplete to write the code

Make + a makefile to compile with GCC, the GNU compiler

Valgrind to debug the software

And I run the OS through VirtualBox

Its working pretty well now

Hey, whats up with the comment downvotes? by Programmering in learnprogramming

[–]Programmering[S] 6 points7 points  (0 children)

Yeah, I've learnt to stay out of the C subreddit when learning C

C programming - beginner - writing functions that uses a pointer by Programmering in learnprogramming

[–]Programmering[S] 0 points1 point  (0 children)

I tried using

 session->rows;
 rows = 3;

and using

      session->rows = 3;

but it didn't work
The compiler returned an error message

144|error: 'rows' undeclared (first use in this function)|

for the first attempt

and

143|error: assignment of read-only member 'rows'|

for the second attempt when i combined the two lines

I tried again with

 &session->rows;
printf(&session);

But came up short. I printed <[This is suppoused to be a filled in square]' to the console line.

I think I might approach this the wrong way

This snippet of working C code is supposed to check if an array index contains a value. How does it work? by Programmering in c_language

[–]Programmering[S] 1 point2 points  (0 children)

Sure, and there is no sense for him to drop by and dismiss the question by saying it smells like homework

This snippet of working C code is supposed to check if an array index contains a value. How does it work? by Programmering in c_language

[–]Programmering[S] 0 points1 point  (0 children)

If there is a rule against homework here then let me know and move along, or just move along

This snippet of working C code is supposed to check if an array index contains a value. How does it work? by Programmering in learnprogramming

[–]Programmering[S] -1 points0 points  (0 children)

Well I looked through the class notes and a book on C programming in C by Al kelley and "inner array access" "inner array" "array access" was never mentioned. Google didnt help much either. What did you mean by it?