HNHacker News
TopNewBestAskShowJobs

demallien

2,742 karma · joined February 18, 2008

d13b2ac1c6b22c9a1557ee5a5dd4f41855f65133
submissionscomments
demallien··on Lisp or a pre-processor?
No, the preprocessor in question is a full parser. If you can express the syntax you want with a formal grammar, the parser can handle it.
demallien··on Never Lie About Who You Really Are
I think you're missing the point. The author is very well aware of the fact that the question "Have you got kids?" is very likely going to lead to a question about their spouse, that's why he chose that example!

The problem is how should he respond to that first question about kids? He can lie, and say that he doesn't have any, heading off the awkward situation, or he can tell the truth "yeah, I've got a couple of boys" or whatever. But if he tells the truth, he knows there's a good chance that he is going to get asked about his partner, and once again he has to decide whether he is going to lie or tell the truth.

The real problem comes from the fact that he is in the back of someone else's car, and he knows that violence against homosexuals is a depressingly common phenomenon. He doesn't know the driver, and hence can't know if they guy is going to be cool, or if he's going to decide that tonight's the night that he looks the passenger doors and drives off into the night to kill his passenger in some dark alleyway. Being less melodramatic, he could very easily find himself being dumped on the sidewalk halfway to his destination.

Hence the lies. But lies are tiring. You have to keep track of which ones you've told "Wait, did I just mention that I have to get up really early tomorrow to get the kids to school for a rehearsal? Damn - I told him I didn't have kids!" Anyway, that's what he's getting at.

demallien··on Why Lisp?
Or, you know, cscope?
demallien··on Two Star Programming
Most CPU architectures offer special optimised instructions for grabbing data in a structure - it's done as an offset from the base pointer. A double star dereference can not benefit from this optimisation.
demallien··on Two Star Programming
Yup, potential performance issues were the first things that came to my mind on seeing that code too. Plus, it's just silly to say that someone that just wrote a linked list doesn't understand pointers - pretty much by definition they do understand pointers, otherwise their linked list isn't going to work.

My personal rule of thumb concerning pointers is that two-stars should never be seen except in the case where you want a function to be able to modify a pointer that was passed in as a parameter. That's it. If I get handled a module that has two-stars in it under any other circumstance, I refactor it. I do this because:

a) lots of people find it difficult to thing about pointers to pointers (although I've never understood why empirically I note that this is the case).

b) Having to dereference two pointers to get to the information that you want is not just slow because of extra work needing to be done, but also because you've just increased the need for doing a page change in memory, which on some architectures can be surprisingly expensive.

demallien··on Systemic traffic jams caused by small groups of drivers, study says
I wouldn't call that unethical - even free users would benefit from such a system, in the same way that non-users would also benefit, but paying users would benefit even more.

The system actually requires itself to be ethical. The ability to make things better for the paying users is dependant on the system having a lot of free users. Those free users have to be getting some utility out of the site, otherwise they won't use it. And without large numbers of free users, the paying services can't be offered!

demallien··on French ISP Removes Google Adsense From Websites
Well, you can, but you lose a whole bunch of important functionality, like being able to watch TV over IPTV (source - I work on SFR's STB, and we watch the competition closely :D)
demallien··on Black and Whitey: How the feds disable criminal defense
Yeah, I refer you to my go-to guy for American law - Aaron Sorkin :

Kaffee: It was oregano, Dave. It was 10 dollars worth of oregano. Lieutenant Dave Spradling: Yeah, but your client thought it was marijuana. Kaffee: My client's a moron that's not against the law. Lieutenant Dave Spradling: Kaffee, I have people to answer to just like you do. I'm going to charge him. Kaffee: With what? Possession of a condiment?

Your interpretation of mens rea is just way off. If I'm driving a propeller boat, and I kill a scuba diver that forgot to post the bouy signalling his presence, then I haven't commited a crime, because I was unaware, and could not reasonably be aware, that there was a scuba diver under my boat.

On the other hand, if there is a bouy, and I drive over the top without killing the diver, and it can be demonstrated that I was intending to harm the diver then yes, I can be convicted for attempted murder. Attempted murder mind you, and not murder itself. This requires that attempted murder be a crime. Back to our erstwhile smugglers, if there is a crime of attempted smuggling then yes, they should go down for it, as they were indeed attempting to smuggle. If the only crime on the books is actual smuggling, then they should waltz out of the courtroom.

demallien··on [dead]
Does Spotify have access to "entire album only" tracks?
demallien··on The economic return of Iceland has proved that the joke was on Ireland
Is it cherry-picking? I don't feel that it is. That GDP graph shows a normal moderate growth from 2000 right through to the crash. There was the slightest of upticks in the last year before the crash, but hardly enough to qualify as a boom. Which means that it is entirely fair to categorize Estonia's economic performance as normal just before the crash, and pretty lousy since.

At any rate, I was in Tallinn in June of this year, and the locals I talked to in bars and cafes were all very pessimistic about how the country was going. Maybe pessimism is just a cultural norm, but everyone that I asked felt that Estonia had gone backwards since the crash, and was still doing so...

demallien··on Police concerned with Apple iOS 6 mapping system
My point being that your comment was the one that was getting uppity. What did you think that it added to the conversation? Yes, I did miss the line in the article saying that Vic Police had reported the problem to Apple. Fair enough, I made a mistake, and the first response called me out for it. You then decided to pile on with a zero content response. I mean seriously, your comment added exactly zero to the conversation. There's no point coming off all hurt by my sarcastic rejoinder - if you want to throw stones, you have to expect them to be thrown back...
demallien··on Police concerned with Apple iOS 6 mapping system
Oh, is that what that .au means at the end of the URL?
demallien··on Police concerned with Apple iOS 6 mapping system
All of which is true, but it leaves me wondering if Vic Police have informed Apple - seems like a far more effective way to save lives than issuing a statement that will be read by pretty much no-one...

I mean as an absolute first step, they should as a minimum report the problem by using the -in-app error notification system...

demallien··on Staffer axed by Republican group over retracted copyright reform memo
I don't think that this would be a problem. It's not likely that a photographer would have a large number of photos that were each earning lots of money, so they would tend to just let the copyright expire. They can always take more photos to continue earning.

This is just a way of saying that the vast majority of individual photos don't represent a lot of creative work, and hence are a lot less worthy of protection. I would imagine that even a major photographer such as Ansel Adams wouldn't have more than a dozen photos earning good money more than a decade after the photo was first published.

My objection to steko's idea would be more that it is precisely the most important works that we are going to want to copy / create derivatives from, and yet these are precisely the works that will be the most able to perpetuate their protections.

demallien··on IRecognition: I am no longer Apple's Target Market
I think c3d is right in that Lion and Mountain Lion are slower than Snow Leopard if you don't have an SSD. It seems to me that recently Apple have been designing OSX with SSD-equipped computers as the target. They assume that you will have fast read times, and use algorithms to optimise that. For example, they 'deactivate' applications that aren't being used, because they know they can restart them from SSD very quickly, which in turn frees up physical RAM, which speeds the computer up elsewhere. The problem is that if you don't have an SSD, this decision is catastrophic for performance. As always, Apple are skating to where the puck is going to be, not where it is...
demallien··on IRecognition: I am no longer Apple's Target Market
I just bought a MacBook Air last week, after a 2 year break without a Mac laptop. I had been using Lion and Mountain Lion on a Mac Mini, but the last week or so have been a revelation for me. Crazy battery life (about 9 hours of normal programming), full screen apps with swiping to switch between them, fast fast fast at everyday operations thanks to the SSD, the whole thing is at the same time a major turn towards iDevice-ification, and a giant leap forward in usability for laptops.

I wonder how many people worrying about iOS-ification are:

a) running Lion, where the transition was still in mid-course, or

b) using a desktop, where the design decisions aren't so obviously right (my Mac Mini for example has a huge monitor, hence I'm less inclined to use full-screen apps)

In case a), there were definite weakness in Lion. Full-screen apps hadn't yet made their near-global appearance, and Spaces was ... weird. These problems have been shaken out in Mountain Lion. For b) it seems to me that OSX has been optimised for the laptop environment, where screen real-estate is limited. If you aren't using full-screen as your standard app config, you're missing out on some of what makes Mountain Lion a great experience).

When I compare all of this to the laptop I use at work, a Dell running Fedora, there is no comparison. My Mac is a far, far better development machine (well, aside from the fact that brew is weak sauce compared to a full-blown yum, but then this is not news). It's not a question of there being pros and cons on each side, my Mac is simply better for pretty much any metric I care to imagine.

Which is not to say that some people may not have genuine grievances with the current Mac platform. I just wanted to add my own personal experience - going from being mildly disappointed by Lion to completely wowed by Mountain Lion.

demallien··on "Your criticisms are completely wrong": Stallman on software patents
Actually, I don't know about his stance being 'unwavering'. The iconic story of why he got into the whole free software things to start with was because he wanted to modify the source code of a laser printer, which is surely not a general purpose computing device. He appears to have stepped away from arguing that he should have access to firmware... Either that or he thinks that firmware should be patentable, but that you should be allowed to freely modify and distribute it anyway, which kind of defeats the purpose of patenting it.
demallien··on "Your criticisms are completely wrong": Stallman on software patents
I've missed the party on this discussion, but I'm always fascinated when people make the argument you just made. Why should software be treated differently from hardware? Take the example of an old car engine. The spark plugs are fired by a rotating commutator switch in the distributor cap. The design of the commutator is patentable. But if I was going to implement that system today, I'd simply program a simple microcontroller to fire the spark plugs in sequence. The physical system has been replaced directly by a software system, but one is patentable, and the other isn't?

In short, I would answer your question with a question. Why can hardware violate a patent and software not?

demallien··on The ‘Bloop’ mystery solved
Huh? Actually it's actually the reverse - deep sea creatures that we have discovered so far have a tendancy to be larger than their shallow-sea counterparts.

http://en.wikipedia.org/wiki/Deep-sea_gigantism

demallien··on GNOME (et al): Rotting In Threes
If you right click on the top of the window and select Customize... you can add buttons to the toolbar of each Finder window. One of those buttons is "path", which when you click on it, provides a pull down menu allowing you to select any directory in the path of the current folder. I use that one a lot../
demallien··on 9 Gigapixel Image of the Milky Way
Ugh. It is not unreasonable to take the Drake equation seriously. You just have to correctly understand what purpose it was supposed to serve. The equation is not about calculating the probability of intelligent life. It was about identifying what information needs to be gathered do that you can calculated the probability of intelligent life arising.

In other words, the equation was created to help guide research, not to answer the question itself directly. As a guide to research, I think the equation remains highly relevant.

demallien··on The Tech Behind Apple’s Impossibly Thin New iMacs
I disagree, I don't think this is purely aesthetic.

What follows is just an opinion:

The smaller you make the package, the harder it is to do active heat management with fans and big heat sinks. Apple spends a lot of R&D dollars on reducing the power usage of their computers - Macs are way more power efficient than their competitors.

Thinness is the authentic, unfakeable, consequence of all of that power management engineering. Competitors can't copy the look of an iMac without also investing heavily in design work to reduce power consumption.

In an ideal world, Apple could just publish power usage figures, but that doesn't really sell computers outside of the data center universe. Thin computers on the other handle are much more marketable, so Apple is using thinness as a marketing proxy for power efficiency.

demallien··on How High School English Class Ruined Your Proposals
I have a friend in Marketing that often asks me to verify her translations of press releases from French to English. I flatly refuse to translate directly some of the fluff, and make her write more directly - she hasn't been fired... yet!
demallien··on How fast is apple.com?
I can't speak for every country, but as I work for a French telecom, I happen to know the figures for this on our own network.

Firstly, the vast majority (around 80%) of browsing on mobile devices is going through wifi. It turns out that at least in France, most people that use mobile devices seem to use those devices in areas where they have wifi available (at home, or in the office) most of the time. This of course means that as soon as you increase landline data speeds, you also increase mobile data speeds, because most mobile usage is routed through landlines.

Secondly, even when clients are out and about, they often have 3G coverage which is not too far off wifi speeds (a typical 3G connection has about a third of the bandwidth of a typical landline/wifi connection). OK, it's a third of the speed, but it's the same order of magnitude, and it only applies about 20% of the time.

What this means is that a mobile user is getting data at (100 * 0.8) + (33 * 0.2) = 86% bandwidth of a landline connection. This means that a 16% increase in landline bandwidth would be enough to balance out everyone moving to mobile devices. Landline bandwidth has of course improved a lot more than 16% in the last few years, and not everyone has moved to exclusively mobile device web-browsing. So yes, I think it's fair to say that the average bandwidth of web users has gone up, at least in France.

demallien··on iOS 6 Adoption Stats One Month In
Just as a data point on this whole Maps thing, Apple Maps in iOS 6 has already saved me on numerous occassions in the US and Europe. In Europe, I had a dedicated Garmin Nuvi, but it was Maps that got me to the the tiny village in Alsace. In the US I had a dedicated TomTom, but it was Maps that was able to correctly locate sites of interest for Civil War fans (Eastern Theater). Both dedicated GPSes had had their maps updated in the last month or so.

Make of that what you will, but my personal experience has been that Maps is actually pretty reasonable. In major cities it maybe isn't quite as detailed as Google maps, but then, you can always use Google Maps as a web app for that...

demallien··on Jon Stewart: Lower entrepreneurial risk
Well, there's also the minor detail that the Australian market is small, and transport to other markets is expensive...

But you're dead right about the social tolerance aspect. My younger brother started a car detailing company - OK, it's not innovative or anything, but he was really looked down upon by the wives of some of his friends...

demallien··on Ben Goldacre: Here’s the foreword to my new book, Bad Pharma
Woah, you're way off when talking about sciencebasedmedicine.org. That's Steve Novella's site - and he's about as respected as you get in the sceptic community. If you want to claim that it's mostly industry propaganda, you'd better have some good evidence to back up the claim!
demallien··on How Apple's Obsession with Google Is Hurting Apple
A couple of points spring to mind: 1) public transit is not a very big advantage. It is useful only in the handful of US cities that have decent public transport. In Paris, one of the great public transport cities in the world, google still doesn't provide public transport information. In 2012. Apple's solution, to rely on 3rd party devs for this has every chance if providing a solution to iPhone users before Google.

2) But even assuming you're one if the lucky few for whom Google provided public transport information, you can still use Google maps from the browser. You can even add an icon in Springboard for it, giving you full access to google itineraries. The only thing that has really been lost is street view.

demallien··on Judge preserves privacy of climate scientist’s emails
It is my understanding that university employees are not civil servants. According to Wikipedia, public universities in the US on average receive only 43% of funding frOm government, the rest is made up for by student fees and endowments. Also according to Wikipedia, UVA has the biggest endowment of any public university in the US.

All of which is to say that universities, even public universities, are not government entities in the same way that public schools are. It is far from clear to me that libertarians would support the idea of a private citizen working for a non-government organisation being compelled to hand over private communications by the government.

Of course I might be wrong about UVAs status, but I did a fair amount of searching, and could not find anything that would indicate that university employees were in fact government employees, and the information that I did find tended to support the idea that they were not. If I'm wrong about this, then the OP's position is easier to understand...

demallien··on Judge preserves privacy of climate scientist’s emails
I'm curious - a quick look at your comments history shows you to have a fairly libertarian type of political leaning. But in this specific case you seem all for the government intruding to force one organisation to hand over information to another. Why the change of heart on the role of government?
← PreviousPage 9 of 34Next →