top | item 10950795

Show HN: Slack Night Mode

72 points| laCour | 10 years ago |blog.lacour.me | reply

38 comments

order
[+] will_hughes|10 years ago|reply
The domain 'blog.lacour.me' doesn't resolve for me:

Your name servers seem to be ns[1-5].he.net, and ns1.he.net doesn't know what blog.lacour.me is:

  > blog.lacour.me  
  Server:  ns1.he.net  
  Address:  216.218.130.2

  *** No address (A) records available for blog.lacour.me
[+] jtokoph|10 years ago|reply
Some of comcast's DNS resolvers must be confused. I get different results each time I make a query:

    $ dig @75.75.75.75  blog.lacour.me
    QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    {{ no answer }}


    $ dig @75.75.75.75  blog.lacour.me
    QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
    blog.lacour.me.		75275	IN	CNAME	silvrback.herokuapp.com.
    silvrback.herokuapp.com. 156	IN	CNAME	us-east-1-a.route.herokuapp.com.
    us-east-1-a.route.herokuapp.com. 30 IN	A	23.23.208.103
[+] tombrossman|10 years ago|reply
It's not using an A record, it's using a CNAME:

  host blog.lacour.me
  blog.lacour.me is an alias for silvrback.herokuapp.com.
  silvrback.herokuapp.com is an alias for us-east-1-a.route.herokuapp.com.
  us-east-1-a.route.herokuapp.com has address 54.83.3.141
[+] wallacoloo|10 years ago|reply
What ever happened to consistent, cross-application look-and-feel? I don't want each application defining its own style which clashes with every other application. We already have things like Qt and GTK themes for the desktop, but the web is just a mess in that regard. I really hope to see some eventual solution.

Mozilla's "Reader View" is a fantastic step towards establishing a consistent (and user-configurable) look-and-feel across the web. But its domain is still very narrow and wouldn't apply to Slack, unfortunately. Yet it's the only product I know of that's even working towards this kind of goal.

[+] droelf|10 years ago|reply
Check this afternoon project: https://github.com/wolfv/GtkOnline

That could be a future GTK browser :) dynamically downloads a glade ui file and python + CSS scripts to bring the web to GTK.

[+] Nickoladze|10 years ago|reply
That's why I use Slack's IRC gateway. Just use your favorite IRC client.
[+] seanwilson|10 years ago|reply
It's just too impractical get every developer who also support multiple platforms to all agree to use exactly the same look and feel. There's similarities to getting everyone to use the same programming language.
[+] madeofpalk|10 years ago|reply
Mozilla's 'Reader View' isn't consistent with the OS X look-and-feel on my Mac, but that's OK.
[+] nodesocket|10 years ago|reply
Really nice hack. Unrelated, by I checked out your startup https://hund.io. My question is... Why not just use https://StatusPage.io? They are launched, funded, refined, and the de-facto standard. What is your value prop?
[+] rickycook|10 years ago|reply
status page pricing is kind of ridiculous for starters. they do very little and expect $99/mo for a basic plan
[+] downtide|10 years ago|reply
I'm on Linux with Xfce. I have tried and failed to get a dark theme working. It's difficult to match across toolkits.

I've had web browsers that default to white screen flashing on new tabs, and most don't respect your native theme.

My current workaround]in Firefox is to disable background images, set default foreground/background and link colours. Set a default font, and ensure font sizes don't fall below a certain size.

Some text inputs have a dark background and a dark font. Which makes things very difficult. I'm typing blind.

Another issue is that many designs use background images where you would expect foreground placement. For example Instagram doesn't work for me. Slack is usable, but some image previews are lost. Other sites that rely upon imagery for navigation can pose a problem. The compose window in Gmail, I have to use mystery meat navigation to work out each button's function. Which is quite poor.

I've tried setting my own stylesheets in browsers where you can, but it's easy to break layouts.

Obviously accessibility is still overlooked by many site designers.

I also don't like being stuck in one browser, so a better cross application solution is preferable, rather than site specific fixes.

[+] tommoor|10 years ago|reply
OP: Did you try this on Mac? I'm pretty sure Electron is only being used on Windows and Linux unless they recently made the switch..
[+] laCour|10 years ago|reply
You're totally right, just checked. Never even crossed my mind that they wouldn't be. Updated the post.
[+] coloradude|10 years ago|reply
AFAIK Electron has always been cross platform. But yes it is very much on available on Mac.
[+] derFunk|10 years ago|reply
So when can we expect the first Slack exploits abusing the slack protocol handler and the js evaluation function? :)
[+] MatthewWilkes|10 years ago|reply
Yeah, this feels more like an (unintentional) irresponsible vulnerability disclosure, despite how fun it was reading.
[+] yeldarb|10 years ago|reply
My first thought too. The platform seems ripe for its first worm.
[+] perishabledave|10 years ago|reply
Slightly aside, but is there any evidence that the warmth of the light effects sleep? The cited paper compares a light emitting device to a book, which would not be the same as f.lux and this.

Not trying to dismiss this. I'd genuinely like to know as I'm often on my computer late at night.

[+] farnsworth|10 years ago|reply
Cool hack, but an even better solution would be for Electron to support userstyles (and scripts). I won't be surprised if we gradually standardize on Electron or something like it for cross-platform desktop apps, and it would be great for them to be as hackable as the web.
[+] Gravityloss|10 years ago|reply
I often use reverse colors on OSX. ctrl-alt-cmd-8. Since most pages have white backgrounds, this results in black backgrounds.

It's also very nice that Flux is applied after this so I don't get a dark blue screen.

[+] r0s|10 years ago|reply
I use a mix of stylish themes to achieve something similar, and hide Slack's grating UI and default colors.
[+] rco8786|10 years ago|reply
Reading...reading...

Oh my god they're `eval`ing url components