1,277 karma · joined Nov 2, 2010 (16y ago) · 431 submissions
comment 3y ago · link · parent
So much about modern FE dev requires knowing stuff that was intentionally abstracted to purer forms years if not _decades_ ago and easy to pull off in a browser<>server relationship with a little bit of JS for state management or swapping content. The author even uses the phrase "AJAX," which I feel like I haven't seen used in earnest in years. This library is for the OGs.
Obviously, trade offs etc etc. If you're starting a new web based project, something that's just submitting forms and showing results, why would you really use anything more complicated than this? It's sorta hilarious that JSX took off; it shows that the declarative nature of HTML was right all along.
comment 3y ago · link · parent
I'm happy with Vue but every time I look at Svelte code I get a bit jealous. Its a very nice environment, one I would pick up for personal projects if that time was there, and I wish Svelte godspeed and a huge adoption curve.
comment 3y ago · link · parent
So is this a reversion? Is it socially bad but economically good? Does the $1 slice become the $2 slice in a couple years?
Or are we trying to say something worse?
comment 4y ago · link · parent
Doesn't matter that it's gas. It's a purchase the user is trying to make. The rules apply.
Coinbase may think it's unfair, but that's what they agreed to when they put the app in the App Store. Apple can continue to enforce this rule as long as they're legally allowed to, which doesn't seem to be changing anytime soon.
No sympathy for Coinbase here. They chose to whine in public when they could just sue Apple like a grown up.
comment 4y ago · link · parent
comment 4y ago · link · parent
* directory based routing and opinionated defaults that give you the basics to string together html pages with reusable partials and be production ready in minutes (think rails)
* postcss (css tooling)
* reusable and compostable components
* hmr-style dx
* serverside generated pages, as inlined as possible — fastest experience for end user, avoids js if not needed
* not having to think how and where css or images get compiled
Vitejs looked headed that way but recenty dove into it and… it ain’t it yet. Getting something to render on a server then “turn on” with react in the browser is not straightforward.
Remember how much sense $(document).ready() made? Hydration should be that easy and it is not.
comment 4y ago · link · parent
Then there’s stock utilities that are under-hyped to this day. Measure.app is fairly accurate for “how big is my shed” or “what’s the area of this rectangle”. I point my phone at the world and receive data I want now in seconds; why bother with window management?
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
The market controlling genetics in plant propagation has consistently lead to favoring bigger, more uniform, more shelf-stable, and this has always lead to less nutrition, over-consumption, and more waste.
The same thing is happening with BOTH drug cannabis and industrial (CBD) hemp. The low threshold of .3% THC for hemp to be legal for any grower in the US is an arbitrary ass number, so by breeding to it who knows what’s getting lost in the genetic dustbin.
Growing your own is liberating, if not still legally dubious in the US. Repealing the prohibition against growing would likely get more people inquiring about their cannabis, just like when you go to a farmers market and enjoy substantially better quality vegetables. You can learn what went into it.
Of course the dispensary business is on the verge of becoming an entrenched lobby, and would likely rebuff any effort to legalize growing.
comment 4y ago · link · parent
Sure, gardening is some privileged shit in this day and age, but I basically put myself down a 5 year path determined by seasons, weather, microbiology and how much I was willing to learn in my spare time. It's beautiful chaos half the time, but it's starting to surprise and delight everyone who visits.
It's also a place to be less serious about life. You need some humility. Sometimes being off by two weeks can ruin a plant. LOL let's try again next year. No biggie.
Americans need more of that. It doesn't have to be gardening of course, but please go out of your way to find something that can introduce more surprising and rewarding variables into your life that you enjoy figuring out.
comment 4y ago · link · parent
If you have a half acre backyard and only play in the 2/3 closest to your house, mow that grass and keep it neat, but let the other 1/3 go wild and/or install habitat-building plantings.
Small steps.
comment 4y ago · link · parent
If you're multi-tasking then you're doing a lot of crap work that should be automated, or at least processed sequentially. One at a time. Use a list, don't go to the next one until the task is done. If it can't be completed put it on a new list with reasons why. Follow-up. Prioritize.
If you keep getting work you don't want to do, change that. Distraction gets the best of me when I have no interest in what I'm assigned. (edit: clarity)
If you don't like what you're doing, change your relationship with it. Don't go through life just coping with your responsibilities, try to shape them to be responsibilities you enjoy doing. That might be at a new employer, new city, new significant other, etc.
Use tools (medication, timers, etc) to help build the path, but they shouldn't be the wheels you depend on to move through life. Use your head and your own two feet.
comment 4y ago · link · parent
And anyone here who reduces teenage digital addictions to “bad parenting” can pound sand. Nothing about parenting is simply the result of “the parents” and their methods. Raising a child is an impossibly multi-variate occupation and you only have so many knobs to turn and hours in the day.
comment 4y ago · link · parent
Simply yes to question 2, as others have said. Feelings are real and need to be managed, just like anything else. Depressive feelings will slowly (or quickly) spill over into all areas of life and sap the light away from everything you love.
At 37, I have a job that pays the bills for my family, allows us to save adequately, and gives me time throughout the week to tend to the things that I want to (family, gardening, video games, p much in that order these days).
I've also been through 3 anti-depressants before finding one that worked. My goal is to get to a point in life where I can titrate off of it. The dose is low and my therapist says it shouldn't be hard, but not to be rushed.
Feelings do a lot of psychic work, good and bad. The body keeps the score. Find balance.