octalmage

Joined 12 years ago

Karma
315
Submissions
93
Member since
Sep 7
[ my public key: https://keybase.io/octalmage; my proof: https://keybase.io/octalmage/sigs/O_lVn8xYsrt3rAEs7crWzoR8pJ1ho3MJw-EnfTk4XQY ]
View on Hacker News

Recent submissions

Comment · 8 years ago
PixelBook has something like Expose, but it’s no where as smooth. It snaps into place in weird ways and that kills the magic.
Comment · 8 years ago
I sold my razer to get the N-Gage and I loved it. I am a gamer and loved the games available to it.
Comment · 8 years ago
I’ve run into this a bit with progress related stuff. I bet if you looked at progress bar libraries they’d have similar logic built in.
Comment · 8 years ago
I’m glad you mentioned this. I worked on an email client like this for a bit, but I found email difficult to work with. Basically I wanted to be able to whitelist important senders and have those emails appear to my desktop, then the rest I could get to when I had time to open my inbox.

I know ahead of time who I want to be able to reach me immediately. My boss, his boss, my team and my girlfriend. Everyone else can wait.

Comment · 8 years ago
We don’t have the stats on the number of households the payment processing industry and banking industry could power. Not saying that it’s more or less, just something I considered.
Comment · 8 years ago
I noticed this too. I wrote a WordPress plugin to trigger a TravisCI build when I publish a post and this works great, but it takes 5 minutes or so to publish a new version of the site. For me this isn’t a huge deal, although waiting 5 minutes to fix a grammar issue sucks, but for some this is going to be a bigger deal when they’re used to being able to make changes instantly.

I noticed that the Gatsby WordPress plugin hits every endpoint on your site to build the graphql data store, you could probably modify it to just hit the ones you need. Additionally I feel like there should be a way to do persistent incremental builds. At least there should be a way to cache the graphql stuff. Maybe a incremental webpack build plugin exists.

Comment · 8 years ago
I would expect them to post to Snapchat as you take photos.
Comment · 8 years ago
These are pretty cool:

https://lensstudio.snapchat.com

I’ve seen them show up a bunch online and on Snapchat.

Comment · 8 years ago
Yeah anytime Slack is mentioned at work someone brings up IRC. So I get what he’s saying.
Comment · 8 years ago
AppEngine standard can actually scale down to 0 instances when not in use to save money. Still very different from a serverless architecture though.
Comment · 9 years ago
Apple is doing similar stuff by refusing to implement the payment request API and instead implementing their proprietary Apple Pay API. So you can use one API to target Chrome and Firefox and another for Safari. This is starting to sound a bit like IE. They were invited to join the working group for Payment Request and decided not to take part.
Comment · 9 years ago
When you run code on a website you don’t own you have to be extremely careful. You’ll learn this quick building WordPress themes and plugins. They’re pretty careful not to directly affect the website by running their JavaScript in a scoped context and using IDs in the CSS selectors, but there is nothing to prevent the website front modifying their pop up. For example if my website had the .closebn class with display: none !important, a visitor would not be able to close the pop up. That’s a pretty common class name. To prevent this you should use dynamically generated class names that get swapped out at build time, or in this case even inline styles. Something like the close button of an injected pop up is pretty critical and inline styles would guarantee that it wouldn’t be messed with.

(I haven’t tested any of this, this is based on a quick glance at the code)

Comment · 9 years ago
Just a small note that as a customer I would prefer to be redirected to a notice hosted on your website so there is no confusion about the source of the notification. If I saw this pop up on a website I visited daily I would probably think it was spam and ignore it.
Comment · 9 years ago
Exactly. The first thing I thought about when I saw this was the implications of having JavaScript that has not been tested in the context of a website running. You have no clue how it will conflict.

As a website owner you should have the right to verify all code that will run on your website to be sure that it won’t cause issues since only you have the context needed to make that call. What if there’s a global DIV selector that hides the close button, the website visitor is screwed! And they’ll just think it’s a problem with your website.

One more note, there are way better ways to do what they’re trying to do. Even with how terrible IFrames are, they prevent CSS and JavaScript conflicts. A simple position fixed div at the bottom of the screen containing an iframe seems more appropriate. If you are going to run code on my site, make sure it’s as small as possible. This could have been accomplished in 2 lines of code (excluding iframe host).

Comment · 9 years ago
Time Warner did show up at my door when they updated their speeds. I thought it was strange,and asked him to have Time Warner call and schedule a time, but it worked. He was going door to door.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton