jacebot's recent activity
-
Comment on Usability Suggestion: Mobile sidebar closing. in ~tildes
-
Comment on Programming Challenge: Merge an arbitrary number of arrays in sorted order. in ~comp
jacebot The magic that is JavaScript ES6... when working through this, I had a similar real world problem this week, so still rather fresh. Get a messy array => into new array of arrays with groups of 3...The magic that is JavaScript ES6... when working through this, I had a similar real world problem this week, so still rather fresh. Get a messy array => into new array of arrays with groups of 3 obj. Fun times.
- Don't hate on the web dev... we program too. Sometimes.*
let overallArr = []; const arr = [[1,2,3], [3,4,5,], [5,6,7,8]] function sortArr (current, arr) { let currentArr = current; let tempArr = []; for (let i=0; i < arr.length; i++) { let innerArr = arr[i]; tempArr = [...tempArr, ...innerArr] } // Not the most efficient in large sets // https://gist.github.com/telekosmos/3b62a31a5c43f40849bb#gistcomment-1739870 return overallArr = new Set(tempArr.sort()) } sortArr(overallArr, arr) console.log(sortArr(overallArr, arr))
-
Comment on Programming Challenge: Merge an arbitrary number of arrays in sorted order. in ~comp
jacebot This is pretty sexy too. 3 lines and done. 2 if you don't count the import. Nice.This is pretty sexy too. 3 lines and done. 2 if you don't count the import. Nice.
-
Comment on Programming Challenge: Merge an arbitrary number of arrays in sorted order. in ~comp
jacebot Now this is elegant, and mostly readable.Now this is elegant, and mostly readable.
-
Comment on (Yet another what are your favorite) and must-watch TV series? in ~talk
jacebot Ozark recently got me sucked in. I am fan of Jason Bateman acting and characters. Excited about the new season. Curious about the Mayans MC coming, however, skeptical. Curious to see how Orange...Ozark recently got me sucked in. I am fan of Jason Bateman acting and characters. Excited about the new season.
Curious about the Mayans MC coming, however, skeptical.
Curious to see how Orange ends as well.
And I need to watch Mr. Robot. Been putting it off for awhile.
Also was suggested Fargo (the series - enjoyed the movie) - thoughts anyone?
Other than that, just awaiting like everyone else on STs3, GoT end season, and so on.
-
Comment on What are you working on this weekend? in ~comp
jacebot Learning about PWA's and finding a jump off project to use. Also getting acquainted with ~tildes code base, so I can help with the front end. Don't hate me when I make a change :)Learning about PWA's and finding a jump off project to use. Also getting acquainted with ~tildes code base, so I can help with the front end.
Don't hate me when I make a change :)
I don't think what you're asking for is too far off. I believe UX/UI best practice would have the side nav close on navigation/click event. Even if it is on the same page.