off-topic

https://github.com/clojurians/community-development/blob/master/Code-of-Conduct.md Clojurians Slack Community Code of Conduct. Searchable message archives are at https://clojurians-log.clojureverse.org/
seancorfield 2020-09-12T00:40:27.231500Z

@sogaiu Thanks. I'll poke the admin team and see who has the rights to restart it. #community-development is generally the best place to report community-related stuff like that.

👍 1
coby 2020-09-12T03:16:40.235200Z

Anyone happen to run Netgear Armor? I recently got a Netgeat mesh wifi system and I'm very happy with the speed, but they've also been pushing a subscription to Armor/Bitdefender pretty hard. I'm skeptical bc it seems pretty gimmicky, but also open to informed perspectives.

emccue 2020-09-12T18:47:23.238Z

@idiomancy You want a function where f(x) = k(df/dx)

emccue 2020-09-12T18:47:35.238300Z

which e^kx fits

emccue 2020-09-12T18:47:54.238900Z

(d/dx) e^kx = ke^kx

emccue 2020-09-12T18:48:02.239200Z

but that will grow, not approach 0

emccue 2020-09-12T18:48:48.240100Z

(d/dx) e^-kx = -k(e^-kx)

emccue 2020-09-12T18:49:55.240900Z

For oscillations in springs particularly the math that describes that can either be given in terms of e^... or with sin and cos

idiomancy 2020-09-12T18:50:36.241500Z

ah thats interesting, so its common to use e^... to represent spring forces?

emccue 2020-09-12T18:51:15.242Z

(source: have an undergrad in physics)

emccue 2020-09-12T18:51:30.242400Z

well, for the simple harmonic motion case, generally people use sin and cos

emccue 2020-09-12T18:51:50.242900Z

there is just a relation between the trig functions and e and people tend to express it in whatever form is more convenient

emccue 2020-09-12T18:52:22.243500Z

give me a moment to look up the expressions

idiomancy 2020-09-12T18:53:49.244Z

oh hell yes!

idiomancy 2020-09-12T18:53:52.244200Z

thanks for the resource!

emccue 2020-09-12T18:55:53.244800Z

I don't think that will be all that much help in actually doing a simulation, but its a start

emccue 2020-09-12T18:56:22.245300Z

I also have a notebook from physics in high school that covers that stuff

emccue 2020-09-12T18:57:59.245700Z

what you want specifically sounds like spring motion w/ friction

emccue 2020-09-12T18:58:59.246400Z

or "dampened oscillation"

emccue 2020-09-12T18:59:28.246700Z

The exact shape you are looking for sounds like underdamping

emccue 2020-09-12T18:59:55.247200Z

which you more or less get by shoving

emccue 2020-09-12T19:00:01.247400Z

sin(wt)

emccue 2020-09-12T19:00:27.248100Z

where w is 2pi * the frequency you derive

emccue 2020-09-12T19:00:32.248300Z

and t is the time

emccue 2020-09-12T19:00:36.248500Z

with

emccue 2020-09-12T19:00:40.248700Z

e^-kt

emccue 2020-09-12T19:01:17.249200Z

which decays to 0 over time

emccue 2020-09-12T19:01:29.249600Z

and a some constants to make it balance out

emccue 2020-09-12T19:02:03.250600Z

so an offset in the sin part and a scale multiplication for the whole thing

idiomancy 2020-09-16T18:00:44.290200Z

hey @emccue just wanted to come back and say thanks! that underdamped oscillator reference was perfect for what I needed and I got it working!

emccue 2020-09-16T18:04:29.290400Z

Np

chucklehead 2020-09-12T19:02:39.251500Z

I think you might be deriving percentage overshoot from control theory

emccue 2020-09-12T19:03:00.252100Z

but this is kinda the "result" of the math - depending on how you make your simulation this might just fall out of doing the forces at each timestep. But in simple cases you can hardcode the math and show it at different time steps

2020-09-12T19:40:27.254100Z

i remember seeing a few months ago someone's project on hacker news relating to saving all browsing history, and phone activity, etc, in a searchable format. Does this sound familiar to anyone? Ironically I believe I saved the link somehow, but can't find it via searching my github starts, or pocket, etc :man-facepalming:

idiomancy 2020-09-12T21:41:09.254500Z

welp, lemme tell ya, https://youtu.be/NmpZsud_ul4