Site uses cookies to provide basic functionality.
Javascript rendering is set to off by default when visiting the site via .onion and .i2p domains. It can be enabled back again in user's settings section. Javascript rendering set to off means, that you can disable javascript in your browser now and the site will remain functional.
There is also IRC server now available via native IRC clients or non javascript web based one.
Fonts can be adjusted in user's settings section as well.
Check FAQ for more.

OK

My last post about the speed of Django’s templating language caused a bit of a stir and it was clear that people didn’t really have a clue how long the templates were taking to render in their applications. Enter Template-timings Template-timings is a panel for Django-debug-toolbar (which everyone s...

My last post about the speed of Django’s templating language caused a bit of a stir and it was clear that people didn’t really have a clue how long the templates were taking to render in their applications. Enter Template-timings Template-timings is a panel for Django-debug-toolbar (which everyone s...


Making rain - www.asymco.com - 13 years ago - eng
Android and the Fiber business and even Facebook fit into this analogy rather well. In this context more rainfall means more people using the Internet. If you have more people you’ll have more rivers and you’ll have more water and hopefully more fish. Fiber means the water will flow more rapidly: you’re essentially dredging the riverbed.” Some wonder why Google still pushes Android despite failing to make a significant profit from it, esp..

In almost any application it’s common to want to aggregate some set of values together, commonly in a comma separated form. Most developers do this by running a query to get much of the raw data, looping over the data and pushing it into a set, appending each new value to the appropriate key. Hopefully, it’s not a surprise that there’s a much better way to do this with PostgreSQL. Postgres has a flexible and robust array datatype that c....

In almost any application it’s common to want to aggregate some set of values together, commonly in a comma separated form. Most developers do this by running a query to get much of the raw data, looping over the data and pushing it into a set, appending each new value to the appropriate key. Hopefully, it’s not a surprise that there’s a much better way to do this with PostgreSQL. Postgres has a flexible and robust array datatype that c....

During some contracting I was doing recently there was a requirement to implement some search logic using only PHP. There are no issues with that but it turns out I couldn’t find a decent extract generator handy as usually one would just plug into the search engines provided version to do this. Off the top of my head I could only think of one example I was aware of which lives in Sphider (for the record it lives in searchfuncs.php from ..

The first area I tend to think about when it comes to developer marketing is around advocates. A simple definition of an advocate is someone that speaks/writes in favor of some thing . Creating advocates is a means of creating more of myself to go out and talk loudly and ideally effectively. However, they do take time to cultivate and it is a hard item to track. But by cultivating advocates I’m able to scale what would otherwise be a bot....

The first area I tend to think about when it comes to developer marketing is around advocates. A simple definition of an advocate is someone that speaks/writes in favor of some thing . Creating advocates is a means of creating more of myself to go out and talk loudly and ideally effectively. However, they do take time to cultivate and it is a hard item to track. But by cultivating advocates I’m able to scale what would otherwise be a bot....

Perhaps primarily due to the prominence of monads in the Haskell programming language, programmers are often curious about category theory. Proponents of Haskell and other functional languages can put category-theoretic concepts on a pedestal or in a mexican restaurant, and their benefits can seem as mysterious as they are magical. For instance, the most common use of a monad in Haskell is to simulate the mutation of immutable data. Others ..

Perhaps primarily due to the prominence of monads in the Haskell programming language, programmers are often curious about category theory. Proponents of Haskell and other functional languages can put category-theoretic concepts on a pedestal or in a mexican restaurant, and their benefits can seem as mysterious as they are magical. For instance, the most common use of a monad in Haskell is to simulate the mutation of immutable data. Others ..

Perhaps primarily due to the prominence of monads in the Haskell programming language, programmers are often curious about category theory. Proponents of Haskell and other functional languages can put category-theoretic concepts on a pedestal or in a mexican restaurant, and their benefits can seem as mysterious as they are magical. For instance, the most common use of a monad in Haskell is to simulate the mutation of immutable data. Others ..


The endpoint has traditionally accepted an parameter for ordering results by either creation date or ‘hotness’. The method for calculating…

I’ve been working full time on my Android workstation for over a month now, and it is time to write an update about it. How has it worked out? What I’ve been doing I would love to tell stories of working from parks and cafes, like Mark O’Connor has on his iPad setup , but unfortunately we had a backlash of winter here in Berlin and the warm spring weather only came back this week. Instead — quite atypically — I’ve been mostly desk-....

The endpoint has traditionally accepted an parameter for ordering results by either creation date or ‘hotness’. The method for calculating…

I’ve been working full time on my Android workstation for over a month now, and it is time to write an update about it. How has it worked out? What I’ve been doing I would love to tell stories of working from parks and cafes, like Mark O’Connor has on his iPad setup , but unfortunately we had a backlash of winter here in Berlin and the warm spring weather only came back this week. Instead — quite atypically — I’ve been mostly desk-....

I’ve been working full time on my Android workstation for over a month now, and it is time to write an update about it. How has it worked out? What I’ve been doing I would love to tell stories of working from parks and cafes, like Mark O’Connor has on his iPad setup , but unfortunately we had a backlash of winter here in Berlin and the warm spring weather only came back this week. Instead — quite atypically — I’ve been mostly desk-....

I’ve been working full time on my Android workstation for over a month now, and it is time to write an update about it. How has it worked out? What I’ve been doing I would love to tell stories of working from parks and cafes, like Mark O’Connor has on his iPad setup , but unfortunately we had a backlash of winter here in Berlin and the warm spring weather only came back this week. Instead — quite atypically — I’ve been mostly desk-....

Sites like Less Wrong exist because it’s hard for those contributors, inarguably highly intelligent, to bring attention to their work through other venues. We often tout Twitter, YouTube to an extent, and a flourishing blogging community as the epitome of ease, enabling those with good ideas and smart things to say to develop a personal brand and get their content to the masses. But that’s not really true, is it? Permalink.

Apple Pessimism - www.marco.org - 13 years ago - eng
Now, Apple pessimism is even stronger. No matter what they release and no matter how well it sells, they won’t win over the press, the pundits, the stock market, or the rhetoric. Not this year. They could release a revolutionary 60-inch 4K TV for $99 with built-in nanobots to assemble and dispense free smartwatches, and people would complain that it should cost $49 and the nanobots aren’t open enough.” Permalink.

You determine the greatness of your accomplishments by the amount of pain you’re willing to pay down. The more ambitious you are, the more glass you’ll have to chew. Everyone has their grind, even people doing what they love.” A wonderfully inspirational piece from Arram Sabeti, CEO of ZeroCater, on the important role determination plays in success, especially in the face of deficiencies. Permalink.

Probabilistic arguments are a key tool for the analysis of algorithms in machine learning theory and probability theory. They also assume a prominent role in the analysis of randomized and streaming algorithms, where one imposes a restriction on the amount of storage space an algorithm is allowed to use for its computations (usually sublinear in the size of the input). While a whole host of probabilistic arguments are used, one theorem in p..

Probabilistic arguments are a key tool for the analysis of algorithms in machine learning theory and probability theory. They also assume a prominent role in the analysis of randomized and streaming algorithms, where one imposes a restriction on the amount of storage space an algorithm is allowed to use for its computations (usually sublinear in the size of the input). While a whole host of probabilistic arguments are used, one theorem in p..

Probabilistic arguments are a key tool for the analysis of algorithms in machine learning theory and probability theory. They also assume a prominent role in the analysis of randomized and streaming algorithms, where one imposes a restriction on the amount of storage space an algorithm is allowed to use for its computations (usually sublinear in the size of the input). While a whole host of probabilistic arguments are used, one theorem in p..

No one wants to think of themselves as a Luddite, which is part of what makes technological conservatism so insidious. It can color the thinking of the nerdiest among us, even as we use the latest hardware and software and keep up with all the important tech news. The certainty of our own tech savvy can blind us to future possibilities and lead us to reject anything that deviates from the status quo. We are not immune.” Perhaps not necess..

Your job? You pick up the freshest, most interesting coffee from tiny roasters who do not drop ship (and of varieties not listed online from bigger roasters) and send them by request to customers around the world. Your customers trust you as a reporter and pay a small premium to have access to the strange diversity that surrounds you.” The first installment of Rich Stevens’ handmade, artisanal newsletter list. It’s been great fun so far; ..

By now, it's no secret that making mobile products has a unique set of design challenges. All companies and individuals making mobile products struggle with this. Finding the right balance between power and ease of use on a 3" - 4" screen is hard. It really all boils down to the natural rule of features: **More features => harder to understand, more useful.** **Fewer features => easier to understand, less useful.** So if you just add more f..

Everyone understands, to some degree, the impact that technology has on our lives. However, if you are an avid reader of “idea” books (for lack of a better word), then you also know that some people understand it poorly at best. Take, for example, the book The Shallows by Nicholas Carr. Carr argues that the Internet has reduced our ability to carefully reason through problems and use our imagination. And plenty of people have taken..

That depends on if the enum values provide methods which differ from one another. The following code produces just one class file, “Network.class”. “facebook” and “linkedIn” are just instances of the Network Java class. public enum Network { facebook, linkedIn; public void printName() { System.out.println(getName()); } } But the following code produces one class file for each value , named “Network$1.class” etc., as well as one cl..

Everyone understands, to some degree, the impact that technology has on our lives. However, if you are an avid reader of “idea” books (for lack of a better word), then you also know that some people understand it poorly at best. Take, for example, the book The Shallows by Nicholas Carr. Carr argues that the Internet has reduced our ability to carefully reason through problems and use our imagination. And plenty of people have taken..

By now, it's no secret that making mobile products has a unique set of design challenges. All companies and individuals making mobile products struggle with this. Finding the right balance between power and ease of use on a 3" - 4" screen is hard. It really all boils down to the natural rule of features: **More features => harder to understand, more useful.** **Fewer features => easier to understand, less useful.** So if you just add more f..

As developers we can tend to be a fickle bunch; especially in certain open source communities. We like to see intelligence and systems applied to things, hope for a better world through making things open, and appreciate when others relate to our world as we often attempt to relate to theirs. Marketing is often a loaded word when it comes to developers – leaving mixed feelings about webinars, email campaigns, and the like. A quick clarif....

As developers we can tend to be a fickle bunch; especially in certain open source communities. We like to see intelligence and systems applied to things, hope for a better world through making things open, and appreciate when others relate to our world as we often attempt to relate to theirs. Marketing is often a loaded word when it comes to developers – leaving mixed feelings about webinars, email campaigns, and the like. A quick clarif....

A Few Good Videos - zacs.site - 13 years ago - eng
Yesterday morning I came across a video made by Duncan Elms called “Bitcoin Explained” . Curious, I decided to check it out. Rather than the information contined within it, it was instead the actual video that greatly impressed me. Not only informative but also extremely well done, Duncan Elms’ videos are all very impressive. Permalink.

Aaron Swartz Revisited - zacs.site - 13 years ago - eng
Almost three months ago today, I titled an article We Have Lost One of Our Own and posted it to this site. I gathered some of the more salient and insightful pieces posted in the wake of Aaron Swartz’s death, and wrote an article about unjust punishment and piracy. I try not to do this very often, but I will make an exception here and include an excerpt from one of my own posts: Permalink.

Yesterday afternoon Marco Arment, Casey Liss, and John Siracusa recorded the final episode of their casual car podcast, Neutral. Episode twelve, Vomit Ruins Everything , runs for just under two hours and chronicles Marco and Tiff’s joint vacation with Casey and his wife Erin to pick up Marco’s brand new BMW M5 in Germany. I lamented the end of Hypercritical and Build & Analyze, and felt equally as sad — if not even more so — to hear the ..

tl;dr Never trust user input. Note: Before I published this I contacted the owner of the site and he has since replaced it with a new and more secure version When I browse the net I often see the hallmarks of a security issue with websites that I visit, and little alarm bells go off in my head. I wa...

tl;dr Never trust user input. Note: Before I published this I contacted the owner of the site and he has since replaced it with a new and more secure version When I browse the net I often see the hallmarks of a security issue with websites that I visit, and little alarm bells go off in my head. I wa...

Fedora did a lovely job of updating me to the latest version (v. 20) of Firefox . One problem I found, was that scrolling on certain pages was quite jerky. Performance was worse (or more likely) on pages with a frameset, and pages which were long. Pages with many images made this problem worse. It turns out that the workaround is to disable hardware acceleration: After you’ve unchecked this box, restart Firefox, and scrolling is now..

Fedora did a lovely job of updating me to the latest version (v. 20) of Firefox . One problem I found, was that scrolling on certain pages was quite jerky. Performance was worse (or more likely) on pages with a frameset, and pages which were long. Pages with many images made this problem worse. It turns out that the workaround is to disable hardware acceleration: After you’ve unchecked this box, restart Firefox, and scrolling is now..

If you are overclocking your Raspberry Pi or you just curious how hot this little guy gets, there are two ways to get the internal temperature. Assuming you are running Raspbian as your operating system. Method 1: $ /opt/vc/bin/vcgencmd measure_temp This gives you the temperate in in degrees Celsius: temp=54.1'C Method 2: If you need the temperature to be more precise (e.g. storing it in an database or for further processing) use the follo..

I’m currently in the process of porting the NoFlo Flow-Based Programming environment to run also in the browser. While there are some obvious differences in things like filesystem interaction and component loading, the goal here is to reuse as much of the same code as possible between these two platforms. Many of the building blocks are already in place, and so the port should be complete still this week. You can track the work in issu....

I’m currently in the process of porting the NoFlo Flow-Based Programming environment to run also in the browser. While there are some obvious differences in things like filesystem interaction and component loading, the goal here is to reuse as much of the same code as possible between these two platforms. Many of the building blocks are already in place, and so the port should be complete still this week. You can track the work in issu....

3 visitors online