Message from sigruna14 in MacGuyver - Skills & Academics #tech


2018-01-30 00:00:36 UTC  

Aha.

2018-01-30 00:01:01 UTC  

But you want to reach in and "touch" each one individually, at will.

2018-01-30 00:01:20 UTC  

Pointer math

2018-01-30 00:01:23 UTC  

Yes.

2018-01-30 00:02:16 UTC  

Add data type size to array pointer to access each char

2018-01-30 00:03:03 UTC  

Assuming your language won't let you index the array like a normal person

2018-01-30 00:04:13 UTC  

That's all indexes are anyway. Array pointer + index * data type size

2018-01-30 00:04:19 UTC  

Well I mean, obviously it won't.

2018-01-30 00:04:42 UTC  

So do like `*array + (sizeof(char) * 2)`?

2018-01-30 00:04:49 UTC  

Yes

2018-01-30 00:13:59 UTC  

@Perihelion - CA Nope, "lvalue required as left operand of assignment"

2018-01-30 15:36:18 UTC  

I think you have to use &array to let it know you're treating the array like a bit literal

2018-01-30 15:44:29 UTC  

Ok do this for c++ *(array+2) to get value

2018-01-30 15:44:58 UTC  

Array + 2 for mem address reference

2018-02-01 18:08:59 UTC  

I'm having a weird problem. Anybody wanna help?

2018-02-01 19:45:47 UTC  
2018-02-02 16:10:48 UTC  

@sigruna14 is it a C thing?

2018-02-02 16:11:25 UTC  

Yeah but it works now. Actually you want the code? See if you can break it. I think it's working. Still need to document it but I can tell you what it accepts.

2018-02-02 16:11:57 UTC  
2018-02-02 16:13:47 UTC  

Yeah let's do it man @sigruna14

2018-02-02 16:14:18 UTC  

Okay, I'll DM it to you. But first I'm gonna try to change how I find the command line args to be a little less ridiculous.

2018-02-02 17:04:50 UTC  

Ok!

2018-02-04 16:51:39 UTC  

Hey does anybody know how to put music behind a video I’m editing… I’m using iMovie app

2018-02-04 17:32:38 UTC  

@Deleted User you just have to have an audio file on your phone. Select the plus on the left side and then select audio.

2018-02-04 20:00:54 UTC  

@JesseJames many times it won’t allow me to upload the song..”copyright” infringement is what the message says... I just (like five mins ago) bought a GoPro .... will that be easier to operate ya think ?

2018-02-04 20:14:29 UTC  

The GoPro editor is really good. I like iMovie though because I know it better. Where did you download the song from? Also you will have the same problem with copy rights on GoPro editor also. The best thing to do is find music on soundcloud that is royalty free. @Deleted User

2018-02-05 18:02:01 UTC  

I need a WordPress guy

2018-02-05 18:37:54 UTC  

@everyone

2018-02-05 18:40:56 UTC  

I need a c++ guy

2018-02-05 21:51:36 UTC  
2018-02-05 23:56:08 UTC  

@Deleted User what would that entail?

2018-02-06 00:23:19 UTC  

Dm me, I'm in class @Deleted User

2018-02-06 00:38:34 UTC  

@Deleted User I'm pretty good with C++ fam

2018-02-07 02:39:05 UTC  

Hey Does anybody know how to download videos off YouTube?

2018-02-07 02:41:41 UTC  

@anyone

2018-02-07 04:22:03 UTC  

@Deleted User get `youtube-dl` it is a command line program which turns people off but it really is the only thing that works without fail.

2018-02-07 05:10:26 UTC  

Thank you @ThisIsChris

2018-03-01 16:01:38 UTC  

@everyone Okay well now I've got a damn JS event listener that refuses to add to a button. It's like the most basic thing ever so idk what's the problem.

2018-03-01 16:04:54 UTC  

Is the line of code where it's being added actually execute?

2018-03-01 16:05:16 UTC  

As confirmed by console log messages

2018-03-01 16:06:47 UTC  

@Perihelion - CA Nah, I seem to have a talent for figuring stuff out immediately after asking for help. This button is wrapped in an anchor tag and somehow the click event doesn't reach the button, which I really don't understand.