Author Topic: ADARQ's journal  (Read 2585768 times)

0 Members and 1 Guest are viewing this topic.

seifullaah73

  • Hero Member
  • *****
  • Posts: 3933
  • Respect: +1742
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6090 on: March 24, 2016, 08:00:03 am »
0
hey

I decided to expand on my programming skills to increase chance of employability by learning different python frameworks, I have learned python itself but am going to try and learn 3 of the many frameworks django, flask and pyramid. any advice on making the learning easier, how to follow tutorials, so to learn instead of memorizing it. it is the first time I would be dwelling into web development. the things you have to do.

nice!

well, web stuff is my arch enemy.. i excel more at non-gui backend stuff. but i guess the same techniques apply.

one thing I like to do is find some simple code out there on github, download it, get it to run, then start to pick it apart. So, it could be some simple web app in flask for example. Now, instead of reading a tutorial and simply implementing it verbatim, you now have to do more investigative work. You can also go back through the commit history and "unravel it from the beginning". It's hard to do this with big apps, so find small tools/repositories and read the code, but also mess around with it, making tweaks and such.

I always have some project I implement when learning a new language, or in your case, framework. For most people it's a TODO app (TodoMvc) etc. For backend stuff it could be file parsers, irc bots, etc. As for TodoMVC, you'll probably be interested in this if you havn't found it already:

http://www.todobackend.com/

they have backend versions of todo apps written in the frameworks you mentioned. Those would be a good resources. Also, i've done that todo-backend exercise in a few languages, it's actually worth it. They have some nice test page where you give them the url to your app, and it piece by piece helps you code it in a TDD (test driven development) style. So they ask you to respond to a GET / with all todos, and you implement it. Then they give you the next task.

I guess the common theme in those two approaches is the "do/tinker" technique. Memorization is very important, it allows you to just fly through a project when you don't have to check the docs. But in the early stages, writing a small project from scratch where you can't "easily cheat yourself" by looking up the answers, is important imho.

Tutorials are good though too.. After you've messed around and completed some small projects, just going on a tutorial binge can open up all kinds of new ideas/techniques that would have taken you so much longer to find. So I like binging on tutorials, just spending all day going through tons of them and jotting down things I want to really look into.

Lastly, i'd watch/star a few active repositories in github that cover what you are trying to improve. That way you get email notifications and such when people accept pull requests etc. You want to read commits to those projects daily. Even if you don't understand the architecture of the project, you just want to read those commits to pick up on things people who are professional with those frameworks are doing (their style, comments, techniques, tricks, libraries they use etc).

let me know if that helps! that's my 2 cents on it.

pc!

That was really helpful, thanks.
I didn't realize it was your arch enemy, the way you run and maintain this site, the coding and everything.
pc  :highfive:
Warm up drills
   - a walk, b skip quick powerful switch (heel to hams focus), a runs, dribbles small to big to run, straight leg to runs (force, reflex, go up/forward). force to hit the ground before it hits the ground knee/hip is at 90 degrees.
   - acceleration: low heel recovery, shin angle low, drive legs back before hitting the ground and drive thighs/knee forward not up
-------------------------------------------------------------
Measuring reminder:
5 toe to heel steps = 148cm
------------------------------------------------------------------------

�Strength comes from the legs, Power comes from the torso and Speed comes from the arm.� � Al Vermeil
Arm also aids the legs in driving it down with power - seifullaah73

My Progress Log
A Journey to Running fast and Jumping High
http://www.adarq.org/progress-journals-experimental-routines/my-journey-to-hypertrophy/

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6091 on: March 24, 2016, 12:30:29 pm »
0
hey

I decided to expand on my programming skills to increase chance of employability by learning different python frameworks, I have learned python itself but am going to try and learn 3 of the many frameworks django, flask and pyramid. any advice on making the learning easier, how to follow tutorials, so to learn instead of memorizing it. it is the first time I would be dwelling into web development. the things you have to do.

nice!

well, web stuff is my arch enemy.. i excel more at non-gui backend stuff. but i guess the same techniques apply.

one thing I like to do is find some simple code out there on github, download it, get it to run, then start to pick it apart. So, it could be some simple web app in flask for example. Now, instead of reading a tutorial and simply implementing it verbatim, you now have to do more investigative work. You can also go back through the commit history and "unravel it from the beginning". It's hard to do this with big apps, so find small tools/repositories and read the code, but also mess around with it, making tweaks and such.

I always have some project I implement when learning a new language, or in your case, framework. For most people it's a TODO app (TodoMvc) etc. For backend stuff it could be file parsers, irc bots, etc. As for TodoMVC, you'll probably be interested in this if you havn't found it already:

http://www.todobackend.com/

they have backend versions of todo apps written in the frameworks you mentioned. Those would be a good resources. Also, i've done that todo-backend exercise in a few languages, it's actually worth it. They have some nice test page where you give them the url to your app, and it piece by piece helps you code it in a TDD (test driven development) style. So they ask you to respond to a GET / with all todos, and you implement it. Then they give you the next task.

I guess the common theme in those two approaches is the "do/tinker" technique. Memorization is very important, it allows you to just fly through a project when you don't have to check the docs. But in the early stages, writing a small project from scratch where you can't "easily cheat yourself" by looking up the answers, is important imho.

Tutorials are good though too.. After you've messed around and completed some small projects, just going on a tutorial binge can open up all kinds of new ideas/techniques that would have taken you so much longer to find. So I like binging on tutorials, just spending all day going through tons of them and jotting down things I want to really look into.

Lastly, i'd watch/star a few active repositories in github that cover what you are trying to improve. That way you get email notifications and such when people accept pull requests etc. You want to read commits to those projects daily. Even if you don't understand the architecture of the project, you just want to read those commits to pick up on things people who are professional with those frameworks are doing (their style, comments, techniques, tricks, libraries they use etc).

let me know if that helps! that's my 2 cents on it.

pc!

That was really helpful, thanks.

cool!


Quote
I didn't realize it was your arch enemy, the way you run and maintain this site, the coding and everything.
pc  :highfive:

ya but i'm using popular forum software called SMF. most everything I code is backend/non-web stuff. My only real web project is making this site my own code. It's fun, but more difficult for me than it should be. Lots of backend programmers "suffer" from this, from what i've seen (and met irl). They just want nothing to do with graphical user interfaces and such.

the first search result:

http://programmers.stackexchange.com/questions/40590/why-do-some-programmers-hate-the-ui-part-of-the-development/40597

Quote
and there's only so many times one can put a checkbox on the screen before going slightly mental. And that's not even touching on spending hours aligning pixels "just so".

ya.. aligning pixels = hell. which is odd, because I like aligning my code when I format it as I write it.. and i like using pretty printers for console output such as Text.PrettyPrint in haskell. When interfacing with things, I just like raw text/command line tools alot more than anything I would do in a browser or on a phone etc.

on a fun note.. I registered antigui.{net,org,com} several years ago, but havn't put up a site for it.. which makes sense, since it's called antigui. lololol.

pc!

seifullaah73

  • Hero Member
  • *****
  • Posts: 3933
  • Respect: +1742
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6092 on: March 24, 2016, 01:35:00 pm »
+1
for me I love creating a nice GUI for the software I code. But I do not like coding the UI.
Warm up drills
   - a walk, b skip quick powerful switch (heel to hams focus), a runs, dribbles small to big to run, straight leg to runs (force, reflex, go up/forward). force to hit the ground before it hits the ground knee/hip is at 90 degrees.
   - acceleration: low heel recovery, shin angle low, drive legs back before hitting the ground and drive thighs/knee forward not up
-------------------------------------------------------------
Measuring reminder:
5 toe to heel steps = 148cm
------------------------------------------------------------------------

�Strength comes from the legs, Power comes from the torso and Speed comes from the arm.� � Al Vermeil
Arm also aids the legs in driving it down with power - seifullaah73

My Progress Log
A Journey to Running fast and Jumping High
http://www.adarq.org/progress-journals-experimental-routines/my-journey-to-hypertrophy/

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6093 on: March 26, 2016, 03:37:03 am »
0
yesterday:

rained all day.. decided to rest another day.

03/24/2016

Bio: Morning

sleep = 7 hours
wakeup = 1 PM
bw = 155 lb.
morning resting heart rate = didn't measure
soreness = none
aches = right tennis elbow barely
injuries = toenails wrekt
feel = tired



Food

1 PM

- greek yogurt
- orange juice
- some chocolates
- banana



Food

7 PM

- nearly 1.5 cups of sorghum, with curry, tons of olives/garlic/serrano/red chili pepper/mixed nuts
- orange
- hot mint tea
- biscotti



Food

12 AM

- a bunch of blue corn chips
- greek yogurt



Food

3 AM

- greek yogurt

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6094 on: March 26, 2016, 03:44:37 am »
0
03/25/2016

Bio: Morning

sleep = 8 hours
wakeup = 1 PM
bw = 151 lb.
morning resting heart rate = didn't measure
soreness = none
aches = right tennis elbow barely
injuries = toenails wrekt
feel = good



Food

1 PM

- sugarless pure green tea
- beet juice + tart cherry juice
- 3 x wheat bread with peanut butter
- greek yogurt



Food

5 PM

- greek yogurt



Session: Evening

7:30 PM

run:
- 14.5 mi in 2h:04m:38s
- ran the first hour much better than the second hour.. but, got progressively slower the entire run until i was going pretty slow at 12.5 mi.
- probably ran 4 x ~1.5 mi using midfoot.. was def going faster when I was running like this. I like alternating it right now, gives me time to recover.
- felt pretty good though



Food

~9:30 PM

- orange juice



Food

10 PM

- hot mint tea
- biscotti
- orange
- greek yogurt
- tons of water



Food

12 AM

- light red kidney beans with grilled chicken/carrots/serrano pepper mixed in
- some mixed nuts



Food

3 AM

- greek yogurt
- grape fruit juice




legs/lungs feel pretty damn good right now.. 3:42 AM. right elbow is feeling alot better lately, since i am resting from calisthenics. Need that tennis-elbow injury to go away.. not sure if it ever will but, I can hope. Also my right hip tightness has been disappearing too.. this 1 day on 1 day off (or even 2 days off) routine is doing me good. I like it.

gn!

gukl

  • Hero Member
  • *****
  • Posts: 1950
  • Respect: +1614
    • View Profile
Re: ADARQ's journal
« Reply #6095 on: March 26, 2016, 04:50:42 pm »
0
how is your desk/keyboard set up if you're spending a lot of time coding etc? could it be aggravating the tennis elbow?

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6096 on: March 27, 2016, 05:28:40 am »
0
how is your desk/keyboard set up if you're spending a lot of time coding etc? could it be aggravating the tennis elbow?

i mostly code while lying down.. :f

my elbow has been getting better every day, since i stopped calisthenics.. it began when i was playing tennis (about 2 months after). even when i stopped tennis temporarily, it persisted because of the calisthenics.

pretty sure my positioning isn't aggravating my elbow at all...

however, my fingers/hands have been a bit achy/sore today.. definitely from too much typing.

;/

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6097 on: March 27, 2016, 05:35:17 am »
0
Buddy Hield is a beast.



03/26/2016

Bio: Morning

sleep = 7 hours
wakeup = 12 PM
bw = 150 lb.
morning resting heart rate = didn't measure
soreness = quads a little
aches = right tennis elbow barely, hands/fingers (from computer)
injuries = toenails wrekt
feel = good



Food

12:30 PM

- greek yogurt
- grape fruit juice



Food

5 PM

- cookie
- green tea



Food

8 PM

- big bowl of beef + chili bean soup from whole foods
- blue corn chips + hot salsa
- 2 x veggie egg rolls
- green tea



Food

10 PM

- hot mint tea



Food

3 AM

- greek yogurt
- 4 x banana
- bunch of salt and vinegar chips



up way too late...............................

got alot done today though.. tons actually.. also converted all of my client side urls to pretty urls for the adarq.org forum re-write. Prior tothat, everything had been ID's.. /orgs/<number> .. now you can do either /orgs/name, /orgs/5 etc. modifying that for everything.

right now the app is becoming completely client side, single page app. removing all server-side rendering except for a few static files and this default layout template... server is only for the api/server-side business logic etc.

i'm using a component based ui framework but, i'm using one big fucking component instead of nesting components.. that's because i have no idea how to do it in purescript yet.. so i'm just saying screw it and creating a god component. I'm doing it in a pretty clean way though (as clean as u can get for a god object). so far so good. HEH!

pc

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6098 on: March 28, 2016, 05:25:49 am »
0
03/27/2016

Bio: Morning

sleep = 8 hours
wakeup = 3 PM
bw = didn't measure
morning resting heart rate = didn't measure
soreness = quads a little
aches = right tennis elbow barely, hands/fingers (from computer), VL's a little near knee (both knees)
injuries = toenails wrekt
feel = good



Food

4 PM

- beef roast
- some potatoes, carrots, peas
- some bread and butter



Food

10 PM

- some ice cream
- hot mint tea
- biscotti



Food

12 AM

- 2 x veggie egg rolls
- blue corn chips + hot salsa



Food

5:20 AM

- 3 x banana
- greek yogurt
- 2% milk




went to bed at 7:30 AM last night... :(

today sucked for the most part, except for the seismic activity that happened around 4 PM when I saw LBSS's posts about his first dunk and his PR squat. :wowthatwasnutswtf: props  :highfive:

syracuse vs virginia game was pretty nuts.. can't count anyone out in these games, even if they look like blow outs etc.

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6099 on: March 29, 2016, 05:09:13 am »
0
i should go to sleep..

03/28/2016

Bio: Morning

sleep = 7 hours
wakeup = 1 PM
bw = 152
morning resting heart rate = didn't measure
soreness = hamstrings slightly
aches = right tennis elbow a bit, hands/fingers (from computer), VL's a little near knee (both knees)
injuries = toenails wrekt
feel = good



Food

1:30 PM

- 2 x wheat bread with peanut butter
- orange juice
- greek yogurt
- green tea



Food

5 PM

- greek yogurt



Session: Evening

7 PM

run:
- 9 mi in ~1.5 hours? not worth mentioning details
- very slow on purpose, but, mixed in some single leg jumps (for distance and vert), also some short sprints
- quads wrecked



Food

9:30 PM

- small ice cream
- hot mint tea



Food

10 PM

- huge bowl of fiber one cereal with 2% milk
- banana
- orange juice



Food

5 AM

- banana
- greek yogurt



left foot feels a little odd.. quads feel sore. might run again tmw tho.. might go pretty slow all this week.

lots of coding.. my brain is doing good in this department lately.

pc!!

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6100 on: March 30, 2016, 04:50:14 am »
0
03/29/2016

Bio: Morning

sleep = 7 hours
wakeup = 1 PM
bw = 149
morning resting heart rate = didn't measure
soreness = quads a little
aches = right tennis elbow a bit, VL's a little near knee (both knees)
injuries = toenails wrekt
feel = good



Food

1:30 PM
- from boston market

- 12" grilled chicken sub
- sweet apples
- pure sugarless green tea



Food

4 PM

- greek yogurt



Session: Evening

7:30 PM

run:
- 9.4 mi in 1h:17m:00s
- slow with short & long sprints mixed in, also horizontal and vertical slrvj's
- pace was decent for how slow I was going
- hit a top speed of 12.3 mph on one of my sprints .. good sign.
- legs actually felt pretty bouncy/explosive
- actually did two jumps at a bball hoop as I passed a court.. just wanted to hit rim. barely hit it.

good run actually. happy about it.



Food

9:30 PM

- huge bowl of cheerios with honey & 2% milk
- orange
- orange juice
- one square of cookies and cream bark



Food

10 PM

- hot mint tea with honey



Food

3 AM

- greek yogurt
- grape fruit juice
- 2 x banana



NCAA dunk contest this Thursday at 9 PM ET i think.... that's usually fun to watch!

i'd like to run again tomorrow.. nice and light with some sprints. that's the formula for this week it seems.

pc

John Stamos

  • Hero Member
  • *****
  • Posts: 3580
  • Respect: +1465
    • View Profile
Re: ADARQ's journal
« Reply #6101 on: March 30, 2016, 04:25:55 pm »
0
To get your top speed, do you have a watch or something that tracks it?  I think on my Shealth app they have speed on there but i cant find it anymore haha
Every Monday
50 JR
10-1
BURPEES
WALLBALL X 20LB
JJ

PR: 19:51 --> 17:41

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6102 on: March 31, 2016, 03:03:38 am »
0
To get your top speed, do you have a watch or something that tracks it?  I think on my Shealth app they have speed on there but i cant find it anymore haha

ya, it's not 100% accurate but, my gps watch sends the data off to connect.garmin.com which displays a bunch of stats. So they figure it out based on the GPS data. One of the stats is "max speed".

it's fairly accurate from what i've seen. I've seen it glitch once so far, but other than that it's been solid. The glitch had me going like 60 mph... lool.

i don't like running with anything, so the gps watch is barely noticeable. i definitely prefer it over a phone.

pc!

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6103 on: March 31, 2016, 05:40:04 am »
0
03/30/2016

Bio: Morning

sleep = 8 hours
wakeup = 3 PM
- eek  :ninja:
bw = 149
morning resting heart rate = didn't measure
soreness = quads a little, hamstrings, calves slightly
aches = right tennis elbow slightly
injuries = toenails wrekt
feel = good



Food

3 PM

- 2 x wheat bread with peanut butter
- pure sugarless green tea
- greek yogurt
- banana



Session: Evening

8:30 PM
- raining, some flooding, was nice tho

run:
- 12.17 mi in 1h:51m:14s
- slow with some sprints mixed in
- max speed: 13.8 mph
- ^^ not sure if I trust it tonight.. however.. I did get that reading on a fast short sprint so.. (I can tell by where it corresponds on the map). I also hit 12+ a few other times.
- calves and hamstrings are fairly sore
- slow run, but relaxed/having fun.



Food

10:30 PM

- orange juice
- bowl of cheerios with honey & 2% milk
- orange
- banana
- hot mint tea
- biscotti



Food

3 AM

- some chips and salsa
- some salt & vinegar chips
- greek yogurt
- beet juice + tart cherry juice




lots of coding today.. got pagination working & such, which is important because i've been loading up journals with hundreds of posts for testing. Now threads & posts are paginated. Alot of this code is custom soo.. more work, but fun.

Have one big problem with the single page app so far.. the "router" bounces around all over the place if you click very fast and just do a bunch of dumb stuff.. regardless, it's annoying. I need to figure it out. It could also be related to how many ajax calls this app is making. Tomorrow I need to code in some bulk query capabilities to the api, so I can pass lists of id's and retrieve all of those results in one query. That'll speed things up for sure. The server is also fairly slow because i'm testing on my mac. When I test it on my linode server it's very fast.. wonder why it's so slow on my mac, kind of odd.

pC!

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #6104 on: April 01, 2016, 05:06:47 am »
+1
03/31/2016

Bio: Morning

sleep = 8 hours
wakeup = 2:30 PM
- eek  :ninja:
bw = 148
morning resting heart rate = didn't measure
soreness = hamstrings slightly
aches = right tennis elbow slightly
injuries = toenails wrekt
feel = good



Food

2:30 PM

- green tea
- greek yogurt



Food

5 PM

- 2 chicken tacos
- some nachos chips and salsa



Food

7 PM

- green tea
- mounds bar
- beet/berry juice drink



Food

9 PM

- 1/3 java chip ice cream
- hot mint tea
- few pieces of cookies and cream bark



Food

5 AM

- greek yogurt
- banana



had to do a bunch of stuff today, so rested. wanted to get a run in but.. just rested & coded instead.

new forum news:
- worked alot on styling.. looking nice. just a rough draft but it looks pretty clean. Got breadcrumbs working nicely. Also got some nice /users and /orgs pages, looks pretty pro. Using gravatar's d=identicon param which generates gravatar's even if you don't have one.. makes the forum look very colorful with all of the random avatars. Working on thread post form stuff for the last few hours. That's actually been the hardest part of today. Also fixed the router, doesn't jump at all.. can navigate real fast. Also slowly incorporating 'hidden stuff' for when you're in mobile vs desktop. I want this forum to be mobile first, which it is so far. so that's pretty cool.. just need to make it hide/show certain elements based on the view.. that's always looks pretty slick.
- tomorrow I also need to start creating some special queries, so that when I pull in all "board" info, it also gives me things like board views, latest post in that board, etc.. Just so I can grab everything in one go, easily. I have a bunch of those I need to do, for orgs, users, forums, boards, & threads.
- oh, also need to add 'views'.. every view on a thread & post should increase those counters.
- we're going to have some cool tagging features

pc!