Is there like a standard (or at least a best practice) on how to provide data through a web API in slices/pages? Like, having a generic way to provide offset and length for a result set or returning an identifier that, when provided with future requests, returns additional items
jsonapi.org seems to suggest a links section, which provides what I would have counted under the second case, but the provided link looks more like the first case
Either way, how do you make sure, the second page is actually the second page for your first result set? The results could be different for the second query
Does anyone now how I can filter out same records / duplicates? Like only show the latest entry http://prntscr.com/f99g9o So it would only show the latest entry when Firstname and Lastname are the same for example?
Hello guys can someone help me to delte this question? it was missunderstood and downvoted, i was asking about performance not the foreach , now I can''t delete the question stackoverflow.com/questions/44010938/…
@OtávioBarreto Welcome to the JavaScript chat! Please review the room rules. Pleasedon't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
i've got a problem. The console compiler from codeAcademy says.. " It looks like your second 'for' loop isn't pushing values to the hits array. Make sure it's working properly and that myName's text appears somewhere in the text variable. "
Three things I really like about coding on a mac (in contrast with win / linux). 1. the command key is comfortable to reach, and it does useful things, in contrast with win key on windows. I like how the ctrl key acts as a unix-y ctrl, all your emacs standard shortcuts work and it's just fun being able to both copy with cmd-c and stop a running task with ctrl-c.
2. Unix terminal. (not a point against linux, of course)
3. High quality apps. Most apps on Mac feel really high grade, and are fun to use. Yes, most of them cost money, but they're useful and actively developed, which is what matters most to a professional that relies on his tools.
No one chose an OS by keyboard. Just stated that a key arrangement on macs was useful for copy and paste. That one nice feature was countered with a comprehensive list of all the things you can do with the windows key.
guys I have a problem. I have a single component that is very deeply nested with child components. Prop passing goes down really far from the parent. Is it possible to make a "localized" redux like store on a single component?
@CatBoss I have a video. The video has tons of subcomponents that need to hook into certain properties, such as position, duration, isPlaying. I am afraid to use context because I hear it is likely to be deprecated
@corvid they changed that opinion, I think. anyway, I really like the simplcity and ease of use of mobx. but if you dont need reactivity, access them on a global object
@Adowrath Welcome to the JavaScript chat! Please review the room rules. Pleasedon't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.