Live data from Hacker News

Focus.py

amoffat.github.com

21–30 of 59 posts

Re: Focus.py

#21
post #18
post #7

This, 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 hash links for headings aren't working either. The page doesn't budge.

That seems to be because the headers don't have their attached anchor links. Not a linux only issue.

Re: Focus.py

#22
post #3

Personally I use Chrome Nanny[1] for this sort of thing, but it's a pretty interesting idea. 1: https://chrome.google.com/webstore/detail/cljcgchbnolheggdga...

How do you keep yourself from just popping open the settings page and disabling the plugin?

Re: Focus.py

#24
post #7

This, 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 font-family for the monospaced text is "monospace, serif". Any decent Linux system and/or browser would define "monospace" appropriately. Sounds like the problem's on your end.

Re: Focus.py

#26
post #7

This, 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. :(

Using Linux Mint here and it looks fine. Maybe you should install some fonts.

Re: Focus.py

#28
post #25

Great idea. Would like to have it precompiled, I don't have Python.

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?

Re: Focus.py

#29

How 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.

If it were as easy as just saying "Don't go to them", do you think anyone would vote for this?

Re: Focus.py

#30
I'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: aren't domain-IP pairings cached by the browser?

Post reply on HN