Focus.py
51–59 of 59 posts
Re: Focus.py
#52"After you identify the process listening on port 53, run sudo kill -9 with the process id." -9 as in KILL? I don't do Python, so I cannot comment on the quality of the project. But this FAQ should be changed. People that know how to stop a process don't need a FAQ entry. People that don't know how to do that shouldn't be trained to think that this is a sensible way to stop a program.
Yes we do. Just because I know kill doesn't mean I want to run through the source code looking for the way to exit. Specially when there isn't one.
Re: Focus.py
#53How is this at the top of HN? Apparently people that need this stuff sit on HN and vote it up. If you don't want to go to these sites I have some advice: Don't go to them.
Re: Focus.py
#54Earlier quoted context omitted.
Am not sure where to approach this question from. How come you don't have python? Surely the effort of installing python is less than the effort to precompile this package?
> How come you don't have python? It's just not installed on OSX and I have no use for Python and I am not familiar with Python. I could just install it with 'brew install python' but I still prefer a clean and slim command line interface for this application. EDIT: I understood from reading the thread that for better customizability it's better to have some scripting environment
Re: Focus.py
#55I'm not sure if everyone noticed, but the primary interesting thing here is NOT that it blocks off domains at certain times (everyone and their dog wrote such scripts for themselves). The nice thing is that each rule is defined as a function, which means that you can put a bit more complex rules inside, or just add some logging and track every name resolution against given domain. Which actually brings me to question…
Question may be kind of silly - I admit, I am not a DNS expert.
Re: Focus.py
#56Re: Focus.py
#57Earlier quoted context omitted.
Commenting online becomes addictive. It becomes a horrible time sink and a useless waste of time. Either arguing with people who don't understand anything, or endlessly circle-jerking with people who have the same viewpoint as you. Some even fall into the trap of believing their "karma" score somehow means something. All it means is how much time you waste online commenting. Once you start commenting online, you can'…
Karma is a score. That means it's a game. "winning" games is fun. Thus increasing your karma score is, well, fun. Not to mention all the fringe benefits a decent karma score can bring you ... well not really the karma score itself, but the activities you do to get said score. It's really just putting "How useful you are to the community" into a cold hard integer. Being useful/known/etc. in the right communities has b…
Re: Focus.py
#58Re: Focus.py
#59This, like other github themes, has bad CSS that makes the monospaced text come out as serif on Linux. I know the github crew uses Macs but it makes me a little sad to see they don't test on the system that spawned their namesake. :(
The problem comes from this: code { font-family: "Lucida Sans", Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal; } Which is simply a poorly made rule, regardless of browser and OS. If you don’t have any of the specified fonts, your browser will use its general default font, which is usually either “serif” or “sans-serif”.