|
A while back, I was poking around LLVM bugs, and discovered, to my surprise, that LLVM doesn’t support the va_arg intrinsic, used by functions to accept multiple arguments, at all on amd64. It turns out that clang and llvm-gcc, the compilers that backend to LLVM, have their own implementations in the frontend, so this isn’t as big a deal as it might sound, but it was still a surprise to me.
|
|
I have been working self-employed for s IT Solutions since 1 March 2010; from 1 September I’m salaried there. (I shall still be doing bug-fixing for my old customers, consultancy, and perhaps some smaller new development projects on the side. This is explicitly allowed in my employment contract.) s IT Solutions is the IT provider for Erste Bank and the Sparkasse Group . My role is in the team doing the Internet presence of those banks ..
|
|
How pair programming and test-driven development looks in real life
-
jhannes.github.io
-
15 years ago
-
eng
Pair programming and test-driven development are some of the practices that are most often talked about and least often actually understood. So I’ve decided to undertake the task to teach myself to program a simple, yet realistic problem with a pair programming partner. The goal is to create an entertaining and realistic performance that portrays what it feels like to work like this. I’ve been extremely lucky. I’ve found not one, but two pr..
|
|
The below is a quick Python snippet which I use on a day to day basis for weeks, then promptly forget. Essentially its reading from standard input and then doing something with it. Very useful when you are trying to process data on the command line and have forgotten how to use awk/sed properly and grep has run out of steam. import sys import re for line in sys . stdin: values = line . split( ',' ) pri..
|
|
If you are developing an application for the Android platform, and you need to interact with the Twitter API, you now have to use OAuth to authenticate the user. In this article, we will have a look on how you can do that. What is OAuth? OAuth is a way of accessing a user’s data (e.g. tweets) without asking for the user’s username and password. Your application opens the Twitter website which will ask the user if they want to allow you to....
|
|
If you are developing an application for the Android platform, and you need to interact with the Twitter API, you now have to use OAuth to authenticate the user. In this article, we will have a look on how you can do that. What is OAuth? OAuth is a way of accessing a user’s data (e.g. tweets) without asking for the user’s username and password. Your application opens the Twitter website which will ask the user if they want to allow you to....
|
|
I'm a very new user of Git. I've been using it for some time to download and install repositories, like most people, but didn't use it for source control yet. Recently I've started using it, though, so I've been bumping into small problems along the way. One problem I've had was with trying to find out how to keep certain files out of a repository. I had tried Googling a few terms, but that only brought up results for actually removing a fi..
|
|
I ran across this post yesterday, by css-tricks.com. They had a little UI design competition where they asked participants to design and develop a UI for editing and deleting items of a list. It's a cool idea for a competition and you can read the whole thing here: https://css-tricks.com/ui-pattern-ideas-list-with-functions/ I chimed in at the comments, but realized quickly that this should become a blog post by itself.
|
|
I'm a very new user of Git. I've been using it for some time to download and install repositories, like most people, but didn't use it for source control yet. Recently I've started using it, though, so I've been bumping into small problems along the way. One problem I've had was with trying to find out how to keep certain files out of a repository. I had tried Googling a few terms, but that only brought up results for actually removing a fi..
|
|
I ran across this post yesterday, by css-tricks.com. They had a little UI design competition where they asked participants to design and develop a UI for editing and deleting items of a list. It's a cool idea for a competition and you can read the whole thing here: https://css-tricks.com/ui-pattern-ideas-list-with-functions/ I chimed in at the comments, but realized quickly that this should become a blog post by itself.
|
|
According to Wikipedia, stenography or shorthand is “is an abbreviated symbolic writing method that increases speed or brevity of writing as compared to a normal method of writing a language”. Just as a stenographer learns to take down information really fast, a good programmer can learn to write code really fast by taking advantage of his or her tools. In this post I’ll show you my secret code stenography tricks.
|
|
After the fuss of the last two weeks because of CVE-2010-3081 and CVE-2010-3301, I decided to take a look at a handful of the high-profile privilege escalation vulnerabilities in Linux from the last few years. So, here's a summary of the ones I picked out. There are also a large number of smaller ones, like an AF\_CAN exploit, or the l2cap overflow in the Bluetooth subsystem, that didn't get as much publicity, because they were found more q..
|
|
After the fuss of the last two weeks because of CVE-2010-3081 and CVE-2010-3301, I decided to take a look at a handful of the high-profile privilege escalation vulnerabilities in Linux from the last few years. So, here's a summary of the ones I picked out. There are also a large number of smaller ones, like an AF\_CAN exploit, or the l2cap overflow in the Bluetooth subsystem, that didn't get as much publicity, because they were found more q..
|
|
Comment on Tiffany Shlain’s The Tribe by Tweets that mention Tiffany Shlain’s The Tribe | BillSaysThis -- Topsy.com
-
billsaysthis.com
-
15 years ago
-
eng
This post was mentioned on Twitter by billsaysthis, Tiffany Shlain. Tiffany Shlain said: Don't you think you could encourage people to watch it on itunes? RT @billsaysthis: :)http://bit.ly/bKVG58 [...]
|
|
Recently, I developed a web application for my friend Alex Miller’s conference, Strange Loop. The app accepted talk submissions and gathered votes on those submissions to rank the top ones. I hosted the application on Heroku’s node.js beta preview and used a free CouchOne instance for the data store. Although I encountered some difficulties, I learned some important lessons that I thought I’d share. Tag your last successful Heroku deploymen..
|
|
Everyone has heard horror stories about pointy-haired-bosses counting lines of source code to track the progress of a project. We roll our eyes and laugh at their stupidity. But before you laugh too much, you might want to find out whether you’re really any better. Most of what software projects measure are not things we care about. Not things we really care about. Do you really care about the number of coding standard violations in your co..
|
It strikes me now, many years later, that what I'd built was essentially a PHP markov chain Several months ago I was wondering to myself if you could detect patterns in a list of words and then use those patterns to generate a new list of fake “words”. A kind of a flavored Lorem Ipsum generator, where I could change the feel of the sentences by switching out the data set. I’m sure thousands of developers have done this before me – but..
|
It strikes me now, many years later, that what I'd built was essentially a PHP markov chain Several months ago I was wondering to myself if you could detect patterns in a list of words and then use those patterns to generate a new list of fake “words”. A kind of a flavored Lorem Ipsum generator, where I could change the feel of the sentences by switching out the data set. I’m sure thousands of developers have done this before me – but..
|
|
How many steps do you need to perform to release a new version of your software? Do you even know? Releasing frequently requires the release process to be as streamlined as possible. A good way to get started is to write a step-by-step instruction that explicitly state everything that needs be performed for an installation or upgrade. Then get to work cleaning it up: Make sure you can build and package everything that’s needed for the insta..
|
|
3 Easy Ways to Connect to Windows Shared Folders from Linux
-
justingarrison.com
-
15 years ago
-
eng
|
|
Comment on Pardon the Interruption but this ad is too weird! by Tweets that mention Pardon the Interruption but this ad is too weird! | BillSaysThis -- Topsy.com
-
billsaysthis.com
-
15 years ago
-
eng
This post was mentioned on Twitter by billsaysthis, f_ranft. f_ranft said: RT @billsaysthis: Post: Pardon the Interruption but this ad is too weird! http://bit.ly/cBJwoC [...]
|
|
Thanks to everybody who attended my OCW hacking session! Sorry to guys who attended via webinar – I’ll do the session again in a few weeks, with audio from end to end hopefully! And I will get someone to assist me with monitoring the transmission quality and attendee questions etc. Note that this stuff is mostly for hacking and fun – don’t use the undocumented stuff in production! The links are below:
|
|
Thanks to everybody who attended my OCW hacking session! Sorry to guys who attended via webinar – I’ll do the session again in a few weeks, with audio from end to end hopefully! And I will get someone to assist me with monitoring the transmission quality and attendee questions etc. Note that this stuff is mostly for hacking and fun – don’t use the undocumented stuff in production! The links are below:
|
|
Well it appears that Cuil the troubled search engine that didn’t is dead . While I am not that surprised by this considering its lackluster results, I do feel that this is bad for the web in general. With the Yahoo/Bing deal we now have very few independent indexes that power search on the web. The big players are down to the following it would seem, Google Bing Ask Gigablast Blekko What did suprise me about this though w..
|
|
Herne Hill is looking for support, it's both historic, and a fantastic facility in London. It'd be great to see more people supporting this! Here's the campaign page .
|
|
Herne Hill is looking for support, it's both historic, and a fantastic facility in London. It'd be great to see more people supporting this! Here's the campaign page .
|
|
No computer system is an island. At least not these days. This creates a challenge when you want to change APIs: Do you want to upgrade all affected systems at once, or do you want to support multiple versions? Both approaches have downsides. Coordinating several upgrades increase the risk that one of the upgrades fail, in which case, you may want to roll everything back. In some situations, rollback may not even be possible.
|
|
A while ago I was using the Django Framework and was a big fan of the parts of it which save time. One part which I both loved and hated was the ORM . The bit I loved was for creating new database entities, loading them and modifying them. The ability to just load up an object and modify it and then call its save method saved me a lot of time. What I hated about it however was using it for doing any form of complex query (since I am very c..
|
|
There was a pretty interesting snippet in Engadget's coverage of yesterday's Nokia World keynote: "By 2013 800 million people will be using GPS-enabled devices. Soon, everything on the Internet will have a location coordinate. This is a space we intend to own." Indeed, this is a quite possible future, and one for which we with Midgard are quite well prepared for. Many smartphone browsers (and even desktops) nowadays can transmit ....
|
|
Here is my class with their new Kindle DXs. Notice the absence of heavy textbooks on the desks! UPDATE: Unfortunately, while it was cool to carry around all of our textbooks in PDF format on our Kindle DXs, the pilot ultimately led to us not adopting eBooks exclusively. Simply put, many of our students just preferred the ease of printed books. eBooks may become the norm in the future, but probably only when everyone carries a laptop with ..
|
|
Here is my class with their new Kindle DXs. Notice the absence of heavy textbooks on the desks! UPDATE: Unfortunately, while it was cool to carry around all of our textbooks in PDF format on our Kindle DXs, the pilot ultimately led to us not adopting eBooks exclusively. Simply put, many of our students just preferred the ease of printed books. eBooks may become the norm in the future, but probably only when everyone carries a laptop with ..
|
|
Copy and Paste in Outlook Without Messing Up Your Formatting
-
justingarrison.com
-
15 years ago
-
eng
|
|
Asking people for payment for work is a touchy subject for everyone involved. We've had the luxury of experimenting a little bit over our first couple of years, and here's what we learned.
|
|
I have been moving things around a bit here in preparation for my ninth and probably last trip. (Yes, I know, I always say it is going to be my last trip. But this season marks the end of the construction of IceCube , so far fewer people will be going to Pole after this austral summer.) I am tentatively scheduled to leave Chicago for the South Pole on Jan. 1, 2011. After taking last season off, I’m excited to go back for one last time.
|
|
I have been moving things around a bit here in preparation for my ninth and probably last trip. (Yes, I know, I always say it is going to be my last trip. But this season marks the end of the construction of IceCube , so far fewer people will be going to Pole after this austral summer.) I am tentatively scheduled to leave Chicago for the South Pole on Jan. 1, 2011. After taking last season off, I’m excited to go back for one last time.
|
|
I have been moving things around a bit here in preparation for my ninth and probably last trip. (Yes, I know, I always say it is going to be my last trip. But this season marks the end of the construction of IceCube , so far fewer people will be going to Pole after this austral summer.) I am tentatively scheduled to leave Chicago for the South Pole on Jan. 1, 2011. After taking last season off, I’m excited to go back for one last time.
|
|
I really like Twitter. I think it’s a great, fun, service, that helps enable interesting online communities, and is a surprisingly effective way to spread news and information to lots of people online. One of the things that I’ve loved about Twitter is their API, and how open and welcoming they’ve been to developers. I even use Twitter from an IM client that I develop, using protocol support that I wrote myself.
|
|
I really like Twitter. I think it’s a great, fun, service, that helps enable interesting online communities, and is a surprisingly effective way to spread news and information to lots of people online. One of the things that I’ve loved about Twitter is their API, and how open and welcoming they’ve been to developers. I even use Twitter from an IM client that I develop, using protocol support that I wrote myself.
|