|
Random thoughts on JavaScript performance, garbage collection, and object pooling
-
liza.io
-
13 years ago
-
eng
Let’s talk about garbage collection. I love JavaScript, but I wish it gave me more control over these things. I am on a quest to minimize garbage. Last week’s Sthlm.js meetup gave me some more insight, at least in regards to Chrome. Paul Lewis gave a talk that covered garbage collection in part. You can see it here .
|
|
Alter session force parallel query doesn’t really force anything
-
tanelpoder.com
-
13 years ago
-
eng
Jonathan Lewis has already written about this behavior from the angle of PARALLEL hints. I’m writing a similar article just because the word FORCE in the ALTER SESSION FORCE PARALLEL QUERY syntax. Force should mean that some behavior would always happen (when possible), right? Let’s test: SQL> CREATE TABLE t AS SELECT * FROM dba_objects; Table created. SQL> CREATE INDEX i ON t(owner); Index created. SQL> @ gts t Gather Table Statist..
|
|
Alter session force parallel query doesn’t really force anything
-
tanelpoder.com
-
13 years ago
-
eng
Jonathan Lewis has already written about this behavior from the angle of PARALLEL hints. I’m writing a similar article just because the word FORCE in the ALTER SESSION FORCE PARALLEL QUERY syntax. Force should mean that some behavior would always happen (when possible), right? Let’s test: SQL> CREATE TABLE t AS SELECT * FROM dba_objects; Table created. SQL> CREATE INDEX i ON t(owner); Index created. SQL> @ gts t Gather Table Statist..
|
|
I was first introduced to The Next Web during the plagiarism fiasco from a few months back, which I wrote about in my post from quite a while ago titled Credibility and Bullies with Blogs . In that article, I briefly conveyed the lasting impression the whole affair left on my mind regarding The Next Web: “I have associated The Next Web with plagiarism, rash outbursts, and poor choices.” As I said in that article, to this day I refuse to ..
|
|
Every time I hear someone predicting the future of a company — more often than not Apple — I can’t help but think of a passage I came across a while back, probably in Basic Economics by Thomas Sowell . The passage read something like this: Permalink.
|
|
In a footnote to his interesting piece posted yesterday titled Everything Else , John Gruber made an astute observation regarding loyalty and Apple: “Later in his piece, Gassee recommends that Apple engage a ‘powerhouse’ PR firm to help sway opinion in its favor. I’d argue that Apple already has a powerhouse PR firm, and it very successfully engages in most of the tactics Gassee speaks of. But rather than a separate company, it’s compl..
|
|
When working with websites that require https (SSL) developers always ending up facing the problem: Why can't you use hostnames with https…
|
|
If you want to represent characters, you want to represent any possible sequence of characters. In an XML file, escaping < with < gives you a way to represent any character. Using CDATA doesn't give you a way to do that. In an XML document there are two ways to represent character data. Either You just write the characters in the XML file (in which case you need to escape characters that look like XML tags i.e. < with < etc.), o..
|
|
Troy Hunt ’s Ghost Who Codes ignited something inside me. Initially I was a little insulted because I don’t have much of an online presence apart from my blog and my Twitter account. There are many reasons for this but in the end it doesn’t matter. You see, as much as I respect Troy, I think he’s missing the point. The best developers rarely apply for advertised jobs. They’re hired through their network and are never on the market. ..
|
|
Originally posted as Quora answer . This might take a while, so go grab some popcorn. You are going to enjoy this :) At HackerEarth , we deeply believe in open-source. Why not, our roots are in there. We use open-source software, hack it according to our needs and create something amazing out of that. At the same time, we don’t fear writing a seemingly complex project from scratch and turn it into beautiful piece of code. And we h....
|
|
It’s not, in other words, a matter of faith or belief, but a matter of interest. You train, you run the marathon, and then you take a week off and eat ice cream. Recovered, you start running again. There’s no mystical hocus-pocus, no ‘icy waters of skepticism.’ Our hearts do not ‘fail’ when we gaze at our cycling shoes or the box of contractor bags or the stack of over-wintered tomato cages in the unplanted spring garden. We might sigh to o..
|
|
Every time I think of Roderick on the Line, I can’t help but recall the episode of Build & Analyze in which Marco Arment announced that he would soon have his first child, and detailed one of his goals regarding Adam: to teach him something just a little bit wrong, something that his son could go through most of his life believing to be true only to find out, in his early twenties, that the thing he had believed his entire life, that one fa..
|
|
Get an Azure hosted Web API deployment for free with Azure Websites
-
blog.gripdev.xyz
-
13 years ago
-
eng
Hi all, I was looking at doing a rough draft (think POC) for an app and wanted to use WebAPI for the back end. Azure hosting came to mind so I had a play creating a cloud service. Unfortunately my azure bill, mainly from the beeb live tile’s using up bandwidth, is already more than enough. This was when I realised that you can host MVC 4 projects in Azure Websites and the shared instances allow 10 free sites. This means I can quickly se..
|
|
An interesting article by Marco Arment on the causes and effects of free apps and services. “In other industries, this is called predatory pricing, and many forms of it are illegal because they’re so destructive to healthy businesses and the welfare of an economy. But the tech industry is far less regulated, younger, and faster-moving than most industries. We celebrate our ability to do things that are illegal or economically infeasible..
|
|
Emin Gun writing on Hacking Distributed about the impending demise of Google Reader and the farcical backlash that ensued following the announcement: “Second, I suspect that the Reader-loving hacker-turned-entrepreneur crowd, which is deeply insecure about its position in society, is perhaps so sensitive because they see this as a sign that Google, and by proxy, the computer industry, values the masses with their dirty mobile devices an....
|
|
Wonderful news from Rob Rhineheart after two months consuming primarily Soylent. With a few minor modifications, Soylent has proved to be — for him and a small study group — quite perfect. Permalink.
|
|
Talking to someone who doesn’t work in IT, and who isn’t a native English speaker; She was talking about various people in software development, and referred to them doing “programmizing” (as opposed to “programming”). That’s a great concept. “Progammizing” reminds me of “terrorizing”. As in: before you have a bunch of processes involving paper and people and it all works. Then, some people come in and do some programmizing. Afterwards, n..
|
|
Hi All, For all those who’ve been in touch recently thank you for your feedback and support. This is a brief note to keep you up to date. Currently all development and improvement of the BBC News Mobile application is on hold and has been for sometime. I will update you as soon as I am in a position to share more information about the future of the application. Kind regards,
|
|
Ben Brooks in How Mailbox Can Make Me a User on the recent announcement that Dropbox had acquired Mailbox : Permalink.
|
|
As mentioned in my post Hacker-nomad’s toolkit, 2012 edition , the lease period of my lovely — Linux-driven — 11” MacBook Air expired this month, and I had to consider what kind of gear to go with next. The safe bet would’ve been to just get a newer version of the Air, or maybe the 13” Retina MacBook with its great screen. A fresher approach would be a ChromeBook, either the cheap and light ARM ChromeBook , or the Pixel with aweso....
|
|
The past few days have been crazy. First Google announced that Reader would shut down almost as an afterthought in the middle of their annual spring cleaning post, and chaos ensued. Everyone wrote something about it, including me ; opinions were in no short supply. Writers were not the only ones working furiously though: within six hours of the announcement, Zite removed their dependency on Google Reader . Far ahead of everyone else, Zi..
|
|
I recently had to install and configure an 18-node OpenStack cluster, a process which involved a lot of SSHing and text-editing in terminals. I thought about learning Vim, but I was afraid of the incredibly steep learning curve, so I made do with GNU nano. It's not at all powerful, but it's easy. Eventually I realized, "This is my job. This is what I do every day. Why am I holding off on learning something now , thinking it will slow m..
|
|
If you're designing a standard library, insist that all map keys are strings
-
www.databasesandlife.com
-
13 years ago
-
eng
Associative arrays. Maps. Hashes. Dictionaries. They are an important cornerstone of data modelling in software. Every language has them. Question: What types should the keys be? The answer depends on what language you’re using. I have spent a lot of time programming Perl and Java, and they answer this question differently. Perl’s hashes force you to have string keys. Java’s Map allows you to have any objects as keys, and you can over..
|
|
Everywhere you look software is automating work. If you think your job is safe, I bet someone is trying to automate what you do.
|
|
asqlmon.sql: SQL Monitoring-like execution plan line level drilldown into SQL response time
-
tanelpoder.com
-
13 years ago
-
eng
I don’t have much time for a thorough blog post, so I’ll just paste in an example output of my asqlmon.sql script, which uses ASH sql_plan_line columns for displaying where inside your execution plan response time has been spent. Why not just use Oracle’s own SQL Monitoring reports? Well, SQL monitoring is meant for “long running” queries, which are not executed very frequently. In other words, you can’t use SQL Monitoring for drilling do..
|
|
asqlmon.sql: SQL Monitoring-like execution plan line level drilldown into SQL response time
-
tanelpoder.com
-
13 years ago
-
eng
I don’t have much time for a thorough blog post, so I’ll just paste in an example output of my asqlmon.sql script, which uses ASH sql_plan_line columns for displaying where inside your execution plan response time has been spent. Why not just use Oracle’s own SQL Monitoring reports? Well, SQL monitoring is meant for “long running” queries, which are not executed very frequently. In other words, you can’t use SQL Monitoring for drilling do..
|
|
I use vagrant a lot and at Zapier I use a setup where one Vagrantfile can be used to launch any instance in our infrastructure locally for testing. This is really quite useful as I can boot up a two node rabbitmq cluster with haproxy by simply typing vagrant up rabbitproxy01 rabbit01 rabbit02. In the beginning this was a little messy as I just kept adding new node definitions and incrementing the ip address.
|
|
Our tea club reached new heights of sophistication today as it was accompanied by homemade scones. While we could not agree upon exactly how “scones” is pronounced, we could agree that the scones were amazing, and surprisingly filling.
|
|
Our tea club reached new heights of sophistication today as it was accompanied by homemade scones. While we could not agree upon exactly how “scones” is pronounced, we could agree that the scones were amazing, and surprisingly filling.
|
|
A lack of good ideas and direction caused me to repeatedly forsake the creation of this article, but a persevering determination kept it alive through long hours spent searching for the single salient problem plaguing American education. I came upon the rather anticlimactic answer late one night long after I should have turned the lights out and gone to bed in the most unlikely of places, the one unending source of potential solutions I hab..
|
|
Quite a bit of discussion has taken place over the past forty-eight hours following the news that Google Reader will fade away on June 1st. Some have focused on the implications the announcement will have on the RSS spec, but a great deal — possibly even a majority — of the discussion has taken place around blog readerships. David Sparks’s article The RSS Apocalypse and Aldo Cortesi’s piece Google, destroyer of ecosystems stuck out ..
|
|
Granted we’re already well into 2013, but then again, this isn’t much of a list. I don’t want to see a “better” social network usurp Twitter and Facebook, a new laptop with a million pixels, or a bendy phone; I want to see rock solid syncing across all my devices regardless of platform, bundled neatly into an attractive and usable app. Simplenote comes close but, as I detailed in Changing my Workflow with Drafts and Reeder , is a far cry..
|
|
Last time I used this title, I wrote about a more simple lifestyle as part of my Cabin Porn Binge ; this time, I’m writing about something different: the iPad Mini. Permalink.
|
|
I have wanted to overhaul my workflow for a long while now. Feedler Pro, my go-to RSS reader, has gone quite some time without a significant update and is beginning to show its age. Just last night, for example, I spent nearly ten minutes wrestling with it in an attempt at reading a batch of articles curiously marked as read for no apparent reason. Simplenote’s syncing idiosyncrasies have also become harder and harder to ignore as well, an ..
|
|
Our shows deserve a solid platform to continue to grow. In my mind, there is no better place for this than 5by5 and no better person than Dan Benjamin to help us continue moving forward. When he first reached out to gauge our interest in joining his network, I was floored. As I said, Dan is a hero of mine, and I was honoured to have our network considered to join 5by5. As we continued to talk, and as I spoke with the other hosts, it was cle..
|
|
After publishing my last article, Soylent , and as I made a late-night snack of a pear, I couldn’t help but continue thinking about Soylent. Rather than tacking these additional thoughts on to the bottom of the previous post with the sad excuse for poor journalistic planning that is the “UPDATE:” header though, I decided to shape them into an entirely separate post, a new post with a few more of my thoughts on Soylent. Permalink.
|
|
adding range support to python's http server to kickstart with anaconda
-
purpleidea.com
-
13 years ago
-
eng
I’ve been working on automatic installs using kickstart and puppet. I’m using a modified python httpserver because it’s lightweight, and easy to integrate into my existing python code base. The server was churning away perfectly until anaconda started downloading the full rpm’s for installation. What was going wrong? Traceback (most recent call last): [...] error: [Errno 32] Broken pipe BorkedError: See TTBOJ for explanation and dis..
|
|
adding range support to python's http server to kickstart with anaconda
-
purpleidea.com
-
13 years ago
-
eng
I’ve been working on automatic installs using kickstart and puppet. I’m using a modified python httpserver because it’s lightweight, and easy to integrate into my existing python code base. The server was churning away perfectly until anaconda started downloading the full rpm’s for installation. What was going wrong? Traceback (most recent call last): [...] error: [Errno 32] Broken pipe BorkedError: See TTBOJ for explanation and dis..
|
|
I was reminded once again today how impenetrable the wall of things to do in life is. We had just hit yet another big milestone at work and as soon as we hit it, I started thinking about the next steps. And after that the next steps. Just in the time it took for us to reach this milestone, a list of things to fix and improve before the next milestone was building up. And that list is long enough to take 10 times the time that the original m..
|
|
I was reminded once again today how impenetrable the wall of things to do in life is. We had just hit yet another big milestone at work and as soon as we hit it, I started thinking about the next steps. And after that the next steps. Just in the time it took for us to reach this milestone, a list of things to fix and improve before the next milestone was building up. And that list is long enough to take 10 times the time that the original m..
|