HNHacker News
TopNewBestAskShowJobs

udp

3,469 karma · joined November 15, 2010

submissionscomments
udp··on San Francisco Firefighters Become Unintended Safety Net for the Homeless
Here in the UK, if you call the emergency services they ask which service you require (police, ambulance, fire). It would be absolutely unthinkable to respond "fire" if there wasn't a fire. How does it work in the US? Is the fire dept. a different number that is somehow acceptable to call for this kind of problem?

There have been a number of times when I've been in difficult situations with severely drunken or otherwise vulnerable people, and every time I've called the local police station (rather than the emergency number) and they've sent someone over. But it's always the police I would call - never the fire brigade.

udp··on Writing a Game Boy Advance Game
> it's spot on and only had one glitch that Nintendo found in testing due to something about switching off the screen at the wrong time.

Nintendo tests third party emulators? I thought they were pretty vocally against the emulation scene.

udp··on [dead]
Sadly DVI connectors are thicker than my laptop.
udp··on PicoC: A very small C interpreter
Use a typedef in your own source files.
udp··on Apple – OS X – Photos
How does Aperture compare to Lightroom? (I've only ever used the latter.)
udp··on Psychedelics and Psychotherapy
I haven't commented on HN for a long time, but this hit far too close to home not to respond to.

I have had exactly the same kind of existential anxiety from a very young age (I remember discussing this extensively with my parents at ~7 year old). It used to be something that only happened late at night when I was alone - until the first time it hit me in a completely normal situation. I was literally mid conversation and suddenly all I could think about was my inevitable mortality. I can not describe the feeling of shock and helplessness. The floor disappeared beneath me.

I walk out of the house every morning and look at the people in the street, and I just don't understand how they can function normally in the face of certain death. Terminally ill people are often anxious because they're going to die. But everyone is going to die. We are all terminally ill with this fatal disease called "life".

It's nothing to do with wanting to accomplish more before I die. It's the very idea of not existing that I can't comprehend. I'm sure anyone would agree that the world ending would be a fairly grim prospect. When you die, the world ends. Game over, even if everyone else continues.

Alcohol is a wonderful escape from an over-active mind, but guzzling a substance that's likely to screw with your health long term... isn't exactly ideal for an existentialist and hypochondriac. SSRIs seem to help regulate things until - months in - you realise they are actually pretty nasty drugs with too many observable side effects to count on both hands.

Maybe shrooms are the answer, indeed, though having never dared touch them from - strangely enough, fear of their inducing a panic attack - I've yet to be able to comment on that.

udp··on The Following Code Causes Segfault in Clang
Something I found last week that crashes with clang-503.0.40:

    template<class T> class foo
    {
    public:

        ~ foo()
        {
        }

        foo &operator = (const foo &rhs)
        {
            foo::~foo();
            new (this) foo (rhs);

            return *this;
        }
    };

    int main(int argc, char * argv[])
    {
        foo<int> a, b;
        b = a;
    }
udp··on C++ For C Programmers
> anything really a pain without some sort of standard container library.

It's certainly not standard, but I wrote a nice little generic list library you might be interested in: http://github.com/udp/list

It uses GNU extensions, but can fallback on C++ instead if you need to build with MSVC.

udp··on Nicotine as a useful stimulant
Well, you're not really supposed to take the cigar smoke back into your lungs, so maybe that has something to do with it.
udp··on Eve-Online player loses a $9000 digital spaceship
Why do they seem to repeat everything they say? I can't work out if it's automated or not.
udp··on BBC blocking articles from UK residents
Literally the only channel I ever watch on television. It's pretty sad that the interesting documentaries have to be relegated to a separate channel so as not to confuse anyone watching BBC 1 or 2 (and BBC 1 and 2 get the HD versions, damn it.)
udp··on Hacker News London meetup, Wednesday 10th July
London is do-able for me (Newcastle), but the problem with evening events like this is getting back - having to stay in a hotel somewhere on top of the train journey makes it a pretty expensive trip. A daytime event would be much better for those of us who have to travel a long distance.

On that note, is there anyone else up in the North East interested in organizing some kind of meetup here?

udp··on Buying the new MacBook Air
When was this? The current MBP has an SSD, too.
udp··on Repository Next
The screenshot has to be contained in something to separate it from the page around it, and window chrome makes it feel a lot more real and less like a mockup. A black border or something wouldn't quite have the same effect.
udp··on Google drops XMPP support
Definitely a wise move to use your own SMTP server, or you'll end up with "From: ___@gmail.com on behalf of ___@yourdomain.com"[1].

[1] http://gmailblog.blogspot.co.uk/2009/07/send-mail-from-anoth...

udp··on Apple's new Objective-C to Javascript Bridge
Wouldn't this be exempt from that limitation, with the JavaScript engine being distributed as part of iOS itself?
udp··on Sydney tunnel water screen stop sign for oversized vehicles [video]
You might be driving abroad on a valid license, just not a license from the country you're driving in. In which case it's perfectly possible the signs wouldn't be in your native language.
udp··on Ouya Android game console gets VC-funded, torn down
For what it's worth, I haven't been able to get the fan to spin up at all, even when running a GPU benchmark for 10 minutes or so. It might just be there for some worst case scenario when something could reach dangerous temperatures.
udp··on Popular Websites Displayed in IE 5
The very latest versions of Firefox and Chrome don't seem to have a problem supporting older versions of Windows.

Can you tell me more about these sacrifices that would have to be made? I'm genuinely interested.

udp··on Popular Websites Displayed in IE 5
> They're one of the biggest proponents of trying to get people to update their browsers.

Oh, so that's why they wanted my grandma to buy a new version of Windows (and a new computer to meet the system requirements) just to update Internet Explorer.

udp··on Ask HN: Who built XMLHttpRequest at Microsoft in 1999?
Well, it's possible an object was transmitted as JavaScript source (to be decoded using eval) before the JSON spec existed.
udp··on “Right click and save as” needs to go away
It's funny how many Windows users seem to think the PDF format is intrinsically slow, and all because of Acrobat Reader. Safari on OS X renders a PDF just as quickly as any other webpage, and always has.
udp··on Updated Packages – Python 3.3
That's a pretty bad comparison. The differences between VB and C# are much more dramatic than the differences between Python 2 and Python 3.
udp··on Writing Open Source Software? Make Sure You Know Your Copyright Rights
So if I accept pull requests without asking people to sign a CLA, what kind of ramifications could this have for my project in the future?

Also, if the license says "Copyright <author> et al." (as many license headers do), does the copyright actually belong to the contributors as well as the author? How is this determined?

udp··on Some dark corners of C
Mixed declarations and code are absolutely essential in a modern C programming style. It's all very well to declare things like "your functions should be shorter" or "you shouldn't use temporary variables in macros", but it's just not practical in real world code. In fact, it's so impractical they amended the spec 14 years ago.

Then there are things like the portable integer types - which you decided aren't necessary because everyone is writing Win32 code (???), the designated initializers which I use every day to make my struct initializing code safe from changes in the struct itself, for loops, a consistent bool type ... heck, I could go on all day if you hadn't already dismissed the rest of the standard as "stuff that no one uses".

I really don't mean to come across as aggressive, but this kind of ignorant and dismissive attitude is so rampant in the tech scene at the moment. And it's getting us nowhere.

udp··on Some dark corners of C
Nope, I'm definitely writing C99, but it just so happens that MSVC is happy enough pretending it's C++.

Definitely writing C99 in that I compile the exact same source files with -std=c99 -Wall -pedantic when using a real C compiler.

udp··on Some dark corners of C
You're suggesting I write C89 in 2013 just to support MSVC? C89 in which you can't even mix data and code?

I think casting void pointers is very much the lesser of two evils. And of course I can use MinGW, but that doesn't mean the majority of Windows developers don't insist on using MSVC.

udp··on Some dark corners of C
> While we're talking about dark corners, please stop casting functions that return void *

The problem is, if I want my C code to compile with MSVC, it has to compile as C++ - and even if I abhor Windows for development myself, a lot of developers are using MSVC.

I just wish Microsoft would update their C compiler, at least to C90. But then I suppose the standard has only been around for 23 years, and nobody really uses C anyway.

udp··on Why Use Make
The stupid thing is that conditions are supported just fine in BSD make, but the syntax is slightly different than GNU make. So you're forced to write for one or the other, and GNU make is more widely used - so makefiles end up being GNU make only, even though they don't require any GNU-specific features.
udp··on WebKit: An Objective View
They could just release an unusable copy without the third-party components, and leave the replacement to the community.
← PreviousPage 6 of 18Next →