Maybe doing things that are out of your comfort zone will make you happy, worst case you just walk away with next experiences. Camping can be a fun family activity for instance!
HN user
lawry
It's been a weird year, or couple of years.. and somehow it's been drawing us (our little family) back to nature and the things we're really passionate about.
For us that's currently getting a fixer-upper house that's a lot more remote than we're currently living. Not sure what it will be for yourself, but I'm sure there's something you'd rather be learning, even if it's as simple as making your own furniture. Lot more pleasure to be had from furniture than there is from code though. :)
And 60-70h/week sounds like a lot. Spending some of that time doing something mindless like walking/painting/cooking. Move the active thinking to the subconscious mind in those moments. It might actually help you see things in a different light.
Take a look at simonsarris instagram, I believe he also has a blog post about building their house. That's the sort of stuff I'm talking about I guess.
I don't know what is fun to me anymore. I have no hobbies
Maybe you practiced a sport long ago, try giving that a go again? Or browse a couple hours on YouTube to see what kind of things peak your interest. The algorithm (will waste some time but it) should get better over time at throwing things you didn't even consider your way.
It's fairly similar from what I've observed myself, but I'd say the ah-hah! moment for a given subject is not a singular event, but can be repeated if you look at the same subject from a different angle and get a different insight, deeper understanding of the solution or even of the problem. But maybe that's because learning in my case often is very much intertwined with trying to solve a problem.
And there's:
-1. Come across the solution by talking to people, reading books, articles, videos... long before actually needing it, sometimes not even being able to recall it in the next steps until the ah-hah! moment.
0. Have an actual need for that solution due to a problem you're trying to solve. And having that feeling of "there is a solution for this" but not being able to put your finger on it.
Talking to people helps a lot to speed up the process because everyone will have their own view on things which helps to shape your own understanding of the subject.
Like this? https://imgur.com/o5Po51g.png
In terms of fixing the immediate problem you have, I wonder if maybe the frequency being used by the switch would be in the 2.4Ghz range and your WiFi using the same channel.
I don't know if that's possible with remote switches, but with zigbee there's overlap possible. (https://www.metageek.com/training/resources/zigbee-wifi-coex...)
Or maybe the batteries in the remote are running low?
And if you would like to also control that light using an app on your phone or voice commands if you use "Ok google": the Broadlink RM Pro could maybe allow you to control the light using an app.
That sounds very frustrating, but I'd like to put my two cents in.
All our lights in our rented apartment are ikea TRÅDFRI smart lights, we have the ikea 5 button remote in a lot of the rooms and google home's spread around.
The whole system works with zigbee -> mqtt and home assistant and it took me a year to iron the bugs out. But generally it seldomly takes over half a second for the lights to respond to a command. If something breaks down it's almost always because I changed a config, not by itself. And it's really fun and nice to be able to make any button do any action by just editing an UI :) Or automate something we feel should happen by itself.
I like to think of it as it being a system that we can fit around our own lives and how we like things, instead of having to accept the situation as is (button is here and controls this light at this brightness). And it's not overly expensive either!
Also worthwhile investing some time in the completion system if you are writing aliases to save time. I've done it for serverless invoke/deploy/logs and they've been so useful!
What I'm talking about is typing 'sls logs <tab>' and having tab completion for the deployed functions when typed in the root of the repo containing the serverless.yml file.
https://github.com/larrybolt/zsh-aliases/blob/master/serverl...
fish-shell abbreviations are really cool, I do miss that in zsh, I'll probably give that plugin a go. It also makes it for other people easier to see what's going on when looking at the previous commands.
Would someone happen to know, what the icon looking like a [ is in front of every command prompt. And potentially how to remove it from appearing?
I wonder how having the amount of posts you made (like forums do) influences this number. And subsequently how others on the platform respond (since it's in their best interest to be as kind as possible to new posters to make the community grow?)
You might want to take a look at the singleFile chrome/firefox extension. It essentially combines all images, scripts, css into one html file that can be opened offline. As a bonus you can edit the html page with the inspector to hide irrelevant parts and it will save it in that state.
I think this is one of the only wysiwyg editors for markdown with latex support. Have been using it for the past half year and it works like a charm!
That's awesome! :D
Pretty cool to see how you did this since there's so much different ways to build a react project. :) Curious to see the same being done with hooks and useEffect
I love the idea, it's like push-ups for programmers. (Though actual push-ups wouldn't be a bad idea either ;) On that note, are there other things that come to mind like that? Maybe anki-decks or https://typing.io/
You might also want to publish your app on f-droid.org, since it's the alternative to the Google Play Store and it's focussed around really free apps without tracking etc.
I also have aliases for git, only I noticed gs starts Ghostscript on places where I don't have these set, so I changed all my git aliases to gg:
ggs -> git status
ggco -> git checkout
ggd -> git diff
ggap -> git add --patchI do not have experience with the iPhone and Apple's Bluetooth headphones, but I've tried a bunch of 3rd party brands with moto g and oneplus smartphones. Sadly at home we only have 2.4Ghz for Wifi, which means it's absolutely less than ideal to stream something over wifi and listen to it on wireless headphones.
I'm surprised this is not a problem for the iPhone, or I've never read anything about it yet.
I'm instantly reminded of "The Mother of All Demos, presented by Douglas Engelbart (1968)" https://www.youtube.com/watch?v=yJDv-zdhzMY
I thought you could use aggressive approaches by letting the AP's just kick the device off the AP so it's forced to join a better one?
What hardware, and what kind of settings do you need to seek to have a working roaming network?
I've a Mikrotik router at home (very educational), and I've very often heard UniFi ap's can do it properly. Can I do it with Mikrotik aps? Will setting it up be hell?
The same goes with sports, school-projects, startups. Having a "partner" (as I like to call it) motivates you a lot, and really brings the best in you out. Also having a common goal is huge, which is something you might not always have in love relationship.
I've also found it can bring you down if the partnership does not work out, and you're left alone.
I'd like to ask you something.
When working on a project (that may sound boring like a stock-management system), and during the endless development of this (keep adding functionality the employer asks for) starting to want to use this system yourself for daily stuff (hey I have a lot of electronics that could and would profit from a stock-system to find all my shit).
Oh and on top of that constantly keep having thoughts about how I could improve the flow and stuff.
Does that fit into that description of "techies who are more excited to see the end result in the hands of productive and happy end users than they are about the technology used to build said solutions"?
It's not longer being worked on, and forked at https://github.com/mattr-/slate
But honestly I switched to Hammerspoon and with some searching/learning lua/copy-pasting have the same functionality, and it's even more extendable. If you can describe what you want to do with the windows/current app/whatever, you can probably write it in lua.
The naming of mash if awesome, mash! I'd like to recommend to set a hyper key using karabiner, such as I have done with tab: http://pastebin.com/raw.php?i=1EbhTEjd
This way if you press tab on it's own it still behaves as the tab key, but combined with another key it acts as Hyper, or mash.
I also love the "Shift to Shift (+ When you type Shift only, send the appropriate parenthesis)" option, and have my caps-lock mapped to control, with karabinier doing: Control_L to Control_L (+ When you type Control_L only, send Escape)
I migrated from Slate [1] to Hammerspoon during a reinstall without any regrets so far. I've also noticed the things I always wanted to do with ControlPlane [2] are perfectly doable with Hammerspoon, if you put some time into reading the docs and api (they are really good). (Basically switching bluetooth on/off when I connect my keyboard, and quiting networking apps when I switch off WiFi without a cable connected, like droplr, dropbox...)
The most powerful thing about Hammerspoon seems that you build your .hammerspoon/init.lua with time, and as things tend to frustrate you more often, you put time into looking up how to optimise things by writing lua, oh and there's a console/repl, yay! A bit like my .vimrc really.
Btw, I use a Hyper-key that is mapped using karabiner [3], here's my private.xml [4]
1. https://github.com/mattr-/slate
2. http://www.controlplaneapp.com/
3. https://pqrs.org/osx/karabiner/
4. http://pastebin.com/raw.php?i=1EbhTEjd
A lot of this was inspired by Steve Losh, who does awesome stuff! checkout http://stevelosh.com/blog/2012/10/a-modern-space-cadet/ if you like this sort of stuff!
This is pretty neat, but I wonder why not download an epub or pdf version of the book right away as well:
var downloadurl = 'https://www.packtpub.com/ebook_download/'+getBookUrl.split('/')[2]+'/epub';
request(downloadurl)
.pipe(require('fs')
.createWriteStream('./books/book_'+getBookUrl.split('/')[2]+'.epub'));
Oh and btw, for those not aware of this yet, if you use gmail, you can use example+spam@gmail.com and it will arrive in your inbox, but more easy to label as spam and auto-delete if they start spamming.I'm really glad to see I'm not the only one that feels the performance drop is painful, nowadays the only thing I do backend are API's, thus a lot of the features (like blade) are superfluous to me. I hope Lumen will kind of fix this, and be the perfect go-to framework for API's done in PHP.
Having said that, looking at the future it would make a lot more sense to switch to a different language altogether, it's a same my current employer only wants to run php backend (because it's 1 command to install, I know bad reason, but they don't want to support other languages). Why exactly are you looking at Scala or Go? I kind of get Scala (but I'd personally rather opt for Clojure), but why Go? Purely because it's much more performant than php? Doesn't this has to do with the lacking of such a full-featured framework like laravel?
I get completely where you are coming from, the reason that I eventually got the hang of Ansible is because if you do it right (I mean using ansible's modules over scripts/commands) it adds the ability to rerun your ansible playbooks (think of them like those bash scripts) multiple times on the same cluster/node/server without worrying something will change because you run them more than once. Also bash on it's own has no templating feature, or easy way to check if something has already happend. And after a while the whole systems starts making sense.
I can only imagine your current bash-scripts are awesome and do tons of stuff for you, but I'd really like to suggest you give ansible another go, and ignore the different files for roles/vars/tasks in the beginning, just dump everything into one playbook, like your bash scripts do currently.
Just watched it, I have to agree, it made a lot things clear that I just didn't understood before, like detached HEAD.
Here's the youtube link: https://www.youtube.com/watch?v=1ffBJ4sVUb4