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

0 Members and 1 Guest are viewing this topic.

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5235 on: June 02, 2014, 02:36:20 am »
+1
Got a little bit done today.. Started porting logfs over: https://github.com/adarqui/LogFS-hs .. Going to be a nice port I think.. have lots of nice stuff planned for it. Tomorrow I'll start getting the backends working and the logfs-srv daemon working so that I can get those messages sent over.. Once that's in place, I need to add the 'db store' backends to the logfs-srv daemon so I can persist those logs.

Haskell's Control.Concurrent.Chan library is dope... especially the dupChan (broadcast channel) message passing.

peace!


Had some really weird shit happen to my brain today (an "electric" jolt while programming).. happened 3x. Really freaked me out. Each one happened hours apart. If it keeps happening i'm def going to need to see a doc HEH.

pc

I have these happen to me all the time. It's because of too much computer work and because of lack of sleep.

damn.. thanks.. hope that's all it is. never had that before.

thanks for the info man.

pc

Raptor

  • Hero Member
  • *****
  • Posts: 14619
  • Respect: +2539
    • Yahoo Instant Messenger - raptorescu
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5236 on: June 02, 2014, 04:17:21 am »
+1
Yeah I've been having these in the last few years... I guess you just reached a point of overload that you haven't reached before... if so, you're SOOOOOOO much more durable than me. I mean, you were the guy that used to stay up to what, 6-7 AM in the morning back with your grandfather?
Current PR status:

All time squat: 165 kg/Old age squat: 130 kg
All time deadlift: 184 kg/Old age deadlift: 140 kg
All time bench: 85 kg/Old age bench: 70kgx5reps
All time hip thrust (same as old age hip thrust): 160kgx5reps

LBSS

  • Hero Member
  • *****
  • Posts: 12979
  • plugging away...
  • Respect: +8042
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5237 on: June 02, 2014, 10:13:49 am »
0
dogs? when did gizmo get a buddy?
Muscles are nonsensical they have nothing to do with this bullshit.

- Avishek

https://www.savannahstate.edu/cost/nrotc/documents/Inform2010-thearmstrongworkout_Enclosure15_5-2-10.pdf

black lives matter

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5238 on: June 02, 2014, 11:59:48 pm »
+1
dogs? when did gizmo get a buddy?

yup.. got two now.. got "James" (no relation to lebron) a little over a year ago. He's ~14 lb hah.. gizmo is 8 lb. Same breed, silky terrier blood.

 :wowthatwasnutswtf:

seifullaah73

  • Hero Member
  • *****
  • Posts: 3933
  • Respect: +1742
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5239 on: June 03, 2014, 05:14:48 pm »
0
Just received news Richard Schaefer has officially left golden boy but still a shareholder. He didn't want any part of arum but Oscar dela hoya wants make ammends with arum to end so called cold war. Hopefully Oscar will be a tough negotiator to convince arum. Schaeffer was good but I guess his influence with may weather and others to not do business with arum got this rivalry started, who knows, maybe good or he might take his fighters with which I hope not.

EDIT:
This has also resulted in for some reason, floyd mayweather not wanting to do business with golden boy, because schaefer is not there.  :uhhhfacepalm:

who else will he fight.
« Last Edit: June 03, 2014, 05:53:20 pm by seifullaah73 »
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 #5240 on: June 04, 2014, 02:55:34 am »
+1
Just received news Richard Schaefer has officially left golden boy but still a shareholder. He didn't want any part of arum but Oscar dela hoya wants make ammends with arum to end so called cold war. Hopefully Oscar will be a tough negotiator to convince arum. Schaeffer was good but I guess his influence with may weather and others to not do business with arum got this rivalry started, who knows, maybe good or he might take his fighters with which I hope not.

EDIT:
This has also resulted in for some reason, floyd mayweather not wanting to do business with golden boy, because schaefer is not there.  :uhhhfacepalm:

who else will he fight.

damn.. ya no idea. I don't know who he'll be fighting if he has it bad with golden boy promotions.. ;/

maybe pac will happen finally.. :D

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5241 on: June 04, 2014, 04:03:26 am »
+1
Up too late as usual. Modified PerfectHash to work with ghc 7.8 etc:

https://github.com/adarqui/perfecthash

Some of these old libraries only live on hackage.. sux.. everything should live on git.


Stripped down logfs to support only the basic library now.. no 'backends'. That will be in logfs-tools for example. LogFS itself though should just be the most basic functionality of the library. Got that working pretty well tonight, there's a nice N thread example here:

https://github.com/adarqui/LogFS-hs/blob/master/examples/simple.hs

So that's enough to start a logfs fuse instance and log everything that hits that directory. It supports N backends and a custom directory filter function (for schema).

Had it working nice with 50 threads and 100k base64 encoded log updates etc.. Seems like soon it'll be able to do the job i need.

peace!

seifullaah73

  • Hero Member
  • *****
  • Posts: 3933
  • Respect: +1742
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5242 on: June 04, 2014, 06:56:50 am »
0
Just received news Richard Schaefer has officially left golden boy but still a shareholder. He didn't want any part of arum but Oscar dela hoya wants make ammends with arum to end so called cold war. Hopefully Oscar will be a tough negotiator to convince arum. Schaeffer was good but I guess his influence with may weather and others to not do business with arum got this rivalry started, who knows, maybe good or he might take his fighters with which I hope not.

EDIT:
This has also resulted in for some reason, floyd mayweather not wanting to do business with golden boy, because schaefer is not there.  :uhhhfacepalm:

who else will he fight.

damn.. ya no idea. I don't know who he'll be fighting if he has it bad with golden boy promotions.. ;/

maybe pac will happen finally.. :D

Ya, I hope so.

A lot of people are also coming to this conclusion of maybe fighting pacman.
 :strong:
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 #5243 on: June 06, 2014, 11:52:37 pm »
+1
soo tired.

Hopefully going to get lots of coding in this weekend. I've been splitting up DevUtils into separate repos.

Tomorrow I plan on:
- Parsing redis info/info commandstats into haskell records.
- Starting DevUtils-MySQL & adding a DevUtils-Parser mysql:// url
- Making my goats, wolves, lions puzzle test faster using unboxed types/tuples
- Look into configuring cabal test/cabal bench for code going forward

;f

Also, tomorrow is Sergio Martinez / Miguel Cotto -> going to be a dope fight.


gn!!!!

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5244 on: June 12, 2014, 01:33:43 am »
0
Decided to do some code ripping tonight. Ripped this badass RESP parser out of Hedis and made it a standalone repo.

https://github.com/adarqui/RESP


Tied in cabal bench, which I wanted to do this weekend.. Need to tie in cabal test tomorrow.


Glad I got that done tonight, was fun.. man that code is amazing. Even more so when you compare it to it's counterparts (C, go, java, node etc).

gn!

Raptor

  • Hero Member
  • *****
  • Posts: 14619
  • Respect: +2539
    • Yahoo Instant Messenger - raptorescu
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5245 on: June 12, 2014, 03:45:11 am »
0
Are you right now at the level where you can "break in" copyrighted software and crack it (if you were to put your mind to that)?
Current PR status:

All time squat: 165 kg/Old age squat: 130 kg
All time deadlift: 184 kg/Old age deadlift: 140 kg
All time bench: 85 kg/Old age bench: 70kgx5reps
All time hip thrust (same as old age hip thrust): 160kgx5reps

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5246 on: June 19, 2014, 02:33:04 am »
0
Very productive day.. tomorrow probably won't be nearly as productive mainly because i'm up way too f'n late. Lots of reading and coding. Here's one small tool I wrote tonight (using my various DevUtils libraries):

MySQL slow query/num query health checker, experimental ::: https://github.com/adarqui/Darqios/blob/master/experimental/scripts/mysql-alert-processlist.hs ::: haskell, mysql, health

I'm still struggling* to wrap my mind around my haskell darqios variant.. mainly because i'm still a haskell noob. I plan on playing with some Cloud Haskell examples to see if I should use that framework for the darqios haskell project. It's pretty attractive right now, except for perhaps the security/encryption/auth 'issues'.

One of the main things I want to do with the new Darqios will be to turn whatever cluster of clients I have connecting to the server, into a compute mesh. Cloud Haskell would be a big step in that direction because of how you can "send" closures/data/functions over to a CH node. With this, I could conjure up all kinds of useful distributed work/computations across the mesh. Would be ridiculously dope.

I think I've decided I will scratch any kind of DB store, for storing the darqios client metadata etc. Instead, I'm going to make it filesystem based. This way I can easily manipulate everything via normal unix tools. I could easily turn the fs into a mem fs to speed things up if I need to.

Also, i'm thinking about scratching dsl/parsing/etc from the stored client metadata, ie, how I deal with groups/mitigation/polling/health/state etc. Instead, I'm leaning towards having all of that consist of compiled modules. So, real haskell code. This would give me great power when crunching data returned by a server action. For example, currently in the go version I have groups[] in each account object. Then, in a policies object I have those groups defined (see if process isnt running, check disk space, ping something, see if something is down etc). All of this uses a very crude "string" + ["args","1","2","N"] approach etc. If I stored everything inside of actual haskell .hs modules, I could then use real haskell abstract data types, functions, etc. Then I wouldn't be restricted at all by the limitations of such a crude string parser.

Right now, I'm thinking about an 'auto assembly' approach to dynamically build the darqios environment from a "Core" plus untracked modules etc. These modules would be specific to whomever is using this system. So i'd lay the ground work and then come up with a way to link everything together. One problem would be; when adding new groups/modules etc, you'd have to recompile. Honestly though, it's not an issue. Once you've compiled a haskell package, partial recompilation (without total recompilation), is fast.

man im wrecked.

gn





Are you right now at the level where you can "break in" copyrighted software and crack it (if you were to put your mind to that)?

nah.. that's not my 'forte' ;f

I guess I have the skillsets -> c/asm background, low level process/kernel hacking background etc.. not into cracking though.

Raptor

  • Hero Member
  • *****
  • Posts: 14619
  • Respect: +2539
    • Yahoo Instant Messenger - raptorescu
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5247 on: June 19, 2014, 03:41:47 am »
0
It would be an interesting challenge though, I guess.
Current PR status:

All time squat: 165 kg/Old age squat: 130 kg
All time deadlift: 184 kg/Old age deadlift: 140 kg
All time bench: 85 kg/Old age bench: 70kgx5reps
All time hip thrust (same as old age hip thrust): 160kgx5reps

Raptor

  • Hero Member
  • *****
  • Posts: 14619
  • Respect: +2539
    • Yahoo Instant Messenger - raptorescu
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5248 on: June 19, 2014, 06:44:30 am »
0
Current PR status:

All time squat: 165 kg/Old age squat: 130 kg
All time deadlift: 184 kg/Old age deadlift: 140 kg
All time bench: 85 kg/Old age bench: 70kgx5reps
All time hip thrust (same as old age hip thrust): 160kgx5reps

adarqui

  • Administrator
  • Hero Member
  • *****
  • Posts: 34034
  • who run it.
  • Respect: +9112
    • View Profile
    • Email
Re: ADARQ's journal
« Reply #5249 on: June 22, 2014, 02:09:28 pm »
+1
I don't get the unicode reference? ;F

bleh.. server acting weird today, site was wrecked.


06/21/2014:

ran ~2 miles, walked another 1.5

got some crappy running shoes, but they are safer for now until I get my feet/legs a bit more in shape.. then it's NZWR's.