Page 1 of 1
[06:15:27] Talltree_: guys, do you know, when hosting web apps like rails, or node based, is it better to have many virutal cores or a single or 2 dedicated ones?
[06:18:16] Talltree_: i had the same throught, also thought about using docker for everything and spawning some workers
[06:19:05] Talltree_: so peak performence is better, i'm not running extremly active sites atm, i can upgrade this month to a better package
[06:23:41] Talltree_: would make a lot of headache when it comes to js node and ruby version management go away
[06:24:35] Talltree_: that should be plenty, maybe switching to really basic host, like alpine linux
[18:05:23] Talltree_: cd /home/deploy/apps/d2ladder/releases/20160622195721 && /usr/bin/env bundle install --path /home/deploy/apps/d2ladder/shared/bundle --without development test --deployment --quiet
[18:08:32] Talltree_: rubyonrails887, http://apidock.com/rails/ActionView/Helpers/UrlHelper/current_page%3F
[18:24:01] Talltree_: how can i reset all gems i have locally and on the server? like complete enviroment clean
[09:12:39] Talltree_: does someone know if the gem ActiveModelSerializers enables more advanced PUT via json too?
[09:29:55] Talltree_: universa1 apperantly i am not good at posting into multible models like i would via nested forms
[09:32:29] Talltree_: i tried so many times, if i paste you my form can you help me with an example json? i managed to post into one model perfectly fine, the nested one is the problem
[09:33:35] Talltree_: i thought maybe the jsonapi format would give me a sturcture that is a "industry standard"
[20:47:18] Talltree_: excuse my noobishness but <% @characters.joins(:experiences).order("value").each do |character| %> how do i select the last value instead of a general value here?
[20:49:33] Talltree_: i print the value i want to sort with in a column with character.experiences.last.value
[20:55:48] Talltree_: one character has a history of exp values, i want to sort the ladder by the last (think highest) exp value that each char has
[21:05:16] Talltree_: so getting all points is bad, getting the last one is the most accurate one :D
[21:08:09] Talltree_: yes, takes ages with 100 chars and 10000 values to load, dunno what it actually takes of those values
[21:13:19] Talltree_: smathy: okay, i have this <% @characters.joins(:experiences).order("value").each do |character| %> as the table "loop"
[21:13:39] Talltree_: but instead of value, i want the last value that is the value column of the experience db
[21:23:27] Talltree_: since every character has a history of Experience values, like Chess ELO for example.
[21:24:50] Talltree_: thinking about this stuff i should have proably have started out with something simple, like a blog app
[21:30:28] Talltree_: i mean, getting the number is really easy with rails, afaik the order("") is SQL
[21:31:48] Talltree_: thats party the reason i like rails so much, it takes the sql stuff and makes it easy i thought :D
[21:34:39] Talltree_: can you smathy or VeryBewitching explain what you meant by caching the exp.value in the table?
[21:44:55] Talltree_: i look into my wallet each day, and note how much money i got in it on a paper, at the end of the month i compare it to my 10 friends, sort the table by the latest (current) value of money i have in my wallet
[21:55:20] Talltree_: you know you are working on something complicated when your music stopped an hour ago and you didnt notice :D