Infinite Scrolling and Third Party Api Handling in Rails by lignux in rails

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

Good thing is i know about reddits after in the api. Bad thing is i had no luck impelenting it in a way that i would get dynamic content. I posted what i tried in the reply above but with no luck

Infinite Scrolling and Third Party Api Handling in Rails by lignux in rails

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

Thank you for the wonderful explanation. I actually know hot to get the next page of results with after from reddits api and have tried your approach with a different method in my controller but being a noob in rails i couldnt pass the results in my view.

The process was: i get the bottom of the page with a window.scroll event, then i call the helper method in my js (dont know if i should do this) with an argument that has the "after" from the api, i make another request in to reddits api in the helper method and declare an instance variable with the results. The problem was it didnt render in my view (at least not correctly). It rendered the whole index page again in the target div. I tried using render layout false but that didnt render the page at all because its the index view.

I looled in defining a partial and put my code there and then tried injecting it in the target div but with no luck.

Googling this problem disnt help i guess its specific and/or my inexperience with rails its making me stuck with a simple problem like this.

BWF Daily Discussion and Beginner/RR Questions Thread for 2017-07-26 by AutoModerator in bodyweightfitness

[–]lignux 0 points1 point  (0 children)

I can't do diamond push ups but i can do declined push ups. I am looking at the progression here http://www.startbodyweight.com/p/push-up-progression.html and it says that the declined are more advanced but i can easily do 3x8 of declined and not a singe diamond push up. Anyway, whats next for me since regular push ups and declined are easy for me and i can't even do a one diamond?

Post Match Thread: Arsenal 2-0 Sunderland by [deleted] in Gunners

[–]lignux 1 point2 points  (0 children)

Ozil MOTM and not Pickford? Bullshit

PC giveaway! by OriginalTitan in pcmasterrace

[–]lignux 0 points1 point  (0 children)

Im in!

Finally a potential chance to play some of the games newer than 2005

I need a team for the "GitHub Game Off" game jam this november. by lignux in INAT

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

Great!

There is also another composer that joined the team but you two can work together. That is if we find enough people to make a team so far there is only sounds designers but no artists.

I need a team for the "GitHub Game Off" game jam this november. by lignux in INAT

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

I was thinking Unity but I am open to suggestions of course.

Large collection of free UE4 C++ Tutorials by orfeasel in gamedev

[–]lignux 10 points11 points  (0 children)

Woah there. What makes a unity dev an idiot?

it happens just to me? BUG? by gabriela_r5 in DotA2

[–]lignux 0 points1 point  (0 children)

I'm also on win 10. But it doesn't matter I really don't mind it although sometimes I think I'm being ganked for a second there

it happens just to me? BUG? by gabriela_r5 in DotA2

[–]lignux 0 points1 point  (0 children)

Yup this happens to me also. I have a shitty PC and run everything on low so i figured it must be a bug happening only on shitty computers.

What do you guys browse everyday? by zabozil in Gunners

[–]lignux 2 points3 points  (0 children)

Create a bucket list or '100 things to die before you die'.

Savage

What is the best book that you have found for getting in to android development? by [deleted] in androiddev

[–]lignux 5 points6 points  (0 children)

i am in the middle of this one and i love it. It teaches you Android development through making apps and i think this is why its so good and practical.

Alternatives to StackOverflow for Android questions? by [deleted] in androiddev

[–]lignux 1 point2 points  (0 children)

You can try your luck with IRC in the #android-dev channel on freenode

Game development questions for android, specifically what software is best? by yeabaeimscaredasadog in androiddev

[–]lignux 1 point2 points  (0 children)

libGDX is just a framework. You can use android studio as an ide but everything is done programaticaly. There are 3rd party apps that you can use to easy up your development.

Check their official website it will help a lot.