|
This article is also available in: Serbo-Croatian: Pravljenje novog SoundCloud Armenian: SoundCloud (ձայնամպ) ծրագրավորողների համար The…
|
|
This article is also available in: Serbo-Croatian: Pravljenje novog SoundCloud Armenian: SoundCloud (ձայնամպ) ծրագրավորողների համար The…
|
|
After a year of writing this blog, what have I learned about the nature of the relationship between computer programs and mathematics? Here are a few notes that sum up my thoughts, roughly in order of how strongly I agree with them. I’d love to hear your thoughts in the comments. Programming is absolutely great for exploring questions and automating tasks. Mathematics is absolutely great for distilling the soul of a problem.
|
|
After a year of writing this blog, what have I learned about the nature of the relationship between computer programs and mathematics? Here are a few notes that sum up my thoughts, roughly in order of how strongly I agree with them. I’d love to hear your thoughts in the comments. Programming is absolutely great for exploring questions and automating tasks. Mathematics is absolutely great for distilling the soul of a problem.
|
|
After a year of writing this blog, what have I learned about the nature of the relationship between computer programs and mathematics? Here are a few notes that sum up my thoughts, roughly in order of how strongly I agree with them. I’d love to hear your thoughts in the comments. Programming is absolutely great for exploring questions and automating tasks. Mathematics is absolutely great for distilling the soul of a problem.
|
|
This is, hopefully, the beginning of my personal blog entries. I've started to blog several times over the years and only gotten this far. We'll see how this attempt turns out. I want to write my personal thoughts on here, technical discussions about computing, and pictures of cats in top hats if I have the resources to spare. My email address is at the bottom of the site. If you want to give me any sort of feedback, go for it. ..
|
|
There was no stand-up this morning and it felt like my day never really started. It was my first day at my new job with CIBC and, even though I knew that the team was not agile before signing up for the gig, I had underestimated how much I depended upon our daily rituals practices at Intelliware. These practices provided a rhythm and cadence to the day that I had taken for granted.
|
|
Earlier this week while I was at DjangoCon EU there seemed to be a surprising amount of talk about MongoDB. My problem with this isn’t with MongoDB, but in the assumption that only Mongo can solve what you’re looking for. By and far the most common feature is people want schemaless. It gives them flexibility in their data model and lets them iterate quickly. While I still opt for relational models that map cleanly to a relational database....
|
|
Earlier this week while I was at DjangoCon EU there seemed to be a surprising amount of talk about MongoDB. My problem with this isn’t with MongoDB, but in the assumption that only Mongo can solve what you’re looking for. By and far the most common feature is people want schemaless. It gives them flexibility in their data model and lets them iterate quickly. While I still opt for relational models that map cleanly to a relational database....
|
|
Hi, Version 3.6 is going through certification at the moment, it fixes issues with articles displaying incorrectly and several other bugs. On a side note it was great to be recognised as one of the best news apps on the platform in the community app awards, so thank you to all those who voted! http://appawards.wp7applist.com/c/best-news-app Let me know how you get on with the new version!
|
|
Windows Azure ora supporta ufficialmente Python. La pagina ufficiale consente di scaricare l’SDK e contiene alcuni tutorial per la creazione di applicazioni Django, Python e IPython direttamente da Visual Studio.
|
|
Abbiamo una stringa JSON che contiene una data: fonte = '{"ragione_sociale": "CIR 2000", "aggiornato_il": "Wed, 06 Jun 2012 14:19:53 UTC"}' Vediamo che succede se la convertiamo in un dizionario Python: import simplejson as json json.loads(fonte) {'aggiornato_il': 'Wed, 06 Jun 2012 14:19:53 UTC ', 'ragione_sociale': 'CIR 2000'} Facile, vero? C’è però un piccolo problema: aggiornato_il è ancora una stringa mentre a noi, per poterlo ela..
|
|
Last time we investigated the naive (which I’ll henceforth call “classical”) notion of the Fourier transform and its inverse. While the development wasn’t quite rigorous, we nevertheless discovered elegant formulas and interesting properties that proved useful in at least solving differential equations. Of course, we wouldn’t be following this trail of mathematics if it didn’t result in some worthwhile applications to programming. While we’..
|
|
Last time we investigated the naive (which I’ll henceforth call “classical”) notion of the Fourier transform and its inverse. While the development wasn’t quite rigorous, we nevertheless discovered elegant formulas and interesting properties that proved useful in at least solving differential equations. Of course, we wouldn’t be following this trail of mathematics if it didn’t result in some worthwhile applications to programming. While we’..
|
|
Last time we investigated the naive (which I’ll henceforth call “classical”) notion of the Fourier transform and its inverse. While the development wasn’t quite rigorous, we nevertheless discovered elegant formulas and interesting properties that proved useful in at least solving differential equations. Of course, we wouldn’t be following this trail of mathematics if it didn’t result in some worthwhile applications to programming. While we’..
|
|
For some reason I felt compelled to go through my (pretty small) book collection and pick five of my favorite opening lines. Here they are:
|
|
If you want your subsites to inherit their masterpages from their parents the first thing you need to know is the difference between normal…
|
|
I’ve been reluctantly dreading the switch to gnome 3 + shell until it’s been ironed out a little bit more than gnome 3.0 - finally took the plunge. overall it’s working well. here are some (hopefully) useful notes: preupgrade 14->17 in one step doesn't work. it lets you wait an hour for all the downloads to finish, but once you've rebooted, the preupgrade installer tells you it can't jump this far. fail. reboot into f14, yum clean all, rm....
|
|
I’ve been reluctantly dreading the switch to gnome 3 + shell until it’s been ironed out a little bit more than gnome 3.0 - finally took the plunge. overall it’s working well. here are some (hopefully) useful notes: preupgrade 14->17 in one step doesn't work. it lets you wait an hour for all the downloads to finish, but once you've rebooted, the preupgrade installer tells you it can't jump this far. fail. reboot into f14, yum clean all, rm....
|
|
Il filmato del mio recente intervento al Ravenna CNA BarCamp è online. L’ articolo originale è stato aggiornato e ora include sia le slide che il video. In alternativa c’è sempre YouTube.
|
|
Welcome to the latest iteration of my blog! I recently realized that I’ve been blogging since 1997 , but actual visual or technical updates have been a lot more seldom. This new blog aims to focus on simplicity and content, much in the spirit of Zeldman’s 2012 web design manifesto . You can find a lot more about how this iteration was built in the colophon . For reference, here is how the old site layout from 2007 looked like: ..
|
|
Comparing the performance of Math.floor(), parseInt and a (bitwise) shift
-
arnorhs.dev
-
14 years ago
-
eng
I read somewhere that a bitwise left shift was a faster method of removing a fraction of a floating point number in Javascript than using parseInt or Math.floor(). I wasn't surprised that parseInt was slow, since I think it parses the number as a string, but the left shift being faster than Math.floor() was a bit more puzzling to me. So I decided to make a JSPerf test to compare those three methods. Read on for the full results
|
|
Moonlight, l’implementazione open-source di Silverlight per sistemi Linux, è stata abbandonata da Xamarin. Abbiamo abbandonato Moonlight (…) Il web non ha addotato Silverlight; non ha avuto il successo che mi aspettavo. Miguel de Icaza Un’altro chiodo sulla bara di Silverlight. Dei dubbi sul futuro della tecnologia Microsoft avevo già scritto in occasione della sua mancata adozione in Windows 8 e al momento dell’annuncio di Silv..
|
|
Comparing the performance of Math.floor(), parseInt and a (bitwise) shift
-
arnorhs.dev
-
14 years ago
-
eng
I read somewhere that a bitwise left shift was a faster method of removing a fraction of a floating point number in Javascript than using parseInt or Math.floor(). I wasn't surprised that parseInt was slow, since I think it parses the number as a string, but the left shift being faster than Math.floor() was a bit more puzzling to me. So I decided to make a JSPerf test to compare those three methods. Read on for the full results
|
|
So I have rolled out quite a few performance improvements. searchcode is MUCH MUCH faster then it was before. I also added some various improvements across the board in terms of relevance. This included indexing characters like !@#$%^&*()-= etc… So now things like the perl regex match =~ is now a valid search term. Of course you can combine terms and normal characters to get really complex search terms such as $localdate =~ /([0-9]+):([0..
|
|
An “Agile” project is one that actively seeks to incorporate changes as the project progresses, rather than assuming that the plans from the beginning of the project will work for the whole project duration. Not all organizations want to adopt “agile” as their project metaphor. And some organizations that do adopt methods such as Scrum do it without becoming as “agile” as Scrum promises. Instead of criticizing these organizations of “agile ..
|
|
In our last primer we saw the Fourier series, which flushed out the notion that a periodic function can be represented as an infinite series of sines and cosines. While this is fine and dandy, and quite a powerful tool, it does not suffice for the real world. In the real world, very little is truly periodic, especially since human measurements can only record a finite period of time. Even things we wish to explore on this blog are hardly pe..
|
|
In our last primer we saw the Fourier series, which flushed out the notion that a periodic function can be represented as an infinite series of sines and cosines. While this is fine and dandy, and quite a powerful tool, it does not suffice for the real world. In the real world, very little is truly periodic, especially since human measurements can only record a finite period of time. Even things we wish to explore on this blog are hardly pe..
|
|
In our last primer we saw the Fourier series, which flushed out the notion that a periodic function can be represented as an infinite series of sines and cosines. While this is fine and dandy, and quite a powerful tool, it does not suffice for the real world. In the real world, very little is truly periodic, especially since human measurements can only record a finite period of time. Even things we wish to explore on this blog are hardly pe..
|
|
I love this quote and I think it really fits in with what I'm doing with this blog, and in my everyday life. Taking pride in your work is…
|