36 karma · joined Mar 23, 2015 (11y ago) · 48 submissions
comment 4y ago · link · parent
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.
comment 5y ago · link · parent
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.
comment 6y ago · link · parent
comment 6y ago · link · parent
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.
comment 6y ago · link · parent
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!
comment 6y ago · link · parent
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...
comment 7y ago · link · parent
comment 7y ago · link · parent
18.
Ask HN: Advice on moving to Canada for a year
3 points · by lawry · 8y ago · discuss
comment 8y ago · link · parent
I'm surprised this is not a problem for the iPhone, or I've never read anything about it yet.
comment 8y ago · link · parent
comment 10y ago · link · parent
I've also found it can bring you down if the partnership does not work out, and you're left alone.
comment 11y ago · link · parent
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"?
comment 11y ago · link · parent
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.
comment 11y ago · link · parent
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)
comment 11y ago · link · parent
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!
comment 11y ago · link · parent
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.comment 11y ago · link · parent
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?
comment 11y ago · link · parent
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.