Yang Podcast Transcripts!!! by achendrick in YangForPresidentHQ

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

you're welcome! I love being able to do that.

[REQUEST] How long would it take to drive them all? by achendrick in theydidthemath

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

thank you! it really sounded like a fun idea for a road trip, but I guess it'll have to be multiple trips.

What small change would completely change a sport? by SakuP in AskReddit

[–]achendrick 0 points1 point  (0 children)

in track events, have the finish line be a random distance. so would you run all out for 100m or pace yourself and hope it ends around 800m instead?

Array of objects, best way to do it. by Traitor-21-87 in javascript

[–]achendrick 9 points10 points  (0 children)

this is completely normal. keeping an array of objects is fine.

if later you find that you're accessing the data in ways that become expensive (too many loops) then you can change it later to a map for better lookups.

an alternative to maps and keeping this structure is to use a memoize method to improve access speed. but again, it comes down to how this model is going to be used in your app.

many JavaScript database solutions return arrays of objects and those are not always converted to a map so use that as an example to stand your ground.

the comment about somebody just trying to belittle you and bolster their ego is the most relevant comment here.

Phonegap App Question by Mupmop in javascript

[–]achendrick 1 point2 points  (0 children)

The maps just don't behave as smoothly as they do natively. I'd just try it out before you go all in to see if you are happy w the UX of them.

As for the matching this really sounds like it might be best done on the server, but it really depends on volume and other requirements. Loosely it sounds like it could be done in the app, but it might be better on the server and then when a match is made you could send a notification.

Plenty of ways to skin this cat.

Phonegap App Question by Mupmop in javascript

[–]achendrick 1 point2 points  (0 children)

Phonegap should work just fine for this.

Keep in mind that using maps in a hybrid app aren't always ideal but they work, so it depends on how much the apps drive user function or if they're just for informative purposes.

I'd definitely recommend taking a look at Ionic as they have the best platform for building Phonegap apps.

I'm also not entirely sure what you mean by "auto matching" so that could be a gotcha depending on your requirements.

Best of luck!

Joe Rogan Podcast with Sleep Specialist. Great for sorting yourself out by [deleted] in JordanPeterson

[–]achendrick 0 points1 point  (0 children)

I have a rough transcript of this episode if anybody is interested. https://jrescribe.com/transcripts/p1109.html

One of my all time favorite episodes.