ibmthrowaway271

Joined 11 years ago

Karma
63
Submissions
27
Member since
Jan 27
View on Hacker News

Recent submissions

Comment · 9 years ago
> You could always use a calculator but the whole 'show your own working' catch meant you had to do it all manually. Not any more!

You could often cheat (for equation rearrangement questions) if you knew the answer by simply working backwards towards the question, this is often easier than going from problem to solution but still provides all of the steps along the way.

I remember one maths teacher hinting at this trick, especially to understand the derivation of the quadratic formula:-

    ax^2 + bx + c = 0
by starting with:-

    x = ( -b +/- sqrt( b^2 - 4ac ) ) / 2a
and working backwards.
Comment · 10 years ago
As pointed out below, they aren't equivalent.

Compare the output of both when run against "foo bar WIBBLE"

Comment · 10 years ago
Different behaviour.

capitalize downcases the rest of the each sub-string, the original code did not.

Comment · 10 years ago
Ah, yes, good point.
Comment · 10 years ago
> For example, for YouTube alone, users upload over 400 hours of video every minute, which at one gigabyte per hour requires more than one petabyte (1M GB) of new storage every day or about 100x the Library of Congress

Hmm, something up with the sums in the middle of that.

400 hours of video every minute is much more than one gigabyte per hour. It's way more than one terabyte per hour.

Working backwards:-

1 PB/day =~ 42 TB/hour =~ 728 GB/minute

Comment · 10 years ago
Another anecdata, but on the other side of the coin:

Virgin cable available right now, BT have put off upgrading my cabinet to FTTC for over 4 years now.

Still, I'm getting ~8Mbps/1MBps so it's hardly a reason to complain.

Comment · 10 years ago
Comment · 11 years ago
He's the 6th Brit in space, the 5th man.

> https://www.newscientist.com/article/dn28666-first-official-...

" Despite what you may have heard, Peake is actually the sixth Brit in space. The first was chemist Helen Sharman, who flew to the Russian Mir space station in 1991 as part of Project Juno, a jointly funded mission between a private consortium and Russia. She was followed by the British-born astronauts Michael Foale, Piers Sellers and Nicholas Patrick, who all took US citizenship and flew on NASA missions, and Richard Garriott, a video game developer who went to the ISS as a space tourist. "

Comment · 11 years ago
> In my books its a minus that you can not rewrite history. What happens if you accidentially add code where you dont own the copyright? Or an API Secret?

Someone will write the necessary scripts (e.g. fossil-rebase) to go into the DB and rewrite history.

Comment · 11 years ago
It's a common topic posted by people looking for a big boost of karma.

1. Find the most popular topics (by points) in HN 2. Manually filter out 'event' topics (e.g. product releases, time specific news items, etc) that won't work when reposted 3. Wait until a topic hasn't been raised for a while and post a unique URL (either a related URL that hasn't been posted as a topic but maybe appeared in the discussion, or an existing URL that is made unique) 4. Hope for big boost of karma

Which is why we often see many of the same old subjects being brought up again and again. Not necessarily a bad thing, but I'm sure that some are being posted by people trying to get their karma scores up.

Reminds me, where's that list of pg's essays...

Comment · 11 years ago
Sound could be an option.

A TV license is required to watch broadcast television, so the number of channels they could be watching is finite. Even a muffled signal detected from a vibrating window (via laser microphone) could be compared to what is currently being broadcast by each of the channels (give or take a short processing delay) and any match found.

Nowadays it's mostly database enforcement. You obviously don't have to care about addresses that do have TV licenses so you just go looking for people with various TV subscriptions (Sky, Virgin Media) that don't have a TV license. It used to be done by the retailers submitting addresses of people who bought/rented TV equipment (TV, VCR, etc), any that didn't get (or already have) a TV license would get a visit shortly afterwards. Also people who watch programmes 'live' on-line (IP -> address conversion thanks to the DSL providers).

Comment · 11 years ago
Is there a tool to output the DH params being used when attempting a TLS connection (not dumping them from a packet capture)?

I know I can, but I'm hoping for something simpler than having to parse the TLS messages from:-

  openssl s_client -connect host:port -msg
to work it out.
Comment · 11 years ago
Do not look into razor with remaining eye?
Comment · 11 years ago
Exactly, it's why I held out on posting my single counter anecdotal story.
Comment · 11 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton