HNHacker News
TopNewBestAskShowJobs

demallien

2,742 karma · joined February 18, 2008

d13b2ac1c6b22c9a1557ee5a5dd4f41855f65133
submissionscomments
demallien··on The Beautiful Geometry of 18th-Century Forts
Yes, welcome to the wonderful world of iPhone autocorrect when trying to type French names on the qwerty keyboard :/
demallien··on The Beautiful Geometry of 18th-Century Forts
You can actually still see one-off the Vauban forts at sissy les moulineux, on the outskirts of Paris. It's about 1km from where I live :)
demallien··on SpaceX CRS-5 Launch
Bastards! I foolishly just assumed that it was going to launch at the same time as the earlier attempt last week (although 1 seconds thought would have made me realize that this was highly improbable...)
demallien··on A new Microsoft browser?
I don't mean this to be a personal attack, so please don't take it that way, but comments like this read to me as being written by a young, inexperienced programmer. I happen to know that this is not your case, but without checking the username, I would immediately classify this comment as such.

The people over at Microsoft are not idiots - even though Microsoft is no longer the new hotness, they still pay developers well, and have some pretty tight engineering going on. So when you say "The Event constructor is broken out of the box", my first instinct is to assume that the Microsoft engineers have implemented the constructor in their way for reasons that you're not smart enough to have grasped.

But, as I said, I know that you aren't a young inexperienced programmer, so you probably have some good reasons to make the claim, which leads me to the point of this rambling post - why is the Event constructor broken in IE? I'm curious to know what specific problems you have with it.

demallien··on How Good Was Napoleon? (2007)
Grant won that campaign. A campaign that had been attempted and lost by three of his predecessors. Tactically the guy was no genius, but strategically he was brilliant.
demallien··on How Good Was Napoleon? (2007)
Yeah, that list rather sucks. At a minimum you need to add in Robert Lee and Ulysses Grant. Also Genghis Khan was no slouch on the battlefield, and most people feel like Sun Tzu knew a thing or two about fighting battles...
demallien··on The largest vessel the world has ever seen
http://en.m.wikipedia.org/wiki/USS_Cole_bombing

Divers attaching charges to the hull would be another low-tech way to take a vessel like this down. Low tech mines would probably do a pretty good job too.

demallien··on Mathematical Analysis of The Beatles’ Magical Mystery Chord
What tacos is trying to say is that in an FFT, you will have the same number of samples in the time domain and the frequency domain (weeeeellll, I'm simplifying a bit, half of those 'frequency domain' samples are actually phase information, so you really have half as many frequency domain samples as you do time domain). So, if you wish to have a high resolution in the frequency domain, implying lots of samples, you're going to have a total sample time that is quite long, and you won't be able to say exactly when each of the different frequencies was actually present in the sound.

Take a concrete example. Let's assume that I have a recording in PCM at 44.1kHz, and I want to see all of the frequencies present, to a resolution of 10Hz. Nyquist tells us that we only have 22.05kHz of signal present in the sample (well, one can hope, otherwise if the recording didn't filter out everything above that when coding to PCM, we're going to have a mess of aliasing going on, which is outside the scope of this post - just assume the person doing the encoding knew what they were doing, mkay...). So, 22.05kHz. And we want a resolution of 10Hz, so we're going to need 22.05kHz / 10Hz = 2205 samples. Of course, we actually need double that in the time domain (we throw away the phase information remember), so we need 4410 samples in the time domain to get our 2205 samples in the frequency domain. 4410 samples at 44.1kHz sampling is equal to 0.1 seconds.

If I decide that I want a better frequency resolution, say down to 1Hz, then you quickly arrive at the conclusion that you will need a full second of samples. In other words, your resolution in the time domain has decreased as you improve the resolution in the frequency domain.

You can improve a bit on this situation by using a sliding window with a carefully chosen windowing function. The frequency information will still be smeared out in time, but the windowing function reduces the amplitude of a frequency the further it is from the centre of the sampling window, which sharpens up the smear a bit.

demallien··on Mathematical Analysis of The Beatles’ Magical Mystery Chord
Most music analysis tools use a sliding window combined with a windowing function to correct for most of this. You'll still have your frequencies smeared a little in time if you're plotting f against t, but the windowing helps limit the smear.
demallien··on Don't become a scientist (1999)
The percentage of programmers working in VC-funded jobs is tiny. I won't say that it wouldn't have any effect, but the effect would be minor. You might have to go and do some drudge programming work in an anonymous department inside inside BigCorp, and you might not get paid quite as much, but it would not be catastrophic - the need for software only continues to increase in the modern world, and I for one don't see any reason for that to stop any time soon, regardless of what VCs may or may not be doing...
demallien··on Chernobyl’s Hot Mess, “the Elephant’s Foot,” Is Still Lethal (2013)
Well, for what it's worth, I'm actually Australian, and our cities are very similar to those in the US. What I said holds as much for Perth or Sydney as it does for Paris and London. The key is that traffic congestion reduces average car speed to something roughly equivalent to what you do on a bike, ie 15-20km/hr...
demallien··on Chernobyl’s Hot Mess, “the Elephant’s Foot,” Is Still Lethal (2013)
Actually, for anyone living in an actual city, bikes and cars are generally roughly equivalent in terms of trip time. For example, I have an 8km commute on the outskirts of Paris - it takes about 45mins, regardless of whether I run, ride a bike, take public transport, or drive a car. (Ok, to be more precise, in includi the time to change into sports gear for the bike / running. Without this the bike takes about 30mins. Running does actually take 45 mins run time.)
demallien··on Time lapse of the Sun reveals the largest sunspot in 24 years
Yup, I got a good look at it on my way to work in Paris. It was one of those days where there is enough cloud that you can look at the sun without it hurting, but the sun is still visible through the clouds. I've been looking for sunspots on these occasions for about 10 years now, but thanks to a particularly quiet sun over that period, I haven't had any luck. So imagine my delight to look up and see the sunspot pretty much instantly. I mean this sucker was big.
demallien··on SpaceX Will Announce Micro-Satellites for Low Cost Internet Within Three Months
Yes, it is being pedantic ;). You may also have noted that nobody "tricks out" ICBMs (the aftermarket parts available for ICBMs is rather limited...), and may have concluded that the original post was simply taking a few liberties with the language...
demallien··on SpaceX Will Announce Micro-Satellites for Low Cost Internet Within Three Months
You're talking about a company that makes tricked out ICBMs. I suspect that SpaceX could handle a tit-for-tat exchange with any space power. The only real limit would be budgetary, but I'm pretty sure the U.S. government could find a way to funnel funds. Of course, none if this would ever happen in the real world, I just wanted to point out that SpaceX is making some if the bigger rockets flying today, and they far from helpless.
demallien··on Joan Clarke, Woman Who Cracked Enigma with Alan Turing
Yup, Enigma was a side-show, the main deal was Colossus and the work to crack Tunny. The fact that Tunny had been cracked was a highly classified secret for decades after the war - I've always felt that the Enigma story was used as a cover to hide what Bletchley Park had really been up to, secrets within secrets.
demallien··on This Verbal Confrontation Shows Why Walmart Will Never Accept Apple Pay
I would imagine that it is because brick and mortar merchants are a lower fraud risk than an online property. Don't forget that visa and MasterCard suck up fraud on both sides of the transaction.

Which is not to say that there aren't shenanigans going on, but there's a reason that consumers really like MasterCard and visa, they both look after customer interests, sometimes at the expense of merchants.

demallien··on A pre-K teacher on the trouble with lockdown drills
Yes, let's arm the teachers. And when we're reading, a few years later about the tragic shooting in Hunt County a High School, where the Chemistry teacher went nuts and shot 51 students, we will once again lay fault at the feet of the lack of guns. Maybe the kids should have guns too, to protect them from the armed teachers?

Or, maybe just maybe, it might lead to less deaths by shooting if there were less guns floating around to do the shooting with?

demallien··on Dell’s Life After Wall Street
Those scary warnings exist for a reason. iOS has s similar installed base to Windows, and it runs on devices permanently connected to the Internet. Guess how many viruses have hit the platform.

There's a reason for that. Getting software onto an iOS device other than downloading it from the App Store is really difficult, and that goes for viruses too. Put that together with the fact that you need to provide apple with authenticated identity to get things into the App Store, and you end up with quite a secure platform

Sure, that security comes with some restrictions. For you that might not be the right choice, but for many people it absolutely is. The Mac provides a platform somewhere in between the two. You can load software from unapproved places, but the system warns you. I think this is a reasonable trade off. Most people do need to be made aware that such actions are risky. They may decide not to load that software after all, and that's a good thing! If you're unsure of the risks involved with loading a piece of software, then you probably shouldn't be loading it.

Finally your point about loading test versions of software on iOS is out of date. This is one of the many major improvements Apple delivered for developers at this years WWDC. The procedure is much more streamlined than previously. At this point it's debatable whether it's easier to manage testers using ad-hoc APKs on android, or using Apple's test deployment system.

demallien··on Apple Reports Fourth Quarter Results
On the one hand, I wan to agree with you - just looking at my own situation I just ordered an iPhone 6 plus, and I have a MacBook Air. But I'm not ready to writ off he iPad just yet. It still has a major advantage over the mac - iOS is so much simpler to use for the average user.

If you go back 18 months or so there where a whole slew of articles describing peoples experiences trying to go iPad-only for trips. They all ran into problems caused by the lack of direct access to the file system, making the sharing of content between productivity apps quite difficult.

With the release of ios8, Apple has addressed this problem. In particular, extensions are a potential game changer, making it easy of apps to work together. For the time being I'm holding off on predicting the iPad's demise - I'm going to wait and see how the market responds to these new capabilities in ios8. For now it's an open question as to the iPad's ability to replace a normal computer for many people. Last year the answer was no, this year I'm not sure.

demallien··on Sci-Fi Novels You Should Read
I would think that Kvothe is every bit as flawed as Miles Vorkosigan. They both end up in sticky situations because they're more than just a little arrogant, which results in them biting off more than they can chew. Kvothe is not the best swordsman, he get's beaten up by a little girl. He is not the best Sympathist, again he get's beaten up when he thinks he is.

I just noticed though, as I'm writing this reply, that most of these flaws come out in the second book, not the first. Maybe you need to stick with the series a bit more before making up your mind.

demallien··on The Microsoft Empire Reboots
"You're idealizing Access for reasons unknown."

Well, you might accept that I'm "idealizing" Access because, you know, I had a decent experience with it 20 years ago, as described in my first comment. No need to go searching for mysterious ulterior motives when they're explained in the post!

For what it's worth, I do remember significant flaws in Access. For one thing, it was an absolute pain when we wanted to modify the database - we had to get everyone to log off, and then upgrade all of the clients at once. This is one of those problems that the web solves elegantly. Also, Access had major issues with concurrent users. Performance fell off a cliff, and from memory, certain operations were unsafe (I think you could set up a SQLServer which would address the concurrency problems, but we never bothered).

But these days we have better options available to us - app stores fix the updating problem, without introducing the css + html + javascript mess. We have decent, free web servers, and web application frameworks such as Django and Rails that make writing the server side code that drives the RESTful APIs used by the client relatively easy. But what we don't have is:

a) an easy way to create a server (this needs to be as easy as sharing an Excel spreadsheet) b) a coherent development environment from client to server code. Something that allowed you to write apps purely in Javascript (no css or html) with a GUI editor, and which also let you write the server code in node.js would be a close match to what I'm thinking of. Bonus points if most of the node.js code is derived from the client-side code, so that the novice programmer doesn't need to be aware that a server even exists, it just works.

The problem is, that's the kind of application that's really hard to write. It's big, an IDE in fact, and really Microsoft is the only game in town for making that sort of stuff. But they won't write Android / iOS / Mac clients, so it doesn't happen.

demallien··on The Microsoft Empire Reboots
Yup, and if you are trying to do the full stack, you had better toss in some node.js or Ruby on Rails, plus SQL. Web development is really hard for non-developers to grok.

I keep thinking back to an Access application that I threw together in a couple of days, back in the 90s for managing a team of about 40 technicians. It was being used for task tracking, and had some wiki-like features as well. When I started that project I knew nothing about Access or VB, and yet in two days I had a bunch of forms and tables that allowed managers to get a quick feel for what their staff were up to. The thing ran over the LAN, and could handle 10 simultaneous connections without any dramas. If I were to try the same thing in the web world, I might lose myself in getting just one table view working correctly for a week. Getting an http server configured and up and running, and talking to a db server would be at least two days. And there would be many potential roadblocks just waiting to trip me up along the way.

These days, rather than dealing with that mess, many companies just go for an off-the-shelf hosted solution that sort of fits their needs, such as Basecamp, or Jira, or Igloo. The existence of these products is a sign that we've gone off in the wrong direction somewhere - the sorts of products they make are very similar to that online apps you could make with Access 20 years ago.

demallien··on Sci-Fi Novels You Should Read
The Name of the Wind really is good. The second book of the series (The Wise Man's Fear) is also excellent.

Actually, just reading through the list, I was a little disappointed. Yes, there are some great classics, but Timeline" by Michael Crichton as the "time travel" sci-fi novel of reference. No, just no.

For time travel based sci-fi, Timescape by Gregory Benford is my pick of the lot. Bedford is actually an astrophysicist, so his version of time travel actually make sense. Plus, the characters in the books are scientists. It's a very thought provoking book. He has a second book along those lines, Cosm, which I loved as well, for it's portrayal of the lives of scientists.

demallien··on How does a fighter jet lock onto and keep track of an enemy aircraft? (2013)
On the other hand, when you're the engineer maintaining the flight sims for the pilots, boy oh boy can you have fun in those machines :) I've logged over 100 hours on the F-18, and 20 for the F-111. Never got to experience those long high G turns though...
demallien··on What kids around the world eat for breakfast
Freak. Everyone knows that Vegemite is the one true spread. Fun thing you can do with vegemite - get a bunch of French people in a room that have tried vegemite and get them to discuss whether the word is masculine or feminine. Some want feminine because of the 'ite' ending, others want masculine because of the nature of the product :)
demallien··on Show HN: Sail boat simulation – try to sail into the wind
Woah, a little trip down memory lane... This post made me think of this: http://www.mobygames.com/game/american-challenge-a-sailing-s...

This was actually quite a reasonable sailing simulator if I remember correctly. Good enough that when I finally got a chance to sail for real a few years later, I knew what I needed to be doing in terms of positioning sails to obtain various points of sail. Of course, navigating without an overhead map being available, and knowing about ropes were two things that I still had to learn the old-fashioned way :)

demallien··on Samsung Electronics forecasts 60% fall in quarterly profit
Not to mention that Apple ended up eating up almost all of the profits of the PC market. It really is starting to feel like history is repeating itself
demallien··on The Bacon Boom Was Not an Accident
Yeah, I stopped buying pork products a fee years back for exactly this reason. It's tough though, they were my favourite meats...
demallien··on The Compucolor 8001 (1976)
Ha. I had a Compucolor II. It got me into programming because there were no games so I had to write my own. My parents didn't replace it until about 1990!

It didn't gave the drawing mode you mention, but u did actually write a program that did exactly that. It also had a print function - only worked with the Epsom dot-matrix printer we had, as I used a special control mode. Basically a character was an 8x8 array of dots drawn one column at a time by the print head. You could manually control the print head though by putting the printer into a special mode through escape codes, and then just sending binary 8-bit numbers to encode pubs you wanted to print for each column.

Thinking back I can't believe I made it work - I was only about 10 at the time. I do remember facing to stick my nose in the printer's manual for a long time. Of course printers had manuals then, not like today...

There's a good online emulator of the CII here: http://compucolor.org/emu.html

← PreviousPage 2 of 34Next →