I think a lot about code readability a lot. I agree with most of this except the names part and shorthand constructs. Especially for the latter, it's unfair to make a comparison with the wrong operator. The example in general is a bit weird. I think a better one is `if (myObj !== null) myObj = someOtherObj`. A very common pattern for which js now has a nullish coalescing assignment you can use insteal (`myObject ??= somOtherObj`) or there's also ||=. These sacrifice some readability upfront due to them being "uncommon" operators and the code might be harder to read for someone whose never seen it, but is so much easier to read once you get used to it. There is of course, always a trade off. Using a lot of .? to access properties can be code smell, but also sometimes very helpful, as the alternative would expand into a lot of code.
Regarding names, I think the suggestions are a bit in conflict, as often to avoid variable shadowing you have to do stuff like name things node, _node, node2. I try to have distinct names, but I'd rather the shadowing in those cases where it's hard. As for i, and j. I don't like them, but they're such conventions it's hard to avoid them. I always try to use them only once, and assign the variable I need: `item = obj[i][j]` if possible.
I'm glad the writer has actually tried Tailwind and I respect it's not really their thing, but I've got to hard disagree with the Builder vs Crafter/specialist look on it. Tailwind will only just barely save you from not knowing CSS, it's still fundamental to understand it. Also I would consider myself very well versed in CSS, but while my handcrafted css works, it cannot compare in maintainability to its tailwind equivalent. CSS inevitably becomes a spaghetti soup of states after a while. I switched an entire component library to tailwind + tailwind-merge and everything was much cleaner and easier to understand. So much so I could not believe it.
Yes, I can't believe how few good complete solutions there are for this that don't involve me curating anything.
Currently I have obsidian notes for different libs and technologies and really useful stuff or things I plan on reading, they go there but search of the page itself is non-existent. For sites I go to again and again because chrome's search sucks, I tag my bookmarks in the url title with an underscore (e.g. _python _docs) and stuff them all in a folder. An underscore actually works and you can combine them to quickly find stuff. For highlights, I don't highlight much, but I use hypothesis because it looked promising, but honestly it's been very slow with any management related features. I also run a local archivebox for pages I don't want to loose. It has search but doesn't show you where the term matched.
And I've been keeping an eye out on spyglass, which is a local search engine with the concept of custom "lenses" that you can create or you can get ones created by the community. It can also index local files and bookmarks. It recently fixed the shortcut issue I had on linux so I'm properly trying it out and it seems very promising. I hope to be able to hook it up to all those different services. Need to clean my older bookmarks first....
Part of it probably is hypnagogia though I was so alert that it did not feel like that normal transition to sleep. It felt more like I had meditated myself into a lucid dream. There were some stray thoughts but none of that cloudy brain fog with senseless thoughts I would normally get going to sleep.
Also from what I understand the feeling of suffocation is quite common for people who experience sleep paralysis. You're not actually suffocating. Given I induced it, that's probably what that was. The first time it woke me up, the second time I ignored it and a few seconds passed and then the sensations stopped and I was lucid dreaming. At least that's what it felt. I slept for slightly more than an hour most times (I've only managed it during naps) and lost lucidity at times. It felt like the dream started immediately but it might not have. Also at other times I could feel my body in the bed again but wasn't dreaming just asleep.
This just sounds like lucid dreaming awake imo. Kind of scary some of these people believe they're actually jumping dimensions or something. Wonder how much control they can exert compared to a lucid dreaming.
I've not managed LD awake/meditating yet , but I can fall asleep awake if my body is tired enough but I'm mentally awake, though it requires a lot of concentration. And doing it does not feel nice (you can feel your body paralyzing, feels like you can't breathe and you have to avoid reacting).
Interesting, but would not really use it unless it could auto group by url. I don't want to have to set things up. Like if I have more than X tabs for a site, group them automatically. This would be great when debugging/learning and I have 20-30 tabs open and more than half might be to one new site that contains the docs for x thing I'm doing/learning.
Strangely I did not have a strong internal monologue when I was young. My thoughts were mostly "visual" unless reading. It is more 50/50 now, but I still "see" most of what I think/read if that makes sense.
Mmm, strange. I do some minor diy stuff and I can't imagine not imagining stuff. I do draw on paper to brainstorm and use CAD but most of the design problem solving goes on in my head.
But then I am also an artist... Although more because of this than the other way around. Although drawing has further trained this ability, I have accurate detailed childhood (~5-6y) memories (of houses, schools, objects, etc) from before I was drawing consistently enough for it to matter (high school).
I wonder, can people who see 0 imagine movement if they're seeing the object right in front of them? And if they can draw 3d objects, can they still do so if they close their eyes?
I knew there were people who don't see anything, but I would have thought anybody could do 6. I can imagine far more complex 3D stuff (more than rotating, also complex movements) but it's blurry unless I designed it or know the thing/place well (like my house), but I can "zoom" into things to get more detail.
You learn something new every day I guess. I wonder if this can be used to predict what fields someone goes into or could go into that they'd be good at (engineering, etc).
Apart from the other tips given, in particular proper technique:
Try doing a few meals in a row with similar ingredients and chop once for like the next 2-3 days (depending on what's being chopped).
Also you can try timing yourself. See how long it takes to chop an onion, record it. Now you know the REAL prep time for a recipe based on it's ingredients.
What really saves time is having an idea what order you're going to do things and how to parallelize tasks, but for that you need to have some intuition about time so you don't accidently burn something. There's a recipe I make that takes twice as long if strictly prepped first then cooked.
Also, just going to state the obvious, but if you're cooking for more than two people, it's just always much harder.
Personally I cannot really get the hang of linked editors like this that only use links or basic tags for structure. They require too much upkeep to keep things organized. I'm working on my own solution that goes a different way, but it's nice to see more open source implementations of these types of editors.
As a writer I hate these types of apps. As others have pointed out, when you put real popular works in them, they light up like christmas trees. But very few have touched on why.
One thing you learn as a writer is you want varied sentence structure * . Also good prose has a sort of rhythm, both in the words used and the lengths of the sentences (this is also imo why translations rarely compare to the originals). If you make all your sentences the same length it sucks the rhythm out. As for everything else it highlights, they're all just tools. A long word or a passive voice used in the right place can work better than the "correct" alternative. Writing is about knowing which tools to use when. In some ways, writing is very similar to visual design. People don't notice why some writing is good. It's just a bunch of tiny choices that all add up, but also if you use comic sans you're dooming yourself to failure.
What do I actually suggest to writers? Read your story out loud (tts can help to pick out errors as well, but rarely rhythm related errors). If you mentally stumble or backtrack reading a sentence, something is wrong. If you feel like you need to pause but there is no pause, something is wrong. Same with the opposite. Finally, put the story away for a month and try it again. Rinse and repeat until polished.
* Like everything, this also just a tool. You can not use it and still have amazing prose that matches the situation (e.g. one long run-on sentence to emulate a stream of consciousness).
Mmm I don't know, maybe it's me and the fact I don't have a problem coding for many hours at a time, during which it's one step forward, two back, three forward, etc. We all know how debugging is. If I broke that time down across many 2 minutes as a beginner I would have quit. And currently when I don't have time I'd rather let the problem ruminate in my head than code, or make progress in some of the other ways I mentioned, but definitely not coding.
I've actually read both Fogg (dry and repetitive but more precise) and Clear (more engaging but more fuzzy/muddled concepts) although not Duhigg. Like I said I agree/use the method. I'm not picking holes just pointing out potentially bad examples. Also most people will not read the books. They'll read the 5 minute versions like these. They should have the absolute clearest/best examples.
Being interrupted (and especially by the type of interruptions on a bus, like what's the worse interruption? getting asked to move?) or working in bursts is not the same as doing 2 minutes of work then stopping.
The reason I'm nitpicking this example is because I've found it helps substantially to know that even if I only do 2 minutes of the thing, I'm making progress. Otherwise it's very hard to trick my brain into doing the thing. I don't like the "wear running shoes" example either. I have found that when I plan habits like that I maybe do them once or twice, then never again. There is no reward for me without the progress and in the case of the coding example would only bring me frustration.
This method is great. I use it all the time. But one of these does not feel like the others... (cough "Build a program → Code a function" cough).
All the others could be done in the day, except for the vegetable one which is too abstract. And their solution could be done in 2 minutes. The coding one on the other hand... impossible to do in a day and also writing code is imo almost impossible to write in small chunks of time. Brainstorming a feature,thinking about a problem for 2 minutes, deleting/cleaning code, or even just opening your IDE and checking where you're at and planning the next step, sure. But actual coding, would not recommend. I require at least 30m+, preferably 60m+ to get anything reasonable done.
I live somewhere were having your phone out is dangerous so I'm forced to use it only when needed. The number one thing I use my phone for is checking bus routes (second is store times which can be very odd, especially with the pandemic). I know some routes off the top of my head but not the majority. Plus although I always plan where I'm going before hand so I know the streets (although many are missing signs), what time things are open, if the buses are actually working (apart from strikes, sometimes a bus line might be diverted due to construction/protests), often I end up going more places than I plan and end up needing to take a different bus than I had planned back.
I mean if I get my phone stolen or something I'll still be fine, but I don't get how having to hunt down road signs and depending on others to tell you the right info can possible feel liberating? I have navigated the city before it's bus app was built and internet was reliable, and it was not fun. Plus recently I've had problems with my contacts and because I can't stand my full prescription in glasses I can't see far away so it's been even more liberating to have my phone. I can quickly glance at google maps (even without internet and just gps on) and see where I am. Extremely useful in buses where I'm too far to see the road signs at all. I would hate having to ask the driver all the time to drop me off at the right street.
I hate when they cancel lesser known shows that maybe never had a wide audience to begin with (Dark Crystal, Dirk Gently, etc). Like why did they even bother to make the shows??? They didn't even really give them a chance. I only just found out they had made Dirk Gently, which has so far been great, but it really bums me out that it might end badly. I'm only watching it because I'm already a fan.