johanbev | 13 years ago | on: Introduction to Guitar
johanbev's comments
johanbev | 13 years ago | on: Not Lisp again (2009)
Luckily, in the lisp and scheme families (possibly also other image based PLs), it's easy to mix compiled (and optimized) and interpreted code. Whenever i run into a bug such that i need the debugger to fix it, I always replace the compiled function with an interpreted version first, making it much easier to debug. What you get in the stacktraces is the same as you read on the screen.
In most lisp implementations, this maneuver can be performed completely on line, you don't have to restart the program or recompile anything but the function under inspection itself. When the runtime signals an exception or fault, just tell lisp to interpret the suspect function. Then move up the stack to the function that called the suspect, and restart that stack frame et voilá, bob is your uncle.
johanbev | 13 years ago | on: Show HN: Most Wikipedia articles lead to the same loop
johanbev | 14 years ago | on: Why free software has poor usability, and how to improve it
Problems and solutions are described, but exactly _how_ to implement these solutions isn't stated very clearly, and I'd hesitate to call these suggestions "solutions" because, to be brutally honest, it's all empty talk.
Furthermore I feel like many of these solutions come at odds with the foss-culture in general. If I'm giving away my time and code for free, I really don't want a project manager or a designer to tell me what to do. I'm going to do what feels interesting, or I'm going to implement features that I need. If someone else can use my code too, then that's great. If not then that's ok too. To me it's strictly hobby basis. I don't get wages, and I don't have "customers". I'll contribute because it's fun or because I want to honor the idea that I should contribute back changes and improvements I've made to software that I got for free.
Of course, this could be very different if I were employed and paid to make software that coincidentally also was free, but I'm not. Maybe this blog post was aimed at Canonical and their employees, or the practices of big projects like GNOME. If so, then maybe he could have the decency to say so, instead of going about "solving" other peoples problems that aren't really there.
johanbev | 14 years ago | on: Mythbusters experiment goes awry, sends cannonball through two houses
If your range is situated so close to populated areas that you can fire a projectile from a makeshift cannon out of the bounds of the range, then get a bigger range. Or a smaller gun. I have no idea how big their range is. However, it was apparently not big enough.
I don't know if the ball hit the hill or the sky or a bird on the way or anything else that might have happened. I weren't there. I also obviously understand that they didn't plan for the ball to go though those houses. However intentions does not change facts. Neither do regulations nor safety procedures, nor requirements.
If you cause an accident then you havent gone to the utmost of efforts in preventing it. The utmost of efforts might also include not doing it at all.
johanbev | 14 years ago | on: Mythbusters experiment goes awry, sends cannonball through two houses
If they indeed were several kilometers from anyone else, then they have miscalculated the ballistic trajectores so gravely that it's completely mindboggling to think of how these guys were allowed to play with explosives in the first place.
While I do like some of the MB Episodes, I'm not a fan of blowing up things with oversized explosions in general. Please note that explosives are dangerous. Leave it to professional use. Playing with fire will eventually get you burnt.
Accidents do happen, no one is infallible, but one should really go to the utmost of efforts when it comes to blowing stuff up or launching heavy projectiles into the air at great speed. At least if accidents happen because explosives were used for something useful, say, construction, then one could at least think that the damage or bodily harm was for a greater good, even though that is by all means a meagre comfort. However, when these sort of things happen for the entertainment (and the profits of the show, mind you!) of others, then something is really really wrong.
johanbev | 14 years ago | on: Mythbusters experiment goes awry, sends cannonball through two houses
johanbev | 14 years ago | on: The OS Wars: We Have A Winner
johanbev | 14 years ago | on: ArchLinux, Not Just For The Elite
johanbev | 14 years ago | on: ArchLinux, Not Just For The Elite
In the particular case of pacman, I really like the design of the arguments, in particular the top level ones. -S is for syncing, -R is for removing, and -Q is for querying and so on. Nice!
johanbev | 14 years ago | on: G1 Garbage Collection JVM7 - Big Performance Problems Shown
johanbev | 14 years ago | on: Physicist cuts plane boarding time in half
johanbev | 14 years ago | on: Why Haskell is Kinda Cool
johanbev | 14 years ago | on: Norway’s Premier Vows to Keep an Open Society
How moslems, which several of the victims were, could be stigmatized much by this is beyond me. I would rather say that FrP and the extreme right will take a blow...
johanbev | 15 years ago | on: Battleships: a ridiculous but awesome idea
johanbev | 15 years ago | on: IBM's "Watson" finally ready for prime-time Jeopardy
Chess, in contrast, is a totally deterministic game and the game state can easily be fed into a computer. That computers are able to beat humans at that comes as no surprise.
johanbev | 15 years ago | on: Poll: How many (natural) languages are you fluent in?
It is true that these languages are really close. But I woudn't say that danes in general understand spoken Norwegian or Swedish (though Norwegians usually do understand the others better). If you speak Danish as a foreign language, I'd be really impressed if you could have anything resembling a natural conversation with a norwegian or a swede.
johanbev | 15 years ago | on: I'm graduating with a CS degree but I don't feel like I know how to program
johanbev | 15 years ago | on: I'm graduating with a CS degree but I don't feel like I know how to program
You can create a submachine representing the regular expression transition conditions, and just attach that at the state you wanted, resulting in a finite state machine.
Of course this doesn't hold when you are talking about non-standard regular expressions, and it's probably a nice feature to have when creating the automata, but IMHO it still sounds like a silly idea when CFG-tools like ANTLR and YACC are available.
johanbev | 15 years ago | on: Computer beats Jeopardy champs
All these istruments are pretty different, both in physical appearance, sound and of couse also playing technique, required skills, reportoire and so on. Of course, if you are really good at one you can pick up another type more easily. However, the guitars sound and play so different that it's impossible to get good at electric guitar by only practicing classical guitar. All these types of guitars are really distinct instruments.
If you want to play electric rock, get a strat or tele of maybe even an LP. If you want to play electric jazz, get an electric hollowbody guitar. If you want to play folk-rock singer-songwriter or country types, get a steel stringed guitar. If you want to play classical guitar, get a classical guitar. I've seen countless of times people being handed cheap classical guitars when they want to play like Bob Dylan and Neil Young (etc) do. The result is almost always that the guitar goes in the closet after a few weeks and the interest dies down, which is pretty damn sad.
More expensive guitars will likely be much easier to play on and might sound better. However, I woudn't recommend spending great amounts of money on your first guitar. It is certainly possible to get great guitars for less than 1000$.