|
You can find the code here on github and the package here on PyPi I have written and continue to maintain a reporting system for a group of pentesters. During/after the tests the results and details are inputted into a web application using a WYSIWYG editor called Redactor (which is pretty awesome!)...
|
|
Back in December of 2004 I started a new life from zero. I was 22 years old without any money, education or connections. I borrowed my mothers computer and started to learn HTML and internet marketing. That is now 8 years ago and each year I publish an annual report. Earlier reports are linked from [...]
|
|
Back in December of 2004 I started a new life from zero. I was 22 years old without any money, education or connections. I borrowed my mothers computer and started to learn HTML and internet marketing. That is now 8 years ago and each year I publish an annual report. Earlier reports are linked from [...]
|
|
I recently posted an exploratory piece on why programmers who are genuinely interested in improving their mathematical skills can quickly lose stamina or be deterred. My argument was essentially that they don’t focus enough on mastering the basic methods of proof before attempting to read research papers that assume such knowledge. Also, there are a number of confusing (but in the end helpful) idiosyncrasies in mathematical culture that are..
|
|
I recently posted an exploratory piece on why programmers who are genuinely interested in improving their mathematical skills can quickly lose stamina or be deterred. My argument was essentially that they don’t focus enough on mastering the basic methods of proof before attempting to read research papers that assume such knowledge. Also, there are a number of confusing (but in the end helpful) idiosyncrasies in mathematical culture that are..
|
|
I recently posted an exploratory piece on why programmers who are genuinely interested in improving their mathematical skills can quickly lose stamina or be deterred. My argument was essentially that they don’t focus enough on mastering the basic methods of proof before attempting to read research papers that assume such knowledge. Also, there are a number of confusing (but in the end helpful) idiosyncrasies in mathematical culture that are..
|
|
Shortly after we began working together on Discourse , Jeff wrote a post about infinite scrolling . At first, I was surprised at how many people claimed to hate sites that used it. However, after reading through many comments about it, I realized that most didn’t hate the scrolling itself, they hated how it broke their browser! Infinite Scrolling done wrong: Twitter When I visit Twitter, I am presented with a list of tweets in reverse..
|
|
My mate has given me a laptop (which in itself is a strange occurrence, but that’s not the subject of this blog entry). It comes with two OSs, which you can choose from at boot: Android Windows 7 I mean, sure enough, this Acer Aspire netbook literally runs Android. But the hardware is different from any other device I’ve used Android on in the following respects:
|
|
As a day to day Python and iOS developer, I’m using a lot of tools on my Mac, here is a list that could help you too. Textmate 2, Free, it’s funny to see that most people don’t know Textmate 2 is open source and totally free, this is a wonderful editor with completion and support for most languages. SublimeText 2, free/pay, I’ve switched to Sublime mostly for the Golang support with Gosublime and not regreting it.
|
|
Drilling Deep Into Exadata Performance with ASH, SQL Monitoring and Exadata Snapper – slides and a hacking session!
-
tanelpoder.com
-
13 years ago
-
eng
The promised hacking session about Exadata performance troubleshooting will happen on Thursday 21st February 9am-11am PST (2 hours). I will show a number of examples and demos where the Exadata Snapper shows what was going on in storage cells when running Smart Scans or just doing IO. Register here (free stuff!): https://www1.gotomeeting.com/register/270528161 Slides: /files/Tanel_Poder_Drilling_Deep_Into_Exadata_Performance...
|
|
Drilling Deep Into Exadata Performance with ASH, SQL Monitoring and Exadata Snapper – slides and a hacking session!
-
tanelpoder.com
-
13 years ago
-
eng
The promised hacking session about Exadata performance troubleshooting will happen on Thursday 21st February 9am-11am PST (2 hours). I will show a number of examples and demos where the Exadata Snapper shows what was going on in storage cells when running Smart Scans or just doing IO. Register here (free stuff!): https://www1.gotomeeting.com/register/270528161 Slides: /files/Tanel_Poder_Drilling_Deep_Into_Exadata_Performance...
|
|
Troubleshooting high CPU usage with poor-man’s stack profiler – in a one-liner!
-
tanelpoder.com
-
13 years ago
-
eng
Here’s an example of a quick’n’dirty way of profiling stack traces on your command line. This is an example from Solaris (but the script should work on Linux too plus other Unixes with minor modifications). I created a problem case below, based on a case I once troubleshooted at a client site. Note that they had set optimizer_mode = FIRST_ROWS in their database and the optimized came up with a very inefficient execution plan for the selec....
|
|
Troubleshooting high CPU usage with poor-man’s stack profiler – in a one-liner!
-
tanelpoder.com
-
13 years ago
-
eng
Here’s an example of a quick’n’dirty way of profiling stack traces on your command line. This is an example from Solaris (but the script should work on Linux too plus other Unixes with minor modifications). I created a problem case below, based on a case I once troubleshooted at a client site. Note that they had set optimizer_mode = FIRST_ROWS in their database and the optimized came up with a very inefficient execution plan for the selec....
|
|
Switch from 'Entity Framework Linq' to 'Linq to Objects' with AsEnumerable
-
daniellittle.dev
-
13 years ago
-
eng
Most people know what when writing a Linq query with Entity Framework that until that query is enumerated it won't call out to the database…
|
|
On at least a weekly basis and not uncommonly multiple times in a single week I get this question: @neilmiddleton I’ve been hunting for a nice PG interface that works within other things. PGAdmin kinda works, except the SQL editor is a piece of shit Sometimes it leans more to, what is the Sequel Pro equivilant for Postgres. My default answer is I just use psql, though I do have to then go on to explain how I use it. For those just....
|
|
On at least a weekly basis and not uncommonly multiple times in a single week I get this question: @neilmiddleton I’ve been hunting for a nice PG interface that works within other things. PGAdmin kinda works, except the SQL editor is a piece of shit Sometimes it leans more to, what is the Sequel Pro equivilant for Postgres. My default answer is I just use psql, though I do have to then go on to explain how I use it. For those just....
|
|
After 6 years of existence, where this blog was self hosted, it’s now running on Google App Engine with webapp2 Python framework. It was previously a Django application, but no code has been reused, it’s a total rewrite (approx 5 hours). The Google App Engine ecosystem is very good, all the tools are efficient and except a middle quality documentation, it was a pleasure to rewrite and transfer this blog.
|
|
Clojure has virtually zero syntax. What I mean by that is that all structures look the same: the first item in a list is the function and the rest are the arguments. This is true for variable assignment, if statements, data structures and functions themselves. ( + 1 2 ) ( defn greet [ name ] ( str "Hello " name )) ( def user-count 334 ) However, before you can do anything useful in ....
|
|
Clojure has virtually zero syntax. What I mean by that is that all structures look the same: the first item in a list is the function and the rest are the arguments. This is true for variable assignment, if statements, data structures and functions themselves. ( + 1 2 ) ( defn greet [ name ] ( str "Hello " name )) ( def user-count 334 ) However, before you can do anything useful in ....
|
|
Learn how to properly implement UIAppearance in custom views, including important gotchas about setter tracking and initialization patterns.
|
|
Just a quick Ruby tip today. If you use the Paperclip gem for image attachment with Ruby, you might have noticed the option to use a hash as part of your URL. Using this provides a simple way of creating a secret URL for your images. Rather than an easily predictable URL, a section of the URL created by hashing a secret key with a row from the database. For instance, the following code you might get a URL like /avatars/square/c2794196caf44b..
|
|
In Linux you can make or restore an image of a drive with the dd command. For instance, creating a disc iso of a DVD could be done by specify the block device for the dvd-rom as the input file and a new file for the output file. dd if=/dev/sr0 of=/home/jdoe/cdrom.iso Another frequent use would be to make a bit-for-bit copy of a disk as a backup. dd if=/dev/sdb of=/dev/sdc What happens if you need to make a bit-for-bit copy of a drive to a r..
|
|
I love GNOME and Fedora, but “upgrading” from Fedora 17 to 18 did not go well for me. I recommend you wait until either these are all fixed, or Fedora 19+ suits your needs. Here are a list of problems I had, and some workarounds. Hopefully proper patches to these bugs will get merged quickly, so that you don’t need to use these fixes. Problem : Boot fails after upgrade from Fedora 17 to Fedora 18. I used the new “fedup” method.
|
|
I love GNOME and Fedora, but “upgrading” from Fedora 17 to 18 did not go well for me. I recommend you wait until either these are all fixed, or Fedora 19+ suits your needs. Here are a list of problems I had, and some workarounds. Hopefully proper patches to these bugs will get merged quickly, so that you don’t need to use these fixes. Problem : Boot fails after upgrade from Fedora 17 to Fedora 18. I used the new “fedup” method.
|
|
In the dark ages of development, great software meant packing in the functionality. People began doing more and more with their software. Updates meant newer and more exciting functionality. Sounds great, right? Of course it does, but something went horribly wrong. Slowly we became inundated with cluttered screens as software developers struggled to find a place to put their latest innovative functionality. Buttons began adding up and befor..
|
|
No need to support IE8 any more (even for corporate software)
-
www.databasesandlife.com
-
13 years ago
-
eng
One of my customers ( mobilreport ) is used by accountancy departments in large companies in Austria and Germany to analyze their employees’ mobile phone usage. More so than average web software, this web software needs to work on whatever web browsers large companies have installed; large companies tend to use more Internet Explorer than the world at large. So it’s with pleasure that I report the following trend: (Numbers are the % of ..
|
|
I was getting this error when running a Sonar analysis recently. This was caused by the Jenkins/Sonar process getting killed while the project analysis is underway. Sonar now uses a database semaphore to prevent multiple builds running at the same time, but if the job gets terminated then the semaphores don’t get cleaned up. To fix the problem : Log into the database and delete any rows in the ‘semaphores’ table.
|
|
Tea club started with some Whittard’s Cherry Blossom tea, followed by some Fine Cut Lemongrass tea. The lemongrass tea left a lot of stuff at the bottom of the thing, perhaps because it is so fine that it escaped the filter thingy. I really need to improve my terminology. Every single track of Mario Kart on the N64 was then played, well, except for Rainbow Road - that course is just too tedious. In a more exciting turn of events, we tra..
|
|
Tea club started with some Whittard’s Cherry Blossom tea, followed by some Fine Cut Lemongrass tea. The lemongrass tea left a lot of stuff at the bottom of the thing, perhaps because it is so fine that it escaped the filter thingy. I really need to improve my terminology. Every single track of Mario Kart on the N64 was then played, well, except for Rainbow Road - that course is just too tedious. In a more exciting turn of events, we tra..
|
|
Session Snapper v4 – The World’s Most Advanced Oracle Troubleshooting Script!
-
tanelpoder.com
-
13 years ago
-
eng
Snapper V4 Webinar Snapper V4 is out! The major new features include: RAC support – ability to query stats from remote instances Manual Before and After snapshot support – no need to use DBMS_LOCK sleeps anymore Show useful averages and ratios *in addition to* raw metrics for faster troubleshooting And more! :) Snapper is still a free-to-use tool and it still does NOT require any object creation nor changes in your databases for us..
|
|
Session Snapper v4 – The World’s Most Advanced Oracle Troubleshooting Script!
-
tanelpoder.com
-
13 years ago
-
eng
Snapper V4 Webinar Snapper V4 is out! The major new features include: RAC support – ability to query stats from remote instances Manual Before and After snapshot support – no need to use DBMS_LOCK sleeps anymore Show useful averages and ratios *in addition to* raw metrics for faster troubleshooting And more! :) Snapper is still a free-to-use tool and it still does NOT require any object creation nor changes in your databases for us..
|
|
As a young man I discovered that most people are insecure and full of shit. They are balloons of crap on the verge of bursting. The slightest pin-prick can destroy their self image and cover everyone else in their filth. I discovered that ‘normal’ is a lie. A teenage boy that can’t smile is as self conscious as a girl with a bad haircut. I was lucky. When I was 9 I lost control of a motorcycle and crashed. When I was 9 I learned that there’..
|
|
In my first year of college, there was a festival of sorts on campus. It was a day designed to provide the college with goodwill and easy photo ops for the pamphlets they would use to lure freshmen the next year. Though only a side-effect in the sight of those organizing the event, it managed to provide those of us who would normally spend the entire day in class with a chance to stop and imagine what it would be like to relax.
|
|
This week, I was delighted to finally reveal Discourse , the app I’ve been working on for most of the last year in secrecy with awesome people . The launch got a lot of attention - we were featured on Hacker News, Slashdot, Wired, Reddit, Techcrunch and countless other places. Personally I’ve been floored with the amount of feedback so far. It’s going to take quite some time to get through it all! One question people keep asking me is “..
|
|
Hi All, Really quick update, from the emails I’m getting it looks like the livetiles aren’t behaving well after users update to windows phone 7.8. This problem seems to be experienced by others, I’m trying to work out whats going on! http://forums.wpcentral.com/windows-phone-7/214957-3rd-party-live-tiles-stuck-since-7-8-update.html
|
|
If computers are analogous to powered flight, we are four and a half years after the Wright Brothers flew at Kittyhawk; we are still flying airplanes made out of bicycle parts.” This was merely the first of the near innumerable excerpts I wanted to pull out if CMD+SPACE’s twenty-eight episode Technology and Music, with John Roderick . For the rest of them though, check out this excellent podcast hosted by Myke Hurley of 70 Decibels . Al..
|
|
I Don't Need No Stinking API: Web Scraping For Fun and Profit
-
blog.hartleybrody.com
-
13 years ago
-
eng
After reading this article by Hartley Brody quite some time ago, I set out to build a web scraper designed to analyze Hacker News. And while the project remains unfinished, it is in no way a reflection upon the work that inspired me to undertake it. Hartley Brody talks about ah interesting way to capture data using a web browser and scraping rather than an API in an article well worth the read. Permalink.
|
|
9 of the Best Free C Books è un’ottima selezione di libri gratuiti sul linguaggio C. C’è n’è per tutti, dai testi per principianti a quelli per programmatori esperti provenienti da altri linguaggi. Lo sapete già, C dovrebbe far parte del bagaglio di ogni programmatore.
|
|
For any successful web application there is likely to come a time when you need to conduct some large migration on the backend. I dont mean simple add a column here or add an index there , but rather truly sizeable migrations… Going from MySQL to Postgres or migrating from an older version of Postgres such as a 32 bit instance to a newer 64 bit instance. In these cases the default approach is to just schedule downtime often throwing up....
|
|
For any successful web application there is likely to come a time when you need to conduct some large migration on the backend. I dont mean simple add a column here or add an index there , but rather truly sizeable migrations… Going from MySQL to Postgres or migrating from an older version of Postgres such as a 32 bit instance to a newer 64 bit instance. In these cases the default approach is to just schedule downtime often throwing up....
|