papaver's comments

papaver | 1 year ago | on: I am rich and have no idea what to do

"Most ambitions are either achieved or abandoned; either way, they belong to the past. The future, instead of the ladder toward the goals of life, flattens out into a perpetual present. Money, status, all the vanities the preacher of Ecclesiastes described, hold so little interest: a chasing after wind, indeed." - Paul Kalanithi

papaver | 1 year ago | on: Cognitive load is what matters

a lot of good points but i feel like one of the biggest i've learned is missing...

leaning toward functional techniques has probably had the biggest impact on my productivity in the last 10 years. some of the highest cognitive load in code comes from storing the current state of objects in ones limited memory. removing state and working with transparent functions completely changes the game. once i write a function that i trust does its job i can replace its implementation with its name in my memory and move on to the next one.

papaver | 1 year ago | on: Save Music, Save the Archive

thats like the entire jamband scene which been around since the 60s... the grateful dead, phish, kind gizzard and the lizard wizard...

one could also mention the electronic scene in there. aphex twin released ventolin in 1995 which was the same track remixed multiples times with different edits.

papaver | 1 year ago | on: Ask HN: Freelancer's Dilemma – Client Won't Pay Despite Clear Agreement

just let it go and move on... don't let the negative energy eat you up, it's just not worth it.

i was screwed out of over 6 months of pay north of $50k. i wasn't keep tabs on the payments and i wasn't keeping detailed records of my work. both things i no longer let slide in any way. i spoke to many people and lawyers, but decided to move on and let it go.

in the end how much money and time and energy do you want to spend on another lousy human being or entity? it only hurts you emotionally and takes up valuable time to focus on more productive things. ten years later it's a blip in my life that forced me to learn and be better about picking clients and billing, etc. don't let the 10% ruin your work with the other 90%.

papaver | 2 years ago | on: Razor 1911

to prove you are elite, what do these mean: f00, BAR, SLOW, ABS, NB, TF, SLM

;P

papaver | 2 years ago | on: Ask HN: Why do functional programmers hate loops (for, while, etc.)?

most functional techniques wrap walking a loop into a few functions, like fold. writing loop constructs can be error prone. one is much less liable to make a mistake passing in an array into a function and have it processed using another function. idea being separation of logic. why care about loops when one only thinks in arrays and streams being processed? i don't think i've written a for loop in js in a couple years at this point with the help of libraries like ramda.

oh and loops constructs are not composable...

papaver | 2 years ago | on: CS 61B Data Structures, Spring 2023 UC Berkeley

the difference is using tools vs building your own tools when you need to. the idea of these algorithms is not to memorize them but to understand how they are build and what goals they are trying to accomplish. understanding of the basic building blocks allows approaching and solving problems in a different light.

papaver | 2 years ago | on: 916 Days of Emacs

seems weird to me that one would want to do any of these things inside vim... though it should be possible with the right plugins... but why? just use a window manager like screen or tmux to multi-task.

papaver | 2 years ago | on: 916 Days of Emacs

would definitely agree. i find tmux + vim does almost everything i need. granted i don't try to script anything myself. generally there are command line tools or vim plugins that do most i want. adding to much gravy to vim also just slows vim down which can be incredibly frustrating when one is used to typing very fast.

i would say just a couple of years of vim isn't enough to really become one with the software. think it took me around 5 years to really understand why vim is amazing. took me at least one year just to get the hang of it properly and be highly productive. i can't even type in a normal editor anymore as my brain is wired to vim commands. and i still to this day learn new commands which make my life easier.

that being said i totally understand why people love emacs. but i get a decent amount of the window management stuff just using the tmux.

and vi is installed almost everywhere as an editor which makes editing in 90% of environments a breeze. even when in windows gvim does pretty good.

papaver | 3 years ago | on: No Lodash

if you enjoy functional programming and are looking for a utility library, ramda has been a joy. very very well thought out. being able to compose functions together and treat data as a stream of information being transformed is incredibly easy. it is also compatible with libraries which implement algebraic structures like fantasy land. coupled with the other r libs its quite fun to program with. just be careful as it gets hairy to read pretty fast if one doesn't understand all the functions that come into play...

  // pull traits dictionary out of tokens
  const extractTraits = R.pipe(
    R.map(R.pipe(
      R.last,
      R.prop('attributes'))),
    R.reject(R.isNil),
    R.reduce(R.mergeWith(concatValues), {}),
    R.map(R.pipe(
      R.unless(R.is(Array), R.of),
      R.groupBy(R.identity),
      R.map(R.count(R.identity)),
      R.toPairs,
      R.sortBy(R.prop(0)),
      R.map(R.zipObj(['name', 'count'])))));

papaver | 3 years ago | on: CheatGPT

let them cheat. every assignment let them know that in the end they are only hurting themselves. the ones that want to learn, won't cheat. simple as that. and that ones that cheat and leverage it, great. hope that works out in the future at your next destination. all you can ever do is present the facts. there is no point wasting time trying to catch this.

papaver | 3 years ago | on: Penpot, Open Source Figma alternative, raises $8M in funding

absolutely love clojure and all that it's taught me. i even ported many of the core functions to python so i could continue using them.

but not a fan at all of writing html in clojurescript. it's extremely ugly to look at vs raw html/jsx. and became cumbersome really fast for me as my app grew in size... maybe there are better alternatives now, this was around 5 years ago.

using react with libraries like ramda/redux/rxjs in affect achieve the same thing but with 10x more libraries and references online.

the philosophy behind clojure will completely change how you code and visualize problems if you embrace it. honestly can't remember the last time i wrote a for loop...

papaver | 5 years ago | on: Ask HN: Freelancer? Seeking freelancer? (August 2020)

SEEKING WORK | Asheville, NC | Remote Friendly

http://electronicdreams.io

Master generalist with 30+ years of hacking experience, 15+ years coding professionally with a dozen languages on over half a dozen platforms. Highly adept at understanding business problems and architecting proper solutions. All development is well documented to ensure easy handoff. We know processes can be important as code. Linkedin has up to date recommendations from our clients. Links available in profile section and contact form at the bottom of website.

We charge day rates of $1,200 w/ a minimum contract of $12k (10 days).

papaver | 5 years ago | on: Functional Programming in Python

can't say i'm a fan of the decorator to implement functional concepts. jut feels dirty. type hints in python are just as meh. feels like it's not taking advantage of pythons duck typing.

a version of try and either, with a decent do notation taking advantage of for comprehension... https://github.com/papaver/pyfnz

papaver | 8 years ago | on: How I Shipped Six Side Projects in 2017

> Because you won't care, you'll just make the thing for your enjoyment.

bingo. that is the lesson to be learned. it's all about the journey, not the destination. it really matters zero if you actually ship or release any side projects. all that really matters is the enjoyment working on it.

page 1