News for hackers. Stuff that matters.
Re:Show HN: Slack Night Mode by will_hughes on Friday January 22, 2016 @01:23AM (#10951111)
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
Re:Show HN: Slack Night Mode by jtokoph on Friday January 22, 2016 @03:21AM (#10951468)
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
Re:Show HN: Slack Night Mode by tombrossman on Friday January 22, 2016 @01:43AM (#10951185)
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
Re:Show HN: Slack Night Mode by VeilEm on Friday January 22, 2016 @01:45AM (#10951189)
The CNAME doesn't resolve for me either. I can't see whatever this is.
Re:Show HN: Slack Night Mode by wallacoloo on Friday January 22, 2016 @02:59AM (#10951399)
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.

Re:Show HN: Slack Night Mode by droelf on Friday January 22, 2016 @04:21AM (#10951701)
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.

Re:Show HN: Slack Night Mode by Nickoladze on Friday January 22, 2016 @04:19AM (#10951692)
That's why I use Slack's IRC gateway. Just use your favorite IRC client.
Re:Show HN: Slack Night Mode by seanwilson on Friday January 22, 2016 @04:54AM (#10951806)
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.
Re:Show HN: Slack Night Mode by noir_lord on Friday January 22, 2016 @07:20AM (#10952274)
Nor would I want it anyway, I think the cognitive overhead of dealing with multiple different interfaces is offset against the fact that people can create new interfaces and solutions, imo that is better than a "one size fits none" approach.
Re:Show HN: Slack Night Mode by madeofpalk on Friday January 22, 2016 @03:13AM (#10951440)
Mozilla's 'Reader View' isn't consistent with the OS X look-and-feel on my Mac, but that's OK.
Re:Show HN: Slack Night Mode by wallacoloo on Friday January 22, 2016 @03:34AM (#10951515)
Yeah, it's not consistent with the system's look-and-feel, unfortunately. But it is at least consistent across websites, which is a start. And technically, it shouldn't be hard to add support for system themes - Firefox can already derive default background/foreground/text/link colors from GTK & apply those to webpages; it's just currently a useless feature since most all websites override the defaults completely, or worse, only partially.
Re:Show HN: Slack Night Mode by nodesocket on Friday January 22, 2016 @01:33AM (#10951152)
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?
Re:Show HN: Slack Night Mode by rickycook on Friday January 22, 2016 @01:51AM (#10951205)
status page pricing is kind of ridiculous for starters. they do very little and expect $99/mo for a basic plan
Re:Show HN: Slack Night Mode by tyre on Friday January 22, 2016 @02:07AM (#10951243)
This!

Their business pricing, which includes SSL, starts at $399 per month.

Or you can self-host with something like http://staytus.co/

Yes you have to set up multi-AZ deployment, but that's super simple on AWS. Add in their new free SSL certs and voila!

Even as a small startup, that's easily worth the time to save nearly $5k per year.

Re:Show HN: Slack Night Mode by nodesocket on Friday January 22, 2016 @02:18AM (#10951269)
This is exactly the developer behavior that can cause a good startup to fail. Stop trying to optimize every penny! Optimize what matters. Your business.

Sure, you can spin up two, three, four instances in AWS across multiple availability zones. Sure, you can install Ubuntu and manage servers. Sure, you can setup an ELB, or maybe you go the extra yard and configure NGINX. Sure you can deploy an open source rails or node status page app. All wasted energy and wasted cycles that should have been utilized on your idea directly.

I've seen this attitude of extreme frugalness/cheapness and it seems to be a trait that engineers are almost proud of, and brag about. Toxic behavior.

Disclosure: I am myself an engineer, but also founder.

Re:Show HN: Slack Night Mode by borski on Friday January 22, 2016 @02:40AM (#10951333)
This is very dependent. Spinning up your own status page takes incredibly little time, rather than paying $99/mo.

On the other hand, spending more elsewhere, say, to keep good books or to acquire customers, makes perfect sense.

Re:Show HN: Slack Night Mode by OJFord on Saturday January 23, 2016 @11:10PM (#10961428)
A small amount of work that will save $90pm is "optimis[ing] your business"!
Re:Show HN: Slack Night Mode by tyre on Friday January 22, 2016 @07:25PM (#10956508)
If we had millions of venture dollars, I might agree with you. When you're a small team with a small budget, those costs add up. We absolutely spend money on the things that matter, but as CEO I also have to worry about minimizing the costs that don't.
Re:Show HN: Slack Night Mode by jbrooksuk on Friday January 22, 2016 @03:40AM (#10951538)
For a more feature complete alternate, check out https://cachethq.io
Re:Show HN: Slack Night Mode by nodesocket on Friday January 22, 2016 @02:05AM (#10951239)
Pricing is not a value prop. $99 is actually a smart and fair price, their target market is businesses, not individual developers, and hobbyist.
Re:Show HN: Slack Night Mode by encoderer on Friday January 22, 2016 @02:23AM (#10951286)
Serving a lower price point is a perfectly valid strategy.

That said, I agree with you that there is a reason their pricing is high. It's a more profitable business. Unless you're Netflix it's hard to build a business charging $10/mo. So compete on price, sure, but it can't hurt to find a few rough spots on their product that you can improve. When we launched cronitor.io we at first competed on price but we also had objectively better technology: faster alerting, etc. As we've developed the product we've been able to charge more and it's worked out well.

Re:Show HN: Slack Night Mode by downtide on Friday January 22, 2016 @03:52AM (#10951587)
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.

Re:Show HN: Slack Night Mode by wz1000 on Friday January 22, 2016 @04:13AM (#10951668)
> Some text inputs have a dark background and a dark font. Which makes things very difficult. I'm typing blind.

https://wiki.archlinux.org/index.php/firefox#Unreadable_inpu...

You can customise the colors according to your preference.

I also like the FT Deep Dark theme for firefox.

Re:Show HN: Slack Night Mode by tommoor on Friday January 22, 2016 @01:29AM (#10951134)
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..
Re:Show HN: Slack Night Mode by laCour on Friday January 22, 2016 @01:37AM (#10951166)
You're totally right, just checked. Never even crossed my mind that they wouldn't be. Updated the post.
Re:Show HN: Slack Night Mode by coloradude on Friday January 22, 2016 @01:34AM (#10951154)
AFAIK Electron has always been cross platform. But yes it is very much on available on Mac.
Re:Show HN: Slack Night Mode by farnsworth on Friday January 22, 2016 @01:39AM (#10951172)
I think he means whether the Slack app is using Electron on OS X. At one point they used MacGap.
Re:Show HN: Slack Night Mode by derFunk on Friday January 22, 2016 @03:44AM (#10951556)
So when can we expect the first Slack exploits abusing the slack protocol handler and the js evaluation function? :)
Re:Show HN: Slack Night Mode by MatthewWilkes on Friday January 22, 2016 @05:21AM (#10951891)
Yeah, this feels more like an (unintentional) irresponsible vulnerability disclosure, despite how fun it was reading.
Re:Show HN: Slack Night Mode by yeldarb on Friday January 22, 2016 @04:02AM (#10951624)
My first thought too. The platform seems ripe for its first worm.
Re:Show HN: Slack Night Mode by perishabledave on Friday January 22, 2016 @01:59AM (#10951230)
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.

Re:Show HN: Slack Night Mode by xresonance on Friday January 22, 2016 @02:26AM (#10951297)
Yes, and plenty to read on the subject. Look around for blue light and sleep / circadian rhythm / melatonin production.

http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2831986/

Re:Show HN: Slack Night Mode by farnsworth on Friday January 22, 2016 @01:32AM (#10951147)
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.
Re:Show HN: Slack Night Mode by tjmehta on Friday January 22, 2016 @01:49AM (#10951202)
It is a Stylish theme for Slack in the browser.

Here is a link to the Github project: https://github.com/laCour/slack-night-mode

I wish the Slack App had a night theme..

Re:Show HN: Slack Night Mode by patates on Friday January 22, 2016 @03:23AM (#10951471)
In the article there is a solution for the desktop app too, only not for the Mac.
Re:Show HN: Slack Night Mode by Gravityloss on Friday January 22, 2016 @06:59AM (#10952208)
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.

Re:Show HN: Slack Night Mode by r0s on Friday January 22, 2016 @02:38AM (#10951330)
I use a mix of stylish themes to achieve something similar, and hide Slack's grating UI and default colors.
Re:Show HN: Slack Night Mode by rco8786 on Friday January 22, 2016 @02:49PM (#10955115)
Reading...reading...

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