Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
cinci zoo sniper
Mar 15, 2013




MALE SHOEGAZE posted:

remember ya'll: terrible programming, not terrible programmers. the terrible programmer thread shouldn't be a terrible place for woman programmers.

i got graph to rename the thread when i added the rules, by the way

Adbot
ADBOT LOVES YOU

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

cinci zoo sniper posted:

i got graph to rename the thread when i added the rules, by the way

yeah it's good. thanks for doing that.

cinci zoo sniper
Mar 15, 2013




MALE SHOEGAZE posted:

thanks a bunch for this, looks like it's time to brush up on learn diff eqs. really stoked to have a resource who can help a bit with this :).

:patriot: you're welcome, im glad i have something else to post in this thread than horror stories from my work (btw guys have you heard of postgresql pro distributed by some russian company? one of our projects tried to silently go to production to it but thankfully our dba failed to set up a replica for it so they rolled project over to postgresql) or asking dumb question (with as little time as i have to think about that, as im full time internal audit at this point with some token analytical or coding efforts sprinkled over, degrading as a technical specialist full throttle)

redleader
Aug 18, 2005

Engage according to operational parameters

MALE SHOEGAZE posted:

i will not play kerbal space program. i bought it and installed it a few years ago, stayed up for 48 hours straight playing it, and then uninstalled because otherwise that game would have taken over my life.

:eyepop:

redleader
Aug 18, 2005

Engage according to operational parameters

MALE SHOEGAZE posted:

remember ya'll: terrible programming, not terrible programmers. the terrible programmer thread shouldn't be a terrible place for woman programmers.

wait, what did i miss

cinci zoo sniper
Mar 15, 2013




redleader posted:

wait, what did i miss

shadenboner

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
also today i am switching from spacemacs to just vanilla emacs with evil. spacemacs has been good to me but it's too hard to modify and it only works if you never try to venture into the rest of the emacs ecosystem.

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

redleader posted:

wait, what did i miss

just some mom jokes. it's borderline and the posters responsible should not be ejected from the thread but i want to try and temper this kinda stuff as much as possible.

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

MALE SHOEGAZE posted:

also today i am switching from spacemacs to just vanilla emacs with evil. spacemacs has been good to me but it's too hard to modify and it only works if you never try to venture into the rest of the emacs ecosystem.

oh my god i dont know how to do anything. i might as well be learning emacs from scratch.

cinci zoo sniper
Mar 15, 2013




MALE SHOEGAZE posted:

oh my god i dont know how to do anything. i might as well be learning emacs from scratch.

:rip:

jony neuemonic
Nov 13, 2009

learn visual studio instead.

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
i really dont like visual studio but it's possible this is because i havent spent enough time with it. i have spent at least 20-40 hours in it though.

DONT THREAD ON ME fucked around with this message at 14:34 on Aug 4, 2018

Spime Wrangler
Feb 23, 2003

Because we can.

MALE SHOEGAZE posted:

ooh that's right. what a lucky coincidence!

mostly I want to model orbits and gravitational interactions so I think you're right, celestial mechanics is probably the right starting point. It's also the right spot in terms of my current math abilities (I need to do a lot of work on my calculus).

if you’re doing first principles simulation then starting with euler’s method for integration is cool but once you get it working don’t even bother with anything less than fourth order Runge Kutta for a solver (“rk4”)

for even more fun times implement an adaptive Runge Kutta algorithm, which own

cinci zoo sniper
Mar 15, 2013




MALE SHOEGAZE posted:

i really dont like visual studio but it's possible this is because i havent spent enough time with it. i have spent at least 20-40 hours in it though.

i really dislike visual studio too but it does the job. except for vcs integration, gently caress that - i just alt tab into visual studio code for git operations

comedyblissoption
Mar 15, 2006

i used vanilla emacs w/ a bunch of customizations

i now use spacemacs and i'm never going back. i'd rather crowdsource a bunch of autists managing my config instead of becoming the autist myself

cinci zoo sniper
Mar 15, 2013




comedyblissoption posted:

i used vanilla emacs w/ a bunch of customizations

i now use spacemacs and i'm never going back. i'd rather crowdsource a bunch of autists managing my config instead of becoming the autist myself

and again, let's not

DaTroof
Nov 16, 2000

CC LIMERICK CONTEST GRAND CHAMPION
There once was a poster named Troof
Who was getting quite long in the toof

cinci zoo sniper posted:

i really dislike visual studio too but it does the job. except for vcs integration, gently caress that - i just alt tab into visual studio code for git operations

same here, p much

i do drat near all my coding in either visual studio or vscode

and in visual studio i always ignore the vcs tools and switch to either vscode or a command line

(unless i'm on a project that uses tfs, which is thankfully almost never)

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

Spime Wrangler posted:

if you’re doing first principles simulation then starting with euler’s method for integration is cool but once you get it working don’t even bother with anything less than fourth order Runge Kutta for a solver (“rk4”)

for even more fun times implement an adaptive Runge Kutta algorithm, which own

thanks this looks relatively accessible.

Mao Zedong Thot
Oct 16, 2008


MALE SHOEGAZE posted:

ctps: really want to build some sort of basic space simulation thing, perhaps simply trying to model our own solar system at first. visually i'm imagining the overhead view in stellaris.

it sounds like a distraction but i'm pretty interested in space and space physics and among many other things i've been vaguely considering computational astronomy if i go back to school.

e: yah i'm gonna try this, does anyone know anything about it? I'm probably picking up this book: https://www.amazon.com/Astrophysics-PC-Introduction-Computational/dp/0943396433

i've been thinking about making a 'game' like this, pretty much cause i read the expanse books and they made me think about how wild space travel is with accel/decel planning, and how that could be a fun mechanic

Mao Zedong Thot
Oct 16, 2008


unfortunately i don't completely loathe my day job which based on years of experience seems required for peak side project productivity

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

Mao Zedong Thot posted:

i've been thinking about making a 'game' like this, pretty much cause i read the expanse books and they made me think about how wild space travel is with accel/decel planning, and how that could be a fun mechanic

yeah i was thinking it would be cool to do a space simulator game with relativistic travel and stuff. basically flight simulator but in space. obviously you can speed things up or else it would be boring.

that sounds a lot like kerbal though.

has anyone ever made a sim colony ship game where you manage a colony ship as it travels to a new planet?

Shaggar
Apr 26, 2006

MALE SHOEGAZE posted:

i will not play kerbal space program. i bought it and installed it a few years ago, stayed up for 48 hours straight playing it, and then uninstalled because otherwise that game would have taken over my life.

get factorio

cinci zoo sniper
Mar 15, 2013




Shaggar posted:

get factorio

no, he should sleep sometimes

tinaun
Jun 9, 2011

                  tell me...
no, write your own zachtronics like based around the borrow checker

Finster Dexter
Oct 20, 2014

Beyond is Finster's mad vision of Earth transformed.

Spime Wrangler posted:

if you’re doing first principles simulation then starting with euler’s method for integration is cool but once you get it working don’t even bother with anything less than fourth order Runge Kutta for a solver (“rk4”)

for even more fun times implement an adaptive Runge Kutta algorithm, which own

The only fun I've had with go was writing an ode solver with runge kutta like 5 years ago. I specifically wrote it to be the base of a n-body solver but like all my projects I moved on to something else.

Shaggar
Apr 26, 2006

cinci zoo sniper posted:

no, he should sleep sometimes

not if he has more factorio to play

the talent deficit
Dec 20, 2003

self-deprecation is a very british trait, and problems can arise when the british attempt to do so with a foreign culture





Pie Colony posted:

those would be http requests though?

sure, i just meant api gateway -> lambda is terrible and you shouldn't use it

Soricidus
Oct 21, 2010
freedom-hating statist shill

comedyblissoption posted:

i used vanilla emacs w/ a bunch of customizations

i now use spacemacs and i'm never going back. i'd rather crowdsource a bunch of autists managing my config instead of becoming the autist myself

hello I literally have autism and my .emacs.d/init.el is about 8 lines long

Progressive JPEG
Feb 19, 2003

my .emacs has around 350 lines and has been getting incrementally updated since 2003

nobody's emacs is the same

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

MALE SHOEGAZE posted:

oh my god i dont know how to do anything. i might as well be learning emacs from scratch.

try doing this

get yourself off vi

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

eschaton posted:

try doing this

get yourself off vi

oh i am, it's just funny that even though i've been using emacs for a few years and have written my own modes and stuff, i have no idea what i'm doing with a bare emacs install.

i have helm and projectile going now and things are feeling better. buffer management sucks but i'm going to relearn it from scratch because I wasn't happy with how i did things before. I've never really found a buffer management strategy that I liked in either emacs or vim.

oh yeah, and I got scala (ensime) and rust (via eglot and LSP) working okay. neither feels especially great but that's more to do with not being comfortable with this setup in general.

DONT THREAD ON ME fucked around with this message at 20:05 on Aug 4, 2018

fritz
Jul 26, 2003

Spime Wrangler posted:

if you’re doing first principles simulation then starting with euler’s method for integration is cool but once you get it working don’t even bother with anything less than fourth order Runge Kutta for a solver (“rk4”)

for even more fun times implement an adaptive Runge Kutta algorithm, which own

what about a symplectic integrator?

Spime Wrangler
Feb 23, 2003

Because we can.

no idea! I got just enough numerical methods to do CFD and simulink stuff, and undergrad level celestial mechanics

they sound fancy though so I’d put em somewhere other than then “less than rk4” category. I mostly wanted to point out that Euler integration isn’t sufficient for orbit simulations regardless of timestep, which could cause headaches if you weren’t aware.

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
headaches will be involved either way

Finster Dexter
Oct 20, 2014

Beyond is Finster's mad vision of Earth transformed.

Spime Wrangler posted:

I mostly wanted to point out that Euler integration isn’t sufficient for orbit simulations regardless of timestep, which could cause headaches if you weren’t aware.

wait why not?

Finster Dexter
Oct 20, 2014

Beyond is Finster's mad vision of Earth transformed.
meanwhile, just saw this on HN:

build you a Rust VM: https://blog.subnetzero.io/post/building-language-vm-part-00/

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
i think for now i'm going to try to split my time between doing the 8080 emulator and working on math via the celestial mechanics simulation. i think those are suitably different problems that address different weaknesses in my foundations.

DONT THREAD ON ME fucked around with this message at 21:08 on Aug 4, 2018

Spime Wrangler
Feb 23, 2003

Because we can.

wikipedia posted:

The Euler method is a first-order method, which means that the local error (error per step) is proportional to the square of the step size, and the global error (error at a given time) is proportional to the step size. The Euler method often serves as the basis to construct more complex methods, e.g., predictor–corrector method.

so if the step time approaches zero error does too, but you always accumulate error. it’s ok in some circumstances, but to get a sufficiently accurate solution your time steps get so small that your computation time explodes and it only would work for a fixed total simulation length with a large enough error budget. totally inappropriate for an open ended simulation.

rk4 introduces four Euler level integration steps per timestep but allows you to run much larger timesteps without accumulating amplitude or phase error if your timesteps are small enough to capture the wavelength of the simulated phenomena. (edit: probably related to nyquist frequency but I don’t know the exact relationship and I’m sure it’s more complicated than that)

adaptive RK methods use a combination of eg fourth and fifth order RK integrators to make sure the primary fourth order integrator uses the correct size timestep. this is the technique matlab’s ODE45 function uses (specifically the Dormand-prince algorithm) and it helps you get the most bang for your computational buck, which is important if you have a complex calculation to perform for each system state calculation.

there’s lots of other techniques but those are the ones in most familiar with.

Spime Wrangler fucked around with this message at 20:47 on Aug 4, 2018

Fiedler
Jun 29, 2002

I, for one, welcome our new mouse overlords.

MALE SHOEGAZE posted:

i really dont like visual studio but it's possible this is because i havent spent enough time with it. i have spent at least 20-40 hours in it though.

what were you using it for?

Adbot
ADBOT LOVES YOU

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

Fiedler posted:

what were you using it for?

admittedly react/jsx/html, which i'm not very comfortable with in general, and rust, where the bad experience is not because of vscode.

but about 3 hours ago i discovered zen mode in vscode and i've been really enjoying it.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply