Better HN
topnewbestaskshowjobs
Log inSign up

ghswa

437 karma · joined May 23, 2013 (13y ago) · 61 submissions

Submissions

comment 9y ago · link · parent

At Christmas they put white lights on all of the trees except for Pete Conrad's which gets red lights. At his funeral his crew mate Alan Beam said "Pete says that while he was here he was always the shortest astronaut, but he doesn't want his tree to be the smallest tree. Pete wants his tree to be special the most colorful tree because his motto is, When you can't be good, be colorful."

I also think it would be respectful to the women who died in the space programmes to edit "his life" to "their life".

comment 9y ago · link · parent

These are the first groups that came to mind. They may not all seem applicable all of the time but I would argue that making your site accessible to as many of these people as possible would improve the experience of all of your users.

- Partially sighted users that are not technically literate enough to use assistive technologies.

- People with physical impairments that affect their ability to use input devices and may also dictate the types of device they can use.

- People with low levels of technical literacy.

- People with poor literacy in the language of the site.

- People with dyslexia, not forgetting those with poor working memory or slow processing speed.

- People with dementia.

- People with a host of other mental and cognitive disorders.

3.

Is Titan submarine the most daring space mission yet?(bbc.co.uk ↗)

1 points · by ghswa · 11y ago · discuss

comment 11y ago · link · parent

The online version of page 3 will remain unchanged.

comment 11y ago · link · parent

Are you referring to discussions on their mailing lists? If so, could you link to them?

comment 11y ago · link · parent

According to [1] it's W xor X. Interpreting that literally suggests that read only memory is disallowed as well. I'd be surprised if that's actually the case.

[1] http://www.openbsd.org/33.html

comment 11y ago · link · parent

I think you'd be surprised; this gave my wife some interesting ideas ... for work.

For what it's worth she's an academic in computing.

comment 11y ago · link · parent

I don't think that's particularly wishful thinking, however, your alternative phrasing could be seen as equally, if not more, leading.

When quizzed on the behaviour of a C program I would expect a careful and experienced C programmer to consider the behaviour described by the standard (which standard?); unspecified and implementation defined behaviours; and deviations from the standard in both the compiler and the environment. Often I'd expect the answer to be "it depends".

comment 11y ago · link · parent

It's a gotcha for anybody, like me, that expects a branch name to be 'just' a string.

comment 11y ago · link · parent

If you're that worried why not cut it short to "We liked your attitude, you seem intelligent, and well-spoken, but we have concerns about your knowledge of <some key area>." There can't be any risk there, surely?

comment 12y ago · link · parent

"I did write a compiler manual in 1958, which by chance was actually used as the textbook for one of my classes in 1959(!)"

How many people in the world could claim something similar?

12.

Operation Acoustic Kitty(en.wikipedia.org ↗)

2 points · by ghswa · 12y ago · discuss

comment 12y ago · link · parent

Even worse when it's not even a politician from your own country. I'm looking at you Rand Paul.

14.

Apple security rules leave inherited iPad useless(bbc.co.uk ↗)

27 points · by ghswa · 12y ago · 47 comments

15.

Care.data is in chaos. It breaks my heart(theguardian.com ↗)

2 points · by ghswa · 12y ago · discuss

16.

Interactive Map of the Universe [Flash](policymic.com ↗)

1 points · by ghswa · 12y ago · discuss

comment 12y ago · link · parent

It's important to remember that the "year of code" initiative is not related to the new curriculum coming into force in September 2014. My wife is writing a book for the new curriculum and, from what she's told me, it sounds quite good.

At Key Stage 1 (ages 5 to 7) children are taught about algorithms, that they are a way of breaking tasks into a sequence of steps that can be reused to solve problems.

They will also be taught about the pervasiveness of software - about the different kinds of devices and appliances that rely on software.

Finally, they will be taught about privacy. I'm not sure of the content but I assume it'll be about managing information about themselves.

comment 12y ago · link · parent

Reading about suicide in the news is incomparable to the kind of direct intervention I'm talking about. As john_fushi commented[1], the best thing you can do is talk about it and his suggestion of calling your local suicide helpline for advice is an excellent one.

On a personal level, I've found that talking frankly about suicide greatly reduces my desire to act on any suicidal feelings. This effect is greatest when talking face to face with somebody I know and trust.

However, worrying about whether or not somebody trusts you should NOT stop you from intervening. If somebody shows a desire to listen and help my in such a situation I'll have a much greater level of trust in them than I did before, even if they were previously a complete stranger or somebody I dislike.

[1] https://news.ycombinator.com/item?id=7228997

comment 12y ago · link · parent

I'll chime in here, if you don't mind - I'm bipolar[1].

My health often deteriorates for short periods of time, perhaps a day or two, sometimes a week or so. In these situations there is often some trigger - high workload, poor sleep hygiene etc. My mood doesn't usually reach such an extreme that it causes any significant difficulty day to day.

Episodes of illness that have a significant detrimental impact on day to day life seem to build up slowly. They start out like the episodes described above but they just keep on going until my mood is so extreme that day to day life becomes very difficult to deal with.

My most recent episode of this nature was probably caused by the stress of a couple of deaths in the family, a daughter who doesn't want to sleep, a wife commuting across country to work, a high workload myself and (frustratingly) mental health services not providing care when I could see my health was deteriorating.

It's been around 6 years between my last two episodes of that nature.

Poor sleep hygiene is by far the biggest risk for me and it becomes a vicious cycle if I'm in a manic phase. Other than that, continued high levels of stress are a problem but only really if I'm dealing with multiple stressors.

[1] http://en.wikipedia.org/wiki/Bipolar_disorder

comment 12y ago · link · parent

As somebody who's been there (on both sides) I don't believe that anybody who might act on suicidal ideation would not have already considered suicide as an option.

I'd say that, if you're worried, starting a conversation about it (in person) is just about the best thing you could do. A "missed diagnosis" is far worse than a "misdiagnosis".

Sorry for the pun.

comment 12y ago · link · parent

So sorry for your loss EMRo.

If I were anywhere nearby I'd have come along to the memorial service but the Atlantic is quite big... I hope the service goes well for you all.

Sadly the troll(s) in this thread are demonstrating the kind of prejudice that can make it difficult to have a serious discussion about the more immediate problems faced by people suffering from mental health problems.

comment 12y ago · link · parent

Does gcc make any kind of assumptions about signed-overflow? For example, would it eliminate the comparison in this code:

  int8_t i;

  /* ... */

  i += 1;

  if (i == 0) {
    /* ... */
  }

comment 12y ago · link · parent

I'm enjoying this so far although a couple of things have made me scratch my head in the example code allocating a vector.

  int create_vector(struct vector *vc, int size) {

    vc->data = 0;
    vc->size = 0;

    if (vc == NULL) {
      return VECTOR_NULL_ERROR;
    }

    /* check for integer and SIZE_MAX overflow */
    if (size == 0 || size > SIZE_MAX) {
      errno = ENOMEM;
      return VECTOR_SIZE_ERROR;
    }
Accessing the fields of vc before the NULL check seems like an error. Also, would it not be simpler to change type of the size parameter to size_t so that it's the same type as the size field of the vector struct?

comment 12y ago · link · parent

"No. The output might be beautiful, but the language is most certainly not. Awful to debug."

Absolutely agree but, as far as I'm aware, this "more modern alternative" does not exist.

comment 12y ago · link · parent

Regulation 5b allows the Secretary of State for Health to disclose confidential patient information for any medical purpose. No need for a national emergency.

http://www.legislation.gov.uk/uksi/2002/1438/regulation/5/ma...

:edit: gohrt pointed out that I'd overlooked the restriction to medical purposes in regulation 5, thanks.

comment 12y ago · link · parent

I live in Bristol. I wonder how quickly I can move to Cardiff?

comment 12y ago · link · parent

That's an opt out for the summary care record which is a different centralised system. We're talking about care.data here.
123