HNHacker News
TopNewBestAskShowJobs

famfamfam

274 karma · joined March 15, 2010

London (UK) web developer.
submissionscomments
famfamfam··on Safari introduces Adaptive Dark Mode in 27.3
Chrome also has a functional adaptive dark mode (no extension required!), but it is hidden behind an experimental flag `enable-force-dark` as an origin trial on desktop. I am surprised that the Chrome team have not surfaced this to users earlier (outside of Android Chrome, where it is available as a 'Dark Mode' toggle).

To try it, go to chrome://flags and search for Dark Mode, then enable Auto Dark Mode for Web Contents.

Alternatively, you can toggle it on using the Chrome DevTools Rendering tab, as "Enable automatic dark mode"

famfamfam··on .name Termination
I moved to a third-level .name domain in 2005 precisely because one of the Big Email providers (Google) locked me out of my account with no recourse; presumably because I had a very common email address that was getting a large number of login attempts from other people which had triggered some abuse automation.

At the time - before the explosion of new gLTDs - third-level .name domains were advertised as the 'correct' domain to register for individuals wanting personal email addresses.

famfamfam··on Discontinuation of third level domain registrations for the .name TLD [pdf]
I have used a third-level .name domain as my primary domain and email since 2005, and I am in this list of domains affected. This is the first I have heard of this, does anyone have information on _when_ this might occur?

In the RSEP it states:

> "Have you communicated with any of the entities whose products or services might be affected by the introduction of your proposed service? If so, please describe the communications."

> "No. Not applicable."

As thankful as I am to OP for bringing this to my attention; I am equally disappointed that my registrar (Fasthosts) has not made any attempt to warn me about this, and that Verisign consider me "Not applicable" to a change that will be extremely onerous.

90 days to transition is an extremely short period of time to transition literally every account I have, including email addresses I use for government and medical services.

famfamfam··on We have a 99% email reputation, but Gmail disagrees
During a 1 month period (2024-03-26 to 2024-04-25) FontAwesome sent me 18 different marketing emails, including 4 in one day. I am not sure that matches with their supposed 'instinct' and I am unsurprised that they have a bad email reputation.
famfamfam··on A Blog Post with Every HTML Element
Regarding the <menu> element, which the OP mentions their confusion about as:

> I was initially surprised that it survived to HTML 5 (while <menuitem> didn’t) because modern browsers treat it as essentially a <ul>. Researching further on Wikipedia I read: "MENU existed in HTML Tags, and was standardized in HTML 2.0; deprecated in HTML 4.0 Transitional; invalid in HTML 4.0 Strict; then redefined in HTML5, but removed in HTML 5.2," and now I don’t know what to think.

HTML 5.2 was retired by W3C in 2021 in favour of the WhatWG HTML Living Standard, which (unlike HTML 5.2) never deprecated <menu>, and has been redefined as representing "a toolbar consisting of its contents, in the form of an unordered list of items (represented by li elements), each of which represents a command that the user can perform or activate.".

Wikipedia's list of elements seems to be out of date here — along with a lot of the Wikipedia information on HTML versions — as the <menu> element is still alive. Given its history of being repeatedly deprecated, and the fact that event recently browsers were confused by exactly what semantics to assign to <menu>, you are probably nearly always better off using <ul> with an appropriate ARIA role attribute (toolbar, menu, or menubar).

famfamfam··on Show HN: hue.tools – open-source toolbox for colors
Really cool site! After playing with it for a while, could the CSS gradient for MIX could be changed to use the same number of color stops as there are steps rather than just using the start and end, to better match the chosen interpolation mode? I had a great gradient in LAB space, but the CSS version interpolates through ugly greys in RGB.
famfamfam··on Lorem Picsum, death by a million pixel-gigabits
For reference: I do about 7GB of image traffic/day for placekitten (a similar service) for about the same cost ($6/mo). I do resize images.
famfamfam··on Show HN: I connected my house lights to video games
> Ideally, the games themselves would have some sort of API, or some other way to either communicate what’s happening in the game so I can map colors to it

A number of games implement Mumble Link (https://wiki.mumble.info/wiki/Link) which provides a memory-mapped file that includes positional data used to provide directional sound by voice-comms software (so when a teammate speaks you hear their voice as if you were both in your relevant locations in the shared virtual space). Some games also expose other data through this including health/mana/ammo levels which could be used to control lighting based on game state.

famfamfam··on Robin
I was also in this room, merged in from powerlanguage's side into Notch's group. The group ended up convincing about 40-50 members to vote to Stay, and when the vote passed it created a private subreddit for the group with random members as admins (including Notch). This was before auto-vote scripts and bots became common.

The subreddit is currently coming up with a theme for itself (based on part of the name that was automatically generated for us), and has seen users sharing spare copies of games and introducing themselves.

Unfortunately /u/powerlanguage chose to grow on without us.

famfamfam··on Show HN: Hint.css v2.0 – Pure CSS tooltip library
I am seeing blurry text on every tooltip as it animates in, not just the one on the download button. I assume it is related to ClearType rendering the text on non-pixel locations.

Chrome 47, Windows 8, ClearType enabled.

famfamfam··on I build High Availability Platforms so Cloud is not for me
Not to mention the fact that in addition to you being good (and therefore expensive) to have a HA system, you would need at least two of you.
famfamfam··on Will the Americans with Disabilities Act tear a hole in Internet law?
To see where this might lead, consider the UK, where this is already the case. The Equality Act 2012 [1] (which itself is a replacement for the Disabilities Discrimination Act which also applied to websites) requires:

  A person (a “service-provider”) concerned with the provision of a service to the public or a section of the public (for payment or not) must not discriminate against a person requiring the service by not providing the person with the service.
It applies to websites (Airline BMI Baby was sued by the National Institute for the Blind for failure to meet the as-then Disabilities Discrimination Act).

The typical paraphrasing I hear from developers is that it requires an organisation (but not necessarily the developer) to make "every reasonable effort to comply", for which there is a baseline of appropriate colour contrast and reviewing WCAG validation.

It does mean that developers for UK-based services are less disposed to Javascript-heavy applications/components and video content (because of the requirement for ARIA and transcripts/CC respectively).

[1] http://www.legislation.gov.uk/ukpga/2010/15/part/3/crosshead...

famfamfam··on Webdesigners: please make text readable
Mark Hurrell has blogged some of his testing on Helvetica font stacks (including Neue) at http://blog.mhurrell.co.uk/post/2946358183/updating-the-helv... which is worth a read. Current recommendation is to specify sans-serif but with additional specifications for Linux:

  font-family: Helmet, Freesans, sans-serif;
famfamfam··on War on Urchin
I have always been uneasy about the fact that Urchin/Google Analytics 'campaign tags', when copied and distributed via other services, do not continue to represent the original campaign. For example, for the following campaign URL includes three additional pieces of information:

http://example.com/?utm_source=June%2B2011%2BNewsletter&...

Source: June 2011 Newsletter

Medium: Email

Campaign Name: Free Summer Tickets

The moment that you store that URL in other service, a number of those tags become incorrect anyway (it is not an email anymore), and the stats you will get from it will be tainted. Campaign tags are useful, but this approach by pinboard may end up in tracking being more accurate (certainly from in terms of tracking campaign media/terms/content), at the cost of removing the campaign name.

There is also little difference between this and a URL such as http://example.com/Free-Summer-Tickets/June-2011-Newsletter?... being set up to serve the original content other than at least with the campaign tags you've got a single canonical URL using the more correct query parameter mechanism.

famfamfam··on Introducing schema.org: Search engines come together for a richer web
Information in specific types — including reviews — exposed using microformats, RDFa or microdata has already been used by Google for over 2 years, they call it "Rich Snippets", and it does improve the quality of experience for users, assuming that you equate an increase in clickthroughs to mean that the user percieves that page to be more useful compared to other SERPs results (and anecdotally I always go for results which include rich snippet information gleaned from pages with the required semantic enhancements).

This announcement is not the proposal of a new technique, but rather the extension of one which is already working and is a good thing for the web.

famfamfam··on Introducing schema.org: Search engines come together for a richer web
The HTML data-* attributes are intended for private data only; i.e., to store data to be used as configuration for a Javascript plugin but which does not hold semantic value and cannot be represented as actual content, whereas microdata (which is what theyre using and is also part of the HTML5 specification) is meant only for describing how the content of the page maps to some schema.
famfamfam··on Amazon Cloud Drive Is Not Dropbox
Now that Amazon S3 provides Website Endpoints and index documents [1][2], it is probably fairly trivial to set this up either using an S3 sync tool, or an S3 mount such as ExpanDrive, without resorting to CloudDrive or EC2.

You would need to set-up CNAMES for your subdomains though, and it will not work with the primary (non-www.) domain.

[1] http://docs.amazonwebservices.com/AmazonS3/latest/dev/Websit...

[2] http://aws.typepad.com/aws/2011/02/host-your-static-website-...

famfamfam··on Pictures of kittens for use as placeholders in your designs or code
There are a couple of other services which are more "client-suitable" and have a few more options:

* http://dummyimage.com/ * http://placehold.it/

The most useful thing to come out of this post for me is the knowledge of dummyimages.com, and specifically the aliases for the IAB standard ad sizes such as http://dummyimage.com/leaderboard/E/C. Great work by Russell Heimlich on that site, and the source code is MIT too if you want to run it locally.

famfamfam··on Pictures of kittens for use as placeholders in your designs or code
Traffic was unexpected, I was expecting the site to travel within a small group of friends and colleagues who were in on the joke. I uploaded the site to a mediatemple (dv) server, on which Apache's MaxClients is set to a paltry 20. Whilst the server appears to be fine, Apache is unable to satisfy the requests, and I am unwilling to up the MaxClients because normally (mt) automatically disable the server.

It appears that most of the requests were being made to the ~8 images on the homepage, so I've moved these to an S3 bucket and the site is now responsive again. Hardly HIGH TECHNOLOGY, but any port works in a storm (and AWS is typically my 'any port').

I've also repointed nameservers to run via a https://www.cloudflare.com/ free account which should provide a reverse caching proxy for the homepage at the least, but will take some time to kick in.

The lesson to learn — one that I would expect most would not need to learn — is that launching a website (even in jest) in a 5 minute break in-between real work with real deadlines is not advisable.

And to second the parent post, I don't feel comfortable with this being posted to HN at all, and certainly not with it ranking #1/#2. I fear someone may have timed it perfectly to start Eternal February.

famfamfam··on Pictures of kittens for use as placeholders in your designs or code
It also appears that I should have taken that extra couple of hours to host the site somewhere other than a small mediatemple server, you're all hitting HTTP client limits at the moment.
famfamfam··on Pictures of kittens for use as placeholders in your designs or code
Mark here, I threw placekitten.com together this weekend after a journey on a train in which I could not access placehold.it and few weeks of jokes about the concept with colleagues.

I was not planning on posting to HN, as I thought that a kitten-meme related site might not be the most appropriate (looks like the wisdom of the crowd has decided otherwise).

I can't claim that the server will stand up, so I would refrain from using the site for anything critical (not sure why you would need/want to), or that caching is entirely correct (I'm sending far-future expires, but I'm sure that I could improve given some time).

Glad that the internet likes kittens though. Confirmed a suspicion I had.

famfamfam··on A favicon? That’ll be £585 please.
You could assume that the time allocations could be broken down as follows (billable by the hour), which makes it more believable that the total cost could be approx £585.

* 1 hour - Account handler discusses with request with client, adds to studio traffic scheduler

* 2 hours - Icon development by designer

* 3 hours - Developer wrestles with old website platform to try and add relevant <link> to every template

* 1 hour - Project Manager reviews and discusses with client

* 1 hour - Developer deploys to production environment

Making 8 hours at approx £75/h (£600) which all sounds perfectly believable for a London digital studio.

One of the issues with the low barrier to entry to web development is that a class of people exist who believe that the job is entirely a process of making a website (or a favicon) and uploading it via FTP, maybe even installing Wordpress. Complex client relationships, business/deployment processes and old web systems do not factor into their equation for cost. It is important that these people exist, otherwise the cost of being involved with the web would be astronomical for businesses at the lower end, but there _are_ good industry practices for quality work and jobs required at the higher end which they are putting in jeopardy with sensationalist headlines such as this one. Some clients have more available money, but require much more effort than throwing up a few plugins and shooting them an email once it is done. Nor is favicon design a case of taking one of my Silk icons are throwing it through a dynamicdrive favicon maker.

That said, there are still a few examples of UK website procurement which goes beyond what you might call value for money, such as Birmingham Council's website which cost £3m (http://www.birminghampost.net/news/politics-news/2009/08/04/...), although my concern with that website was not so much the cost but the quality of the work (from a quick scan I don't have the same concerns about the ICO website).

famfamfam··on Want to tweet while you sleep?
I agree, I (with rather bad timing) I spent part of yesterday scheduling over a month's worth of tweets into CoTweet, the ability to not have to manually enter a date and time repeatedly would have saved a large amount of time.

However, after watching the video I wished. I don't want to enter my information without at first being able to see what the limitations would be on the free plan. The text on the site doesn't say anything about non-free plans/pricing other than that they exist. Careful scrubbing along the video does suggest its 2 a day (which would be fine for a free plan), with a max of 5 in the buffer which is so low as to completely ruin any plans of swapping it in for CoTweet and makes me much less willing to enter my email address.

May I suggest placing the plans/pricing information on the site? There is a page for it, but it appears to be mostly a duplicate of the homepage without any extra information.

famfamfam··on What kind of traffic is driven by a single mention of a domain on network TV?
These numbers sound about right to me. In the UK, with ~2 million engaged viewers, we see around a 1-2% conversion when a URL is mentioned and shown on the screen (off the top of my head 20,000 users in a 30 sec period would be a fair average), typically 3-6% conversion over the course of a 1 hour show.

The important thing is for the website to exist and be online within the 5 minutes of the URL being displayed.

If the presenter reads a URL and also explains some activity that can be done on the site, you can get anywhere from 2x to 40x the traffic that just showing or just saying the URL will create, it depends on the activity and also which presenter is reading out the URL.

Displaying the URL alongside a screenshot or a video of website will net you 4+ times the number of visitors that a simple piece of text displayed or read, but not as much as a presenter telling viewers to go to the website.

A broadcast on a delayed +1 channel gets you 10% of the above traffic.

famfamfam··on Piknik - my full screen color picker
Its simple, but it works well, especially to pick main theme colours, mrspeaker rightly points out that doing so in a tiny preview window rarely gives you a proper indication. I'm not entirely sure that it actually fits into a designer or css workflow, but it _is_ enjoyable. Plus it appears to be HTML5, so it has electrolytes.

A few thoughts (without necessarily providing any solutions!):

* While interesting that the logo changes colour, I find that it nearly always picks a gradient which is extremely uncomplimentary to the background. It would be less of a distraction if it was only white/black.

* When you click to lock the colour, it would be nice if it could leave a marker to show you where your choice was, so that you could make minor adjustments more easily (I guess the luminosity makes it a little tricky!).

* The links for the colours at the bottom of the app say rgb(239,16,146), which would be great for CSS to copy-paste the correct format, but when you click it actually enters '239 16 146'. The hex code is the only one which gives me a useful value straight into the clipboard.

* I missed the note about luminosity at first (I count myself as a typical user in that I do not read instructions), it makes sense and works quite well when you actually start scrolling, but is a little hidden.

famfamfam··on Silk Icons: A Comprehensive Open Source Icon Set
I wish I had been foresighted enough to realise that the icons were more than the occasionally useful result of a period of insomnia. The set was started because I could not find a good icon set to use in a system I was developing.

I have done almost no icon design since this set was released; The icons have garnered me some personal infamy, and I make a little from text link ads, but I would kill the site if not for the fact that people still appear to find the icons useful and reliable.

For personal work, I use the fugue set linked previously.