1,083 karma · joined August 12, 2012
https://madprof.net/nerdy/refactoring-really/
There certainly has been a over-emphasis in some quarters on 'each function should only do one thing' and even 'most of my functions are only one or two lines long'. Possibly because it makes it easier to write tests for, and be certain you've covered all of the possible options. You just then end up writing 4 million tests.
It's all about clarity, I think, but different people find different things clearer in different situations.
Do you mean generic 'use react in kotlin' bindings? If so, have you published them or would you consider doing so?
As a side note: Its 6 days, not 7. Day 7 (the Sabbath) was for resting.
As a longer thought: God, as a omnipotent being, obviously doesn't need to rest, and given the idea that he (for lack of a better pronoun) is essentially keeping the universe running himself, the whole concept of 'God resting' is obviously (to me, and many others) poetic. Looking at the rest of the Genesis creation story through 'poetic narrative' lenses:
From the beginning of the universe until the start of human written history, we can divide it up into Eons (non-specific but LONG periods of time):
Eon 1: - The universe was 'formless' and chaotic. - Pure energy / light and darkness / vacuum / void become separate.
Eon 2: - The planets and other 'heavenly bodies' or galaxies start to spin together into units. - Planetary atmospheres form. (The separation between 'waters below' (the unknown depths of the sea) and 'waters above' (the vast 'ocean' of space') from a ).
Eon 3: - Focussing on Earth, the planet surface began to stabilise, continents appear. - Plants and other 'basic' forms of life begin to show up and spread all over the planet.
Eon 4: - The moon shows up, the atmosphere clears up a bit, stars are now visible, the earths spin is now stable re. Day and Night.
Eon 5: - Animals! Firstly water based, then birds. Maybe huge birds (dinosaurs?) No non-bird land-dwellers yet.
Eon 6: - Land based animals, 'finally' humans showing up.
Eon 7: - Now. Beginning of written histories.
The above pattern is a pretty strict interpretation of the first chapter of Genesis, with most of the poetic stuff stripped out. It's kind of interesting how much of it does kind of map to our current understanding of the beginning of the universe and our planet.
What do you think?
Some times a different language can so utterly change/simplify your approach to a problem it's 100% worth it.
Re-arranging crappy piano scores so they fit a scratch band they've been asked to work with, figuring out how to stretch the tiny school budget into buying a less awful keyboard...
If they do have time and energy to put into 'green field' music production, there may be some stress over whether or not it's liked, but realistically they're mostly doing it because the concept of the album inspires them so they can't sleep at night because the melody is stuck in their head.
Needing to know user /auth stuff happens by sending private messages to bots, and other insane hacks.
Also, if the cup was filled with rat urine before, how much tea would be wasted before you considered it replaced enough to drink?
Analogies only go so far.
You can then disable wp cron, which saves network resources.
There's nothing wrong with scary-potentially-misused-unsafe stuff as long as you can isolate it and therefore less likely misuse it unsafely...
C effectively is unsafe everywhere, and other languages that are safe are non-zero-overhead, or so far up the stack that they cannot be used in kernel/system level stuff.
Is that right?
I sometimes hear stories from older relatives about how life was for them 40+ years ago. They also were working some crazy hours and situations, my grandparents living apart for the first 3 years of their marriage. He was a hotel manager, so she'd come up to visit once a week or two for a night.
In some ways, I suspect we don't have that different a life in terms of hours worked than a while ago. I'd love to see data on it (hint, hint, history stats people?).
I think a lot of the additional stress and frustration of 2017 life comes comes from the internet, being always connected, seeing so much 'positive happenings' in other peoples lives on social media, and so much constant negative stuff from the main news.
I have a theory that we have a signal:noise ratio in terms of relationships and news, that we've got to keep balanced. Having 100 'friends' all at a mild level of depth is actually adding noise, compared to the 1 or 2 really close friendships. And the few close friendships actually lose a lot of their value when we're constantly bombarded with the news and minor 'noise' relationships.
So when we're on facebook/twitter/etc, we're constantly adding noise to our emotional inputs.
A couple things I'm trying to do, or at least find kind of interesting to ponder/think about, are taking some old old practices, and thinking about integrating them.
The Jewish 'Sabbath' idea, of one day completely off per week, is pretty awesome. One part that I missed for a long time was that sabbath starts at sunset on the day before, and ends at sunset of that day. So if you count Sunday as your Sabbath (typical Christo-Western) you don't have to worry about getting everything ready early Monday morning, you can get stuff sorted Sunday night. And Saturday evening, once you've had dinner, or even at the start of dinner, make a big deal of turning off phones, and leaving them off until the next evening.
I dunno. I'm also in a long... discussion... with depression about who gets to run my life. I've been off medication for a few months now, but it's still complicated. It's so much easier when low on energy to flop on social media, or netflix or whatever. But it doesn't seem to leave me feeling better the next day.
I hope you can get some rest. Deep rest, in your soul.
It was intended, and certainly branded to device manufacturers as an OS they can use and 'get all the apps'.
The hard/firmware side is part of the OS. By allowing Android to be run on any device w/o decent security, the OS inherits that.
A better solution (to my mind) would have been to restrict manufacturers from using the Android brand unless they guarenteed a certain level of support and security updates, etc.
Also, having a central (google level) set of base packages which get constant updates and are pulled into all phones, regardless of brand.
But it's too late now.