« first day (970 days earlier)      last day (4264 days later) » 

00:00
@inkyvoyd Same amount of information. But the rules for multiplying vectors are different from the rules for multiplying complex numbers.
At the same time though, I see a lot of j^2 terms in the explanation, which is what confuses me - it seems like we're using complex numbers to reduce the problem into just one variable, except at the same time we still use the definition of complex numbers...
My comment way up was meant to say, you can really think of a complex number as a 2-vector with a special multiplication operator that makes it useful for analyzing/describing oscilatting systems.
@inkyvoyd In your formula, Re{V exp(jwt) }, notice what happens if V is complex.
You have Re{V} cos(jwt) - Im{V} sin(jwt) ...(double check this, I may be mixing up sines and cosines)
So both Re and Im of V matter.
you get a cos(wt)-b sin(wt) correct?
if V=a+bi
@inkyvoyd Yes, a = Re{V}, b = Im{V}.
@inkyvoyd and yes, I shouldn't have included "j" in the sine and cosine.
Okay - what next?
00:05
And notice the maximum value of v(t) is sqrt( Re{V}^2 + Im{V}^2 ). so again, both the real and imag parts matter.
so, is Re{Ve^(jwt)} just some clever identity?
@inkyvoyd I don't want to say that, but I admit it's a formula I hardly ever use in day to day engineering.
If I have a signal described by a complex number, I just think "this is the magnitude", and "this is the phase"
Well, I guess the main reason I've stared at this for a few hours is because I was hoping I could justify the usage of complex Ohm's law
I can't seem to make a mental image of why we can almost treat capacitors and inductors like resistors - I guess they can be seen as time-varying resistors, but the entire concept seems to be above my comprehension
@inkyvoyd To me, the justification is that it accurately predicts the behavior of real circuits.
Should I just accept it and see if it makes more sense later?
I mean, the results of the book
00:10
@inkyvoyd Not sure your education level. Have you studied differential equations?
@ThePhoton Well, I know how to solve a seperable differential equation, and I have looked over the solutions of the first order and second order linear diff eqs, but I probably couldn't pop out the solution of the second order linear differential equation off the top of my head
I basically skimmed over my sister's intro level diff eq book
*the first half of haha
@inkyvoyd That's a start.
The next thing is the Fourier transform.
I am thinking about buying new headphones, I bought some okay ones for 30 bucks 5 months ago and I am thinking of upgrading...
Any suggestions? ;D Ha ha...
@ThePhoton Are you suggesting that I take a bit of a break from this textbook and read up more on that math?
Which is basically a way to reduce differential equations to linear algebra equations with complex numbers (which, when you apply it to electronics, is basically exactly what you're asking about).
00:14
@coding_corgi the headphones I use cost me maybe 10 bucks o.o
@ThePhoton So, I just don't have the mathematical basis to understand what is going on here?
*truly understand
@inkyvoyd I don't know if anybody ever truly understands this stuff.
But to get deeper into it, I think you need to learn about Fourier series and Fourier transforms.
@inkyvoyd I currently hate mine, every time i move it gives me static, sometimes it doesn't work, they're Sony Stereo Headphones MDR-ZX100
They work pretty well
comfortable
good sound
@inkyvoyd what type are they?
Which is normally like a 2nd-year college math topic for engineers.
Well, if the prereqs are just calculus, I'm perfectly okay with reading the "advanced engineering mathematics" book that I have on my computer
otherwise I'll read up on linear and diff eq intro classwork
@inkyvoyd That should be a good one. Fourier analysis should be one of the main topics in a book with that title.
00:18
Will I still be able to understand "The Art of Electronics" without this mathematical knowledge?
I might just slowly read both starting this summer so I don't get bored with either
@inkyvoyd That might be me... ;D I'm in 6th grade so I don't know calculus,algeraba, etc.
@inkyvoyd I think so. If you're willing to just accept that the complex numbers predict the physical world, without needing to understand "why".
I haven't read that book for years, but from what I recall it used very little math.
@coding_corgi mine aren't even brand name I got the in-ear buds from "2XL", since I needed a pair along with a CD player for the SAT subject tests
@ThePhoton yeah, it seems to avoid all kinds of math, but does give a few calculus exercises that I'm proud to say I've eventually figured out (after a few hours)
@coding_corgi You could be learning algebra by now...I think they were giving us algebra by 6th grade at my school.
@ThePhoton Things have changed @oldschool, plus your memory might not be so sharp... ;D
00:25
@coding_corgi Also, back when I lived in Taiwan, I'd buy a pair of in ear headphones for around 3 bucks USD, and each would last like 4 months before I broke them by tangling and yanking on them while I slept
@inkyvoyd Ah, I don't like ear buds, I like head phones, I listen to music basically 6 hour days im a EE and programmer, so that's a big geek
@inkyvoyd ha ha, you in college?
@coding_corgi I got my algebra in 5th grade, though it wasn't hard (just algebra 1), and it was part of an "advanced math program" - funny it also wasn't called algebra
@coding_corgi nope - just some nooby high schooler here
@inkyvoyd lucky! I wan't to learn all that math so I can do all sorts of cool stuff
@coding_corgi start here - purplemath.com
@inkyvoyd algebrahelp.com ill check it out, i don't know if i want to learn algebra yet tho! whats linear algerbra?
00:30
linear algebra is some algebra course that comes after calculus typically and deals with linear systems
@coding_corgi It's a notation to write a whole bunch of equations in a single line.
Like
a11 * x1 + a12 * x2 = y1
a21 * x1 + a22 * x2 = y2
@ThePhoton ah, i signed up for a coursera course on that + programming
becomes
@ThePhoton grrrrrr......
AX = Y
00:32
I don't like matrices.
Expandable to an arbitrary number of x's and y's
@inkyvoyd The Matrix sucks, so that must explain the movie's thoughts on matrices ;D
@coding_corgi As long as you don't multiply them, find the inverse of them, or do the dreaded determinant with them I'm fine with them. Except, you seem to be doing that more than a lot of other operations in linear algebra
@inkyvoyd Another thing that takes a while to get your head around, but makes things much simpler , and lets you solve bigger problems, once you get it (or at least accept it and understand the rules).
@ThePhoton yeah, but I learned the hard way that skimming a linear algebra textbook does not work nearly as well as skimming a intro level ODE textbook
00:37
@inkyvoyd i just forgot what you said
Random question, was it Heaviside that a lot of work on this impedance concept?
Something tells me he's one of those guys that did a lot of work and gets recognition in the scientific/engineering community, but I don't know any kids that know his name
MLM
MLM
00:53
@ThePhoton The files are .c which I believe is C and .cpp is c++. I have .c files. An error is like "usb_prog.axf: Error: L6218E: Undefined symbol Device_Info (referred from hw_config.o)." - When I look in hw_config, Device_Info is being used like this: DEVICE_INFO *pInfo = &Device_Info;
Also DEVICE_INFO is a struct and defined like this: pastebin.com/4CYrfLzN in usb_core.h
@MLM wouldn't classes be better option than a struct?
MLM
MLM
@coding_corgi I don't know, I didn't make this... I ran the binary file on my board and now I want to compile it myself and then edit it to add some functionality and mess around with it
@MLM i mean using inheritance might be a better method, i mean the struct seems liek the guy who made it was lazy
MLM
MLM
@coding_corgi probably, everyone says the STM32 peripheral examples are crappily coded
@MLM what's the end result of all this messing around? :P
MLM
MLM
01:07
I followed this tutorial which uses the adc example but I am trying to use the USB example which is a mouse that acts with the accelerometer to move around. I want to add clicking functionality with the push button. This is just to get used to USB somewhat for my USB 3.5mm Audio Interface
@markrages yo
@MLM vat is da problema?
MLM
MLM
@coding_corgi no problem stated there, you just asked why
@coding_corgi Problem is this: i.imgur.com/GjOQM9w.png
@MLM dat is problema
 
1 hour later…
02:16
@MLM That line doesn't define Device_Info. It defines pinfo, and says pinfo is a pointer, whose value is the address of Device_Info. But Device_Info has to be defined somewhere else.
@coding_corgi C has no such thing as classes.
MLM
MLM
@ThePhoton I added the USB-FS-Driver: i.imgur.com/Rus99Fd.png and that got it down to 3 undefined symbols
@ThePhoton C++? I am thinking of something...
it's in a header
needs a ''driver'' file
then the driver is included to use the functions
MLM
MLM
So i am sure I missing a couple more library .c files for those symbols
@ThePhoton you get what i mean right? Or am i going crazy?
good morning people! Question: is it standard practise for NDAs/contracts to have non-compete clauses?
02:21
@StaceyAnne yo!
MLM
MLM
@StaceyAnne the only one I signed did not have one
@StaceyAnne "What is this?! Some kind of joke?!" ;D
no really what is it for?
@MLM, my client has asked me to sign a really nasty one. 6 years!!
@StaceyAnne :O
there are places in europe and states in the US where non-compete clauses are illegal or at least don't count
@coding_corgi, a clause saying you can't work in competition with the client for x years after contract termination
MLM
MLM
02:24
@StaceyAnne jees, if you have any hesitation then I would not
this one had direct or indirect competition
if i just sneeze in his direction, he might decide he wants to sue me. it's insane
@MLM, I don't plan on signing it
@StaceyAnne why would someone want that?
in competition with the client?
In my client's words "I've spent x money teaching you how to design my product, I don't want that info available to other people"
@StaceyAnne x= ? :D
so my college education and years of experience before this that you didn't pay for doesn't count?
02:27
@StaceyAnne I still don't get it...
One of my first cool py programs!
it took me an hour, stretched across today
import string
import time

print ("\nStrings\n")

a = "1 + 2 = "
b = 1 + 2
c = "%s %i" % (a, b)

print (c)
print ("")

time.sleep(2);

d = string.Template("$number1 + $number2 = $number3")

n1 = 3;
n2 = 4;
n3 = n1 + n2

print ("\nTemplate: $number1 + $number2 = $number3")
print (d.substitute(dict(number1=n1, number2=n2, number3=n3)))
print ("")

time.sleep(2);

e = "this text is not capitalized"

print (e)
e = "this text is capitalized"
print (e.upper())

f = "this contains spaces"
g = "thisdoesnotcontainspaces"
It's kind of cool, and lame
@coding_corgi, what don't you understand?, He's trying to claim my brain as his IP
@StaceyAnne ok, the networking ex. helped
@coding_corgi yes, C++ has classes.
@ThePhoton Ha!
@StaceyAnne you might become part of a botnet! He must me the C&C server, and who's the controller? ... See @anorton how much you can learn in that Malware course? I failed the first test, im going to try again, but anways, iz eazy pezy
@StaceyAnne Sounds bad.
What industry?
@StaceyAnne Also, an NDA shouldn't say who you can't reveal stuff to...it would normally just say you can't reveal it to anybody, competitor or otherwise.
If you have an NDA, and you go to a competitor and reveal the first guy's trade secrets, you already violated the NDA without having to have a non-compete on the work contract.
But maybe he thinks a non-compete is easier to enforce.
02:45
@ThePhoton I already am obligated to not give his confidential stuff away, and there is a clause about how everything I design is his.
He just also wants me to not work for a competitor for 6 years
which seems crazy, since I would have to re-design anything from scratch in any case
@StaceyAnne It sounds like a contract to walk away from...but of course I don't know how flexible your skillset is, how broad the guy interprets the idea of "competition", etc.
this is the thing, I started working for him without this for the past 9 months. and now he's woken up and realise he doesn't want me to work for the competition
we have an nda, but it's the standard non disclose IP thing
so now he wants me to sign a stircter nda with all of this extra stuff, 9 months into the project, and backdate it to say that It starts the day i started
I'm saying no, sorry, and asking for more money
4
@StaceyAnne ah ha ha!
@StaceyAnne Where I work, when we write an NDA, except for special circumstances it won't last more than 3 years. And it will always have specific start and end dates and a list of topics covered.
@ThePhoton, that sounds about right, the ndas I've signed in the past have pretty much been the same. except this one
03:14
Hasta la vista!
03:26
@StaceyAnne Having reviewed quite a few NDA / non-compete contracts, and signed a few from time to time, here's my $0.02: If anyone is asking you to sign an agreement or a contract that would prevent you from obtaining productive work in your area of expertise, for any period of time, the same piece of paper needs to also be guaranteeing you the lost earnings, or a mutually agreed part thereof, as compensation through said period (or as a lump sum).
@StaceyAnne It's otherwise infringing upon the right to make a living, guaranteed in constitutions of many countries.
@StaceyAnne What works in your favor is this: No contract is valid unless it is mutually beneficial. You have been doing work under terms xyz and clauses abc, whether implicit or explicit. Any change of such terms have to be sweetened such that the mutual benefit factor is accounted for. Else the contract is automatically null and void.
@StaceyAnne Were I you, I would either bring in a company law / contracts lawyer to review and annotate the document, which you would then send back to the client, or would just walk away, explicitly invoking (and documenting to them) unacceptable change in terms of agreement. That way, it would be difficult for them to even demand hand-over other than work already delivered.
"What your new contract translates to is, I cannot work for a living in my proven area of expertise for the next 6 years. That is acceptable to me if you compensate me for the loss in earning over said 6 years. Please make the check out to Stacey Anne, and the signed amended agreement will be in the mail as soon as the payment clears. Thank you."
OK, that was a bit more than $0.02.
03:45
haha, thanks @AnindoGhosh
@AnindoGhosh, I guess it's also a matter of how much work I can find in the FPGA world. I specialise in firmware,. So I probably would be able to find alternative work. But If every single client asked me to sign a non-compete clause, I would definitely run out of industries in which to work. So I can't garentee that this is going to do damage to my ability to earn income, but at the same time, I want the freedom to be able to do work without having to worry about beaching an non-compete clause
Also, this one was particularly evil. it was direct or indirect competition, for the whole of north and south america, for 6 years
@StaceyAnne But since you cannot guarantee that it will not harm your right to earn a living, that's what counts. Each side of any contract reviews solely to cover their interests, so don't need to think on their behalf. Also there is a standard non-compete compensation strategy that some people use, I'll tell you after breakfast.
@AnindoGhosh, and he said that he was "letting me off lightly, it's ususally 10 years!"
@AnindoGhosh, thanks
 
1 hour later…
04:53
@StaceyAnne So yeah... when you get hit with a non-compete in exclusive engagements (contract or full-time employment does not matter), one clause that I have seen is a recompense with a rider: The client agrees to pay compensation at current contract rate for as long as employee / contractor is unable to obtain work within the constraints of the non-compete clause. Very difficult to implement, but usually shakes up the client enough to get some sense.
morning @all
Hiya @jippie
@AnindoGhosh, I imagine that's also quite a good way of ensuring job security - if they have to pay you in any case, they might as well pay you to work
@jippie, mornin
`
@StaceyAnne Generally the non-work compensation is a lower rate than the work rate (which includes unstated implicit expenses incurred in the execution of the work), but yes, that's a knife that cuts both ways.
05:55
Hi!
@jippie Wow, you are an early bird!
@abdullahkahraman getting new windows today
@jippie Congrats, 7 or 8?
...
windows as in my bathroom
and my kitchen
06:01
Cool, are they PVC?
glass
duh
@jippie Duh! Really? They are glass?
@jippie So they have no frame?
@abdullahkahraman you asked about the windows, not about the frames
@jippie OK then, now I am asking about the frames
I cannot believe the sheer intricacy of the current discussion, window glass versus window frame. :-) Keep at it, I've got my popcorn here.
06:11
@abdullahkahraman they are white
@AnindoGhosh These linux guys are always like that, cannot even bear a joke.. about their.. windows!
@jippie PVC, we go!
@abdullahkahraman I'm not afraid of bear jokes.
@jippie So, a bear goes into a bar and says
One of these days, I need to get myself a powerful Windows 8 machine. While my current PCs can handle Windows 8, it would be no fun without a touchscreen, so I'll just wait till I can get a touchscreen Surface tablet or something.
@AnindoGhosh That piece of information just killed @jippie
06:14
@AnindoGhosh will it have PVC frame?
@abdullahkahraman I stay away from offending people's religious beliefs, if at all I can. :-)
@jippie It will have Gorilla Glass II.
@jippie Here we go..
now this is going to be interesting :-s I spilled quite a bit of water ... it fell along the wall down and apparently it didn't wet the floor, so all the water must be under the laminated floor :-s
@AnindoGhosh no I mean the framing, what color is it?
@jippie I'll let you know when I buy it :-) Probably "an attractive color", that's what the marketing blurbs usually say.
@jippie That is bad, really bad...
Quick C question:
06:24
I hope it went under the damp tight foil aswell ...
So, I have this function in "init.c" file, which is the source file for header file "init.h".
In this function, I am modifying a global register in "main.c"
How do I do that?
Here are the sources:
main.c : http://pastebin.com/e5m9qdLx
init.h : http://pastebin.com/8bFfXJsK
init.c : http://pastebin.com/WCeSLgf2
I don't even know how to properly spell C ...
@jippie Just say "Yes" in Spanish.
"Yes"
in Spanish
does that answer your question?
@jippie Perfect!
@jippie Absolutely, thanks!
By the way, the register I am modifying is: LED_register.LEDs = SYS_SRS;
And then I call the function: updateLEDs();
@AnindoGhosh Help me! @jippie is bullying me!
06:34
@abdullahkahraman Somehow I think that's unlikely.
@AnindoGhosh I want ice-cream!
@abdullahkahraman Bad for you. Sugar + youngster = hyperactivity :-)
@AnindoGhosh But I promise I will perform hyperactive C coding!
@abdullahkahraman And we sedate, older folk will have to cope with you bouncing off the ceiling and the walls.
@AnindoGhosh the hyperactivity isn't the problem, the subsequent depression is.
06:39
@jippie You mean the depression parents feel when trying to deal with their hyperactive kids?
@jippie Though that would have to be "precedent depression", not subsequent.
@AnindoGhosh oh yeah please go on impressing me with difficult three+ syllable words
@jippie Where's Google Translate [English --> Simplish] when you need it?
 
2 hours later…
08:38
2 hours later...
@abdullahkahraman you forgot the bold print
@jippie That means I am still a grasshopper, master.
09:10
I've found out the way to do it..
I've used keyword extern
 
1 hour later…
10:19
@abdullahkahraman See I didn't know that yet.
 
3 hours later…
13:08
@ThePhoton You may like this video: youtube.com/watch?v=CIwlyy_KpXo
13:28
Yo yo yo!
@coding_corgi y0y0
14:16
Anyone awake?
@DavidKessner no, that's why the coffy machine is no
@W5VO I've been told before (By Kortuk), to not worry about serial downvoteing when I think it's TS. Now I'm confused.
@W5VO And what is the downside to serial downvoting, other than having the downvotes removed?
@DavidKessner Having your votes removed. The only thing (that I know of) that removes votes is the serial voting script
@W5VO So what is the proper procedure when we spot TS?
...or the new procedure...
14:47
@W5VO Is serial flagging a concern? (context the same).
15:04
...crickets...
15:17
@jippie Really? Lame, Jippie, lame.
@AnindoGhosh ok ok :(
15:30
@AnindoGhosh no
@DavidKessner It's the same, just be careful about a lot of votes on one user at a time (without votes on another user). The concern is purely about having your votes cancelled, nothing more.
Yo yo yo!
@W5VO Ok
@coding_corgi hi
@DavidKessner we meet again
..
@coding_corgi So, Lord Helmet, at last we meet again for the first time, for the last time.
@DavidKessner That is, Sir Pickles BunnyBottom ready to blow your head off, ;D
15:47
@coding_corgi I guess that makes you a Mawg: Half man, half dog. You are your own best friend!
@DavidKessner I thought we're supposed to flag as spam. Enough spam flags supposedly makes a post invisible, even before a mod gets to it.
@ThePhoton Yes, but sometimes I also -1, so that new people to the site will not pay as much attention to his answers. Occasionally he does get enough +1's to be more of a best.
@DavidKessner shut up
@coding_corgi Do you know the movie I quote?
@DavidKessner no
15:48
@DavidKessner Enough -1's I think also hide the answer from new users.
@coding_corgi imdb.com/title/tt0094012 Watch it, you'll like it.
@DavidKessner naah
@DavidKessner The lad is impervious to culture.
@ThePhoton Obviously the product of bad parenting.
@DavidKessner nah, my parents are great... they're not geek parents, so, yeah, great parents, unlike you
@DavidKessner pass
@coding_corgi <facepalm>
And here is the trailer: youtube.com/watch?v=uWVSVgU-I0s
@DavidKessner PAAAAAAAAAAASSSSSS
@coding_corgi You probably didn't like Ferris Bueller's Day Off, either.
16:10
@DavidKessner GRRRRRRRRRR.....
16:48
Hahah!
Solved my programming problems completely!
Seems like Freescale team also forget two pull-up resistors on RESET and "Debug Mode" pins!
@abdullahkahraman hmmm
@coding_corgi I don't know whether they will hear me if I send them a feedback..
@AnindoGhosh do you remember that Arduino clone I got the other day, with WiFly and LEDs and sensors and stuff?
They are on sale now for € 99, limited supply.
ex VAT and postage ..
Off the gym I go!
Bye all!
17:12
@jippie yeah
@jippie ha ha
@abdullahkahraman do you mean the arcade? ;D
@coding_corgi lol
@abdullahkahraman i bet that's a work out in your lil geek mind ;D
@coding_corgi lol, I'm out..
@abdullahkahraman you said that a whil ago
17:29
@coding_corgi must be more of a "Gone With the Wind" fan. No low-brow humor here
@W5VO hmmm
 
1 hour later…
18:50
Yo yo yo?
void loop()
{
char *time = rtc.ReadAll();
led.LedMatrixWrite(time,10);
delay(1000);
}
what is *time here?
is it a pointer to the string? but a char seems ... short for a pointer.
what is the * thingy in this context?
it prints a date on a display like 'Monday 24/06/2013 21:01'
19:06
@jippie isnt it used in like class inheritence or something like that?
...
yeah, probably possible
so what is like class inheritence or something?
@jippie It's a pointer to the first character in the string.
@jippie i bet there's a header, then a a cpp driver that get;s the time and returns it or something...
rtc.ReadAll() is presumably returning a pointer to the beginning of a bufer that the rtc system owns.
@ThePhoton a char pointer according to the docs, but isn't a char pointer of 8 bits a bit small for a microcontroller with several 8kB of addressable RAM?
19:11
@jippie "char *" in a variable declaration means a pointer to a char.
@jippie The pointer could be 64 bits. The thing that is pointed to is a char.
@jippie Classic C programming style. There is no such thing as a string. There are just arrays of char's.
fair enough
but still it is only 8 bits long, isn't it?
If you want a string, you put a "\000" character at the end of the useful part of the array of char's, and you pass around a pointer to the first element of the array.
or is it an n-bit pointer to a char?
19:14
@jippie A char is usually 8 bits. A pointer to a char could be 8 or 16 or 32 or 64 bits.
is my assumption of the size wrong
More likely 32 or 64 bits.
yeah
on a atmega328?
Usually all pointers are the same size, no matter what they point to.
more like 16 :o)
19:15
And usually the size of a pointer is the same as the size of an int.
so in this case, char says something about the data that is found at pointer *time and not about the pointer itself.
@ThePhoton yeah that is 16 bits on arduino
@jippie the name of the pointer is just time. It's type is char *, meaning pointer to char.
After the declaration, if you used *time in your code, that would mean the value at the address pointed to by the variable time.
@ThePhoton hence the ledMatrixWrite line, I see.
@jippie yes
:) thnx @ThePhoton
19:32
@jippie cool, but, pass...
MLM
MLM
Heya :)
@MLM Hi there.
@DavidKessner grrrrrr....
morning @mlm
@jippie Yes, I remember that clone. Doesn't mean I can afford it, even at 99 EUR. :-)
19:46
@AnindoGhosh I think it is quite expensive
add 21% VAT, package, postage, ...
@jippie Yeah, I've standardized on $10 'duino clones, $4 ethernet modules, and so on.
MLM
MLM
Is there a reason that a clean install of TrueStudio for ARM won't have STM32 C Project?
MLM
MLM
20:06
nvm, it is now Embedded C Project
Can't help you @MLM, sorry
anyways
time for bed
/me is out
MLM
MLM
@jippie night
clickkk
 
2 hours later…
22:11
I want to make a prediction: I suspect that Snowden might, after all, be on SU #150. I think he's got another... 15 minutes in US airspace?

« first day (970 days earlier)      last day (4264 days later) »